-
Notifications
You must be signed in to change notification settings - Fork 248
feat(Component): add wrapElement parameter so that Components can be… #1335
Conversation
Thanks for your contribution! In order for us to be able to accept it, we ask you to sign our CLA (contributor's license agreement). CLA is important for us to be able to avoid legal troubles down the road. For individuals (a simple click-through form): http://code.google.com/legal/individual-cla-v1.0.html |
I have signed to CLA using my primary email. Should I sign with the gmail instead? |
Why is the question ?
You should sign the CLA for the email associated with the commit which apparently is ok |
The alternative would be to add specific SVG support that sets tagname, namespaceUrl and shadown dom. In this case, should MathML be investigated as well? EDIT: I found the wrap technique of AngularJS work if done like them and put it inside of the div. |
I wonder how this work on the compiled version, don't the transformers need to be updated to take |
Fixed.
Fixed.
Fixed.
As the test rather test how the browser handles the component rather than Angular I thought it were needed, but I will investigate if a unit test will do.
It's tested in Chrome, Chromium and IE11 (all compiled), it's not tested in Firefox as I experience the same issue with this as with shadow_dom_components example (#1337). I don't have any mac so I can't test Safari. |
Achievement unlocked: CLA signature found! |
SVG is not a high priority in pre-1.0. @vicb can you please take a quick look and see if this can be included without a lot of work elsewhere, or close? |
@Pajn makes sense, we have no clear policy about removing els but it's better to be on the safe side. |
8fd235c
to
50e2645
Compare
This requires a trivial rebasing. Punting to post v1.0. |
It turns out that that this touches a lot of AngularDart code and the rebasing was non-trivial. |
…placed in SVG
I'm submitting this to get some response. I don't know how to test this
as the template is loaded anyway, it just isn't rendered.
Closes #987