mirror of
https://github.com/servo/servo.git
synced 2025-09-30 08:39:16 +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,2 +1,12 @@
|
|||
[all-prop-revert-layer.html]
|
||||
expected: TIMEOUT
|
||||
[block-size]
|
||||
expected: FAIL
|
||||
|
||||
[inline-size]
|
||||
expected: FAIL
|
||||
|
||||
[width]
|
||||
expected: FAIL
|
||||
|
||||
[height]
|
||||
expected: FAIL
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
[all-prop-revert-noop.html?include=3]
|
||||
[input]
|
||||
expected: FAIL
|
||||
|
||||
[textarea]
|
||||
expected: FAIL
|
|
@ -1,90 +0,0 @@
|
|||
[getComputedStyle-listing.html]
|
||||
[border-block-end-color]
|
||||
expected: FAIL
|
||||
|
||||
[border-block-end-style]
|
||||
expected: FAIL
|
||||
|
||||
[border-block-end-width]
|
||||
expected: FAIL
|
||||
|
||||
[border-block-start-color]
|
||||
expected: FAIL
|
||||
|
||||
[border-block-start-style]
|
||||
expected: FAIL
|
||||
|
||||
[border-block-start-width]
|
||||
expected: FAIL
|
||||
|
||||
[border-inline-end-color]
|
||||
expected: FAIL
|
||||
|
||||
[border-inline-end-style]
|
||||
expected: FAIL
|
||||
|
||||
[border-inline-end-width]
|
||||
expected: FAIL
|
||||
|
||||
[border-inline-start-color]
|
||||
expected: FAIL
|
||||
|
||||
[border-inline-start-style]
|
||||
expected: FAIL
|
||||
|
||||
[border-inline-start-width]
|
||||
expected: FAIL
|
||||
|
||||
[inset-block-start]
|
||||
expected: FAIL
|
||||
|
||||
[inset-block-end]
|
||||
expected: FAIL
|
||||
|
||||
[inset-inline-start]
|
||||
expected: FAIL
|
||||
|
||||
[inset-inline-end]
|
||||
expected: FAIL
|
||||
|
||||
[margin-block-start]
|
||||
expected: FAIL
|
||||
|
||||
[margin-block-end]
|
||||
expected: FAIL
|
||||
|
||||
[margin-inline-start]
|
||||
expected: FAIL
|
||||
|
||||
[margin-inline-end]
|
||||
expected: FAIL
|
||||
|
||||
[padding-block-start]
|
||||
expected: FAIL
|
||||
|
||||
[padding-block-end]
|
||||
expected: FAIL
|
||||
|
||||
[padding-inline-start]
|
||||
expected: FAIL
|
||||
|
||||
[padding-inline-end]
|
||||
expected: FAIL
|
||||
|
||||
[block-size]
|
||||
expected: FAIL
|
||||
|
||||
[inline-size]
|
||||
expected: FAIL
|
||||
|
||||
[max-block-size]
|
||||
expected: FAIL
|
||||
|
||||
[max-inline-size]
|
||||
expected: FAIL
|
||||
|
||||
[min-block-size]
|
||||
expected: FAIL
|
||||
|
||||
[min-inline-size]
|
||||
expected: FAIL
|
|
@ -0,0 +1,2 @@
|
|||
[compute-kind-widget-no-fallback-props-001.html]
|
||||
expected: FAIL
|
|
@ -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