Closed Bug 2091581 Opened 19 days ago Closed 9 days ago

[wpt-sync] Sync PR 64959 - Fix wrong border side color with non-round corner-shape

Categories

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

task

Tracking

()

RESOLVED FIXED
163 Branch
Tracking Status
firefox163 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 64959 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/64959
Details from upstream follow.

Noam Rosenthal <nrosenthal@chromium.org> wrote:

Fix wrong border side color with non-round corner-shape

For corner shapes with curvature below round (e.g. bevel), each border
side is clipped by ClipBorderSidePolygonFromCorners(). When the corners
of opposite sides don't overlap, it only clipped out the bounding box of
the opposite side's inner corners and padding edge, which excludes the
opposite side's border strip itself. The miter clips only cover the
areas near the corners, so the middle of the opposite side remained
paintable, and a side painted later (e.g. bottom) painted over it (e.g.
top).

Extend the clipped-out area all the way to the opposite side's outer
edge.

This also stops sides with uniform colors from painting over each other,
which slightly changes anti-aliasing (and fixes a stray groove/ridge
color leak) in a few cornerShape tests; they are rebaselined.

Change-Id: Ieeea9c1d44b9183e81b08f7e782248253096a3aa
Fixed: 577393733
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8714099
Reviewed-by: Fredrik Söderquist \<fs@opera.com>
Commit-Queue: Noam Rosenthal \<nrosenthal@google.com>
Cr-Commit-Position: refs/heads/main@{#1739330}

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 11 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 195 tests and 23 subtests

Status Summary

Firefox

OK : 24
PASS: 1[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt, GitHub] 104[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview] 879[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 982[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
FAIL: 67[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview] 139[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 206[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]

Chrome

FAIL: 1

Safari

PASS: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Pushed by wptsync@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/adffcb325cda https://hg.mozilla.org/integration/autoland/rev/d730dd242246 [wpt PR 64959] - Fix wrong border side color with non-round corner-shape, a=testonly
Status: NEW → RESOLVED
Closed: 9 days ago
Resolution: --- → FIXED
Target Milestone: --- → 163 Branch
You need to log in before you can comment on or make changes to this bug.