mirror of
https://github.com/servo/servo.git
synced 2025-09-11 15:38:24 +01:00
Add basic support for enumerating computed styles (#31499)
* Add basic support for enumerating computed styles The old code was so broken, it was enumerating the style attribute instead of the computed styles. So this patch implements a basic enumeration, but not including custom properties whose computed value is not the guaranteed-invalid value. * Feedback
This commit is contained in:
parent
6283146829
commit
ea38d8ad6f
23 changed files with 175 additions and 224 deletions
|
@ -1,3 +0,0 @@
|
|||
[cssstyledeclaration-csstext.html]
|
||||
[cssText on computed style declaration returns the empty string]
|
||||
expected: FAIL
|
|
@ -0,0 +1,3 @@
|
|||
[cssstyledeclaration-custom-properties.html]
|
||||
[Custom properties are included in computed style]
|
||||
expected: FAIL
|
|
@ -6,3 +6,5 @@
|
|||
[getComputedStyle returns no style for element in non-rendered iframe (display: none)]
|
||||
expected: FAIL
|
||||
|
||||
[getComputedStyle returns no style for detached element]
|
||||
expected: FAIL
|
||||
|
|
|
@ -1,12 +0,0 @@
|
|||
[getComputedStyle-getter-v-properties.tentative.html]
|
||||
[margin-top]
|
||||
expected: FAIL
|
||||
|
||||
[font-size]
|
||||
expected: FAIL
|
||||
|
||||
[max-width]
|
||||
expected: FAIL
|
||||
|
||||
[width]
|
||||
expected: FAIL
|
|
@ -1,4 +0,0 @@
|
|||
[getComputedStyle-logical-enumeration.html]
|
||||
[Logical properties in enumeration of computed style]
|
||||
expected: FAIL
|
||||
|
|
@ -13,3 +13,30 @@
|
|||
|
||||
[This pseudo-element should parse: ::highlight( n\\61me )]
|
||||
expected: FAIL
|
||||
|
||||
[This pseudo-element should not parse: ::before(test)]
|
||||
expected: FAIL
|
||||
|
||||
[This pseudo-element should not parse: ::highlight]
|
||||
expected: FAIL
|
||||
|
||||
[This pseudo-element should not parse: ::highlight(]
|
||||
expected: FAIL
|
||||
|
||||
[This pseudo-element should not parse: ::highlight()]
|
||||
expected: FAIL
|
||||
|
||||
[This pseudo-element should not parse: ::highlight(1)]
|
||||
expected: FAIL
|
||||
|
||||
[This pseudo-element should not parse: ::highlight($)]
|
||||
expected: FAIL
|
||||
|
||||
[This pseudo-element should not parse: ::highlight (name)]
|
||||
expected: FAIL
|
||||
|
||||
[This pseudo-element should not parse: ::highlight(name)a]
|
||||
expected: FAIL
|
||||
|
||||
[This pseudo-element should not parse: ::view-transition-group(*)]
|
||||
expected: FAIL
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue