Closed Bug 1437466 Opened 2 years ago Closed 2 years ago

[wpt-sync] PR 9474 - Ignore order when parsing inset and color for box-shadow

Categories

(Core :: CSS Parsing and Computation, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
mozilla61
Tracking Status
firefox61 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

Details

(Whiteboard: [wptsync downstream])

According to the spec [1], box-shadow should allow the inset keyword and
a color in any order. Our implementation allowed only 2 out of the 4
possible orders; fix our parsing to match the spec.

[1]: https://drafts.csswg.org/css-backgrounds/#typedef-shadow

Bug: 811083
Change-Id: I54c3d15c177702624994c45044b446fd82fc9d98
Reviewed-on: https://chromium-review.googlesource.com/911994
WPT-Export-Revision: f59cef180fb0d21e75c5aa91d637a2c1550bb2a9
Component: web-platform-tests → Layout: Text
Product: Testing → Core
Ran 1 tests
PASS   : 1[linux32-debug,linux32-opt,linux64-debug,linux64-opt]
FAIL   : 1[linux64-stylo-disabled-debug,linux64-stylo-disabled-opt]
Component: Layout: Text → CSS Parsing and Computation
[ Triage 2017/02/20: P3 ]
Priority: -- → P3
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/977f3945cfb1
[wpt PR 9474] - Ignore order when parsing inset and color for box-shadow, a=testonly
https://hg.mozilla.org/mozilla-central/rev/977f3945cfb1
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla61
Blocks: 1437711
You need to log in before you can comment on or make changes to this bug.