[wpt-sync] Sync PR 38355 - Add anchorElement element reference IDL
Categories
(Core :: DOM: Core & HTML, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox111 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 38355 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/38355
Details from upstream follow.
Mason Freed <masonf@chromium.org> wrote:
Add anchorElement element reference IDL
The anchor content attribute is not currently reflected in IDL. This CL
adds IDL reflection, as an element reference:popover.anchorElement = myElement; popover.setAttribute('anchor','idref'); const el = popover.anchorElement;
This is gated behind the CSSAnchorPositioning flag, since it is most
closely associated with that feature.Bug: 1307772,1309178
Change-Id: I7c4d54d94ad5eeb38d1945733bbbaa3890f2b5d4
Reviewed-on: https://chromium-review.googlesource.com/4209776
WPT-Export-Revision: d3e3a4e50bd88b3e3d4e9e7203052093a2694394
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 1•2 years ago
|
||
Assignee | ||
Comment 2•2 years ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests and 3 subtests
Status Summary
Firefox
OK
: 1
FAIL
: 3
Chrome
OK
: 1
FAIL
: 3
Safari
OK
: 1
FAIL
: 3
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /html/semantics/popovers/popover-anchor-idl-property.tentative.html [wpt.fyi]
- popover anchorElement IDL property returns the anchor element:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - popover anchorElement is settable:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - anchorElement affects anchor positioning:
FAIL
(Chrome:FAIL
, Safari:FAIL
)
- popover anchorElement IDL property returns the anchor element:
Comment 4•2 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/33af1df5d899
https://hg.mozilla.org/mozilla-central/rev/eb0b9f9c9b2e
Description
•