[wpt-sync] Sync PR 33660 - [renderblocking] Add a WPT about a specific render-blocking use case
Categories
(Core :: DOM: Core & HTML, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox102 | --- | 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 33660 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/33660
Details from upstream follow.
Xiaocheng Hu <xiaochengh@chromium.org> wrote:
[renderblocking] Add a WPT about a specific render-blocking use case
There is a specific use case of render-blocking web font:
- Font provider provides an external stylesheet with @font-face
definitions- The stylesheet has a link header that preloads font file with
blocking=render
In this way, web developers can make a 3rd-party web font render-blocking
without the need to know (and maintain) the exact url of the font file.This patch adds a WPT for this use case.
Bug: 1271296
Change-Id: I37b9f9fe17bdd33a17f679cba577c0a377a2c95b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3588735
Commit-Queue: Xiaocheng Hu \<xiaochengh@chromium.org>
Auto-Submit: Xiaocheng Hu \<xiaochengh@chromium.org>
Reviewed-by: Joey Arhar \<jarhar@chromium.org>
Commit-Queue: Joey Arhar \<jarhar@chromium.org>
Cr-Commit-Position: refs/heads/main@{#993041}
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 1•3 years ago
|
||
Assignee | ||
Comment 2•3 years ago
|
||
CI Results
Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests and 2 subtests
Status Summary
Firefox
OK : 1
FAIL: 2
Chrome
OK : 1
PASS: 1
FAIL: 1
Safari
OK : 1
PASS: 2
Links
Details
Firefox-only Failures
/html/dom/render-blocking/stylesheet-header-inserted-preload-link.tentative.html
Render-blocking web font specified by the stylesheet is applied: FAIL
New Tests That Don't Pass
/html/dom/render-blocking/stylesheet-header-inserted-preload-link.tentative.html
Rendering is blocked before render-blocking resources are loaded: FAIL (Chrome: FAIL, Safari: PASS)
Render-blocking web font specified by the stylesheet is applied: FAIL (Chrome: PASS, Safari: PASS)
https://hg.mozilla.org/mozilla-central/rev/92443937cee5
https://hg.mozilla.org/mozilla-central/rev/a97ee6848a83
Description
•