Closed Bug 1766438 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 33790 - Add tests for LCP entries caused by CSS generated text

Categories

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

task

Tracking

(firefox102 fixed)

RESOLVED FIXED
102 Branch
Tracking Status
firefox102 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Sohom <sohom.datta@learner.manipal.edu> wrote:

Add tests for LCP entries caused by CSS generated text

The tests will:

  • Check if a LCP entry is being generated for CSS generated text
  • Check if a LCP entry is being generated for CSS generated text from
    the attr() function
  • Check if a LCP entry is being generated for CSS generated text on
    inline elements

Bug: 994414
Change-Id: Iec2207944744e1264382bd0e7b7ed9059ad8ee19
Reviewed-on: https://chromium-review.googlesource.com/3608050
WPT-Export-Revision: 0a0041c8b58d6280a943401e7aa9c4c656e1c88c

CI Results

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

Total 1 tests and 3 subtests

Status Summary

Firefox

OK : 1
FAIL: 3

Chrome

OK : 1
PASS: 2
FAIL: 1

Links

GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

  • /largest-contentful-paint/observe-css-generated-text.html [wpt.fyi]
    • CSS generated text is observable as a LargestContentfulPaint candidate: FAIL (Chrome: PASS)
    • Text generated with CSS using content:attr() is observable as a LargestContentfulPaint candidate: FAIL (Chrome: PASS)
    • CSS generated text on a inline element is observable as a LargestContentfulPaint candidate: FAIL (Chrome: FAIL)
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/8e2c0c5faabc
[wpt PR 33790] - Add tests for LCP entries caused by CSS generated text, a=testonly
https://hg.mozilla.org/integration/autoland/rev/5456cfb20a23
[wpt PR 33790] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 102 Branch
You need to log in before you can comment on or make changes to this bug.