Closed Bug 2071284 Opened 2 months ago Closed 2 months ago

[wpt-sync] Sync PR 62617 - [Reference Target] Preserve event source properties after dispatch

Categories

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

task

Tracking

()

RESOLVED FIXED
158 Branch
Tracking Status
firefox158 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Daniel Clark <daniec@microsoft.com> wrote:

[Reference Target] Preserve event source properties after dispatch

The reference target event-path implementation used Event's internal
relatedTarget storage for SubmitEvent.submitter and the source
properties of CommandEvent, ToggleEvent, and InterestEvent.

DOM event dispatch clears relatedTarget after some dispatches in shadow
trees (see clearTarget in [1]). This caused these event properties now
backed by relatedTarget to become null after dispatch, including for
same-tree relationships that did not involve Reference Target.

In this CL, preserve reference target propagation while restoring the
previous behavior for same-tree and synthetic events, including source
retargeting and reads after dispatch.

This is done by returning submitter/source to being backed by separate
event-specific fields. To preserve reference target's cross-tree
propagation, relatedTarget will still be set on these events; it's just
no longer used to back the properties.

[1] https://dom.spec.whatwg.org/#concept-event-dispatch

Bug: 556160944
Change-Id: I14c8150db4b8df9b12e7c5e64517e7ce29a01faf
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8353650
Reviewed-by: Mason Freed \<masonf@chromium.org>
Commit-Queue: Dan Clark \<daniec@microsoft.com>
Cr-Commit-Position: refs/heads/main@{#1695924}

Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]

CI Results

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

Total 227 tests

Status Summary

Firefox

OK : 7[GitHub] 178[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview] 180[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
PASS : 17[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt] 75[GitHub] 5038[Gecko-windows11-32-25h2-debug] 5039[Gecko-windows11-32-25h2-opt] 5046[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview] 5057[Gecko-windows11-64-25h2-opt] 5058[Gecko-windows11-64-25h2-debug] 5059[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt]
FAIL : 14[GitHub] 308[Gecko-windows11-32-25h2-opt] 309[Gecko-windows11-32-25h2-debug] 311[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview] 312[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt] 313[Gecko-windows11-64-25h2-debug] 314[Gecko-windows11-64-25h2-opt]
ERROR : 4[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt] 5[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview]
NOTRUN: 1

Chrome

OK : 7
PASS : 82
FAIL : 7

Safari

OK : 7
PASS : 75
FAIL : 14

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

  • /html/semantics/forms/form-submission-0/newline-normalization.html [wpt.fyi]: OK [Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt], SKIP [Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview]
  • /html/semantics/forms/form-submission-0/reparent-form-during-planned-navigation-task.html [wpt.fyi]: SKIP
  • /html/semantics/popovers/popover-focus-invoker-inside-popover.html [wpt.fyi]: SKIP
  • /html/semantics/forms/form-submission-0/SubmitEvent.window.html [wpt.fyi]
    • SubmitEvent.submitter remains set after dispatch in a shadow tree: FAIL (Chrome: FAIL, Safari: FAIL)
  • /html/semantics/interestfor/idlharness.tentative.html [wpt.fyi]
    • InterestEvent interface: existence and properties of interface object: FAIL
    • InterestEvent interface object length: FAIL
    • InterestEvent interface object name: FAIL
    • InterestEvent interface: existence and properties of interface prototype object: FAIL
    • InterestEvent interface: existence and properties of interface prototype object's "constructor" property: FAIL
    • InterestEvent interface: existence and properties of interface prototype object's @@unscopables property: FAIL
    • InterestEvent interface: attribute source: FAIL
    • InterestEvent must be primary interface of new InterestEvent("interest"): FAIL
    • Stringification of new InterestEvent("interest"): FAIL
    • InterestEvent interface: new InterestEvent("interest") must inherit property "source" with the proper type: FAIL
    • HTMLAnchorElement interface: attribute interestForElement: FAIL
    • HTMLAnchorElement interface: document.createElement("a") must inherit property "interestForElement" with the proper type: FAIL
    • HTMLAreaElement interface: attribute interestForElement: FAIL
    • HTMLAreaElement interface: document.createElement("area") must inherit property "interestForElement" with the proper type: FAIL
    • HTMLButtonElement interface: attribute interestForElement: FAIL
    • HTMLButtonElement interface: document.createElement("button") must inherit property "interestForElement" with the proper type: FAIL
    • SVGAElement interface: attribute interestForElement: FAIL
    • SVGAElement interface: document.createElementNS("http://www.w3.org/2000/svg", "a") must inherit property "interestForElement" with the proper type: FAIL
  • /html/semantics/interestfor/interestelement-interface.tentative.html [wpt.fyi]
    • interestForElement reflects interestee HTML element: FAIL
    • interestForElement reflects set value: FAIL
    • interestForElement reflects set value across shadow root into light dom: FAIL
    • interestForElement does not reflect set value inside shadowroot: FAIL
    • interestForElement does not reflect invalid value: FAIL
    • interestForElement throws error on assignment of non Element: FAIL
  • /html/semantics/interestfor/interestevent-dispatch-shadow.tentative.html [wpt.fyi]
    • InterestEvent doesn't propagate across shadow boundary when retargeted source == currentTarget: FAIL (Chrome: FAIL, Safari: FAIL)
    • cross shadow InterestEvent retargets interestee to host element: FAIL (Chrome: PASS, Safari: FAIL)
  • /html/semantics/interestfor/interestevent-interface.tentative.html [wpt.fyi]
    • source is readonly defaulting to null: FAIL (Chrome: PASS, Safari: FAIL)
    • InterestEventInit properties set value (manual event): FAIL (Chrome: PASS, Safari: FAIL)
    • source is retargeted after dispatch in a shadow tree: FAIL (Chrome: FAIL, Safari: FAIL)
    • InterestEventInit properties set value (beforetoggle event): FAIL (Chrome: PASS, Safari: FAIL)
    • InterestEventInit properties set value (toggle event): FAIL (Chrome: PASS, Safari: FAIL)
    • source set to undefined: FAIL (Chrome: PASS, Safari: FAIL)
    • source set to null: FAIL (Chrome: PASS, Safari: FAIL)
    • source set to false: FAIL (Chrome: PASS, Safari: FAIL)
    • source set to true: FAIL (Chrome: PASS, Safari: FAIL)
    • source set to {}: FAIL (Chrome: PASS, Safari: FAIL)
    • source set to non-Element EventTarget: FAIL (Chrome: PASS, Safari: FAIL)
  • /html/semantics/interestfor/interestfor-anchor-event-dispatch.tentative.html [wpt.fyi]
    • InterestEvent is not dispatched unless the anchor has an href: FAIL
    • InterestEvent dispatches on anchor hover: FAIL
    • Nested invoker and invokee: FAIL
  • /html/semantics/interestfor/interestfor-area-event-dispatch.tentative.html [wpt.fyi]
    • InterestEvent is not dispatched unless the area has an href: FAIL
    • InterestEvent dispatches on area hover: FAIL
  • /html/semantics/interestfor/interestfor-basic-behavior.tentative.html?method=focus [wpt.fyi]: ERROR
  • /html/semantics/interestfor/interestfor-basic-behavior.tentative.html?method=hover [wpt.fyi]: ERROR
  • /html/semantics/interestfor/interestfor-basic-delays.tentative.html [wpt.fyi]
    • Basic hover interest and loseinterest behavior: FAIL
  • /html/semantics/interestfor/interestfor-button-event-dispatch.tentative.html [wpt.fyi]
    • InterestEvent dispatches on button hover: FAIL
    • event dispatches if interestee is non-HTML Element: FAIL
  • /html/semantics/interestfor/interestfor-css-properties.tentative.html [wpt.fyi]
    • Property interest-delay-start value '0s': FAIL
    • Property interest-delay-start value '0ms': FAIL
    • Property interest-delay-start value '32s': FAIL
    • Property interest-delay-start value '123ms': FAIL
    • Property interest-delay-start value 'normal': FAIL
    • e.style['interest-delay-start'] = "0s" should set the property value: FAIL
    • e.style['interest-delay-start'] = "0ms" should set the property value: FAIL
    • e.style['interest-delay-start'] = "32s" should set the property value: FAIL
    • e.style['interest-delay-start'] = "123ms" should set the property value: FAIL
    • e.style['interest-delay-start'] = "inherit" should set the property value: FAIL
    • e.style['interest-delay-start'] = "calc(2s * sibling-index())" should set the property value: FAIL
    • e.style['interest-delay-start'] = "normal" should set the property value: FAIL
    • CSS Transitions: property <interest-delay-start> from [1s] to [2000ms] at (-1.5) should be [0s]: FAIL
    • CSS Transitions: property <interest-delay-start> from [1s] to [2000ms] at (-0.3) should be [0.7s]: FAIL
    • CSS Transitions: property <interest-delay-start> from [1s] to [2000ms] at (0) should be [1s]: FAIL
    • CSS Transitions: property <interest-delay-start> from [1s] to [2000ms] at (0.5) should be [1.5s]: FAIL
    • CSS Transitions: property <interest-delay-start> from [1s] to [2000ms] at (1) should be [2s]: FAIL
    • CSS Transitions: property <interest-delay-start> from [1s] to [2000ms] at (1.5) should be [2.5s]: FAIL
    • CSS Transitions with transition: all: property <interest-delay-start> from [1s] to [2000ms] at (-1.5) should be [0s]: FAIL
    • CSS Transitions with transition: all: property <interest-delay-start> from [1s] to [2000ms] at (-0.3) should be [0.7s]: FAIL
    • CSS Transitions with transition: all: property <interest-delay-start> from [1s] to [2000ms] at (0) should be [1s]: FAIL
    • CSS Transitions with transition: all: property <interest-delay-start> from [1s] to [2000ms] at (0.5) should be [1.5s]: FAIL
    • CSS Transitions with transition: all: property <interest-delay-start> from [1s] to [2000ms] at (1) should be [2s]: FAIL
    • CSS Transitions with transition: all: property <interest-delay-start> from [1s] to [2000ms] at (1.5) should be [2.5s]: FAIL
    • CSS Animations: property <interest-delay-start> from [1s] to [2000ms] at (-1.5) should be [0s]: FAIL
    • CSS Animations: property <interest-delay-start> from [1s] to [2000ms] at (-0.3) should be [0.7s]: FAIL
    • CSS Animations: property <interest-delay-start> from [1s] to [2000ms] at (0) should be [1s]: FAIL
    • CSS Animations: property <interest-delay-start> from [1s] to [2000ms] at (0.5) should be [1.5s]: FAIL
    • CSS Animations: property <interest-delay-start> from [1s] to [2000ms] at (1) should be [2s]: FAIL
    • CSS Animations: property <interest-delay-start> from [1s] to [2000ms] at (1.5) should be [2.5s]: FAIL
    • Web Animations: property <interest-delay-start> from [1s] to [2000ms] at (-1.5) should be [0s]: FAIL
    • Web Animations: property <interest-delay-start> from [1s] to [2000ms] at (-0.3) should be [0.7s]: FAIL
    • Web Animations: property <interest-delay-start> from [1s] to [2000ms] at (0) should be [1s]: FAIL
    • Web Animations: property <interest-delay-start> from [1s] to [2000ms] at (0.5) should be [1.5s]: FAIL
    • Web Animations: property <interest-delay-start> from [1s] to [2000ms] at (1) should be [2s]: FAIL
    • Web Animations: property <interest-delay-start> from [1s] to [2000ms] at (1.5) should be [2.5s]: FAIL
    • Property interest-delay-end value '0s': FAIL
    • Property interest-delay-end value '0ms': FAIL
    • Property interest-delay-end value '32s': FAIL
    • Property interest-delay-end value '123ms': FAIL
    • Property interest-delay-end value 'normal': FAIL
    • e.style['interest-delay-end'] = "0s" should set the property value: FAIL
    • e.style['interest-delay-end'] = "0ms" should set the property value: FAIL
    • e.style['interest-delay-end'] = "32s" should set the property value: FAIL
    • e.style['interest-delay-end'] = "123ms" should set the property value: FAIL
    • e.style['interest-delay-end'] = "inherit" should set the property value: FAIL
    • e.style['interest-delay-end'] = "calc(2s * sibling-index())" should set the property value: FAIL
    • e.style['interest-delay-end'] = "normal" should set the property value: FAIL
    • CSS Transitions: property <interest-delay-end> from [1s] to [2000ms] at (-1.5) should be [0s]: FAIL
    • CSS Transitions: property <interest-delay-end> from [1s] to [2000ms] at (-0.3) should be [0.7s]: FAIL
    • CSS Transitions: property <interest-delay-end> from [1s] to [2000ms] at (0) should be [1s]: FAIL
    • CSS Transitions: property <interest-delay-end> from [1s] to [2000ms] at (0.5) should be [1.5s]: FAIL
    • CSS Transitions: property <interest-delay-end> from [1s] to [2000ms] at (1) should be [2s]: FAIL
    • CSS Transitions: property <interest-delay-end> from [1s] to [2000ms] at (1.5) should be [2.5s]: FAIL
    • CSS Transitions with transition: all: property <interest-delay-end> from [1s] to [2000ms] at (-1.5) should be [0s]: FAIL
    • CSS Transitions with transition: all: property <interest-delay-end> from [1s] to [2000ms] at (-0.3) should be [0.7s]: FAIL
    • CSS Transitions with transition: all: property <interest-delay-end> from [1s] to [2000ms] at (0) should be [1s]: FAIL
    • CSS Transitions with transition: all: property <interest-delay-end> from [1s] to [2000ms] at (0.5) should be [1.5s]: FAIL
    • CSS Transitions with transition: all: property <interest-delay-end> from [1s] to [2000ms] at (1) should be [2s]: FAIL
    • CSS Transitions with transition: all: property <interest-delay-end> from [1s] to [2000ms] at (1.5) should be [2.5s]: FAIL
    • CSS Animations: property <interest-delay-end> from [1s] to [2000ms] at (-1.5) should be [0s]: FAIL
    • CSS Animations: property <interest-delay-end> from [1s] to [2000ms] at (-0.3) should be [0.7s]: FAIL
    • CSS Animations: property <interest-delay-end> from [1s] to [2000ms] at (0) should be [1s]: FAIL
    • CSS Animations: property <interest-delay-end> from [1s] to [2000ms] at (0.5) should be [1.5s]: FAIL
    • CSS Animations: property <interest-delay-end> from [1s] to [2000ms] at (1) should be [2s]: FAIL
    • CSS Animations: property <interest-delay-end> from [1s] to [2000ms] at (1.5) should be [2.5s]: FAIL
    • Web Animations: property <interest-delay-end> from [1s] to [2000ms] at (-1.5) should be [0s]: FAIL
    • Web Animations: property <interest-delay-end> from [1s] to [2000ms] at (-0.3) should be [0.7s]: FAIL
    • Web Animations: property <interest-delay-end> from [1s] to [2000ms] at (0) should be [1s]: FAIL
    • Web Animations: property <interest-delay-end> from [1s] to [2000ms] at (0.5) should be [1.5s]: FAIL
    • Web Animations: property <interest-delay-end> from [1s] to [2000ms] at (1) should be [2s]: FAIL
    • Web Animations: property <interest-delay-end> from [1s] to [2000ms] at (1.5) should be [2.5s]: FAIL
  • /html/semantics/interestfor/interestfor-css-shorthands.tentative.html [wpt.fyi]
    • e.style['interest-delay'] = "0.23s 450ms" should set interest-delay-end: FAIL
    • e.style['interest-delay'] = "0.23s 450ms" should set interest-delay-start: FAIL
    • e.style['interest-delay'] = "0.23s 450ms" should not set unrelated longhands: FAIL
    • e.style['interest-delay'] = "0.23s" should set interest-delay-end: FAIL
    • e.style['interest-delay'] = "0.23s" should set interest-delay-start: FAIL
    • e.style['interest-delay'] = "0.23s" should not set unrelated longhands: FAIL
    • e.style['interest-delay'] = "450ms" should set interest-delay-end: FAIL
    • e.style['interest-delay'] = "450ms" should set interest-delay-start: FAIL
    • e.style['interest-delay'] = "450ms" should not set unrelated longhands: FAIL
    • e.style['interest-delay'] = "normal" should set interest-delay-end: FAIL
    • e.style['interest-delay'] = "normal" should set interest-delay-start: FAIL
    • e.style['interest-delay'] = "normal" should not set unrelated longhands: FAIL
    • e.style['interest-delay'] = "normal normal" should set interest-delay-end: FAIL
    • e.style['interest-delay'] = "normal normal" should set interest-delay-start: FAIL
    • e.style['interest-delay'] = "normal normal" should not set unrelated longhands: FAIL
    • e.style['interest-delay'] = "normal 0.23s" should set interest-delay-end: FAIL
    • e.style['interest-delay'] = "normal 0.23s" should set interest-delay-start: FAIL
    • e.style['interest-delay'] = "normal 0.23s" should not set unrelated longhands: FAIL
    • e.style['interest-delay'] = "0.23s normal" should set interest-delay-end: FAIL
    • e.style['interest-delay'] = "0.23s normal" should set interest-delay-start: FAIL
    • e.style['interest-delay'] = "0.23s normal" should not set unrelated longhands: FAIL
  • /html/semantics/interestfor/interestfor-delay-end.tentative.html?method=focus [wpt.fyi]
    • Test the harness: FAIL
    • The interest-delay-end causes interest to be lost after a delay, method focus: FAIL
    • Hide delay is cancelled if hover/focus returns, method focus: FAIL
    • hovering/focusing the interest for element keeps the invoker from losing interest, method focus: FAIL
    • moving hover/focus between the invoker and the target prevents interest lost, method focus: FAIL
  • /html/semantics/interestfor/interestfor-delay-end.tentative.html?method=hover [wpt.fyi]
    • Test the harness: FAIL
    • The interest-delay-end causes interest to be lost after a delay, method hover: FAIL
    • Hide delay is cancelled if hover/focus returns, method hover: FAIL
    • hovering/focusing the interest for element keeps the invoker from losing interest, method hover: FAIL
    • moving hover/focus between the invoker and the target prevents interest lost, method hover: FAIL
  • /html/semantics/interestfor/interestfor-delay-start.tentative.html?layout=nested-offset&method=focus [wpt.fyi]
    • interestfor fires after a delay, layout nested-offset, method focus: FAIL
    • interestfor should not trigger via mouse click, layout nested-offset, method focus: FAIL
    • interestfor interest-delay-start is respected, layout nested-offset, method focus: FAIL
    • Show delay is cancelled if hover/focus changes, layout nested-offset, method focus: FAIL
    • interestfor does not close an already-open popover, layout nested-offset, method focus: FAIL
    • interestfor does nothing when the target is moved out of the document, layout nested-offset, method focus: FAIL
    • interestfor does nothing when the target changes, layout nested-offset, method focus: FAIL
    • moving hover/focus between two invokers for the same target does the right thing, layout nested-offset, method focus: FAIL
  • /html/semantics/interestfor/interestfor-delay-start.tentative.html?layout=nested&method=focus [wpt.fyi]
    • interestfor fires after a delay, layout nested, method focus: FAIL
    • interestfor should not trigger via mouse click, layout nested, method focus: FAIL
    • interestfor interest-delay-start is respected, layout nested, method focus: FAIL
    • Show delay is cancelled if hover/focus changes, layout nested, method focus: FAIL
    • interestfor does not close an already-open popover, layout nested, method focus: FAIL
    • interestfor does nothing when the target is moved out of the document, layout nested, method focus: FAIL
    • interestfor does nothing when the target changes, layout nested, method focus: FAIL
    • moving hover/focus between two invokers for the same target does the right thing, layout nested, method focus: FAIL
  • /html/semantics/interestfor/interestfor-delay-start.tentative.html?layout=nested-offset&method=hover [wpt.fyi]
    • interestfor fires after a delay, layout nested-offset, method hover: FAIL
    • interestfor should not trigger via mouse click, layout nested-offset, method hover: FAIL
    • interestfor interest-delay-start is respected, layout nested-offset, method hover: FAIL
    • Show delay is cancelled if hover/focus changes, layout nested-offset, method hover: FAIL
    • interestfor does not close an already-open popover, layout nested-offset, method hover: FAIL
    • interestfor does nothing when the target is moved out of the document, layout nested-offset, method hover: FAIL
    • interestfor does nothing when the target changes, layout nested-offset, method hover: FAIL
    • moving hover/focus between two invokers for the same target does the right thing, layout nested-offset, method hover: FAIL
  • /html/semantics/interestfor/interestfor-delay-start.tentative.html?layout=plain&method=focus [wpt.fyi]
    • interestfor fires after a delay, layout plain, method focus: FAIL
    • interestfor should not trigger via mouse click, layout plain, method focus: FAIL
    • interestfor interest-delay-start is respected, layout plain, method focus: FAIL
    • Show delay is cancelled if hover/focus changes, layout plain, method focus: FAIL
    • interestfor does not close an already-open popover, layout plain, method focus: FAIL
    • interestfor does nothing when the target is moved out of the document, layout plain, method focus: FAIL
    • interestfor does nothing when the target changes, layout plain, method focus: FAIL
    • moving hover/focus between two invokers for the same target does the right thing, layout plain, method focus: FAIL
  • /html/semantics/interestfor/interestfor-delay-start.tentative.html?layout=nested&method=hover [wpt.fyi]
    • interestfor fires after a delay, layout nested, method hover: FAIL
    • interestfor should not trigger via mouse click, layout nested, method hover: FAIL
    • interestfor interest-delay-start is respected, layout nested, method hover: FAIL
    • Show delay is cancelled if hover/focus changes, layout nested, method hover: FAIL
    • interestfor does not close an already-open popover, layout nested, method hover: FAIL
    • interestfor does nothing when the target is moved out of the document, layout nested, method hover: FAIL
    • interestfor does nothing when the target changes, layout nested, method hover: FAIL
    • moving hover/focus between two invokers for the same target does the right thing, layout nested, method hover: FAIL
  • /html/semantics/interestfor/interestfor-delay-start.tentative.html?layout=plain&method=hover [wpt.fyi]
    • interestfor fires after a delay, layout plain, method hover: FAIL
    • interestfor should not trigger via mouse click, layout plain, method hover: FAIL
    • interestfor interest-delay-start is respected, layout plain, method hover: FAIL
    • Show delay is cancelled if hover/focus changes, layout plain, method hover: FAIL
    • interestfor does not close an already-open popover, layout plain, method hover: FAIL
    • interestfor does nothing when the target is moved out of the document, layout plain, method hover: FAIL
    • interestfor does nothing when the target changes, layout plain, method hover: FAIL
    • moving hover/focus between two invokers for the same target does the right thing, layout plain, method hover: FAIL
  • /html/semantics/interestfor/interestfor-event-timing.tentative.html [wpt.fyi]
    • Event and pseudo-class timing for interest and loseinterest: FAIL
  • /html/semantics/interestfor/interestfor-iframe-popover.tentative.html [wpt.fyi]
    • Interest is maintained when focus moves into an iframe popover via Tab: FAIL
    • Interest is maintained when focus moves into an iframe popover directly: FAIL
    • Interest is maintained when focus moves into a cross-origin iframe popover: FAIL
    • Interest is maintained when focus moves into a shadow root inside an iframe popover: FAIL
    • Moving focus between elements inside the same iframe popover does not close it: FAIL
    • Untrusted synthetic focus events in child document do not trigger interest actions: FAIL
  • /html/semantics/interestfor/interestfor-implicit-anchor.tentative.html [wpt.fyi]
    • Interest invokers form an implicit anchor reference: FAIL
  • /html/semantics/interestfor/interestfor-invoker-descendants.tentative.html [wpt.fyi]
    • Moving focus within invoker, focus: FAIL
    • Moving focus within invoker, hover: FAIL
    • Nested invokers, focus: FAIL
    • Nested invokers, hover: FAIL
    • Nested invokers with intermediate interest target, focus: FAIL
    • Nested invokers with intermediate interest target, hover: FAIL
    • Nested invokers with circular dependencies, focus: FAIL
    • Nested invokers with circular dependencies, hover: FAIL
  • /html/semantics/interestfor/interestfor-keyboard-behavior.tentative.html [wpt.fyi]: ERROR
  • /html/semantics/interestfor/interestfor-on-popover-behavior.tentative.html [wpt.fyi]
    • hover interest invoking closed popover opens: FAIL
  • /html/semantics/interestfor/interestfor-pseudo-classes.tentative.html [wpt.fyi]
    • Basic pseudo class function, with mouse hover triggering: FAIL
    • Basic pseudo class function, with keyboard focus triggering: FAIL
    • Contents of target popover are keyboard focusable: FAIL
    • Lose interest hotkey works: FAIL
    • Closing the target popover loses interest, without any delays (keyboard activation): FAIL
    • Closing the target popover loses interest, without any delays (mouse activation): FAIL
    • The pseudo classes only match after delays, once interest is shown: FAIL
  • /html/semantics/interestfor/interestfor-pseudo-element.tentative.html [wpt.fyi]
    • pseudo element should work for Button: FAIL
    • pseudo element should work for Link: FAIL
  • /html/semantics/interestfor/interestfor-retrigger-on-esc.tentative.html [wpt.fyi]
    • Focusing invoker after closing popover with ESC should not re-trigger interest: FAIL
  • /html/semantics/interestfor/interestfor-svg-a-event-dispatch.tentative.html [wpt.fyi]: ERROR
    • InterestEvent is not dispatched unless the svg <a> has an href: FAIL
    • InterestEvent dispatches on svg <a> hover: NOTRUN
  • /html/semantics/interestfor/interestfor-user-select.tentative.html [wpt.fyi]
    • Buttons with interestfor should not be user-selectable: FAIL
  • /html/semantics/popovers/light-dismiss-event-ordering.tentative.html [wpt.fyi]
    • Tests the order of pointer/mouse events during popover light dismiss.: FAIL
  • /html/semantics/popovers/light-dismiss-remove-target.html [wpt.fyi]
    • Light dismiss should still happen if the clicked element is removed during pointerdown.: FAIL
  • /html/semantics/popovers/popover-events.html [wpt.fyi]
    • The toggle event is still fired if the popover is removed during focus/blur: FAIL
  • /html/semantics/popovers/popover-focus-5.html?commandfor [wpt.fyi]
    • Focusing elements inside a popover with a details element inside, and the after button adjacent to invoker, using commandfor: FAIL
    • Focusing elements inside a popover with custom-element with a slotted button, followed by a details element, where the after button is adjacent to the invoker, using commandfor: FAIL
  • /html/semantics/popovers/popover-focus-5.html?commandforelement [wpt.fyi]
    • Focusing elements inside a popover with a details element inside, and the after button adjacent to invoker, using commandforelement: FAIL
    • Focusing elements inside a popover with custom-element with a slotted button, followed by a details element, where the after button is adjacent to the invoker, using commandforelement: FAIL
  • /html/semantics/popovers/popover-focus-5.html?imperative [wpt.fyi]
    • Focusing elements inside a popover with a details element inside, and the after button adjacent to invoker, using imperative: FAIL
    • Focusing elements inside a popover with custom-element with a slotted button, followed by a details element, where the after button is adjacent to the invoker, using imperative: FAIL
  • /html/semantics/popovers/popover-focus-5.html?popovertargetelement [wpt.fyi]
    • Focusing elements inside a popover with a details element inside, and the after button adjacent to invoker, using popovertargetelement: FAIL
    • Focusing elements inside a popover with custom-element with a slotted button, followed by a details element, where the after button is adjacent to the invoker, using popovertargetelement: FAIL
  • /html/semantics/popovers/popover-hint-loseinterest-show-child.html [wpt.fyi]
    • Showing a child hint popover in loseinterest should function: FAIL
  • /html/semantics/popovers/popover-light-dismiss-command-edge-cases.html [wpt.fyi]
    • commandfor with command=show-modal light dismisses the popover: FAIL
    • commandfor with command=request-close light dismisses the popover: FAIL
    • commandfor with custom command light dismisses the popover: FAIL
    • commandfor on reset button with form owner light dismisses the popover: FAIL
    • commandfor on auto-type button with form owner light dismisses the popover: FAIL
  • /html/semantics/popovers/popover-light-dismiss-contextmenu.html [wpt.fyi]
    • Popovers should not be light dismissed during contextmenu event.: FAIL
  • /html/semantics/popovers/popover-light-dismiss-touch-scroll.html [wpt.fyi]
    • Popovers should not be light dismissed when scrolling via touch.: FAIL
  • /html/semantics/popovers/popover-overlay.html [wpt.fyi]
    • dialog.show() should not put popover dialog in top layer: FAIL
    • dialog.showModal() should put popover dialog in top layer: FAIL
    • dialog.showPopover() should put popover dialog in top layer: FAIL
    • div.showPopover() should put popover div in top layer: FAIL
  • /html/semantics/popovers/popover-remove-attribute-during-focusing-steps.html [wpt.fyi]
    • Remove popover attribute during the popover focusing steps: FAIL
  • /html/semantics/the-button-element/command-and-commandfor/button-event-dispatch.html [wpt.fyi]
    • event dispatches on click with addEventListener: FAIL
    • event dispatches on click with oncommand property: FAIL
    • setting custom command property to --foo (must include dash) sets event command: FAIL
    • setting custom command attribute to --foo (must include dash) sets event command: FAIL
    • setting custom command property to --foo- (must include dash) sets event command: FAIL
    • setting custom command attribute to --foo- (must include dash) sets event command: FAIL
    • setting custom command property to --cAsE-cArRiEs (must include dash) sets event command: FAIL
    • setting custom command attribute to --cAsE-cArRiEs (must include dash) sets event command: FAIL
    • setting custom command property to -- (must include dash) sets event command: FAIL
    • setting custom command attribute to -- (must include dash) sets event command: FAIL
    • setting custom command property to --a- (must include dash) sets event command: FAIL
    • setting custom command attribute to --a- (must include dash) sets event command: FAIL
    • setting custom command property to --a-b (must include dash) sets event command: FAIL
    • setting custom command attribute to --a-b (must include dash) sets event command: FAIL
    • setting custom command property to --- (must include dash) sets event command: FAIL
    • setting custom command attribute to --- (must include dash) sets event command: FAIL
    • setting custom command property to --show-picker (must include dash) sets event command: FAIL
    • setting custom command attribute to --show-picker (must include dash) sets event command: FAIL
    • event dispatches if button is form associated, with explicit type=button: FAIL
  • /html/semantics/the-button-element/command-and-commandfor/event-dispatch-shadow.html [wpt.fyi]
    • cross shadow CommandEvent retargets source to host element: FAIL
  • /html/semantics/the-button-element/command-and-commandfor/fullscreen-behavior.tentative.html [wpt.fyi]
    • invoking div with toggle-fullscreen action makes div fullscreen: FAIL
    • invoking fullscreen div with toggle-fullscreen action exits fullscreen: FAIL
    • invoking fullscreen div with toggle-fullscreen (case-insensitive) action exits fullscreen: FAIL
    • invoking div with request-fullscreen action makes div fullscreen: FAIL
    • invoking fullscreen div with exit-fullscreen action exits fullscreen: FAIL
  • /html/semantics/the-button-element/command-and-commandfor/on-audio-behavior.tentative.html [wpt.fyi]
    • invoking audio with play-pause action makes audio play: FAIL
    • invoking audio with play-pause action (without user activation) is a no-op: FAIL
    • invoking playing audio with play-pause action pauses it: FAIL
    • invoking audio with play action makes audio play: FAIL
    • invoking audio with play action (without user activation) is a no-op: FAIL
    • invoking playing audio with pause action makes it pause: FAIL
    • invoking audio with toggle-muted action mutes it: FAIL
    • invoking muted audio with toggle-muted action unmutes it: FAIL
  • /html/semantics/the-button-element/command-and-commandfor/on-input-number.tentative.html [wpt.fyi]
    • invoking number input with step-up action increments value: FAIL
    • invoking number input with step-up action (case-insensitive) increments value: FAIL
    • invoking number input with step-down action decrements value: FAIL
    • invoking number input with step-down action (case-insensitive) decrements value: FAIL
  • /html/semantics/the-button-element/command-and-commandfor/on-scroll-behavior.tentative.html [wpt.fyi]
    • page-up command scrolls up: FAIL
    • page-down command scrolls down: FAIL
    • page-left command scrolls left: FAIL
    • page-right command scrolls right: FAIL
    • page-right works on horizontal-only container: FAIL
    • page-down works on vertical-only container: FAIL
    • page-block-end scrolls down in horizontal writing mode: FAIL
    • page-block-start scrolls up in horizontal writing mode: FAIL
    • page-inline-end scrolls right in LTR: FAIL
    • page-inline-start scrolls left in LTR: FAIL
    • page-inline-end works in RTL container: FAIL
    • scroll command is case-insensitive: page-up: FAIL
    • scroll command is case-insensitive: PAGE-UP: FAIL
    • scroll command is case-insensitive: PaGe-Up: FAIL
    • scroll amount is approximately one page: FAIL
    • multiple buttons can target same scroll container: FAIL
  • /html/semantics/the-button-element/command-and-commandfor/on-video-behavior.tentative.html [wpt.fyi]: ERROR [Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview], OK [Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
    • invoking video with play-pause action makes video play: FAIL [Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-windows11-32-25h2-debug, Gecko-windows11-64-25h2-opt], PASS [Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug]
    • invoking playing video with play-pause action pauses it: FAIL
    • invoking video with play action makes video play: FAIL
    • invoking playing video with pause action makes it pause: FAIL
    • invoking video with toggle-muted action mutes it: FAIL
    • invoking muted video with toggle-muted action unmutes it: FAIL
  • /html/semantics/interestfor/interestfor-keyboard-invalidation.tentative.html [wpt.fyi]: FAIL [Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt], SKIP [Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview]
  • /html/semantics/interestfor/interestfor-plain-inline-element.tentative.html [wpt.fyi]: FAIL [Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt], SKIP [Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview]
  • /html/semantics/interestfor/interestfor-pseudo-element-anchor-pos.tentative.html [wpt.fyi]: FAIL
  • /html/semantics/interestfor/interestfor-pseudo-element-appearance.tentative.html [wpt.fyi]: FAIL
  • /html/semantics/popovers/popover-anchor-nested-display.tentative.html [wpt.fyi]: FAIL [Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt], PASS [Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt]

Tests Disabled in Gecko Infrastructure

Status: NEW → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 158 Branch
You need to log in before you can comment on or make changes to this bug.