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

View file

@ -1,4 +0,0 @@
[pseudo-elements-002.html]
[Check that transitions run on a pseudo element whose ancestor changes display type.]
expected: FAIL

View file

@ -1,4 +0,0 @@
[getComputedStyle-resolved-min-max-clamping.html]
[Resolved value of width / height when there's no used value isn't clamped by min/max properties]
expected: FAIL

View file

@ -7,6 +7,3 @@
[embed[hidden='until-found'\] element should be inline 0x0]
expected: FAIL
[embed[hidden=''\] element should be inline 0x0]
expected: FAIL

View file

@ -46,3 +46,6 @@
[fieldset with display: table-caption]
expected: FAIL
[fieldset with display: inline]
expected: FAIL