Closed Bug 2076481 Opened 2 months ago Closed 1 month ago

[wpt-sync] Sync PR 63052 - Fix corner-shape auto outline doubled offset and radii

Categories

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

task

Tracking

()

RESOLVED FIXED
160 Branch
Tracking Status
firefox160 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

(Blocks 1 open bug, )

Details

(Whiteboard: [wptsync downstream])

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

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

Ibrahim Bendebka <ibrahim.bendebka@gmail.com> wrote:

Fix corner-shape auto outline doubled offset and radii

When an element had both corner-shape and outline: auto,
changing outline-offset resulted in a doubled offset and radii.

This occurred because the rect and radii used to define the
contour's origin_rect, were already outset adjusted.

This CL calculate the origin_rect radii from
GetFocusRingCornerRadii at zero offset.

Bug: 556780780

Change-Id: Id0516d151d383312278a69b7af68ada1fec6f0be
Reviewed-on: https://chromium-review.googlesource.com/8367406
WPT-Export-Revision: 559522f181e619eadfd9627d20f00ecf8968a760

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 153 tests

Status Summary

Firefox

OK : 19
PASS: 1[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt, GitHub] 878[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 974[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, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
FAIL: 2[GitHub] 107[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 144[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, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]

Chrome

PASS: 1
FAIL: 2

Safari

PASS: 3

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Status: NEW → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 160 Branch
You need to log in before you can comment on or make changes to this bug.