WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED CONFIGURATION CHANGED
184496
CSSStyleDeclaration.setPropertyValue should always fire mutation records even if the declaration doesn't change.
https://bugs.webkit.org/show_bug.cgi?id=184496
Summary
CSSStyleDeclaration.setPropertyValue should always fire mutation records even...
Emilio Cobos Álvarez (:emilio)
Reported
2018-04-11 06:53:15 PDT
See the test in
https://github.com/w3c/web-platform-tests/pull/10429
.
https://drafts.csswg.org/cssom/#dom-cssstyledeclaration-setpropertyvalue
always ends up in
https://drafts.csswg.org/cssom/#update-style-attribute-for
(step 8), which calls
https://dom.spec.whatwg.org/#concept-element-attributes-set-value
, which does queue a mutation record even if the value doesn't change. This is consistent with setAttribute("style", getAttribute("style")), for example.
Attachments
Add attachment
proposed patch, testcase, etc.
Brent Fulgham
Comment 1
2022-07-15 13:57:46 PDT
Safari 15.5+ passes the relevant cssom mutation tests.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug