Closed Bug 1438276 Opened 6 years ago Closed 6 years ago

[wpt-sync] PR 9519 - Test box-shadow serialization

Categories

(Core :: Layout, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla61
Tracking Status
firefox61 --- fixed

People

(Reporter: mozilla.org, Unassigned)

Details

(Whiteboard: [wptsync downstream])

Following https://github.com/w3c/csswg-drafts/issues/2305, the canonical serialization for box-shadow was changed from `inset? && <length>{2,4} && <color>?` to `<color>? && <length>{2,4} && inset?`. Convert an existing box-shadow text into a testharness.js test in order to test serialization as well.

I added `parsing-testcommon.js` as a copy of https://github.com/w3c/web-platform-tests/blob/master/css/css-transforms/parsing/resources/parsing-testcommon.js (this should probably be moved into a css/resources directory), and also renamed the file as it seems the testharness reporting does not play nicely with XHTML (it had no styling).
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Component: web-platform-tests → Layout
Product: Testing → Core
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Ran 1 tests and 62 subtests
OK     : 1
PASS   : 62
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/897ebf44f505
[wpt PR 9519] - Test box-shadow serialization, a=testonly
https://hg.mozilla.org/mozilla-central/rev/897ebf44f505
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla61
You need to log in before you can comment on or make changes to this bug.