OLD | NEW |
(Empty) | |
| 1 Test to make sure text-decoration-style property returns CSSPrimitiveValue prope
rly. |
| 2 |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 4 |
| 5 |
| 6 Ancestor should not inherit 'dashed' value from parent (fallback to initial 'sol
id' value): |
| 7 PASS e.style.getPropertyCSSValue('text-decoration-style') is null |
| 8 PASS computedStyle.getPropertyCSSValue('text-decoration-style').toString() is '[
object CSSPrimitiveValue]' |
| 9 PASS computedStyle.getPropertyCSSValue('text-decoration-style').cssText is 'soli
d' |
| 10 PASS computedStyle.textDecorationStyle is 'solid' |
| 11 |
| 12 Parent should cointain 'dashed': |
| 13 PASS e.style.textDecorationStyle is 'dashed' |
| 14 PASS e.style.getPropertyCSSValue('text-decoration-style').toString() is '[object
CSSPrimitiveValue]' |
| 15 PASS e.style.getPropertyCSSValue('text-decoration-style').cssText is 'dashed' |
| 16 PASS computedStyle.getPropertyCSSValue('text-decoration-style').toString() is '[
object CSSPrimitiveValue]' |
| 17 PASS computedStyle.getPropertyCSSValue('text-decoration-style').cssText is 'dash
ed' |
| 18 PASS computedStyle.textDecorationStyle is 'dashed' |
| 19 |
| 20 JavaScript setter tests for valid, initial, invalid and blank values: |
| 21 PASS e.style.getPropertyCSSValue('text-decoration-style') is null |
| 22 |
| 23 Valid value 'solid': |
| 24 PASS e.style.textDecorationStyle is 'solid' |
| 25 PASS e.style.getPropertyCSSValue('text-decoration-style').toString() is '[object
CSSPrimitiveValue]' |
| 26 PASS e.style.getPropertyCSSValue('text-decoration-style').cssText is 'solid' |
| 27 PASS computedStyle.getPropertyCSSValue('text-decoration-style').toString() is '[
object CSSPrimitiveValue]' |
| 28 PASS computedStyle.getPropertyCSSValue('text-decoration-style').cssText is 'soli
d' |
| 29 PASS computedStyle.textDecorationStyle is 'solid' |
| 30 |
| 31 Valid value 'double': |
| 32 PASS e.style.textDecorationStyle is 'double' |
| 33 PASS e.style.getPropertyCSSValue('text-decoration-style').toString() is '[object
CSSPrimitiveValue]' |
| 34 PASS e.style.getPropertyCSSValue('text-decoration-style').cssText is 'double' |
| 35 PASS computedStyle.getPropertyCSSValue('text-decoration-style').toString() is '[
object CSSPrimitiveValue]' |
| 36 PASS computedStyle.getPropertyCSSValue('text-decoration-style').cssText is 'doub
le' |
| 37 PASS computedStyle.textDecorationStyle is 'double' |
| 38 |
| 39 Valid value 'dotted': |
| 40 PASS e.style.textDecorationStyle is 'dotted' |
| 41 PASS e.style.getPropertyCSSValue('text-decoration-style').toString() is '[object
CSSPrimitiveValue]' |
| 42 PASS e.style.getPropertyCSSValue('text-decoration-style').cssText is 'dotted' |
| 43 PASS computedStyle.getPropertyCSSValue('text-decoration-style').toString() is '[
object CSSPrimitiveValue]' |
| 44 PASS computedStyle.getPropertyCSSValue('text-decoration-style').cssText is 'dott
ed' |
| 45 PASS computedStyle.textDecorationStyle is 'dotted' |
| 46 |
| 47 Valid value 'dashed': |
| 48 PASS e.style.textDecorationStyle is 'dashed' |
| 49 PASS e.style.getPropertyCSSValue('text-decoration-style').toString() is '[object
CSSPrimitiveValue]' |
| 50 PASS e.style.getPropertyCSSValue('text-decoration-style').cssText is 'dashed' |
| 51 PASS computedStyle.getPropertyCSSValue('text-decoration-style').toString() is '[
object CSSPrimitiveValue]' |
| 52 PASS computedStyle.getPropertyCSSValue('text-decoration-style').cssText is 'dash
ed' |
| 53 PASS computedStyle.textDecorationStyle is 'dashed' |
| 54 |
| 55 Valid value 'wavy': |
| 56 PASS e.style.textDecorationStyle is 'wavy' |
| 57 PASS e.style.getPropertyCSSValue('text-decoration-style').toString() is '[object
CSSPrimitiveValue]' |
| 58 PASS e.style.getPropertyCSSValue('text-decoration-style').cssText is 'wavy' |
| 59 PASS computedStyle.getPropertyCSSValue('text-decoration-style').toString() is '[
object CSSPrimitiveValue]' |
| 60 PASS computedStyle.getPropertyCSSValue('text-decoration-style').cssText is 'wavy
' |
| 61 PASS computedStyle.textDecorationStyle is 'wavy' |
| 62 |
| 63 Initial value: |
| 64 PASS e.style.textDecorationStyle is 'initial' |
| 65 PASS e.style.getPropertyCSSValue('text-decoration-style').toString() is '[object
CSSValue]' |
| 66 PASS e.style.getPropertyCSSValue('text-decoration-style').cssText is 'initial' |
| 67 PASS computedStyle.getPropertyCSSValue('text-decoration-style').toString() is '[
object CSSPrimitiveValue]' |
| 68 PASS computedStyle.getPropertyCSSValue('text-decoration-style').cssText is 'soli
d' |
| 69 PASS computedStyle.textDecorationStyle is 'solid' |
| 70 |
| 71 Invalid value (this property accepts one value at a time only): |
| 72 PASS e.style.textDecorationStyle is 'initial' |
| 73 PASS e.style.getPropertyCSSValue('text-decoration-style').toString() is '[object
CSSValue]' |
| 74 PASS e.style.getPropertyCSSValue('text-decoration-style').cssText is 'initial' |
| 75 PASS computedStyle.getPropertyCSSValue('text-decoration-style').toString() is '[
object CSSPrimitiveValue]' |
| 76 PASS computedStyle.getPropertyCSSValue('text-decoration-style').cssText is 'soli
d' |
| 77 PASS computedStyle.textDecorationStyle is 'solid' |
| 78 |
| 79 Invalid value (ie. 'unknown'): |
| 80 PASS e.style.textDecorationStyle is 'initial' |
| 81 PASS e.style.getPropertyCSSValue('text-decoration-style').toString() is '[object
CSSValue]' |
| 82 PASS e.style.getPropertyCSSValue('text-decoration-style').cssText is 'initial' |
| 83 PASS computedStyle.getPropertyCSSValue('text-decoration-style').toString() is '[
object CSSPrimitiveValue]' |
| 84 PASS computedStyle.getPropertyCSSValue('text-decoration-style').cssText is 'soli
d' |
| 85 PASS computedStyle.textDecorationStyle is 'solid' |
| 86 |
| 87 Empty value (resets the property): |
| 88 PASS e.style.getPropertyCSSValue('text-decoration-style') is null |
| 89 PASS computedStyle.getPropertyCSSValue('text-decoration-style').toString() is '[
object CSSPrimitiveValue]' |
| 90 PASS computedStyle.getPropertyCSSValue('text-decoration-style').cssText is 'soli
d' |
| 91 PASS computedStyle.textDecorationStyle is 'solid' |
| 92 |
| 93 PASS successfullyParsed is true |
| 94 |
| 95 TEST COMPLETE |
| 96 |
OLD | NEW |