Chromium Code Reviews
DescriptionPass null to attributeChangedCallback when there's no namespace URI
The DOM spec says attribute namespaces may be null, or non-empty [1].
We should accurately transmit those nulls to the
attributeChangedCallback [2]. We were converting null to empty string.
This also adds a test that non-null namespaces are transmitted, too.
[1] https://dom.spec.whatwg.org/#concept-attribute-namespace
[2] https://dom.spec.whatwg.org/#concept-element-attributes-change , etc.
BUG=643046
Committed: https://crrev.com/d39405eee528d5cec4edcb6dd9abfdc83b897fe8
Cr-Commit-Position: refs/heads/master@{#416458}
Patch Set 1 #Patch Set 2 : Update test. #
Messages
Total messages: 20 (12 generated)
|
|||||||||||||||||||||||||||||||||||||