[wpt-sync] Sync PR 42415 - [print] Don't use negative overflow for scaling.
Categories
(Core :: CSS Parsing and Computation, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox121 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 42415 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/42415
Details from upstream follow.
Ian Kilpatrick <ikilpatrick@chromium.org> wrote:
[print] Don't use negative overflow for scaling.
Within ForceLayoutForPagination we used the LayoutOverflow on a
fragment to determine the total scale factor. This looked correct
however if we had negative overflow - we'd consider that in the
total width causing a large scale factor.Instead of using Width()/Height(), use Right()/Bottom() (considering
only the "positive" overflow) for determining the total scale factor.Bug: 1488825
Change-Id: Ib1dfb2e5f18d3032d99da2d06f99fb4f99a99a03Reviewed-on: https://chromium-review.googlesource.com/4920061
WPT-Export-Revision: a35c855473d90503b465cac0127712c3ecd0b0a4
| Assignee | ||
Updated•2 years ago
|
| Assignee | ||
Comment 1•2 years ago
|
||
| Assignee | ||
Comment 2•2 years ago
|
||
| Assignee | ||
Comment 3•2 years ago
|
||
CI Results
Ran 0 Firefox configurations based on mozilla-central, and Firefox, and Chrome on GitHub CI
Total 1 tests
Status Summary
Firefox
PASS: 1
Chrome
FAIL: 1
Links
Comment 5•2 years ago
|
||
| bugherder | ||
Description
•