[wpt-sync] Sync PR 46905 - Load external @page margin box resources.
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 46905 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/46905
Details from upstream follow.
Morten Stenshorne <mstensho@chromium.org> wrote:
Load external @page margin box resources.
First of all, trigger loading when computing @page margin box style,
just like we already do for @page properties in StyleForPage().Secondly, attempt to make sure that the resources actually have loaded
before entering print mode. This was already working for @page
properties, and for regular document contents, but not for @page margin
boxes styles. Move the logic into StyleResolver, rather than keeping it
in Document::InitiateStyleOrLayoutDependentLoadForPrint().Bug: 40341678, 341947679
Change-Id: I553d1c358614b460710975d47e6edd0f4e8f90d0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5649256
Reviewed-by: Rune Lillesveen \<futhark@chromium.org>
Commit-Queue: Morten Stenshorne \<mstensho@chromium.org>
Reviewed-by: Traian Captan \<tcaptan@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1319694}
| Assignee | ||
Updated•1 year ago
|
| Assignee | ||
Comment 1•1 year ago
|
||
| Assignee | ||
Comment 2•1 year ago
|
||
CI Results
Ran 6 Firefox configurations based on mozilla-central, and Firefox, and Chrome on GitHub CI
Total 2 tests
Status Summary
Firefox
FAIL: 2
Chrome
FAIL: 2
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /css/css-page/margin-boxes/background-001-print.html [wpt.fyi]:
FAIL(Chrome:FAIL) - /css/css-page/margin-boxes/content-003-print.html [wpt.fyi]:
FAIL(Chrome:FAIL)
Comment 4•1 year ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/d15583f579ff
https://hg.mozilla.org/mozilla-central/rev/41daf49c0fa6
Description
•