| 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..2f107fcb8adc6836cbb1040ad01f7d1c21bbd198
|
| --- /dev/null
|
| +++ b/LayoutTests/fast/css3-text/css3-text-decoration/getComputedStyle/getComputedStyle-text-decoration-shorthand-expected.txt
|
| @@ -0,0 +1,34 @@
|
| +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').cssText is 'none solid rgb(0, 0, 0)'
|
| +PASS checkComputedStyleValue() is true
|
| +
|
| +CSS2.1 backwards compatibility ("text-decoration: underline overline line-through blink;"):
|
| +PASS e.style.getPropertyCSSValue('text-decoration-line').cssText is 'underline overline line-through blink'
|
| +PASS computedStyle.getPropertyCSSValue('text-decoration-line').cssText is 'underline overline line-through'
|
| +PASS computedStyle.getPropertyCSSValue('text-decoration').cssText is 'underline overline line-through solid rgb(0, 0, 0)'
|
| +PASS checkComputedStyleValue() is true
|
| +
|
| +CSS3 Shorthand ("text-decoration: underline overline line-through blink dashed red;"):
|
| +PASS computedStyle.getPropertyCSSValue('text-decoration').cssText is 'underline overline line-through dashed rgb(255, 0, 0)'
|
| +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 line resets to its initial value "none" ("text-decoration: navy dotted;"):
|
| +PASS computedStyle.getPropertyCSSValue('text-decoration').cssText is 'none dotted rgb(0, 0, 128)'
|
| +PASS computedStyle.getPropertyCSSValue('text-decoration-line').cssText is 'none'
|
| +PASS computedStyle.getPropertyCSSValue('text-decoration-style').cssText is 'dotted'
|
| +PASS computedStyle.getPropertyCSSValue('text-decoration-color').cssText is 'rgb(0, 0, 128)'
|
| +PASS checkComputedStyleValue() is true
|
| +
|
| +PASS successfullyParsed is true
|
| +
|
| +TEST COMPLETE
|
| +
|
|
|