Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(286)

Side by Side Diff: LayoutTests/fast/css3-text/css3-text-decoration/getComputedStyle/getComputedStyle-text-decoration-style-expected.txt

Issue 709193003: Don't require getPropertyCSSValue in css3-text getComputedStyle tests (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 Test to make sure text-decoration-style property returns CSSPrimitiveValue prope rly. 1 Test to make sure text-decoration-style is computed properly.
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 Ancestor should not inherit 'dashed' value from parent (fallback to initial 'sol id' value): 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 7 PASS e.style.textDecorationStyle is ""
8 PASS computedStyle.getPropertyCSSValue('text-decoration-style').toString() is '[ object CSSPrimitiveValue]' 8 PASS computedStyle.textDecorationStyle is "solid"
9 PASS computedStyle.getPropertyCSSValue('text-decoration-style').cssText is 'soli d'
10 PASS computedStyle.textDecorationStyle is 'solid'
11 9
12 Parent should cointain 'dashed': 10 Parent should cointain 'dashed':
13 PASS e.style.textDecorationStyle is 'dashed' 11 PASS e.style.textDecorationStyle is "dashed"
14 PASS e.style.getPropertyCSSValue('text-decoration-style').toString() is '[object CSSPrimitiveValue]' 12 PASS computedStyle.textDecorationStyle is "dashed"
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 13
20 JavaScript setter tests for valid, initial, invalid and blank values: 14 JavaScript setter tests for valid, initial, invalid and blank values:
21 PASS e.style.getPropertyCSSValue('text-decoration-style') is null 15 PASS e.style.textDecorationStyle is ""
22 16
23 Valid value 'solid': 17 Valid value 'solid':
24 PASS e.style.textDecorationStyle is 'solid' 18 PASS e.style.textDecorationStyle is "solid"
25 PASS e.style.getPropertyCSSValue('text-decoration-style').toString() is '[object CSSPrimitiveValue]' 19 PASS computedStyle.textDecorationStyle is "solid"
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 20
31 Valid value 'double': 21 Valid value 'double':
32 PASS e.style.textDecorationStyle is 'double' 22 PASS e.style.textDecorationStyle is "double"
33 PASS e.style.getPropertyCSSValue('text-decoration-style').toString() is '[object CSSPrimitiveValue]' 23 PASS computedStyle.textDecorationStyle is "double"
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 24
39 Valid value 'dotted': 25 Valid value 'dotted':
40 PASS e.style.textDecorationStyle is 'dotted' 26 PASS e.style.textDecorationStyle is "dotted"
41 PASS e.style.getPropertyCSSValue('text-decoration-style').toString() is '[object CSSPrimitiveValue]' 27 PASS computedStyle.textDecorationStyle is "dotted"
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 28
47 Valid value 'dashed': 29 Valid value 'dashed':
48 PASS e.style.textDecorationStyle is 'dashed' 30 PASS e.style.textDecorationStyle is "dashed"
49 PASS e.style.getPropertyCSSValue('text-decoration-style').toString() is '[object CSSPrimitiveValue]' 31 PASS computedStyle.textDecorationStyle is "dashed"
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 32
55 Valid value 'wavy': 33 Valid value 'wavy':
56 PASS e.style.textDecorationStyle is 'wavy' 34 PASS e.style.textDecorationStyle is "wavy"
57 PASS e.style.getPropertyCSSValue('text-decoration-style').toString() is '[object CSSPrimitiveValue]' 35 PASS computedStyle.textDecorationStyle is "wavy"
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 36
63 Initial value: 37 Initial value:
64 PASS e.style.textDecorationStyle is 'initial' 38 PASS e.style.textDecorationStyle is "initial"
65 PASS e.style.getPropertyCSSValue('text-decoration-style').toString() is '[object CSSValue]' 39 PASS computedStyle.textDecorationStyle is "solid"
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 40
71 Invalid value (this property accepts one value at a time only): 41 Invalid value (this property accepts one value at a time only):
72 PASS e.style.textDecorationStyle is 'initial' 42 PASS e.style.textDecorationStyle is "initial"
73 PASS e.style.getPropertyCSSValue('text-decoration-style').toString() is '[object CSSValue]' 43 PASS computedStyle.textDecorationStyle is "solid"
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 44
79 Invalid value (ie. 'unknown'): 45 Invalid value (ie. 'unknown'):
80 PASS e.style.textDecorationStyle is 'initial' 46 PASS e.style.textDecorationStyle is "initial"
81 PASS e.style.getPropertyCSSValue('text-decoration-style').toString() is '[object CSSValue]' 47 PASS computedStyle.textDecorationStyle is "solid"
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 48
87 Empty value (resets the property): 49 Empty value (resets the property):
88 PASS e.style.getPropertyCSSValue('text-decoration-style') is null 50 PASS e.style.textDecorationStyle is ""
89 PASS computedStyle.getPropertyCSSValue('text-decoration-style').toString() is '[ object CSSPrimitiveValue]' 51 PASS computedStyle.textDecorationStyle is "solid"
90 PASS computedStyle.getPropertyCSSValue('text-decoration-style').cssText is 'soli d'
91 PASS computedStyle.textDecorationStyle is 'solid'
92 52
93 PASS successfullyParsed is true 53 PASS successfullyParsed is true
94 54
95 TEST COMPLETE 55 TEST COMPLETE
96 56
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698