Closed Bug 1884786 Opened 1 year ago Closed 1 year ago

[wpt-sync] Sync PR 44993 - @font-face tests for shadow dom

Categories

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

task

Tracking

()

RESOLVED FIXED
125 Branch
Tracking Status
firefox125 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

(Blocks 1 open bug, )

Details

(Whiteboard: [wptsync downstream])

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

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

Alan Stearns <stearns@adobe.com> wrote:

@font-face tests for shadow dom

Tests for declaring and using @font-face rules inside shadow dom, following the @keyframe test pattern that already exists.

There does not appear to be much interop here, but https://drafts.csswg.org/css-scoping/#shadow-names has the path forward that everyone has agreed on. There are bugs for Firefox and Chrome, at least

https://bugzilla.mozilla.org/show_bug.cgi?id=1077396
https://issues.chromium.org/issues/41085401

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

CI Results

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

Total 9 tests and 1 subtests

Status Summary

Firefox

OK : 9
PASS: 3
FAIL: 6[GitHub] 9[Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, 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

OK : 9
FAIL: 9

Safari

OK : 9
PASS: 7
FAIL: 2

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

  • /css/css-scoping/font-face-001.html [wpt.fyi]
    • @font-face applies in the shadow tree: FAIL (Chrome: FAIL, Safari: FAIL)
  • /css/css-scoping/font-face-002.html [wpt.fyi]
    • @font-face from the document applies in the shadow tree: FAIL (Chrome: FAIL, Safari: PASS)
  • /css/css-scoping/font-face-003.html [wpt.fyi]
    • @font-face from document applies to :host: FAIL [Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, 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], PASS [GitHub] (Chrome: FAIL, Safari: PASS)
  • /css/css-scoping/font-face-004.html [wpt.fyi]
    • @font-face from document applies to a slotted element: FAIL [Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, 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], PASS [GitHub] (Chrome: FAIL, Safari: PASS)
  • /css/css-scoping/font-face-005.html [wpt.fyi]
    • @font-face should not leak out of shadow tree.: FAIL (Chrome: FAIL, Safari: FAIL)
  • /css/css-scoping/font-face-006.html [wpt.fyi]
    • @font-face from document applies to to :host::before/::after.: FAIL [Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, 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], PASS [GitHub] (Chrome: FAIL, Safari: PASS)
  • /css/css-scoping/font-face-007.html [wpt.fyi]
    • @font-face from shadow applies to :host: FAIL (Chrome: FAIL, Safari: PASS)
  • /css/css-scoping/font-face-008.html [wpt.fyi]
    • @font-face from shadow applies to a slotted element: FAIL (Chrome: FAIL, Safari: PASS)
  • /css/css-scoping/font-face-009.html [wpt.fyi]
    • @font-face from shadow applies to to :host::before/::after.: FAIL (Chrome: FAIL, Safari: PASS)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/20f9ad5378db [wpt PR 44993] - @font-face tests for shadow dom, a=testonly https://hg.mozilla.org/integration/autoland/rev/d0314799c7b0 [wpt PR 44993] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 125 Branch
You need to log in before you can comment on or make changes to this bug.