Fix getComputedStyle for width and height (#32437)

It was providing a length whenever the element generates a box.
However, these properties don't apply to non-replaced inlines,
so the computed value should be provided instead.
This commit is contained in:
Oriol Brufau 2024-06-04 20:36:19 +02:00 committed by GitHub
parent 804c74e6e5
commit 5f538b89e0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 35 additions and 25 deletions

View file

@ -1,12 +0,0 @@
[all-prop-revert-layer.html]
[block-size]
expected: FAIL
[inline-size]
expected: FAIL
[width]
expected: FAIL
[height]
expected: FAIL