Closed Bug 1797329 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 36651 - Make web font styled text re-eligible for lcp.

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox108 fixed)

RESOLVED FIXED
108 Branch
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

Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]

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

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/890e17a40393 [wpt PR 36651] - Make web font styled text re-eligible for lcp., a=testonly https://hg.mozilla.org/integration/autoland/rev/fa2e01ada913 [wpt PR 36651] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 108 Branch
Regressions: 1800323
You need to log in before you can comment on or make changes to this bug.