Chromium Code Reviews
DescriptionFix assertion when trying to set custom properties as named properties
This patch fixes a bug where trying to access a custom property as a
named property causes an assertion (e.g. e.style['--foo'] = 'a').
None of the named-property handling code on CSSStyleDeclaration should
support custom properties (we should actually use attributes instead of
named properties, crbug.com/628785, but that's another issue).
The added test already passes in Firefox.
BUG=643194
Committed: https://crrev.com/0dcfd301c47f8510004c295f14f348fd601e2c4e
Cr-Commit-Position: refs/heads/master@{#416502}
Patch Set 1 #
Messages
Total messages: 15 (8 generated)
|
||||||||||||||||||||||||||||