Closed Bug 1814960 Opened 1 year ago Closed 1 year ago

[wpt-sync] Sync PR 38355 - Add anchorElement element reference IDL

Categories

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

task

Tracking

()

RESOLVED FIXED
111 Branch
Tracking Status
firefox111 --- fixed

People

(Reporter: mozilla.org, 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

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

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

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/33af1df5d899
[wpt PR 38355] - Add anchorElement element reference IDL, a=testonly
https://hg.mozilla.org/integration/autoland/rev/eb0b9f9c9b2e
[wpt PR 38355] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 111 Branch
You need to log in before you can comment on or make changes to this bug.