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

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

Issue 20751008: Text decorations should be listed as non-inheritable (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed typo in getComputedStyle-text-decoration.js Created 7 years, 4 months 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 | Annotate | Revision Log
OLDNEW
1 Test to make sure text-decoration-line property returns values properly. 1 Test to make sure text-decoration-line property returns values 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 Initial value: 6 Initial value:
7 PASS e.style.getPropertyCSSValue('text-decoration-line') is null 7 PASS e.style.getPropertyCSSValue('text-decoration-line') is null
8 PASS computedStyle.textDecorationLine is 'none' 8 PASS computedStyle.textDecorationLine is 'none'
9 PASS computedStyle.getPropertyCSSValue('text-decoration-line').toString() is '[o bject CSSPrimitiveValue]' 9 PASS computedStyle.getPropertyCSSValue('text-decoration-line').toString() is '[o bject CSSPrimitiveValue]'
10 PASS computedStyle.getPropertyCSSValue('text-decoration-line').cssText is 'none' 10 PASS computedStyle.getPropertyCSSValue('text-decoration-line').cssText is 'none'
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 PASS computedStyle.getPropertyCSSValue('text-decoration-line').cssText is 'under line' 80 PASS computedStyle.getPropertyCSSValue('text-decoration-line').cssText is 'under line'
81 81
82 Ancestor should explicitly inherit value from parent when 'inherit' value is use d: 82 Ancestor should explicitly inherit value from parent when 'inherit' value is use d:
83 PASS e.style.textDecorationLine is 'inherit' 83 PASS e.style.textDecorationLine is 'inherit'
84 PASS e.style.getPropertyCSSValue('text-decoration-line').toString() is '[object CSSValue]' 84 PASS e.style.getPropertyCSSValue('text-decoration-line').toString() is '[object CSSValue]'
85 PASS e.style.getPropertyCSSValue('text-decoration-line').cssText is 'inherit' 85 PASS e.style.getPropertyCSSValue('text-decoration-line').cssText is 'inherit'
86 PASS computedStyle.textDecorationLine is 'underline' 86 PASS computedStyle.textDecorationLine is 'underline'
87 PASS computedStyle.getPropertyCSSValue('text-decoration-line').toString() is '[o bject CSSValueList]' 87 PASS computedStyle.getPropertyCSSValue('text-decoration-line').toString() is '[o bject CSSValueList]'
88 PASS computedStyle.getPropertyCSSValue('text-decoration-line').cssText is 'under line' 88 PASS computedStyle.getPropertyCSSValue('text-decoration-line').cssText is 'under line'
89 89
90 Ancestor should not implicitly inherit value from parent (i.e. when value is voi d):
91 PASS e.style.getPropertyCSSValue('text-decoration-line') is null
92 PASS computedStyle.textDecorationLine is 'none'
93 PASS computedStyle.getPropertyCSSValue('text-decoration-line').toString() is '[o bject CSSPrimitiveValue]'
94 PASS computedStyle.getPropertyCSSValue('text-decoration-line').cssText is 'none'
95
90 PASS successfullyParsed is true 96 PASS successfullyParsed is true
91 97
92 TEST COMPLETE 98 TEST COMPLETE
93 99
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698