Closed
Bug 1484154
Opened 6 years ago
Closed 6 years ago
[wpt-sync] Sync PR 12544 - Support CSSStyleValues in StylePropertyMap.set. (Reland)
Categories
(Core :: CSS Parsing and Computation, enhancement, P4)
Core
CSS Parsing and Computation
Tracking
()
RESOLVED
FIXED
mozilla63
Tracking | Status | |
---|---|---|
firefox63 | --- | fixed |
People
(Reporter: mozilla.org, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 12544 into mozilla-central (this bug is closed when the sync is complete). PR: https://github.com/web-platform-tests/wpt/pull/12544 Details from upstream follow. Anders Hartvoll Ruud <andruud@chromium.org> wrote: > Support CSSStyleValues in StylePropertyMap.set. (Reland) > > In StyleValueToCSSValue, when checking whether a certain CSSStyleValue > matches the property in question, we now ask the registration (via > CSSOMTypes) if the CSSStyleValue matches. If it doesn't match, we throw > a TypeError like for normal properties. If it does match, the CSSStyleValue > is stringified, tokenized, and set on the style rule as tokens. > > I have postponed support for <color> and <transform-function>, because > CSSUnsupportedStyleValue currently does not handle registered custom > properties at all. This is appropriate to fix in a separate CL. > > Note that, because the string version of StylePropertyMap.set also uses > StyleValueToCSSValue, it will no longer be possible to set registered > custom properties with a string--even if the syntax is matched. > A subsequent CL will fix this. > > R=futhark@chromium.org > > Bug: 641877 > Change-Id: Ib5c31640f81e957620339c9bdf617ab1af5d3d47 > Reviewed-on: https://chromium-review.googlesource.com/1179153 > WPT-Export-Revision: ad314be2cebb6358d78a9a06fb210f53fc25b2d8
Assignee | ||
Updated•6 years ago
|
Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core
Assignee | ||
Comment 1•6 years ago
|
||
Pushed to try https://treeherder.mozilla.org/#/jobs?repo=try&revision=071b5a28fee81268c3a7b59deadcf3b7ccfec483
Assignee | ||
Comment 2•6 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=21db7b75796a4ba143d05bf9dc14ce7215ccb393
Assignee | ||
Updated•6 years ago
|
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Assignee | ||
Updated•6 years ago
|
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Assignee | ||
Updated•6 years ago
|
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Assignee | ||
Updated•6 years ago
|
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Assignee | ||
Updated•6 years ago
|
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Assignee | ||
Updated•6 years ago
|
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Assignee | ||
Comment 3•6 years ago
|
||
Pushed to try https://treeherder.mozilla.org/#/jobs?repo=try&revision=f1e623c9381f538d1b99003a9589324b6c61afa5
Assignee | ||
Comment 4•6 years ago
|
||
Ran 1 tests and 42 subtests FAIL : 42 ERROR : 1 Existing tests that now have a worse result (e.g. they used to PASS and now FAIL): /css/css-properties-values-api/typedom.tentative.html: ERROR
Assignee | ||
Comment 5•6 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=1bc3f1a2ce460c4bea4709b83d8188ef69610caa
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/0131ba65ffa2 [wpt PR 12544] - Support CSSStyleValues in StylePropertyMap.set. (Reland), a=testonly
Comment 7•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/0131ba65ffa2
Status: NEW → RESOLVED
Closed: 6 years ago
status-firefox63:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla63
You need to log in
before you can comment on or make changes to this bug.
Description
•