Closed Bug 2086963 Opened 1 month ago Closed 18 days ago

[wpt-sync] Sync PR 64144 - Apply contoured border outsets after pixel snapping

Categories

(Core :: CSS Parsing and Computation, task, P4)

task

Tracking

()

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

Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]

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

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Pushed by wptsync@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/0929ba70ce2c https://hg.mozilla.org/integration/autoland/rev/bb58b5c79e82 [wpt PR 64144] - Apply contoured border outsets after pixel snapping, a=testonly
Status: NEW → RESOLVED
Closed: 18 days ago
Resolution: --- → FIXED
Target Milestone: --- → 162 Branch
You need to log in before you can comment on or make changes to this bug.