Closed Bug 1609414 Opened 4 years ago Closed 4 years ago

[wpt-sync] Sync PR 21189 - Escape identifiers serializing selectors.

Categories

(Core :: DOM: CSS Object Model, task, P4)

task

Tracking

()

RESOLVED FIXED
mozilla74
Tracking Status
firefox74 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Rune Lillesveen <futhark@chromium.org> wrote:

Escape identifiers serializing selectors.

There were a couple of instance where we serialized the AtomicString as
an identifier without taking necessary escaping into account. This is
fixing serialization for :state(), :lang(), and unrecognized
::-webkit-* pseudo elements.

Bug: 1042181
Change-Id: Ic0ca090bb57798f2905e360a0c5728a303dab3c4
Reviewed-on: https://chromium-review.googlesource.com/2002609
WPT-Export-Revision: a34cd518bec8a068b3fa602b5f004f66153b7866

Component: web-platform-tests → DOM: CSS Object Model
Product: Testing → Core

CI Results

Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 2 tests and 4 subtests

Status Summary

Firefox

OK : 2
PASS: 22

Chrome

OK : 2
PASS: 20
FAIL: 2

Safari

OK : 2
PASS: 9
FAIL: 13

Links

GitHub PR Head
GitHub PR Base

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/2c2d797c748e
[wpt PR 21189] - Escape identifiers serializing selectors., a=testonly
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla74
You need to log in before you can comment on or make changes to this bug.