[wpt-sync] Sync PR 64144 - Apply contoured border outsets after pixel snapping
Categories
(Core :: CSS Parsing and Computation, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox162 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 64144 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/64144
Details from upstream follow.
Helmut Januschka <helmut@januschka.com> wrote:
Apply contoured border outsets after pixel snapping
PixelSnappedContouredBorderWithOutsets expanded the border rect in
LayoutUnit space, so a huge outline-offset saturated the size and
folded the far edge back into the viewport. Snap the border rect first,
then apply integer gfx::Outsets to avoid LayoutUnit size saturation.
Round fractional outsets at call sites and remove the obsolete
zero-size snap helper. With zero outsets, the result now matches
PixelSnappedContouredBorder.Bug: 41269582
Change-Id: I48e018fb35a6837afa248942700b557cf5a6f065
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8608187
Commit-Queue: Helmut Januschka \<helmut@januschka.com>
Reviewed-by: Xianzhu Wang \<wangxianzhu@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1726320}
| Assignee | ||
Updated•1 month ago
|
| Assignee | ||
Updated•1 month ago
|
| Assignee | ||
Updated•26 days ago
|
| Assignee | ||
Comment 1•26 days ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/jobs?repo=try&landoInstance=lando-prod-2025&landoCommitID=114110
| Assignee | ||
Comment 2•20 days ago
|
||
CI Results
Ran 7 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests
Status Summary
Firefox
PASS: 1
Chrome
PASS: 1
Safari
PASS: 1
Links
Comment 4•18 days ago
|
||
| bugherder | ||
Description
•