layout: Fix negative outline offset (#38418)

Properly caps the minimum offset on each side as recommended by the
standards: https://drafts.csswg.org/css-ui-3/#outline-offset

Testing: Covered by WPT tests. (3 new passing!)
Fixes: #19508

---------

Signed-off-by: lumiscosity <averyrudelphe@gmail.com>
Co-authored-by: Martin Robinson <mrobinson@igalia.com>
This commit is contained in:
lumiscosity 2025-08-01 22:43:04 +02:00 committed by GitHub
parent f70d30cf1c
commit 5e89f79abe
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 13 additions and 13 deletions

View file

@ -1,2 +0,0 @@
[negative-outline-offset.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[outline-014.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[outline-015.html]
expected: FAIL