You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However as per #19099 (comment), these tests only test IDL attribute handlers and event listeners, but not content attribute handlers (i.e. <div onwebkitanimationend='foo()'></div>). We should expand the tests to cover content attribute handlers too. This will require some experimentation as to how content attribute handlers interact with IDL attribute handlers when both are set, as well as the easier task of adding a test for case sensitivity.
Note that for case-sensitivity, there is a already a positive-match test for the event casing in html/webappapis/scripting/events/event-handler-all-global-events.html ('the content attribute must execute when an event is dispatched'), but not a negative-match test making sure that an incorrect casing doesn't cause the content attribute to fire.
The text was updated successfully, but these errors were encountered:
Note that to get the wrong casing for a content attribute you have to use setAttributeNS or XHTML, because setAttribute in HTML and the HTML parser both normalize attr names to all-lowercase...
Oh, I was thinking of casing of the event (i.e. dispatchEvent('webkitanimationend') should fail), but that's also a good point re casing of the attribute :)
A set of tests for webkit-prefixed animation event handlers/listeners were added in #19099:
However as per #19099 (comment), these tests only test IDL attribute handlers and event listeners, but not content attribute handlers (i.e.
<div onwebkitanimationend='foo()'></div>
). We should expand the tests to cover content attribute handlers too. This will require some experimentation as to how content attribute handlers interact with IDL attribute handlers when both are set, as well as the easier task of adding a test for case sensitivity.Note that for case-sensitivity, there is a already a positive-match test for the event casing in html/webappapis/scripting/events/event-handler-all-global-events.html ('the content attribute must execute when an event is dispatched'), but not a negative-match test making sure that an incorrect casing doesn't cause the content attribute to fire.
The text was updated successfully, but these errors were encountered: