[wpt-sync] Sync PR 44993 - @font-face tests for shadow dom
Categories
(Core :: CSS Parsing and Computation, task, P4)
Tracking
()
| 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-facerules inside shadow dom, following the@keyframetest 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
| Assignee | ||
Updated•1 year ago
|
| Assignee | ||
Comment 1•1 year ago
|
||
| Assignee | ||
Comment 2•1 year ago
|
||
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)
- @font-face applies in the shadow tree:
- /css/css-scoping/font-face-002.html [wpt.fyi]
- @font-face from the document applies in the shadow tree:
FAIL(Chrome:FAIL, Safari:PASS)
- @font-face from the document applies in the shadow tree:
- /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)
- @font-face from document applies to :host:
- /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)
- @font-face from document applies to a slotted element:
- /css/css-scoping/font-face-005.html [wpt.fyi]
- @font-face should not leak out of shadow tree.:
FAIL(Chrome:FAIL, Safari:FAIL)
- @font-face should not leak out of shadow tree.:
- /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)
- @font-face from document applies to to :host::before/::after.:
- /css/css-scoping/font-face-007.html [wpt.fyi]
- @font-face from shadow applies to :host:
FAIL(Chrome:FAIL, Safari:PASS)
- @font-face from shadow applies to :host:
- /css/css-scoping/font-face-008.html [wpt.fyi]
- @font-face from shadow applies to a slotted element:
FAIL(Chrome:FAIL, Safari:PASS)
- @font-face from shadow applies to a slotted element:
- /css/css-scoping/font-face-009.html [wpt.fyi]
- @font-face from shadow applies to to :host::before/::after.:
FAIL(Chrome:FAIL, Safari:PASS)
- @font-face from shadow applies to to :host::before/::after.:
Comment 4•1 year ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/20f9ad5378db
https://hg.mozilla.org/mozilla-central/rev/d0314799c7b0
Description
•