[wpt-sync] Sync PR 22724 - [css-ui] Use float for outline-offset
Categories
(Core :: Layout, task, P4)
Tracking
()
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.htmlChange-Id: I3ed0495150d37f9c14f357f38eb2787f00da5c08
Reviewed-on: https://chromium-review.googlesource.com/2135625
WPT-Export-Revision: bc3183b4a2a8f0490749319c97771906ca1d1040
Assignee | ||
Updated•5 years ago
|
Updated•3 years ago
|
Assignee | ||
Updated•1 year ago
|
Description
•