Treat indefinite percentages as auto offsets in relative positioning (#31484)

* Treat indefinite percentages as auto offsets in relative positioning

Instead of just resolving the percentages against zero.
The spec is not clear (https://github.com/w3c/csswg-drafts/issues/9353),
but this way we match Gecko, Blink and WebKit.

* Update test expectations
This commit is contained in:
Oriol Brufau 2024-03-04 09:09:33 +01:00 committed by GitHub
parent 3e6b92df13
commit a977729a9e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 11 additions and 12 deletions

View file

@ -1,2 +0,0 @@
[position-relative-007.html]
expected: FAIL