mirror of
https://github.com/servo/servo.git
synced 2025-08-12 00:45: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
|
@ -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