[wpt-sync] Sync PR 46695 - Fix print @page only external resource loading
Categories
(Core :: Layout, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox129 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 46695 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/46695
Details from upstream follow.
Traian Captan <tcaptan@chromium.org> wrote:
Fix print @page only external resource loading
Even though UpdateStyleAndLayout is called after setting media type
to print, not all print only resources loadings are initiated.
Calling alsoStyleForPage()
triggers the remaining ones, like for
@page only background images, viastate.LoadPendingResources()
.There may be additional edge cases that may need to be revisited
later, like loading that is triggered only with certain page sizes,
due to container queries, for instance.Bug: 341947679
Change-Id: Ic32b934f8fe7aa894495cbb48b076988ec5e4a04Reviewed-on: https://chromium-review.googlesource.com/5567732
WPT-Export-Revision: 861cacf1b43a1480c46c66df250056fa4b80b68d
Assignee | ||
Updated•16 days ago
|
Assignee | ||
Comment 1•16 days ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=a72ea37a6f419f3654f8ec92172315b17faa2172
Assignee | ||
Comment 2•16 days ago
|
||
CI Results
Ran 6 Firefox configurations based on mozilla-central, and Firefox, and Chrome on GitHub CI
Total 1 tests
Status Summary
Firefox
FAIL
: 1
Chrome
FAIL
: 1
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /css/css-page/page-background-image-print.html [wpt.fyi]:
FAIL
(Chrome:FAIL
)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a2f8e1f01349 [wpt PR 46695] - Fix print @page only external resource loading, a=testonly https://hg.mozilla.org/integration/autoland/rev/70646ac19206 [wpt PR 46695] - Update wpt metadata, a=testonly
Comment 4•13 days ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/a2f8e1f01349
https://hg.mozilla.org/mozilla-central/rev/70646ac19206
Description
•