Closed Bug 1689019 Opened 5 years ago Closed 5 years ago

[wpt-sync] Sync PR 27342 - Add <popup> anchor linkage, and the <popup> element stack

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 27342 into mozilla-central (this bug is closed when the sync is complete).

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

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

Add <popup> anchor linkage, and the <popup> element stack

This CL adds the "stack" of popups to Document, with code to
pop elements back off the stack when new popups are shown. This
also includes the linkage through the "anchor" attribute, so that
nested popups are only popped off the stack up to the nearest
shadow-including popup ancestor of the current popup's anchor
element.

This CL also removes the HTMLPopupElement::RemovedFrom override,
which was unnecessary.

Bug: 1168738
Change-Id: Ib7523a17e8c2ccb00b15fd70568364f5ff08e0dc
Reviewed-on: https://chromium-review.googlesource.com/2648814
WPT-Export-Revision: e271ac879b306f3e547fc77edfb203554ed4a994

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 1 tests and 1 subtests

Status Summary

Firefox

OK : 1
FAIL: 1

Chrome

OK : 1
FAIL: 1

Safari

OK : 1
FAIL: 1

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-stacking.tentative.html
popup stacking behavior: FAIL (Chrome: FAIL, Safari: FAIL)

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a79d3cb71526 [wpt PR 27342] - Add <popup> anchor linkage, and the <popup> element stack, a=testonly https://hg.mozilla.org/integration/autoland/rev/cdef2b9b5876 [wpt PR 27342] - 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.