[wpt-sync] Sync PR 59383 - Handle too large safe printable insets gracefully.
Categories
(Core :: Layout, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox152 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 59383 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/59383
Details from upstream follow.
Morten Stenshorne <mstensho@chromium.org> wrote:
Handle too large safe printable insets gracefully.
If the insets are so large there'd be no space left for the page area,
fall back to default page size, ignoring all CSS. There should be no
printers like this in the real world, unless there are broken drivers
etc.Correct behavior is undefined, but crashing / freezing is obviously
wrong. Add an internal WPT test to verify that Chromium falls back to
default page size and margins.Bug: 368070327
Change-Id: I3807b4d4da3d8b8066364540026a7170114d8330
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7782144
Commit-Queue: Morten Stenshorne \<mstensho@chromium.org>
Reviewed-by: Ian Kilpatrick \<ikilpatrick@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1618193}
| Assignee | ||
Updated•1 month ago
|
| Assignee | ||
Comment 1•1 month ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=6905d124ede5fe2f8298edcd60bb5c1a257fc37d
| Assignee | ||
Comment 2•1 month ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=8b1a24761c078d5c10d0749a5b8cea9069f515b4
| Assignee | ||
Comment 3•1 month ago
|
||
CI Results
Ran 4 Firefox configurations based on mozilla-central, and Firefox, and Chrome on GitHub CI
Total 1 tests
Status Summary
Firefox
PASS: 1
Chrome
PASS: 1
Description
•