Closed Bug 1802745 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 37143 - view-transition: Support only-child pseudo class.

Categories

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

task

Tracking

()

RESOLVED FIXED
109 Branch
Tracking Status
firefox109 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Khushal Sagar <khushalsagar@chromium.org> wrote:

view-transition: Support only-child pseudo class.

Add support for parsing and matching only-child pseudo-class on view
transition pseudo-elements.

R=vmpstr@chromium.org

Bug: 1393279
Change-Id: I8ae43195ada6f4d8f2f6f158c4a9546aa9625cd2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4054641
Reviewed-by: Vladimir Levin \<vmpstr@chromium.org>
Auto-Submit: Khushal Sagar \<khushalsagar@chromium.org>
Commit-Queue: Khushal Sagar \<khushalsagar@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1075953}

Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core
There were infrastructure failures for the Try push (https://treeherder.mozilla.org/#/jobs?repo=try&revision=589f77218e1ec735e2ea222a21db542ee99c2c96): build-linux64/debug build-linux64/opt

CI Results

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

Total 5 tests and 1 subtests

Status Summary

Firefox

TIMEOUT: 5
ERROR : 5
NOTRUN : 13

Chrome

TIMEOUT: 5
ERROR : 5
NOTRUN : 13

Safari

TIMEOUT: 5
ERROR : 5
NOTRUN : 13

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

  • /css/css-view-transitions/only-child-group.html [wpt.fyi]: ERROR (Chrome: ERROR, Safari: ERROR)
    • :only-child should match because ::view-transition-group is generated for root element only: TIMEOUT (Chrome: TIMEOUT, Safari: TIMEOUT)
    • :only-child should not match because ::view-transition-group is generated for multiple elements: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
    • :only-child should match because ::view-transition-group is generated for sub element only: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
    • :only-child should not match because ::view-transition-group is generated for multiple sub elements: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
  • /css/css-view-transitions/only-child-image-pair.html [wpt.fyi]: ERROR (Chrome: ERROR, Safari: ERROR)
    • :only-child should always match for ::view-transition-image-pair: TIMEOUT (Chrome: TIMEOUT, Safari: TIMEOUT)
  • /css/css-view-transitions/only-child-new.html [wpt.fyi]: ERROR (Chrome: ERROR, Safari: ERROR)
    • :only-child should match because ::view-transition-old is not generated (none to root): TIMEOUT (Chrome: TIMEOUT, Safari: TIMEOUT)
    • :only-child should not match because ::view-transition-old is generated (root to root): NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
    • :only-child should not match because ::view-transition-old is generated (element to root): NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
    • :only-child should match because ::view-transition-old is not generated (none to element): NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
    • :only-child should not match because ::view-transition-old is generated (root to element): NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
    • :only-child should not match because ::view-transition-old is generated (element to element): NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
  • /css/css-view-transitions/only-child-old.html [wpt.fyi]: ERROR (Chrome: ERROR, Safari: ERROR)
    • :only-child should match because ::view-transition-new is not generated (root to none): TIMEOUT (Chrome: TIMEOUT, Safari: TIMEOUT)
    • :only-child should not match because ::view-transition-new is generated (root to root): NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
    • :only-child should not match because ::view-transition-new is generated (root to element): NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
    • :only-child should match because ::view-transition-new is not generated (element to none): NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
    • :only-child should not match because ::view-transition-new is generated (element to root): NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
    • :only-child should not match because ::view-transition-new is generated (element to element): NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
  • /css/css-view-transitions/only-child-view-transition.html [wpt.fyi]: ERROR (Chrome: ERROR, Safari: ERROR)
    • :only-child is not supported on view-transition: TIMEOUT (Chrome: TIMEOUT, Safari: TIMEOUT)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/fdc872d6dbfa [wpt PR 37143] - view-transition: Support only-child pseudo class., a=testonly
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 109 Branch
You need to log in before you can comment on or make changes to this bug.