Closed Bug 1689424 Opened 5 years ago Closed 5 years ago

[wpt-sync] Sync PR 27371 - Add several tests of the interaction between <popup> and Shadow DOM

Categories

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

task

Tracking

()

RESOLVED FIXED
87 Branch
Tracking Status
firefox87 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

b'Mason Freed <masonfreed@chromium.org>' wrote:

Add several tests of the interaction between <popup> and Shadow DOM

There are several potentially "interesting" interactions between
the new \<popup> element and Shadow DOM. This CL adds tests for at
least the ones I've thought of so far [1].

This CL also includes a test for a \<popup> nested inside a display:
none sub-tree. The reference for this test is in another CL [2],
so this will need to wait for that to land.

[1] https://bugs.chromium.org/p/chromium/issues/detail?id=1170977#c1
[2] https://chromium-review.googlesource.com/c/chromium/src/+/2648613/

Bug: 1170977
Change-Id: I4f91053684b9061649570566db39cc5384a91a62

Reviewed-on: https://chromium-review.googlesource.com/2651350
WPT-Export-Revision: d962d9d4ea5bead27cefbe2edce690916f7c5ba5

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

CI Results

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

Total 2 tests

Status Summary

Firefox

OK : 1
PASS: 1
FAIL: 4[GitHub] 5[Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-android-em-7.0-x86_64-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-debug, Gecko-linux1804-64-opt, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-linux1804-64-tsan-opt, Gecko-windows10-64-debug, Gecko-windows10-64-opt, Gecko-windows10-64-qr-debug, Gecko-windows10-64-qr-opt, Gecko-windows7-32-debug, Gecko-windows7-32-opt]

Chrome

OK : 1
PASS: 1
FAIL: 4

Safari

OK : 1
PASS: 1
FAIL: 4

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/html/semantics/interactive-elements/the-popup-element/popup-shadow-dom.tentative.html
Popups located inside shadow DOM can still be shown: FAIL (Chrome: FAIL, Safari: FAIL)
anchor references do not cross shadow boundaries: FAIL (Chrome: FAIL, Safari: FAIL)
anchor references use the DOM tree not the flat tree: FAIL (Chrome: FAIL, Safari: FAIL)
The popup stack is preserved across shadow-inclusive ancestors: FAIL (Chrome: FAIL, Safari: FAIL)
/html/semantics/interactive-elements/the-popup-element/popup-inside-display-none.tentative.html: FAIL [Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-android-em-7.0-x86_64-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-debug, Gecko-linux1804-64-opt, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-linux1804-64-tsan-opt, Gecko-windows10-64-debug, Gecko-windows10-64-opt, Gecko-windows10-64-qr-debug, Gecko-windows10-64-qr-opt, Gecko-windows7-32-debug, Gecko-windows7-32-opt], PASS [GitHub] (Chrome: PASS, Safari: PASS)

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/20bf4e987ea0 [wpt PR 27371] - Add several tests of the interaction between <popup> and Shadow DOM, a=testonly https://hg.mozilla.org/integration/autoland/rev/c59d242da134 [wpt PR 27371] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → 87 Branch
You need to log in before you can comment on or make changes to this bug.