Enable text-decoration tests

This commit is contained in:
Fernando Jiménez Moreno 2020-03-03 16:47:39 +01:00
parent 19d6b7b380
commit 74d9fec9cf
66 changed files with 729 additions and 0 deletions

View file

@ -15,6 +15,8 @@ skip: true
skip: false
[css-color]
skip: false
[css-text-decor]
skip: false
[css-transforms]
skip: false
[filter-effects]

View file

@ -0,0 +1,55 @@
[inheritance.html]
[Property text-emphasis-style inherits]
expected: FAIL
[Property text-emphasis-style has initial value none]
expected: FAIL
[Property text-decoration-style has initial value solid]
expected: FAIL
[Property text-underline-position has initial value auto]
expected: FAIL
[Property text-decoration-line has initial value none]
expected: FAIL
[Property text-emphasis-color has initial value rgba(2, 3, 4, 0.5)]
expected: FAIL
[Property text-shadow has initial value none]
expected: FAIL
[Property text-decoration-color has initial value rgba(2, 3, 4, 0.5)]
expected: FAIL
[Property text-decoration-skip-ink inherits]
expected: FAIL
[Property text-decoration-skip-ink has initial value auto]
expected: FAIL
[Property text-decoration-line does not inherit]
expected: FAIL
[Property text-underline-position inherits]
expected: FAIL
[Property text-emphasis-position inherits]
expected: FAIL
[Property text-decoration-color does not inherit]
expected: FAIL
[Property text-emphasis-position has initial value over right]
expected: FAIL
[Property text-decoration-style does not inherit]
expected: FAIL
[Property text-shadow inherits]
expected: FAIL
[Property text-emphasis-color inherits]
expected: FAIL

View file

@ -0,0 +1,10 @@
[text-decoration-color-computed.html]
[Property text-decoration-color value 'inherit']
expected: FAIL
[Property text-decoration-color value 'rgb(0, 0, 255)']
expected: FAIL
[Property text-decoration-color value 'currentcolor']
expected: FAIL

View file

@ -0,0 +1,10 @@
[text-decoration-color-valid.html]
[e.style['text-decoration-color'\] = "currentcolor" should set the property value]
expected: FAIL
[e.style['text-decoration-color'\] = "red" should set the property value]
expected: FAIL
[e.style['text-decoration-color'\] = "rgba(10, 20, 30, 0.4)" should set the property value]
expected: FAIL

View file

@ -0,0 +1,37 @@
[text-decoration-computed.html]
[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

@ -0,0 +1,55 @@
[text-decoration-line-computed.html]
[Property text-decoration-line value 'underline overline']
expected: FAIL
[Property text-decoration-line value 'overline blink']
expected: FAIL
[Property text-decoration-line value 'underline line-through blink']
expected: FAIL
[Property text-decoration-line value 'underline overline blink']
expected: FAIL
[Property text-decoration-line value 'blink']
expected: FAIL
[Property text-decoration-line value 'line-through blink']
expected: FAIL
[Property text-decoration-line value 'underline']
expected: FAIL
[Property text-decoration-line value 'underline line-through']
expected: FAIL
[Property text-decoration-line value 'overline line-through blink']
expected: FAIL
[Property text-decoration-line value 'line-through']
expected: FAIL
[Property text-decoration-line value 'underline blink']
expected: FAIL
[Property text-decoration-line value 'overline line-through']
expected: FAIL
[Property text-decoration-line value 'spelling-error']
expected: FAIL
[Property text-decoration-line value 'underline overline line-through']
expected: FAIL
[Property text-decoration-line value 'none']
expected: FAIL
[Property text-decoration-line value 'grammar-error']
expected: FAIL
[Property text-decoration-line value 'underline overline line-through blink']
expected: FAIL
[Property text-decoration-line value 'overline']
expected: FAIL

View file

@ -0,0 +1,202 @@
[text-decoration-line-valid.html]
[e.style['text-decoration-line'\] = "underline overline" should set the property value]
expected: FAIL
[e.style['text-decoration-line'\] = "blink line-through" should set the property value]
expected: FAIL
[e.style['text-decoration-line'\] = "line-through blink underline" should set the property value]
expected: FAIL
[e.style['text-decoration-line'\] = "overline blink underline line-through" should set the property value]
expected: FAIL
[e.style['text-decoration-line'\] = "overline blink line-through" should set the property value]
expected: FAIL
[e.style['text-decoration-line'\] = "line-through overline underline" should set the property value]
expected: FAIL
[e.style['text-decoration-line'\] = "blink line-through underline" should set the property value]
expected: FAIL
[e.style['text-decoration-line'\] = "overline underline line-through blink" should set the property value]
expected: FAIL
[e.style['text-decoration-line'\] = "blink underline overline" should set the property value]
expected: FAIL
[e.style['text-decoration-line'\] = "line-through blink underline overline" should set the property value]
expected: FAIL
[e.style['text-decoration-line'\] = "line-through overline" should set the property value]
expected: FAIL
[e.style['text-decoration-line'\] = "blink underline" should set the property value]
expected: FAIL
[e.style['text-decoration-line'\] = "underline blink line-through overline" should set the property value]
expected: FAIL
[e.style['text-decoration-line'\] = "line-through underline overline blink" should set the property value]
expected: FAIL
[e.style['text-decoration-line'\] = "overline" should set the property value]
expected: FAIL
[e.style['text-decoration-line'\] = "line-through blink overline" should set the property value]
expected: FAIL
[e.style['text-decoration-line'\] = "blink underline overline line-through" should set the property value]
expected: FAIL
[e.style['text-decoration-line'\] = "overline line-through blink underline" should set the property value]
expected: FAIL
[e.style['text-decoration-line'\] = "underline line-through" should set the property value]
expected: FAIL
[e.style['text-decoration-line'\] = "underline line-through blink overline" should set the property value]
expected: FAIL
[e.style['text-decoration-line'\] = "overline underline line-through" should set the property value]
expected: FAIL
[e.style['text-decoration-line'\] = "line-through overline blink underline" should set the property value]
expected: FAIL
[e.style['text-decoration-line'\] = "underline line-through overline" should set the property value]
expected: FAIL
[e.style['text-decoration-line'\] = "line-through" should set the property value]
expected: FAIL
[e.style['text-decoration-line'\] = "blink overline" should set the property value]
expected: FAIL
[e.style['text-decoration-line'\] = "line-through blink overline underline" should set the property value]
expected: FAIL
[e.style['text-decoration-line'\] = "blink overline underline line-through" should set the property value]
expected: FAIL
[e.style['text-decoration-line'\] = "overline blink" should set the property value]
expected: FAIL
[e.style['text-decoration-line'\] = "underline blink overline" should set the property value]
expected: FAIL
[e.style['text-decoration-line'\] = "line-through underline blink overline" should set the property value]
expected: FAIL
[e.style['text-decoration-line'\] = "underline overline blink" should set the property value]
expected: FAIL
[e.style['text-decoration-line'\] = "underline blink line-through" should set the property value]
expected: FAIL
[e.style['text-decoration-line'\] = "underline overline blink line-through" should set the property value]
expected: FAIL
[e.style['text-decoration-line'\] = "line-through blink" should set the property value]
expected: FAIL
[e.style['text-decoration-line'\] = "line-through underline" should set the property value]
expected: FAIL
[e.style['text-decoration-line'\] = "underline line-through overline blink" should set the property value]
expected: FAIL
[e.style['text-decoration-line'\] = "overline line-through blink" should set the property value]
expected: FAIL
[e.style['text-decoration-line'\] = "line-through overline underline blink" should set the property value]
expected: FAIL
[e.style['text-decoration-line'\] = "overline underline blink line-through" should set the property value]
expected: FAIL
[e.style['text-decoration-line'\] = "overline underline" should set the property value]
expected: FAIL
[e.style['text-decoration-line'\] = "underline line-through blink" should set the property value]
expected: FAIL
[e.style['text-decoration-line'\] = "overline line-through underline blink" should set the property value]
expected: FAIL
[e.style['text-decoration-line'\] = "blink overline underline" should set the property value]
expected: FAIL
[e.style['text-decoration-line'\] = "line-through underline blink" should set the property value]
expected: FAIL
[e.style['text-decoration-line'\] = "overline blink underline" should set the property value]
expected: FAIL
[e.style['text-decoration-line'\] = "line-through underline overline" should set the property value]
expected: FAIL
[e.style['text-decoration-line'\] = "blink line-through underline overline" should set the property value]
expected: FAIL
[e.style['text-decoration-line'\] = "overline line-through" should set the property value]
expected: FAIL
[e.style['text-decoration-line'\] = "overline line-through underline" should set the property value]
expected: FAIL
[e.style['text-decoration-line'\] = "spelling-error" should set the property value]
expected: FAIL
[e.style['text-decoration-line'\] = "blink overline line-through underline" should set the property value]
expected: FAIL
[e.style['text-decoration-line'\] = "blink line-through overline underline" should set the property value]
expected: FAIL
[e.style['text-decoration-line'\] = "underline overline line-through" should set the property value]
expected: FAIL
[e.style['text-decoration-line'\] = "none" should set the property value]
expected: FAIL
[e.style['text-decoration-line'\] = "overline blink line-through underline" should set the property value]
expected: FAIL
[e.style['text-decoration-line'\] = "blink overline line-through" should set the property value]
expected: FAIL
[e.style['text-decoration-line'\] = "underline blink overline line-through" should set the property value]
expected: FAIL
[e.style['text-decoration-line'\] = "blink" should set the property value]
expected: FAIL
[e.style['text-decoration-line'\] = "blink underline line-through" should set the property value]
expected: FAIL
[e.style['text-decoration-line'\] = "grammar-error" should set the property value]
expected: FAIL
[e.style['text-decoration-line'\] = "underline" should set the property value]
expected: FAIL
[e.style['text-decoration-line'\] = "overline underline blink" should set the property value]
expected: FAIL
[e.style['text-decoration-line'\] = "blink underline line-through overline" should set the property value]
expected: FAIL
[e.style['text-decoration-line'\] = "line-through overline blink" should set the property value]
expected: FAIL
[e.style['text-decoration-line'\] = "blink line-through overline" should set the property value]
expected: FAIL
[e.style['text-decoration-line'\] = "underline blink" should set the property value]
expected: FAIL
[e.style['text-decoration-line'\] = "underline overline line-through blink" should set the property value]
expected: FAIL

View file

@ -0,0 +1,13 @@
[text-decoration-shorthand.html]
[e.style['text-decoration'\] = "overline dotted green" should set text-decoration-line]
expected: FAIL
[e.style['text-decoration'\] = "overline dotted green" should set text-decoration-style]
expected: FAIL
[e.style['text-decoration'\] = "overline dotted green" should set text-decoration-color]
expected: FAIL
[e.style['text-decoration'\] = "overline dotted green" should not set unrelated longhands]
expected: FAIL

View file

@ -0,0 +1,7 @@
[text-decoration-skip-ink-computed.html]
[Property text-decoration-skip-ink value 'none']
expected: FAIL
[Property text-decoration-skip-ink value 'auto']
expected: FAIL

View file

@ -0,0 +1,7 @@
[text-decoration-skip-ink-valid.html]
[e.style['text-decoration-skip-ink'\] = "none" should set the property value]
expected: FAIL
[e.style['text-decoration-skip-ink'\] = "auto" should set the property value]
expected: FAIL

View file

@ -0,0 +1,16 @@
[text-decoration-style-computed.html]
[Property text-decoration-style value 'wavy']
expected: FAIL
[Property text-decoration-style value 'dashed']
expected: FAIL
[Property text-decoration-style value 'dotted']
expected: FAIL
[Property text-decoration-style value 'double']
expected: FAIL
[Property text-decoration-style value 'solid']
expected: FAIL

View file

@ -0,0 +1,16 @@
[text-decoration-style-valid.html]
[e.style['text-decoration-style'\] = "wavy" should set the property value]
expected: FAIL
[e.style['text-decoration-style'\] = "dashed" should set the property value]
expected: FAIL
[e.style['text-decoration-style'\] = "solid" should set the property value]
expected: FAIL
[e.style['text-decoration-style'\] = "dotted" should set the property value]
expected: FAIL
[e.style['text-decoration-style'\] = "double" should set the property value]
expected: FAIL

View file

@ -0,0 +1,46 @@
[text-decoration-valid.html]
[e.style['text-decoration'\] = "underline auto" should set the property value]
expected: FAIL
[e.style['text-decoration'\] = "none" should set the property value]
expected: FAIL
[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'\] = "line-through" 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,22 @@
[text-shadow-computed.html]
[Property text-shadow value 'calc(0.5em + 10px) calc(0.5em + 10px) calc(0.5em + 10px)']
expected: FAIL
[Property text-shadow value '10px 20px, 30px 40px']
expected: FAIL
[Property text-shadow value 'lime 10px 20px 30px, red 40px 50px']
expected: FAIL
[Property text-shadow value 'calc(-0.5em + 10px) calc(-0.5em + 10px) calc(-0.5em + 10px)']
expected: FAIL
[Property text-shadow value 'red 10px 20px 30px']
expected: FAIL
[Property text-shadow value 'none']
expected: FAIL
[Property text-shadow value '10px 20px']
expected: FAIL

View file

@ -0,0 +1,31 @@
[text-shadow-valid.html]
[e.style['text-shadow'\] = "rgb(255, 0, 0) 10px 20px" should set the property value]
expected: FAIL
[e.style['text-shadow'\] = "lime 10px 20px 30px, blue 40px 50px" should set the property value]
expected: FAIL
[e.style['text-shadow'\] = "10px 20px 30px" should set the property value]
expected: FAIL
[e.style['text-shadow'\] = "10px -20px 30px" should set the property value]
expected: FAIL
[e.style['text-shadow'\] = "-10px 20px 30px" should set the property value]
expected: FAIL
[e.style['text-shadow'\] = "10px 20px 30px lime" should set the property value]
expected: FAIL
[e.style['text-shadow'\] = "10px 20px" should set the property value]
expected: FAIL
[e.style['text-shadow'\] = "none" should set the property value]
expected: FAIL
[e.style['text-shadow'\] = "10px 20px, 30px 40px" should set the property value]
expected: FAIL
[e.style['text-shadow'\] = "calc(1em + 2px) calc(3em + 4px) calc(5em + 6px)" should set the property value]
expected: FAIL

View file

@ -0,0 +1,16 @@
[text-underline-position-computed.html]
[Property text-underline-position value 'under left']
expected: FAIL
[Property text-underline-position value 'left']
expected: FAIL
[Property text-underline-position value 'under']
expected: FAIL
[Property text-underline-position value 'right']
expected: FAIL
[Property text-underline-position value 'auto']
expected: FAIL

View file

@ -0,0 +1,19 @@
[text-underline-position-valid.html]
[e.style['text-underline-position'\] = "right under" should set the property value]
expected: FAIL
[e.style['text-underline-position'\] = "under left" should set the property value]
expected: FAIL
[e.style['text-underline-position'\] = "auto" should set the property value]
expected: FAIL
[e.style['text-underline-position'\] = "left" should set the property value]
expected: FAIL
[e.style['text-underline-position'\] = "right" should set the property value]
expected: FAIL
[e.style['text-underline-position'\] = "under" should set the property value]
expected: FAIL

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -0,0 +1,7 @@
[text-decoration-skip-ink.html]
[Body must have text-decoration-skip-ink auto by default.]
expected: FAIL
[Property text-decoration-skip-ink must support values auto, none and all.]
expected: FAIL

View file

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

View file

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

View file

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

View file

@ -0,0 +1,10 @@
[text-decoration-thickness-computed.html]
[Property text-decoration-thickness value 'auto']
expected: FAIL
[Property text-decoration-thickness value 'from-font']
expected: FAIL
[Property text-decoration-thickness value 'calc(10px - 8px)']
expected: FAIL

View file

@ -0,0 +1,4 @@
[text-decoration-thickness-initial.html]
[Initial value of text-decoration-thickness should be auto]
expected: FAIL

View file

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

View file

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

View file

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

View file

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

View file

@ -0,0 +1,25 @@
[text-decoration-thickness-valid.html]
[e.style['text-decoration-thickness'\] = "from-font" should set the property value]
expected: FAIL
[e.style['text-decoration-thickness'\] = "2001em" should set the property value]
expected: FAIL
[e.style['text-decoration-thickness'\] = "-49em" should set the property value]
expected: FAIL
[e.style['text-decoration-thickness'\] = "auto" should set the property value]
expected: FAIL
[e.style['text-decoration-thickness'\] = "calc(-50em + 13px)" should set the property value]
expected: FAIL
[e.style['text-decoration-thickness'\] = "53px" should set the property value]
expected: FAIL
[e.style['text-decoration-thickness'\] = "calc(40em - 10px)" should set the property value]
expected: FAIL
[e.style['text-decoration-thickness'\] = "-10px" should set the property value]
expected: FAIL

View file

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

View file

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

View file

@ -0,0 +1,2 @@
[text-emphasis-color-001.xht]
expected: FAIL

View file

@ -0,0 +1,2 @@
[text-emphasis-position-above-left-001.xht]
expected: FAIL

View file

@ -0,0 +1,2 @@
[text-emphasis-position-above-left-002.xht]
expected: FAIL

View file

@ -0,0 +1,2 @@
[text-emphasis-position-above-right-001.xht]
expected: FAIL

View file

@ -0,0 +1,2 @@
[text-emphasis-position-above-right-002.xht]
expected: FAIL

View file

@ -0,0 +1,2 @@
[text-emphasis-position-below-left-002.xht]
expected: FAIL

View file

@ -0,0 +1,2 @@
[text-emphasis-position-below-right-002.xht]
expected: FAIL

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -0,0 +1,2 @@
[text-emphasis-style-filled-001.xht]
expected: FAIL

View file

@ -0,0 +1,2 @@
[text-emphasis-style-none-001.xht]
expected: FAIL

View file

@ -0,0 +1,2 @@
[text-emphasis-style-open-001.xht]
expected: FAIL

View file

@ -0,0 +1,2 @@
[text-emphasis-style-shape-001.xht]
expected: FAIL

View file

@ -0,0 +1,2 @@
[text-emphasis-style-string-001.xht]
expected: FAIL

View file

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

View file

@ -0,0 +1,7 @@
[text-underline-offset-computed.html]
[Property text-underline-offset value 'auto']
expected: FAIL
[Property text-underline-offset value 'calc(10px - 8px)']
expected: FAIL

View file

@ -0,0 +1,4 @@
[text-underline-offset-initial.html]
[Initial value of text-underline-offset]
expected: FAIL

View file

@ -0,0 +1,2 @@
[text-underline-offset-scroll-001.html]
expected: FAIL

View file

@ -0,0 +1,22 @@
[text-underline-offset-valid.html]
[e.style['text-underline-offset'\] = "53px" should set the property value]
expected: FAIL
[e.style['text-underline-offset'\] = "calc(-13em + 50px)" should set the property value]
expected: FAIL
[e.style['text-underline-offset'\] = "2001em" should set the property value]
expected: FAIL
[e.style['text-underline-offset'\] = "auto" should set the property value]
expected: FAIL
[e.style['text-underline-offset'\] = "-10px" should set the property value]
expected: FAIL
[e.style['text-underline-offset'\] = "calc(40em - 10px)" should set the property value]
expected: FAIL
[e.style['text-underline-offset'\] = "-49em" should set the property value]
expected: FAIL