Closed
Bug 2024939
Opened 2 months ago
Closed 1 month ago
[wpt-sync] Sync PR 58544 - layout: Fix `first-paint` detection
Categories
(Core :: DOM: Performance APIs, task, P4)
Core
DOM: Performance APIs
Tracking
()
RESOLVED
FIXED
151 Branch
| Tracking | Status | |
|---|---|---|
| firefox151 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 58544 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/58544
Details from upstream follow.
Shubham Gupta <shubham.gupta@chromium.org> wrote:
layout: Fix
first-paintdetectionThis PR comprises
- Segregate
paintableandcontentful.- Adds Checking of non-default background for eligibility to mark
first-paint.- Adds a bool
is_paintabletodisplay_listand use same for markingfirst-paint.TODO: This doesn't consider
iframes. Will add PR after fixing WPT tests.Raised an issue for some incomplete definitions: https://github.com/w3c/paint-timing/issues/122
Testing:
wpt/tests/paint-timing/first-paint-only/first-paint-bg-color.html- Updated WPT tests expectations.
wpt/paint-timing/first-image-child.htmlwpt/paint-timing/first-paint-only/sibling-painting-first-image.html- Unit Test:
servo/tests/performance_paint_timings.rs. Following Tests Cases are covered:
Background Pref Root Background FP TC Default Unset :x: test_default_pref_with_unset_backgroundNon-Default Unset :x: test_non_default_pref_with_unset_backgroundDefault Transparent :x: test_default_pref_with_transparent_backgroundNon-Default Unset :x: test_non_default_pref_with_transparent_backgroundDefault Set :white_check_mark: test_default_pref_with_backgroundNon-Default Set :white_check_mark: test_non_default_pref_with_backgroundNon-Default Set (same as pref) :x: test_non_default_pref_with_same_backgroundFixes: #<!-- nolink -->42148
Reviewed in servo/servo#42975
| Assignee | ||
Updated•2 months ago
|
Component: web-platform-tests → DOM: Performance APIs
Product: Testing → Core
| Assignee | ||
Comment 1•2 months ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=61fe7657bf89b08ae7ecff38b349ce09feb912f3
| Assignee | ||
Updated•2 months ago
|
Whiteboard: [wptsync downstream] → [wptsync downstream error]
| Assignee | ||
Updated•2 months ago
|
Whiteboard: [wptsync downstream error] → [wptsync downstream]
| Assignee | ||
Comment 2•2 months ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 4 tests
Status Summary
Firefox
OK : 1
FAIL: 1
Chrome
OK : 1
FAIL: 1
Safari
OK : 1
FAIL: 1
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /paint-timing/first-paint-only/child-painting-first-image.html [wpt.fyi]:
SKIP - /paint-timing/first-paint-only/first-paint-bg-color.html [wpt.fyi]:
OK[GitHub],SKIP[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-24h2-debug,Gecko-windows11-32-24h2-opt,Gecko-windows11-64-24h2-debug,Gecko-windows11-64-24h2-opt] (Chrome:OK, Safari:OK)- First paint fires due to background color. No FCP:
FAIL(Chrome:FAIL, Safari:FAIL)
- First paint fires due to background color. No FCP:
- /paint-timing/first-paint-only/first-paint-only.html [wpt.fyi]:
SKIP - /paint-timing/first-paint-only/sibling-painting-first-image.html [wpt.fyi]:
SKIP
Tests Disabled in Gecko Infrastructure
- /paint-timing/first-paint-only/child-painting-first-image.html [wpt.fyi]:
SKIP - /paint-timing/first-paint-only/first-paint-bg-color.html [wpt.fyi]:
OK[GitHub],SKIP[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-24h2-debug,Gecko-windows11-32-24h2-opt,Gecko-windows11-64-24h2-debug,Gecko-windows11-64-24h2-opt] (Chrome:OK, Safari:OK) - /paint-timing/first-paint-only/first-paint-only.html [wpt.fyi]:
SKIP - /paint-timing/first-paint-only/sibling-painting-first-image.html [wpt.fyi]:
SKIP
Pushed by wptsync@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/47b2f49b7738
https://hg.mozilla.org/integration/autoland/rev/46542fcc17a8
[wpt PR 58544] - layout: Fix `first-paint` detection, a=testonly
Comment 4•1 month ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 1 month ago
status-firefox151:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 151 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•