Closed Bug 1779537 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 34842 - Add CSS properties to control pop-up hover behaviors

Categories

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

task

Tracking

()

RESOLVED FIXED
104 Branch
Tracking Status
firefox104 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Mason Freed <masonf@chromium.org> wrote:

Add CSS properties to control pop-up hover behaviors

This CL adds these two CSS properties (which are still subject to
bikeshedding on the name):

  • hover-pop-up-delay
  • hover-pop-up-hide-delay

Both properties are time valued properties. The first controls the
delay after hovering an invoking element (using the hoverpopup
attribute) before the pop-up is triggered. The second controls the
delay after which a showing pop-up will be hidden if it isn't hovered
for a period of time. The first is connected to the behavior, the
second will be connected in a followup CL.

Bug: 1307772
Change-Id: Ia44cbf63f91732935d620c527265129ffeb4f96b
Reviewed-on: https://chromium-review.googlesource.com/3760885
WPT-Export-Revision: c90cc3713661be261d108ae245c222dcc57036d2

PR 34842 applied with additional changes from upstream: c7e39f17e85310d0a42b595645f8ea7c217ead2c
Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core
PR 34842 applied with additional changes from upstream: c7e39f17e85310d0a42b595645f8ea7c217ead2c, dbfbe1162318e44e3e39c5007d623bdc9cd5a262
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]

CI Results

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

Total 2 tests and 45 subtests

Status Summary

Firefox

OK : 2
PASS: 10
FAIL: 111

Chrome

OK : 2
PASS: 46
FAIL: 75

Links

GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

  • /html/semantics/popups/popup-css-properties.tentative.html [wpt.fyi]
    • Property hover-pop-up-delay value '0s': FAIL (Chrome: FAIL)
    • Property hover-pop-up-delay value '0ms': FAIL (Chrome: FAIL)
    • Property hover-pop-up-delay value '32s': FAIL (Chrome: FAIL)
    • Property hover-pop-up-delay value '123ms': FAIL (Chrome: FAIL)
    • e.style['hover-pop-up-delay'] = "0s" should set the property value: FAIL (Chrome: FAIL)
    • e.style['hover-pop-up-delay'] = "0ms" should set the property value: FAIL (Chrome: FAIL)
    • e.style['hover-pop-up-delay'] = "32s" should set the property value: FAIL (Chrome: FAIL)
    • e.style['hover-pop-up-delay'] = "123ms" should set the property value: FAIL (Chrome: FAIL)
    • e.style['hover-pop-up-delay'] = "inherit" should set the property value: FAIL (Chrome: FAIL)
    • CSS Transitions: property <hover-pop-up-delay> from [1s] to [2000ms] at (-1.5) should be [0s]: FAIL (Chrome: FAIL)
    • CSS Transitions: property <hover-pop-up-delay> from [1s] to [2000ms] at (-0.3) should be [0.7s]: FAIL (Chrome: FAIL)
    • CSS Transitions: property <hover-pop-up-delay> from [1s] to [2000ms] at (0) should be [1s]: FAIL (Chrome: FAIL)
    • CSS Transitions: property <hover-pop-up-delay> from [1s] to [2000ms] at (0.5) should be [1.5s]: FAIL (Chrome: FAIL)
    • CSS Transitions: property <hover-pop-up-delay> from [1s] to [2000ms] at (1) should be [2s]: FAIL (Chrome: FAIL)
    • CSS Transitions: property <hover-pop-up-delay> from [1s] to [2000ms] at (1.5) should be [2.5s]: FAIL (Chrome: FAIL)
    • CSS Transitions with transition: all: property <hover-pop-up-delay> from [1s] to [2000ms] at (-1.5) should be [0s]: FAIL (Chrome: FAIL)
    • CSS Transitions with transition: all: property <hover-pop-up-delay> from [1s] to [2000ms] at (-0.3) should be [0.7s]: FAIL (Chrome: FAIL)
    • CSS Transitions with transition: all: property <hover-pop-up-delay> from [1s] to [2000ms] at (0) should be [1s]: FAIL (Chrome: FAIL)
    • CSS Transitions with transition: all: property <hover-pop-up-delay> from [1s] to [2000ms] at (0.5) should be [1.5s]: FAIL (Chrome: FAIL)
    • CSS Transitions with transition: all: property <hover-pop-up-delay> from [1s] to [2000ms] at (1) should be [2s]: FAIL (Chrome: FAIL)
    • CSS Transitions with transition: all: property <hover-pop-up-delay> from [1s] to [2000ms] at (1.5) should be [2.5s]: FAIL (Chrome: FAIL)
    • CSS Animations: property <hover-pop-up-delay> from [1s] to [2000ms] at (-1.5) should be [0s]: FAIL (Chrome: FAIL)
    • CSS Animations: property <hover-pop-up-delay> from [1s] to [2000ms] at (-0.3) should be [0.7s]: FAIL (Chrome: FAIL)
    • CSS Animations: property <hover-pop-up-delay> from [1s] to [2000ms] at (0) should be [1s]: FAIL (Chrome: FAIL)
    • CSS Animations: property <hover-pop-up-delay> from [1s] to [2000ms] at (0.5) should be [1.5s]: FAIL (Chrome: FAIL)
    • CSS Animations: property <hover-pop-up-delay> from [1s] to [2000ms] at (1) should be [2s]: FAIL (Chrome: FAIL)
    • CSS Animations: property <hover-pop-up-delay> from [1s] to [2000ms] at (1.5) should be [2.5s]: FAIL (Chrome: FAIL)
    • Web Animations: property <hover-pop-up-delay> from [1s] to [2000ms] at (-1.5) should be [0s]: FAIL (Chrome: FAIL)
    • Web Animations: property <hover-pop-up-delay> from [1s] to [2000ms] at (-0.3) should be [0.7s]: FAIL (Chrome: FAIL)
    • Web Animations: property <hover-pop-up-delay> from [1s] to [2000ms] at (0) should be [1s]: FAIL (Chrome: FAIL)
    • Web Animations: property <hover-pop-up-delay> from [1s] to [2000ms] at (0.5) should be [1.5s]: FAIL (Chrome: FAIL)
    • Web Animations: property <hover-pop-up-delay> from [1s] to [2000ms] at (1) should be [2s]: FAIL (Chrome: FAIL)
    • Web Animations: property <hover-pop-up-delay> from [1s] to [2000ms] at (1.5) should be [2.5s]: FAIL (Chrome: FAIL)
    • Property hover-pop-up-hide-delay value '0s': FAIL (Chrome: FAIL)
    • Property hover-pop-up-hide-delay value '0ms': FAIL (Chrome: FAIL)
    • Property hover-pop-up-hide-delay value '32s': FAIL (Chrome: FAIL)
    • Property hover-pop-up-hide-delay value '123ms': FAIL (Chrome: FAIL)
    • e.style['hover-pop-up-hide-delay'] = "0s" should set the property value: FAIL (Chrome: FAIL)
    • e.style['hover-pop-up-hide-delay'] = "0ms" should set the property value: FAIL (Chrome: FAIL)
    • e.style['hover-pop-up-hide-delay'] = "32s" should set the property value: FAIL (Chrome: FAIL)
    • e.style['hover-pop-up-hide-delay'] = "123ms" should set the property value: FAIL (Chrome: FAIL)
    • e.style['hover-pop-up-hide-delay'] = "inherit" should set the property value: FAIL (Chrome: FAIL)
    • CSS Transitions: property <hover-pop-up-hide-delay> from [1s] to [2000ms] at (-1.5) should be [0s]: FAIL (Chrome: FAIL)
    • CSS Transitions: property <hover-pop-up-hide-delay> from [1s] to [2000ms] at (-0.3) should be [0.7s]: FAIL (Chrome: FAIL)
    • CSS Transitions: property <hover-pop-up-hide-delay> from [1s] to [2000ms] at (0) should be [1s]: FAIL (Chrome: FAIL)
    • CSS Transitions: property <hover-pop-up-hide-delay> from [1s] to [2000ms] at (0.5) should be [1.5s]: FAIL (Chrome: FAIL)
    • CSS Transitions: property <hover-pop-up-hide-delay> from [1s] to [2000ms] at (1) should be [2s]: FAIL (Chrome: FAIL)
    • CSS Transitions: property <hover-pop-up-hide-delay> from [1s] to [2000ms] at (1.5) should be [2.5s]: FAIL (Chrome: FAIL)
    • CSS Transitions with transition: all: property <hover-pop-up-hide-delay> from [1s] to [2000ms] at (-1.5) should be [0s]: FAIL (Chrome: FAIL)
    • CSS Transitions with transition: all: property <hover-pop-up-hide-delay> from [1s] to [2000ms] at (-0.3) should be [0.7s]: FAIL (Chrome: FAIL)
    • CSS Transitions with transition: all: property <hover-pop-up-hide-delay> from [1s] to [2000ms] at (0) should be [1s]: FAIL (Chrome: FAIL)
    • CSS Transitions with transition: all: property <hover-pop-up-hide-delay> from [1s] to [2000ms] at (0.5) should be [1.5s]: FAIL (Chrome: FAIL)
    • CSS Transitions with transition: all: property <hover-pop-up-hide-delay> from [1s] to [2000ms] at (1) should be [2s]: FAIL (Chrome: FAIL)
    • CSS Transitions with transition: all: property <hover-pop-up-hide-delay> from [1s] to [2000ms] at (1.5) should be [2.5s]: FAIL (Chrome: FAIL)
    • CSS Animations: property <hover-pop-up-hide-delay> from [1s] to [2000ms] at (-1.5) should be [0s]: FAIL (Chrome: FAIL)
    • CSS Animations: property <hover-pop-up-hide-delay> from [1s] to [2000ms] at (-0.3) should be [0.7s]: FAIL (Chrome: FAIL)
    • CSS Animations: property <hover-pop-up-hide-delay> from [1s] to [2000ms] at (0) should be [1s]: FAIL (Chrome: FAIL)
    • CSS Animations: property <hover-pop-up-hide-delay> from [1s] to [2000ms] at (0.5) should be [1.5s]: FAIL (Chrome: FAIL)
    • CSS Animations: property <hover-pop-up-hide-delay> from [1s] to [2000ms] at (1) should be [2s]: FAIL (Chrome: FAIL)
    • CSS Animations: property <hover-pop-up-hide-delay> from [1s] to [2000ms] at (1.5) should be [2.5s]: FAIL (Chrome: FAIL)
    • Web Animations: property <hover-pop-up-hide-delay> from [1s] to [2000ms] at (-1.5) should be [0s]: FAIL (Chrome: FAIL)
    • Web Animations: property <hover-pop-up-hide-delay> from [1s] to [2000ms] at (-0.3) should be [0.7s]: FAIL (Chrome: FAIL)
    • Web Animations: property <hover-pop-up-hide-delay> from [1s] to [2000ms] at (0) should be [1s]: FAIL (Chrome: FAIL)
    • Web Animations: property <hover-pop-up-hide-delay> from [1s] to [2000ms] at (0.5) should be [1.5s]: FAIL (Chrome: FAIL)
    • Web Animations: property <hover-pop-up-hide-delay> from [1s] to [2000ms] at (1) should be [2s]: FAIL (Chrome: FAIL)
    • Web Animations: property <hover-pop-up-hide-delay> from [1s] to [2000ms] at (1.5) should be [2.5s]: FAIL (Chrome: FAIL)
  • /html/semantics/popups/popup-hoverpopup-attribute.tentative.html [wpt.fyi]
    • hoverpopup attribute shows a pop-up with popup=auto, invokerType=plain: FAIL (Chrome: FAIL)
    • hoverpopup hover-pop-up-delay is respected (popup=auto, invokerType=plain): FAIL (Chrome: PASS)
    • hoverpopup attribute does nothing when pop-up is already showing (popup=auto, invokerType=plain): FAIL (Chrome: PASS)
    • hoverpopup attribute does nothing when pop-up is moved out of the document (popup=auto, invokerType=plain): FAIL (Chrome: PASS)
    • hoverpopup attribute does nothing when target changes (popup=auto, invokerType=plain): FAIL (Chrome: PASS)
    • hoverpopup attribute shows a pop-up with popup=auto, invokerType=nested: FAIL (Chrome: FAIL)
    • hoverpopup hover-pop-up-delay is respected (popup=auto, invokerType=nested): FAIL (Chrome: PASS)
    • hoverpopup attribute does nothing when pop-up is already showing (popup=auto, invokerType=nested): FAIL (Chrome: PASS)
    • hoverpopup attribute does nothing when pop-up is moved out of the document (popup=auto, invokerType=nested): FAIL (Chrome: PASS)
    • hoverpopup attribute does nothing when target changes (popup=auto, invokerType=nested): FAIL (Chrome: PASS)
    • hoverpopup attribute shows a pop-up with popup=auto, invokerType=nested-offset: FAIL (Chrome: FAIL)
    • hoverpopup hover-pop-up-delay is respected (popup=auto, invokerType=nested-offset): FAIL (Chrome: PASS)
    • hoverpopup attribute does nothing when pop-up is already showing (popup=auto, invokerType=nested-offset): FAIL (Chrome: PASS)
    • hoverpopup attribute does nothing when pop-up is moved out of the document (popup=auto, invokerType=nested-offset): FAIL (Chrome: PASS)
    • hoverpopup attribute does nothing when target changes (popup=auto, invokerType=nested-offset): FAIL (Chrome: PASS)
    • hoverpopup attribute shows a pop-up with popup=hint, invokerType=plain: FAIL (Chrome: FAIL)
    • hoverpopup hover-pop-up-delay is respected (popup=hint, invokerType=plain): FAIL (Chrome: PASS)
    • hoverpopup attribute does nothing when pop-up is already showing (popup=hint, invokerType=plain): FAIL (Chrome: PASS)
    • hoverpopup attribute does nothing when pop-up is moved out of the document (popup=hint, invokerType=plain): FAIL (Chrome: PASS)
    • hoverpopup attribute does nothing when target changes (popup=hint, invokerType=plain): FAIL (Chrome: PASS)
    • hoverpopup attribute shows a pop-up with popup=hint, invokerType=nested: FAIL (Chrome: FAIL)
    • hoverpopup hover-pop-up-delay is respected (popup=hint, invokerType=nested): FAIL (Chrome: PASS)
    • hoverpopup attribute does nothing when pop-up is already showing (popup=hint, invokerType=nested): FAIL (Chrome: PASS)
    • hoverpopup attribute does nothing when pop-up is moved out of the document (popup=hint, invokerType=nested): FAIL (Chrome: PASS)
    • hoverpopup attribute does nothing when target changes (popup=hint, invokerType=nested): FAIL (Chrome: PASS)
    • hoverpopup attribute shows a pop-up with popup=hint, invokerType=nested-offset: FAIL (Chrome: FAIL)
    • hoverpopup hover-pop-up-delay is respected (popup=hint, invokerType=nested-offset): FAIL (Chrome: PASS)
    • hoverpopup attribute does nothing when pop-up is already showing (popup=hint, invokerType=nested-offset): FAIL (Chrome: PASS)
    • hoverpopup attribute does nothing when pop-up is moved out of the document (popup=hint, invokerType=nested-offset): FAIL (Chrome: PASS)
    • hoverpopup attribute does nothing when target changes (popup=hint, invokerType=nested-offset): FAIL (Chrome: PASS)
    • hoverpopup attribute shows a pop-up with popup=manual, invokerType=plain: FAIL (Chrome: FAIL)
    • hoverpopup hover-pop-up-delay is respected (popup=manual, invokerType=plain): FAIL (Chrome: PASS)
    • hoverpopup attribute does nothing when pop-up is already showing (popup=manual, invokerType=plain): FAIL (Chrome: PASS)
    • hoverpopup attribute does nothing when pop-up is moved out of the document (popup=manual, invokerType=plain): FAIL (Chrome: PASS)
    • hoverpopup attribute does nothing when target changes (popup=manual, invokerType=plain): FAIL (Chrome: PASS)
    • hoverpopup attribute shows a pop-up with popup=manual, invokerType=nested: FAIL (Chrome: FAIL)
    • hoverpopup hover-pop-up-delay is respected (popup=manual, invokerType=nested): FAIL (Chrome: PASS)
    • hoverpopup attribute does nothing when pop-up is already showing (popup=manual, invokerType=nested): FAIL (Chrome: PASS)
    • hoverpopup attribute does nothing when pop-up is moved out of the document (popup=manual, invokerType=nested): FAIL (Chrome: PASS)
    • hoverpopup attribute does nothing when target changes (popup=manual, invokerType=nested): FAIL (Chrome: PASS)
    • hoverpopup attribute shows a pop-up with popup=manual, invokerType=nested-offset: FAIL (Chrome: FAIL)
    • hoverpopup hover-pop-up-delay is respected (popup=manual, invokerType=nested-offset): FAIL (Chrome: PASS)
    • hoverpopup attribute does nothing when pop-up is already showing (popup=manual, invokerType=nested-offset): FAIL (Chrome: PASS)
    • hoverpopup attribute does nothing when pop-up is moved out of the document (popup=manual, invokerType=nested-offset): FAIL (Chrome: PASS)
    • hoverpopup attribute does nothing when target changes (popup=manual, invokerType=nested-offset): FAIL (Chrome: PASS)
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/37d746881d80
[wpt PR 34842] - Add CSS properties to control pop-up hover behaviors, a=testonly
https://hg.mozilla.org/integration/autoland/rev/6366fcfc5062
[wpt PR 34842] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 104 Branch
You need to log in before you can comment on or make changes to this bug.