Closed Bug 1871798 Opened 6 months ago Closed 6 months ago

[wpt-sync] Sync PR 43784 - Correct assorted issues with standalone pseudo elements

Categories

(Core :: CSS Parsing and Computation, task, P4)

task

Tracking

()

RESOLVED FIXED
123 Branch
Tracking Status
firefox123 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

(Blocks 1 open bug, )

Details

(Whiteboard: [wptsync downstream])

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

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

Anne van Kesteren <annevk@annevk.nl> wrote:

Correct assorted issues with standalone pseudo elements

I discovered these issues while writing https://github.com/WebKit/WebKit/pull/22231. Standalone pseudo-elements still need to be properly formatted.

And ::placeholder is a valid pseudo-element.

Closes https://github.com/w3c/csswg-drafts/issues/9751.

Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core

CI Results

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

Total 5 tests and 24 subtests

Status Summary

Firefox

OK : 5
PASS: 165
FAIL: 14

Chrome

OK : 5
PASS: 169
FAIL: 10

Safari

OK : 5
PASS: 174
FAIL: 5

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

Firefox-only Failures

  • /web-animations/interfaces/Animatable/animate.html [wpt.fyi]
    • Element.animate() correctly sets the Animation's timeline with null timeline in KeyframeAnimationOptions.: FAIL
    • animate() with pseudoElement parameter creates an Animation object for ::first-line: FAIL
    • animate() with pseudoElement an Animation object targeting the correct pseudo-element for ::first-line: FAIL

New Tests That Don't Pass

  • /css/css-view-transitions/only-child-on-root-element-with-view-transition.html [wpt.fyi]
    • :only-child is not supported on view-transition: FAIL (Chrome: PASS, Safari: FAIL)
  • /css/css-view-transitions/only-child-view-transition.html [wpt.fyi]
    • :only-child is not supported on view-transition: FAIL (Chrome: PASS, Safari: FAIL)
  • /css/css-view-transitions/style-inheritance.html [wpt.fyi]
    • style inheritance of pseudo elements: FAIL (Chrome: PASS, Safari: FAIL)
  • /web-animations/interfaces/Animatable/animate.html [wpt.fyi]
    • Element.animate() correctly sets the Animation's timeline with null timeline in KeyframeAnimationOptions.: FAIL (Chrome: PASS, Safari: PASS)
    • animate() with pseudoElement parameter creates an Animation object for ::first-line: FAIL (Chrome: PASS, Safari: PASS)
    • animate() with pseudoElement an Animation object targeting the correct pseudo-element for ::first-line: FAIL (Chrome: PASS, Safari: PASS)
    • animate() with pseudoElement ::placeholder does not throw: FAIL (Chrome: PASS, Safari: FAIL)
  • /web-animations/interfaces/KeyframeEffect/target.html [wpt.fyi]
    • Change target from null to a non-existing pseudoElement setting target first.: FAIL (Chrome: FAIL, Safari: PASS)
    • Change target from null to a non-existing pseudoElement setting pseudoElement first.: FAIL (Chrome: FAIL, Safari: PASS)
    • Change target from an existing to a different non-existing pseudo-element by setting target.: FAIL (Chrome: FAIL, Safari: PASS)
    • Change target from an existing to a different non-existing pseudo-element by setting pseudoElement.: FAIL (Chrome: FAIL, Safari: PASS)
    • Change target from a non-existing to a different non-existing pseudo-element by setting target.: FAIL (Chrome: FAIL, Safari: PASS)
    • Change target from a non-existing to a different non-existing pseudo-element by setting pseudoElement.: FAIL (Chrome: FAIL, Safari: PASS)
    • Changing pseudoElement to ::placeHOLDER works: FAIL (Chrome: FAIL, Safari: FAIL)
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/8e95b92056dd
[wpt PR 43784] - Correct assorted issues with standalone pseudo elements, a=testonly
https://hg.mozilla.org/integration/autoland/rev/5cbbb69006e0
[wpt PR 43784] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 6 months ago
Resolution: --- → FIXED
Target Milestone: --- → 123 Branch
You need to log in before you can comment on or make changes to this bug.