Closed Bug 1568456 Opened 5 years ago Closed 5 years ago

[wpt-sync] Sync PR 18029 - [css-properties-values-api] Accept any value through setProperty.

Categories

(Core :: CSS Parsing and Computation, task, P4)

task

Tracking

()

RESOLVED FIXED
mozilla70
Tracking Status
firefox70 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 18029 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/18029
Details from upstream follow.

Anders Hartvoll Ruud <andruud@chromium.org> wrote:

[css-properties-values-api] Accept any value through setProperty.

According to a recent spec change, the syntax of a registered custom must
be ignored until computed-value time. This means that setProperty may not
inspect the PropertyRegistry and reject values based on that.

This CL also removes the PropertyRegistry parameter in many places, to
avoid incorrectly using it in the future.

Bug: 641877
Change-Id: I99c58775e800500862378420118d81fe3186e739
Reviewed-on: https://chromium-review.googlesource.com/1714590
WPT-Export-Revision: 3e097e39e93b8f7734e8df5fbd50f068427e5958

Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core
Ran 1 tests and 7 subtests
OK     : 1
PASS   : 2
FAIL   : 5
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/e14e77af921b
[wpt PR 18029] - [css-properties-values-api] Accept any value through setProperty., a=testonly
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla70
You need to log in before you can comment on or make changes to this bug.