Closed Bug 1627703 Opened 5 years ago Closed 1 year ago

[wpt-sync] Sync PR 22724 - [css-ui] Use float for outline-offset

Categories

(Core :: Layout, task, P4)

task

Tracking

()

RESOLVED INVALID

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Manuel Rego Casasnovas <rego@igalia.com> wrote:

[css-ui] Use float for outline-offset

It's expected that outline-offset accepts subpixel values,
the parsing actually accepts them, but then we store things as ints
so we lose the decimal precision.

This patch changes outline-offset to use a float to fix this issue.

Rebaselined some tests that use "zoom=1.25" and now have
a decimal outline-offset for real.

BUG=1068107
TEST=external/wpt/css/css-ui/outline-offset-002.html
TEST=external/wpt/css/css-ui/parsing/outline-offset-computed.html

Change-Id: I3ed0495150d37f9c14f357f38eb2787f00da5c08

Reviewed-on: https://chromium-review.googlesource.com/2135625
WPT-Export-Revision: bc3183b4a2a8f0490749319c97771906ca1d1040

Component: web-platform-tests → Layout
Product: Testing → Core
Severity: normal → S3
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.