Closed Bug 1443370 Opened 6 years ago Closed 6 years ago

[wpt-sync] Sync PR 9862 - Correct serialization of counter()

Categories

(Core :: DOM: CSS Object Model, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
mozilla61
Tracking Status
firefox61 --- fixed

People

(Reporter: mozilla.org, Unassigned)

Details

(Whiteboard: [wptsync downstream])

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

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

Chris Nardi wrote:
>  Correct serialization of counter()
>  
>  As discussed in https://github.com/w3c/csswg-drafts/issues/670, the spec states that if the "the last CSS component value if it is "decimal"", it should be omitted when serializing. Correct the test to match the spec.
>  
>  Fixes https://github.com/w3c/csswg-drafts/issues/670.
Component: web-platform-tests → DOM: CSS Object Model
Product: Testing → Core
Ran 1 tests and 677 subtests
OK     : 1
PASS   : 671
FAIL   : 6

Existing tests that now have a worse result (e.g. they used to PASS and now FAIL):
/css/cssom/serialize-values.html
    content: counter(par-num): FAIL
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/33fbb508c899
[wpt PR 9862] - Correct serialization of counter(), a=testonly
https://hg.mozilla.org/mozilla-central/rev/33fbb508c899
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.