Closed Bug 1700731 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 28222 - Add "popup" invoking attribute, and clean up ancestor walk

Categories

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

task

Tracking

()

RESOLVED FIXED
89 Branch
Tracking Status
firefox89 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

(Blocks 1 open bug, )

Details

(Whiteboard: [wptsync downstream])

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

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

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

Add "popup" invoking attribute, and clean up ancestor walk

With this CL, the "popup" attribute can be used on \<button> elements
only, to invoke a popup. Additional elements (e.g. \<input type=button>,
other input types, etc.) will be added in subsequent CLs. In addition,
this CL adds storage of all invoking elements on each \<popup>, so that
invokers can be checked in the ancestral popup walk. No code has been
added yet to populate this vector, since it is still up in the air [1]
whether this should be part of the behavior, and it is a bit
complicated to maintain this linkage.

[1] https://github.com/MicrosoftEdge/MSEdgeExplainers/issues/463

Bug: 1168738
Change-Id: I62af6e7655ad67540082b5a796f8390e4a890f72
Reviewed-on: https://chromium-review.googlesource.com/2780636
WPT-Export-Revision: 68bca4384868edfe71443963c52b1dec708ac56c

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 3 tests and 4 subtests

Status Summary

Firefox

OK : 2
FAIL : 5
ERROR: 1

Chrome

OK : 3
PASS : 5
FAIL : 1

Safari

OK : 2
FAIL : 5
ERROR: 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-anchor-nesting.tentative.html: ERROR (Chrome: OK, Safari: ERROR)
/html/semantics/interactive-elements/the-popup-element/popup-invoking-attribute.tentative.html
Basic test of the 'popup' attribute on a button: FAIL (Chrome: FAIL, Safari: FAIL)
/html/semantics/interactive-elements/the-popup-element/popup-shadow-dom.tentative.html
Popups located inside shadow DOM can still be shown: FAIL (Chrome: PASS, Safari: FAIL)
anchor references do not cross shadow boundaries: FAIL (Chrome: PASS, Safari: FAIL)
anchor references use the DOM tree not the flat tree: FAIL (Chrome: PASS, Safari: FAIL)
The popup stack is preserved across shadow-inclusive ancestors: FAIL (Chrome: PASS, Safari: FAIL)

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/568558dfac7c
[wpt PR 28222] - Add "popup" invoking attribute, and clean up ancestor walk, a=testonly
https://hg.mozilla.org/integration/autoland/rev/00b334860468
[wpt PR 28222] - Update wpt metadata, a=testonly
Pushed by nbeleuzu@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/57145ddfd157
[wpt PR 28222] - Add "popup" invoking attribute, and clean up ancestor walk, a=testonly
https://hg.mozilla.org/integration/autoland/rev/422919e8fcf7
[wpt PR 28222] - Update wpt metadata, a=testonly
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/e470e6d2351d
[wpt PR 28222] - Add "popup" invoking attribute, and clean up ancestor walk, a=testonly
https://hg.mozilla.org/integration/autoland/rev/b2edab23e467
[wpt PR 28222] - Update wpt metadata, a=testonly
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/33897f5c738a
[wpt PR 28222] - Add "popup" invoking attribute, and clean up ancestor walk, a=testonly
https://hg.mozilla.org/integration/autoland/rev/f72321d63f93
[wpt PR 28222] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 89 Branch
You need to log in before you can comment on or make changes to this bug.