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

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

Issue 57493002: Remove 'alphabetic' value from text-underline-position (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Patch for landing Created 7 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 | Annotate | Revision Log
OLDNEW
1 Test to make sure text-underline-position property returns values properly. 1 Test to make sure text-underline-position 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-underline-position') is null 7 PASS e.style.getPropertyCSSValue('text-underline-position') is null
8 PASS computedStyle.textUnderlinePosition is 'auto' 8 PASS computedStyle.textUnderlinePosition is 'auto'
9 PASS computedStyle.getPropertyCSSValue('text-underline-position').toString() is '[object CSSPrimitiveValue]' 9 PASS computedStyle.getPropertyCSSValue('text-underline-position').toString() is '[object CSSPrimitiveValue]'
10 PASS computedStyle.getPropertyCSSValue('text-underline-position').cssText is 'au to' 10 PASS computedStyle.getPropertyCSSValue('text-underline-position').cssText is 'au to'
(...skipping 13 matching lines...) Expand all
24 PASS computedStyle.getPropertyCSSValue('text-underline-position').cssText is 'au to' 24 PASS computedStyle.getPropertyCSSValue('text-underline-position').cssText is 'au to'
25 25
26 Value 'auto': 26 Value 'auto':
27 PASS e.style.textUnderlinePosition is 'auto' 27 PASS e.style.textUnderlinePosition is 'auto'
28 PASS e.style.getPropertyCSSValue('text-underline-position').toString() is '[obje ct CSSPrimitiveValue]' 28 PASS e.style.getPropertyCSSValue('text-underline-position').toString() is '[obje ct CSSPrimitiveValue]'
29 PASS e.style.getPropertyCSSValue('text-underline-position').cssText is 'auto' 29 PASS e.style.getPropertyCSSValue('text-underline-position').cssText is 'auto'
30 PASS computedStyle.textUnderlinePosition is 'auto' 30 PASS computedStyle.textUnderlinePosition is 'auto'
31 PASS computedStyle.getPropertyCSSValue('text-underline-position').toString() is '[object CSSPrimitiveValue]' 31 PASS computedStyle.getPropertyCSSValue('text-underline-position').toString() is '[object CSSPrimitiveValue]'
32 PASS computedStyle.getPropertyCSSValue('text-underline-position').cssText is 'au to' 32 PASS computedStyle.getPropertyCSSValue('text-underline-position').cssText is 'au to'
33 33
34 Value 'alphabetic':
35 PASS e.style.textUnderlinePosition is 'alphabetic'
36 PASS e.style.getPropertyCSSValue('text-underline-position').toString() is '[obje ct CSSPrimitiveValue]'
37 PASS e.style.getPropertyCSSValue('text-underline-position').cssText is 'alphabet ic'
38 PASS computedStyle.textUnderlinePosition is 'alphabetic'
39 PASS computedStyle.getPropertyCSSValue('text-underline-position').toString() is '[object CSSPrimitiveValue]'
40 PASS computedStyle.getPropertyCSSValue('text-underline-position').cssText is 'al phabetic'
41
42 Value 'under': 34 Value 'under':
43 PASS e.style.textUnderlinePosition is 'under' 35 PASS e.style.textUnderlinePosition is 'under'
44 PASS e.style.getPropertyCSSValue('text-underline-position').toString() is '[obje ct CSSPrimitiveValue]' 36 PASS e.style.getPropertyCSSValue('text-underline-position').toString() is '[obje ct CSSPrimitiveValue]'
45 PASS e.style.getPropertyCSSValue('text-underline-position').cssText is 'under' 37 PASS e.style.getPropertyCSSValue('text-underline-position').cssText is 'under'
46 PASS computedStyle.textUnderlinePosition is 'under' 38 PASS computedStyle.textUnderlinePosition is 'under'
47 PASS computedStyle.getPropertyCSSValue('text-underline-position').toString() is '[object CSSPrimitiveValue]' 39 PASS computedStyle.getPropertyCSSValue('text-underline-position').toString() is '[object CSSPrimitiveValue]'
48 PASS computedStyle.getPropertyCSSValue('text-underline-position').cssText is 'un der' 40 PASS computedStyle.getPropertyCSSValue('text-underline-position').cssText is 'un der'
49 41
50 Ancestor inherits values from parent: 42 Ancestor inherits values from parent:
51 PASS e.style.getPropertyCSSValue('text-underline-position') is null 43 PASS e.style.getPropertyCSSValue('text-underline-position') is null
52 PASS computedStyle.textUnderlinePosition is 'under' 44 PASS computedStyle.textUnderlinePosition is 'under'
53 PASS computedStyle.getPropertyCSSValue('text-underline-position').toString() is '[object CSSPrimitiveValue]' 45 PASS computedStyle.getPropertyCSSValue('text-underline-position').toString() is '[object CSSPrimitiveValue]'
54 PASS computedStyle.getPropertyCSSValue('text-underline-position').cssText is 'un der' 46 PASS computedStyle.getPropertyCSSValue('text-underline-position').cssText is 'un der'
55 47
56 Value 'auto alphabetic':
57 PASS e.style.getPropertyCSSValue('text-underline-position') is null
58
59 Value 'auto under': 48 Value 'auto under':
60 PASS e.style.getPropertyCSSValue('text-underline-position') is null 49 PASS e.style.getPropertyCSSValue('text-underline-position') is null
61 50
62 Value 'under under': 51 Value 'under under':
63 PASS e.style.getPropertyCSSValue('text-underline-position') is null 52 PASS e.style.getPropertyCSSValue('text-underline-position') is null
64 53
65 Value 'under under under': 54 Value 'under under under':
66 PASS e.style.getPropertyCSSValue('text-underline-position') is null 55 PASS e.style.getPropertyCSSValue('text-underline-position') is null
67 56
68 PASS successfullyParsed is true 57 PASS successfullyParsed is true
69 58
70 TEST COMPLETE 59 TEST COMPLETE
71 60
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698