-
Notifications
You must be signed in to change notification settings - Fork 32
Description
Hi,
I found an inconsistent behavior depending on ember versions and ember-angle-bracket-invocation-polyfill.
Here is my ember-angle-bracket-invocation-polyfill version: 2.0.1 (but I reproduce the same issue in 1.3.1)
With classic component declaration:
{{test-me style="color: red" }}In Ember 2.18.2: the style attribute doesn't exist in the final DOM.
In Ember 3.4.4: the style attribute doesn't exist in the final DOM.
If I try this:
<TestMe style="color: red" />In Ember 2.18.2: the style attribute doesn't exist in the final DOM.
In Ember 3.4.4: the style attribute exist in the final DOM.
IMO the expected behavior is that style attribute should be transferred to the final HTML node as style isn't prefixed with @.
If I try with another attribute than style (like data-foobar="foobar") it is transferred to the final HTML node as expected regarding the Ember versions