| Index: LayoutTests/fast/css3-text/css3-text-decoration/getComputedStyle/getComputedStyle-text-decoration-shorthand-expected.txt
|
| diff --git a/LayoutTests/fast/css3-text/css3-text-decoration/getComputedStyle/getComputedStyle-text-decoration-shorthand-expected.txt b/LayoutTests/fast/css3-text/css3-text-decoration/getComputedStyle/getComputedStyle-text-decoration-shorthand-expected.txt
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..28b890ef08b546344256ff5c5d31d1bd3c8594be
|
| --- /dev/null
|
| +++ b/LayoutTests/fast/css3-text/css3-text-decoration/getComputedStyle/getComputedStyle-text-decoration-shorthand-expected.txt
|
| @@ -0,0 +1,56 @@
|
| +Test to make sure text-decoration property is backwards compatible with CSS 2.1 and CSS 3 shorthand.
|
| +
|
| +On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
|
| +
|
| +
|
| +Initial values:
|
| +PASS e.style.getPropertyCSSValue('text-decoration') is null
|
| +PASS computedStyle.getPropertyCSSValue('text-decoration').toString() is '[object CSSValueList]'
|
| +PASS computedStyle.getPropertyCSSValue('text-decoration').cssText is 'none solid rgb(0, 0, 0)'
|
| +
|
| +CSS2.1 backwards compatibility ("text-decoration: underline overline line-through blink;"):
|
| +PASS e.style.getPropertyCSSValue('text-decoration-line').toString() is '[object CSSValueList]'
|
| +PASS e.style.getPropertyCSSValue('text-decoration-line').cssText is 'underline overline line-through blink'
|
| +PASS e.style.getPropertyCSSValue('text-decoration-style').toString() is '[object CSSValue]'
|
| +PASS e.style.getPropertyCSSValue('text-decoration-style').cssText is 'initial'
|
| +PASS e.style.getPropertyCSSValue('text-decoration-color').toString() is '[object CSSValue]'
|
| +PASS e.style.getPropertyCSSValue('text-decoration-color').cssText is 'initial'
|
| +PASS computedStyle.getPropertyCSSValue('text-decoration').toString() is '[object CSSValueList]'
|
| +PASS computedStyle.getPropertyCSSValue('text-decoration').cssText is 'underline overline line-through solid rgb(0, 0, 0)'
|
| +PASS computedStyle.getPropertyCSSValue('text-decoration-line').toString() is '[object CSSValueList]'
|
| +PASS computedStyle.getPropertyCSSValue('text-decoration-line').cssText is 'underline overline line-through'
|
| +PASS computedStyle.getPropertyCSSValue('text-decoration-style').toString() is '[object CSSPrimitiveValue]'
|
| +PASS computedStyle.getPropertyCSSValue('text-decoration-style').cssText is 'solid'
|
| +PASS computedStyle.getPropertyCSSValue('text-decoration-color').toString() is '[object CSSPrimitiveValue]'
|
| +PASS computedStyle.getPropertyCSSValue('text-decoration-color').cssText is 'rgb(0, 0, 0)'
|
| +PASS checkComputedStyleValue() is true
|
| +
|
| +CSS3 Shorthand ("text-decoration: underline overline line-through blink dashed red;"):
|
| +PASS e.style.getPropertyCSSValue('text-decoration') is null
|
| +PASS e.style.getPropertyCSSValue('text-decoration-line').cssText is 'underline overline line-through blink'
|
| +PASS e.style.getPropertyCSSValue('text-decoration-style').cssText is 'dashed'
|
| +PASS e.style.getPropertyCSSValue('text-decoration-color').cssText is 'red'
|
| +PASS computedStyle.getPropertyCSSValue('text-decoration').toString() is '[object CSSValueList]'
|
| +PASS computedStyle.getPropertyCSSValue('text-decoration').cssText is 'underline overline line-through dashed rgb(255, 0, 0)'
|
| +PASS computedStyle.getPropertyCSSValue('text-decoration-line').toString() is '[object CSSValueList]'
|
| +PASS computedStyle.getPropertyCSSValue('text-decoration-line').cssText is 'underline overline line-through'
|
| +PASS computedStyle.getPropertyCSSValue('text-decoration-style').cssText is 'dashed'
|
| +PASS computedStyle.getPropertyCSSValue('text-decoration-color').cssText is 'rgb(255, 0, 0)'
|
| +PASS checkComputedStyleValue() is true
|
| +
|
| +Omitting text decoration color and/or style fallbacks to their initial values ("text-decoration: underline;"):
|
| +PASS e.style.getPropertyCSSValue('text-decoration') is null
|
| +PASS e.style.getPropertyCSSValue('text-decoration-line').cssText is 'underline'
|
| +PASS e.style.getPropertyCSSValue('text-decoration-style').cssText is 'initial'
|
| +PASS e.style.getPropertyCSSValue('text-decoration-color').cssText is 'initial'
|
| +PASS computedStyle.getPropertyCSSValue('text-decoration').toString() is '[object CSSValueList]'
|
| +PASS computedStyle.getPropertyCSSValue('text-decoration').cssText is 'underline solid rgb(0, 0, 0)'
|
| +PASS computedStyle.getPropertyCSSValue('text-decoration-line').cssText is 'underline'
|
| +PASS computedStyle.getPropertyCSSValue('text-decoration-style').cssText is 'solid'
|
| +PASS computedStyle.getPropertyCSSValue('text-decoration-color').cssText is 'rgb(0, 0, 0)'
|
| +PASS checkComputedStyleValue() is true
|
| +
|
| +PASS successfullyParsed is true
|
| +
|
| +TEST COMPLETE
|
| +
|
|
|