Uprade stylo to include servo/style#33 (#32147)

This adds support for text decoration color and style.
This commit is contained in:
Munish Mummadi 2024-05-23 00:18:46 -05:00 committed by GitHub
parent 6451b1a21b
commit a772ecf786
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
20 changed files with 31 additions and 117 deletions

View file

@ -0,0 +1,2 @@
[target-text-text-decoration-001.html]
expected: FAIL

View file

@ -56,36 +56,11 @@
[Property text-decoration value 'auto']
expected: FAIL
[Property text-decoration value 'currentcolor']
expected: FAIL
[Property text-decoration value 'double overline underline']
expected: FAIL
[Property text-decoration value 'line-through']
expected: FAIL
[Property text-decoration value 'underline dashed rgb(0, 255, 0)']
expected: FAIL
[Property text-decoration value 'underline overline line-through red']
expected: FAIL
[Property text-decoration value 'rgba(10, 20, 30, 0.4) dotted']
expected: FAIL
[Property text-decoration value 'none']
expected: FAIL
[Property text-decoration value '10px']
expected: FAIL
[Property text-decoration value 'underline red from-font']
expected: FAIL
[Property text-decoration value 'solid']
expected: FAIL
[Property text-decoration value 'from-font']
expected: FAIL

View file

@ -1,22 +1,4 @@
[text-decoration-valid.html]
[e.style['text-decoration'\] = "underline dashed green" should set the property value]
expected: FAIL
[e.style['text-decoration'\] = "rgba(10, 20, 30, 0.4) dotted" should set the property value]
expected: FAIL
[e.style['text-decoration'\] = "solid" should set the property value]
expected: FAIL
[e.style['text-decoration'\] = "underline overline line-through red" should set the property value]
expected: FAIL
[e.style['text-decoration'\] = "currentcolor" should set the property value]
expected: FAIL
[e.style['text-decoration'\] = "double overline underline" should set the property value]
expected: FAIL
[e.style['text-decoration'\] = "underline auto" should set the property value]
expected: FAIL
@ -37,4 +19,3 @@
[e.style['text-decoration'\] = "overline green from-font" should set the property value]
expected: FAIL

View file

@ -1,2 +0,0 @@
[text-decoration-line-recalc.html]
expected: FAIL

View file

@ -1,4 +0,0 @@
[text-decoration-serialization.tentative.html]
[text-decoration shorthand serialization]
expected: FAIL

View file

@ -0,0 +1,2 @@
[text-decoration-shorthands-001.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[text-decoration-shorthands-002.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[text-decoration-skip-ink-003.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[target-text-text-decoration-001.html]
expected: FAIL

View file

@ -2,36 +2,11 @@
[Property text-decoration value 'auto']
expected: FAIL
[Property text-decoration value 'currentcolor']
expected: FAIL
[Property text-decoration value 'double overline underline']
expected: FAIL
[Property text-decoration value 'line-through']
expected: FAIL
[Property text-decoration value 'underline dashed rgb(0, 255, 0)']
expected: FAIL
[Property text-decoration value 'underline overline line-through red']
expected: FAIL
[Property text-decoration value 'rgba(10, 20, 30, 0.4) dotted']
expected: FAIL
[Property text-decoration value 'none']
expected: FAIL
[Property text-decoration value '10px']
expected: FAIL
[Property text-decoration value 'underline red from-font']
expected: FAIL
[Property text-decoration value 'solid']
expected: FAIL
[Property text-decoration value 'from-font']
expected: FAIL

View file

@ -5,36 +5,17 @@
[e.style['text-decoration'\] = "auto" should set the property value]
expected: FAIL
[e.style['text-decoration'\] = "underline dashed green" should set the property value]
expected: FAIL
[e.style['text-decoration'\] = "10px" should set the property value]
expected: FAIL
[e.style['text-decoration'\] = "double overline underline" should set the property value]
expected: FAIL
[e.style['text-decoration'\] = "rgba(10, 20, 30, 0.4) dotted" should set the property value]
expected: FAIL
[e.style['text-decoration'\] = "solid" should set the property value]
expected: FAIL
[e.style['text-decoration'\] = "line-through 20px" should set the property value]
expected: FAIL
[e.style['text-decoration'\] = "underline overline line-through red" should set the property value]
expected: FAIL
[e.style['text-decoration'\] = "overline 3em" should set the property value]
expected: FAIL
[e.style['text-decoration'\] = "currentcolor" should set the property value]
expected: FAIL
[e.style['text-decoration'\] = "from-font" should set the property value]
expected: FAIL
[e.style['text-decoration'\] = "overline green from-font" should set the property value]
expected: FAIL

View file

@ -0,0 +1,2 @@
[text-decoration-dotted-002.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[text-decoration-line-recalc.html]
expected: FAIL

View file

@ -1,4 +0,0 @@
[text-decoration-serialization.tentative.html]
[text-decoration shorthand serialization]
expected: FAIL

View file

@ -0,0 +1,2 @@
[text-decoration-shorthands-001.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[text-decoration-shorthands-002.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[text-decoration-style-multiple.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[text-decoration-subelements-003.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[variable-reference-visited.html]
expected: FAIL