Closed Bug 1754178 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 32744 - Shadow DOM: Fix :focus selector behavior for shadow hosts

Categories

(Core :: DOM: Core & HTML, task, P4)

task

Tracking

()

RESOLVED FIXED
99 Branch
Tracking Status
firefox99 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

(Depends on 1 open bug, )

Details

(Whiteboard: [wptsync downstream])

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

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

Kent Tamura <tkent@chromium.org> wrote:

Shadow DOM: Fix :focus selector behavior for shadow hosts

If a shadow node is focused, all ancestor shadow hosts should match
to :focus pseudo selector.
Such shadow hosts should not match to :focus-visible pseudo selector.

The new behavior matches to Firefox and Safari.

  • Merge some web tests into a WPT.

Bug: 1014091
Change-Id: Ibbe841c18324f1cf18dba04138e4e5e102ea31f1
Reviewed-on: https://chromium-review.googlesource.com/3439312
WPT-Export-Revision: e9b9d74f0217c1f58f69a7f49032a440e783fe5d

Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core

CI Results

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

Total 1 tests and 20 subtests

Status Summary

Firefox

OK : 1
PASS: 20

Chrome

OK : 1
PASS: 14
FAIL: 6

Safari

OK : 1
PASS: 20

Links

GitHub PR Head
GitHub PR Base

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/b7853a991282 [wpt PR 32744] - Shadow DOM: Fix :focus selector behavior for shadow hosts, a=testonly
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/ad2a1d1fd0d2 [wpt PR 32744] - Shadow DOM: Fix :focus selector behavior for shadow hosts, a=testonly
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 99 Branch
You need to log in before you can comment on or make changes to this bug.