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

Side by Side Diff: LayoutTests/fast/css/getComputedStyle/getComputedStyle-text-decoration-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
« no previous file with comments | « no previous file | LayoutTests/fast/css/getComputedStyle/script-tests/getComputedStyle-text-decoration.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 Test to make sure text-decoration property returns values properly. 1 Test to make sure text-decoration 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') is null 7 PASS e.style.getPropertyCSSValue('text-decoration') is null
8 PASS computedStyle.textDecoration is 'none' 8 PASS computedStyle.textDecoration is 'none'
9 PASS computedStyle.getPropertyCSSValue('text-decoration').toString() is '[object CSSPrimitiveValue]' 9 PASS computedStyle.getPropertyCSSValue('text-decoration').toString() is '[object CSSPrimitiveValue]'
10 PASS computedStyle.getPropertyCSSValue('text-decoration').cssText is 'none' 10 PASS computedStyle.getPropertyCSSValue('text-decoration').cssText is 'none'
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 PASS computedStyle.getPropertyCSSValue('text-decoration').cssText is 'underline' 80 PASS computedStyle.getPropertyCSSValue('text-decoration').cssText is 'underline'
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.textDecoration is 'inherit' 83 PASS e.style.textDecoration is 'inherit'
84 PASS e.style.getPropertyCSSValue('text-decoration').toString() is '[object CSSVa lue]' 84 PASS e.style.getPropertyCSSValue('text-decoration').toString() is '[object CSSVa lue]'
85 PASS e.style.getPropertyCSSValue('text-decoration').cssText is 'inherit' 85 PASS e.style.getPropertyCSSValue('text-decoration').cssText is 'inherit'
86 PASS computedStyle.textDecoration is 'underline' 86 PASS computedStyle.textDecoration is 'underline'
87 PASS computedStyle.getPropertyCSSValue('text-decoration').toString() is '[object CSSValueList]' 87 PASS computedStyle.getPropertyCSSValue('text-decoration').toString() is '[object CSSValueList]'
88 PASS computedStyle.getPropertyCSSValue('text-decoration').cssText is 'underline' 88 PASS computedStyle.getPropertyCSSValue('text-decoration').cssText is 'underline'
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') is null
92 PASS computedStyle.textDecoration is 'none'
93 PASS computedStyle.getPropertyCSSValue('text-decoration').toString() is '[object CSSPrimitiveValue]'
94 PASS computedStyle.getPropertyCSSValue('text-decoration').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
« no previous file with comments | « no previous file | LayoutTests/fast/css/getComputedStyle/script-tests/getComputedStyle-text-decoration.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698