[wpt-sync] Sync PR 25371 - Change handling of saturated size of uniting PhysicalRects
Categories
(Core :: Layout: Positioned, task, P4)
Tracking
()
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 25371 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/25371
Details from upstream follow.
b'Daniel Libby <dlibby@microsoft.com>' wrote:
Change handling of saturated size of uniting PhysicalRects
If a layer has a child that has a large negative inset for the top/left
properties, along with other content, the size of the layer can exceed
the max layout unit in either dimension. When this happens, currently the
min of left/top is used when creating the clip rect for the layer, but
because of the size limitations, the content that is actually in view
is not painted.Instead of using the min for left/top, favor the positive (right/bottom)
portion of the rect when the size is saturated up against the
LayoutUnit max value.Bug: 1122807
Change-Id: I8276f1556eebb3c9f197e0fba36571f7e7dd4546Reviewed-on: https://chromium-review.googlesource.com/2391389
WPT-Export-Revision: eee6393277046725b1e5a0a2992a4e220f2cf566
| Assignee | ||
Updated•6 years ago
|
| Assignee | ||
Comment 1•6 years ago
|
||
| Assignee | ||
Comment 2•6 years ago
|
||
CI Results
Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests
Status Summary
Firefox
PASS: 1
Chrome
FAIL: 1
Safari
PASS: 1
Description
•