Closed Bug 2087383 Opened 1 month ago Closed 18 days ago

[wpt-sync] Sync PR 64024 - Match .class selectors on elements in unknown XML namespaces

Categories

(Core :: CSS Parsing and Computation, task, P4)

task

Tracking

()

RESOLVED FIXED
162 Branch
Tracking Status
firefox162 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Hyowon Kim <hyowon@igalia.com> wrote:

Match .class selectors on elements in unknown XML namespaces

The rule collector and selector filter only checked class names when
IsStyledElement() was true, so .foo did not match elements in other
XML namespaces. This CL removes the IsStyledElement() check in both
places.

Bug: 41276987
Change-Id: I014c55b9217fcc8eb06bfa1cd9328c3995d38e39
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8577217
Commit-Queue: Hyowon Kim \<hyowon@igalia.com>
Reviewed-by: Mason Freed \<masonf@chromium.org>
Reviewed-by: Rune Lillesveen \<futhark@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1725589}

Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]

CI Results

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

Total 1 tests and 4 subtests

Status Summary

Firefox

OK : 1
PASS: 4

Chrome

OK : 1
PASS: 1
FAIL: 3

Safari

OK : 1
PASS: 4

Links

GitHub PR Head
GitHub PR Base

Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Pushed by wptsync@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/8b906f59e0e2 https://hg.mozilla.org/integration/autoland/rev/8766086c7f11 [wpt PR 64024] - Match .class selectors on elements in unknown XML namespaces, a=testonly
Status: NEW → RESOLVED
Closed: 18 days ago
Resolution: --- → FIXED
Target Milestone: --- → 162 Branch
You need to log in before you can comment on or make changes to this bug.