Closed Bug 1905028 Opened 1 year ago Closed 1 year ago

[wpt-sync] Sync PR 46905 - Load external @page margin box resources.

Categories

(Core :: Layout, task, P4)

task

Tracking

()

RESOLVED FIXED
129 Branch
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}

Component: web-platform-tests → Layout
Product: Testing → Core

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

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d15583f579ff [wpt PR 46905] - Load external @page margin box resources., a=testonly https://hg.mozilla.org/integration/autoland/rev/41daf49c0fa6 [wpt PR 46905] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 129 Branch
You need to log in before you can comment on or make changes to this bug.