Closed
Bug 1453442
Opened 6 years ago
Closed 6 years ago
[wpt-sync] Sync PR 10429 - [cssom] Add a test for mutation records when CSSStyleDeclaration.setPropertyValue is invoked.
Categories
(Core :: DOM: CSS Object Model, enhancement, P4)
Core
DOM: CSS Object Model
Tracking
()
RESOLVED
FIXED
mozilla61
Tracking | Status | |
---|---|---|
firefox61 | --- | fixed |
People
(Reporter: mozilla.org, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 10429 into mozilla-central (this bug is closed when the sync is complete). PR: https://github.com/w3c/web-platform-tests/pull/10429 Details from upstream follow. Emilio Cobos Álvarez <emilio@crisal.io> wrote: > [cssom] Add a test for mutation records when CSSStyleDeclaration.setPropertyValue is invoked. > > Even if it doesn't mutate the block. > > 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 makes this consistent with `setAttribute("style", getAttribute("style"))`, > for example. > > >
Reporter | ||
Updated•6 years ago
|
Component: web-platform-tests → DOM: CSS Object Model
Product: Testing → Core
Reporter | ||
Comment 1•6 years ago
|
||
Pushed to try https://treeherder.mozilla.org/#/jobs?repo=try&revision=64aa0a34d339ad55f15fa2784b0cf8cd03d84632
Reporter | ||
Comment 2•6 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=498388ee09b3c469763305deb673208d42f97f0d
Reporter | ||
Comment 3•6 years ago
|
||
Ran 4 tests and 4 subtests OK : 4 PASS : 1 FAIL : 3 New tests that have failures or other problems: /css/cssom/cssstyledeclaration-mutationrecord-002.html CSSStyleDeclaration.setPropertyValue doesn't queue a mutation record when setting invalid values: FAIL /css/cssom/cssstyledeclaration-mutationrecord-003.html CSSStyleDeclaration.removeProperty doesn't queue a mutation record when not actually removed, invoked from setPropertyValue: FAIL /css/cssom/cssstyledeclaration-mutationrecord-004.html CSSStyleDeclaration.removeProperty doesn't queue a mutation record when not actually removed: FAIL
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/b4c37d148d52 [wpt PR 10429] - [cssom] Add a test for mutation records when CSSStyleDeclaration.setPropertyValue is invoked., a=testonly https://hg.mozilla.org/integration/mozilla-inbound/rev/f65230bf5095 [wpt PR 10429] - Update wpt metadata, a=testonly
Comment 5•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/b4c37d148d52 https://hg.mozilla.org/mozilla-central/rev/f65230bf5095
Status: NEW → RESOLVED
Closed: 6 years ago
status-firefox61:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla61
You need to log in
before you can comment on or make changes to this bug.
Description
•