mirror of
https://github.com/servo/servo.git
synced 2025-08-10 07:55:33 +01:00
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:
parent
804c74e6e5
commit
5f538b89e0
6 changed files with 35 additions and 25 deletions
|
@ -1,12 +0,0 @@
|
|||
[all-prop-revert-layer.html]
|
||||
[block-size]
|
||||
expected: FAIL
|
||||
|
||||
[inline-size]
|
||||
expected: FAIL
|
||||
|
||||
[width]
|
||||
expected: FAIL
|
||||
|
||||
[height]
|
||||
expected: FAIL
|
|
@ -1,4 +0,0 @@
|
|||
[pseudo-elements-002.html]
|
||||
[Check that transitions run on a pseudo element whose ancestor changes display type.]
|
||||
expected: FAIL
|
||||
|
|
@ -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
|
||||
|
|
@ -7,6 +7,3 @@
|
|||
|
||||
[embed[hidden='until-found'\] element should be inline 0x0]
|
||||
expected: FAIL
|
||||
|
||||
[embed[hidden=''\] element should be inline 0x0]
|
||||
expected: FAIL
|
||||
|
|
|
@ -46,3 +46,6 @@
|
|||
|
||||
[fieldset with display: table-caption]
|
||||
expected: FAIL
|
||||
|
||||
[fieldset with display: inline]
|
||||
expected: FAIL
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue