Closed Bug 1529046 Opened 10 months ago Closed 9 months ago

[wpt-sync] Sync PR 15421 - CDC versus Ident Token

Categories

(Testing :: web-platform-tests, enhancement, P4)

enhancement

Tracking

(firefox67 fixed)

RESOLVED FIXED
mozilla67
Tracking Status
firefox67 --- fixed

People

(Reporter: wptsync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

wrote:

CDC versus Ident Token

Tests https://github.com/w3c/csswg-drafts/issues/3623.

If the CDC-vs-ident check is performed in the wrong order, you will attempt to parse the CDC as an ident instead, emitting a -- ident token, and then a > delim token.

Thus, if this test is parsed incorrectly, it'll instead think the selector is -- > --foo, a valid selector with two tagname selectors separated by a child combinator.

Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/4fe6634c3cea
[wpt PR 15421] - CDC versus Ident Token, a=testonly
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/8b570896ed68
[wpt PR 15421] - CDC versus Ident Token, a=testonly
Status: NEW → RESOLVED
Closed: 9 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla67
You need to log in before you can comment on or make changes to this bug.