Closed Bug 1868628 Opened 7 months ago Closed 6 months ago

[wpt-sync] Sync PR 43541 - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=264226

Categories

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

task

Tracking

()

RESOLVED FIXED
123 Branch
Tracking Status
firefox123 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

(Depends on 1 open bug, Blocks 1 open bug, )

Details

(Whiteboard: [wptsync downstream])

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

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

Keith Cirkel <keithamus@users.noreply.github.com> wrote:

WebKit export of https://bugs.webkit.org/show_bug.cgi?id=264226

This resyncs the work done as part of https://github.com/WebKit/WebKit/pull/20012 to get CustomStateSet and the :state() pseudo selector into WebKit.

This includes the refactoring done to the existing state tests, which use the :--foo syntax that Chrome initially adopted. This syntax is no longer proposed, as the CSSWG has opted to use the :state(foo) syntax.

Both WebKit and Firefox now have the :state() syntax.

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

CI Results

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

Total 3 tests and 3 subtests

Status Summary

Firefox

OK : 3
PASS: 2[GitHub] 4[Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows11-32-2009-qr-debug, Gecko-windows11-32-2009-qr-opt, Gecko-windows11-64-2009-qr-debug, Gecko-windows11-64-2009-qr-opt]
FAIL: 10[Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows11-32-2009-qr-debug, Gecko-windows11-32-2009-qr-opt, Gecko-windows11-64-2009-qr-debug, Gecko-windows11-64-2009-qr-opt] 12[GitHub]

Chrome

OK : 3
PASS: 6
FAIL: 8

Safari

OK : 3
PASS: 2
FAIL: 12

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

  • /custom-elements/state/tentative/ElementInternals-states.html [wpt.fyi]
    • CustomStateSet behavior of ElementInternals.states: Initial state: FAIL (Chrome: PASS, Safari: FAIL)
    • CustomStateSet behavior of ElementInternals.states: Modifications: FAIL (Chrome: PASS, Safari: FAIL)
    • Updating a CustomStateSet while iterating it should work: FAIL (Chrome: PASS, Safari: FAIL)
  • /custom-elements/state/tentative/state-pseudo-class.html [wpt.fyi]
    • :state() parsing passes: FAIL (Chrome: FAIL, Safari: FAIL)
    • :state(foo) serialization: FAIL (Chrome: FAIL, Safari: FAIL)
    • :state(foo) in simple cases: FAIL (Chrome: FAIL, Safari: FAIL)
    • :state(foo) and other pseudo classes: FAIL (Chrome: FAIL, Safari: FAIL)
    • :state(foo) and ::part(): FAIL (Chrome: FAIL, Safari: FAIL)
    • :state(foo) and :host(): FAIL (Chrome: FAIL, Safari: FAIL)
  • /custom-state-pseudo-class/state-css-selector-shadow-dom.tentative.html [wpt.fyi]
    • state selector has no influence when state is not applied: FAIL [GitHub], PASS [Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows11-32-2009-qr-debug, Gecko-windows11-32-2009-qr-opt, Gecko-windows11-64-2009-qr-debug, Gecko-windows11-64-2009-qr-opt] (Chrome: PASS, Safari: FAIL)
    • state selector has influence when state is applied: FAIL (Chrome: FAIL, Safari: FAIL)
    • state selector only applies on given ident: FAIL [GitHub], PASS [Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows11-32-2009-qr-debug, Gecko-windows11-32-2009-qr-opt, Gecko-windows11-64-2009-qr-debug, Gecko-windows11-64-2009-qr-opt] (Chrome: FAIL, Safari: FAIL)
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.