[wpt-sync] Sync PR 36651 - Make web font styled text re-eligible for lcp.
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox108 fixed)
| Tracking | Status | |
|---|---|---|
| firefox108 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 36651 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/36651
Details from upstream follow.
Hao Liu <haoliuk@chromium.org> wrote:
Make web font styled text re-eligible for lcp.
This CL makes the following happen.
1, If a web font gets applied in swap period and if the style text gets
larger than the existing LCP element size, a new LCP entry is emitted.
2, If a web fonts get applied in block period, no LCP entry is emitted.
3, If a web fonts get applied in swap period, but after user input, no
LCP entry is emitted.Bug: 1310995
Change-Id: I1313eda1752fa0b5be48184aa28b7f6016f65307
Reviewed-on: https://chromium-review.googlesource.com/3972847
WPT-Export-Revision: fd390c016044d50bdb7b1c666e1a03ccc046466d
| Assignee | ||
Updated•3 years ago
|
| Assignee | ||
Updated•3 years ago
|
| Assignee | ||
Comment 1•3 years ago
|
||
| Assignee | ||
Comment 2•3 years ago
|
||
CI Results
Ran 10 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 5 tests and 1 subtests
Status Summary
Firefox
OK : 1
FAIL : 1
TIMEOUT: 8
Chrome
OK : 3
PASS : 3
TIMEOUT: 4
Safari
TIMEOUT: 10
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /largest-contentful-paint/web-font-styled-text-resize-block.html [wpt.fyi]:
TIMEOUT(Chrome:OK, Safari:TIMEOUT)- LCP should be not updated if the web font styled text resize occurs during the block period.:
TIMEOUT(Chrome:PASS, Safari:TIMEOUT)
- LCP should be not updated if the web font styled text resize occurs during the block period.:
- /largest-contentful-paint/web-font-styled-text-resize-swap-after-interaction.html [wpt.fyi]:
TIMEOUT(Chrome:OK, Safari:TIMEOUT)- LCP should be not updated if the web font styled text resize occurs after an interaction happens:
TIMEOUT(Chrome:PASS, Safari:TIMEOUT)
- LCP should be not updated if the web font styled text resize occurs after an interaction happens:
- /largest-contentful-paint/web-font-styled-text-resize-swap-smaller.html [wpt.fyi]
- LCP should be not updated if the web font styled text resizes to be smaller during the swap period:
FAIL(Chrome:PASS, Safari:TIMEOUT)
- LCP should be not updated if the web font styled text resizes to be smaller during the swap period:
- /largest-contentful-paint/web-font-styled-text-resize-swap-subnode.html [wpt.fyi]:
TIMEOUT(Chrome:TIMEOUT, Safari:TIMEOUT)- LCP should be updated if the web font styled text resizes to be larger during the swap period:
TIMEOUT(Chrome:TIMEOUT, Safari:TIMEOUT)
- LCP should be updated if the web font styled text resizes to be larger during the swap period:
- /largest-contentful-paint/web-font-styled-text-resize-swap.html [wpt.fyi]:
TIMEOUT(Chrome:TIMEOUT, Safari:TIMEOUT)- LCP should be updated if the web font styled text resizes to be larger during the swap period:
TIMEOUT(Chrome:TIMEOUT, Safari:TIMEOUT)
- LCP should be updated if the web font styled text resizes to be larger during the swap period:
Comment 4•3 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/890e17a40393
https://hg.mozilla.org/mozilla-central/rev/fa2e01ada913
Description
•