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

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

Issue 14576017: Implement CSS3TextDecorations runtime flag in favor of CSS3_TEXT (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixed a typo in css-properties-as-js-properties-expected-expected.txt Created 7 years, 7 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
OLDNEW
1 Test to make sure -webkit-text-underline-position property returns values proper ly. 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('-webkit-text-underline-position') is null 7 PASS e.style.getPropertyCSSValue('text-underline-position') is null
8 PASS computedStyle.webkitTextUnderlinePosition is 'auto' 8 PASS computedStyle.textUnderlinePosition is 'auto'
9 PASS computedStyle.getPropertyCSSValue('-webkit-text-underline-position').toStri ng() is '[object CSSPrimitiveValue]' 9 PASS computedStyle.getPropertyCSSValue('text-underline-position').toString() is '[object CSSPrimitiveValue]'
10 PASS computedStyle.getPropertyCSSValue('-webkit-text-underline-position').cssTex t is 'auto' 10 PASS computedStyle.getPropertyCSSValue('text-underline-position').cssText is 'au to'
11 11
12 Value '': 12 Value '':
13 PASS e.style.getPropertyCSSValue('-webkit-text-underline-position') is null 13 PASS e.style.getPropertyCSSValue('text-underline-position') is null
14 PASS computedStyle.webkitTextUnderlinePosition is 'auto' 14 PASS computedStyle.textUnderlinePosition is 'auto'
15 PASS computedStyle.getPropertyCSSValue('-webkit-text-underline-position').toStri ng() is '[object CSSPrimitiveValue]' 15 PASS computedStyle.getPropertyCSSValue('text-underline-position').toString() is '[object CSSPrimitiveValue]'
16 PASS computedStyle.getPropertyCSSValue('-webkit-text-underline-position').cssTex t is 'auto' 16 PASS computedStyle.getPropertyCSSValue('text-underline-position').cssText is 'au to'
17 17
18 Initial value (explicit): 18 Initial value (explicit):
19 PASS e.style.webkitTextUnderlinePosition is 'initial' 19 PASS e.style.textUnderlinePosition is 'initial'
20 PASS e.style.getPropertyCSSValue('-webkit-text-underline-position').toString() i s '[object CSSValue]' 20 PASS e.style.getPropertyCSSValue('text-underline-position').toString() is '[obje ct CSSValue]'
21 PASS e.style.getPropertyCSSValue('-webkit-text-underline-position').cssText is ' initial' 21 PASS e.style.getPropertyCSSValue('text-underline-position').cssText is 'initial'
22 PASS computedStyle.webkitTextUnderlinePosition is 'auto' 22 PASS computedStyle.textUnderlinePosition is 'auto'
23 PASS computedStyle.getPropertyCSSValue('-webkit-text-underline-position').toStri ng() is '[object CSSPrimitiveValue]' 23 PASS computedStyle.getPropertyCSSValue('text-underline-position').toString() is '[object CSSPrimitiveValue]'
24 PASS computedStyle.getPropertyCSSValue('-webkit-text-underline-position').cssTex t is 'auto' 24 PASS computedStyle.getPropertyCSSValue('text-underline-position').cssText is 'au to'
25 25
26 Value 'auto': 26 Value 'auto':
27 PASS e.style.webkitTextUnderlinePosition is 'auto' 27 PASS e.style.textUnderlinePosition is 'auto'
28 PASS e.style.getPropertyCSSValue('-webkit-text-underline-position').toString() i s '[object CSSPrimitiveValue]' 28 PASS e.style.getPropertyCSSValue('text-underline-position').toString() is '[obje ct CSSPrimitiveValue]'
29 PASS e.style.getPropertyCSSValue('-webkit-text-underline-position').cssText is ' auto' 29 PASS e.style.getPropertyCSSValue('text-underline-position').cssText is 'auto'
30 PASS computedStyle.webkitTextUnderlinePosition is 'auto' 30 PASS computedStyle.textUnderlinePosition is 'auto'
31 PASS computedStyle.getPropertyCSSValue('-webkit-text-underline-position').toStri ng() is '[object CSSPrimitiveValue]' 31 PASS computedStyle.getPropertyCSSValue('text-underline-position').toString() is '[object CSSPrimitiveValue]'
32 PASS computedStyle.getPropertyCSSValue('-webkit-text-underline-position').cssTex t is 'auto' 32 PASS computedStyle.getPropertyCSSValue('text-underline-position').cssText is 'au to'
33 33
34 Value 'alphabetic': 34 Value 'alphabetic':
35 PASS e.style.webkitTextUnderlinePosition is 'alphabetic' 35 PASS e.style.textUnderlinePosition is 'alphabetic'
36 PASS e.style.getPropertyCSSValue('-webkit-text-underline-position').toString() i s '[object CSSPrimitiveValue]' 36 PASS e.style.getPropertyCSSValue('text-underline-position').toString() is '[obje ct CSSPrimitiveValue]'
37 PASS e.style.getPropertyCSSValue('-webkit-text-underline-position').cssText is ' alphabetic' 37 PASS e.style.getPropertyCSSValue('text-underline-position').cssText is 'alphabet ic'
38 PASS computedStyle.webkitTextUnderlinePosition is 'alphabetic' 38 PASS computedStyle.textUnderlinePosition is 'alphabetic'
39 PASS computedStyle.getPropertyCSSValue('-webkit-text-underline-position').toStri ng() is '[object CSSPrimitiveValue]' 39 PASS computedStyle.getPropertyCSSValue('text-underline-position').toString() is '[object CSSPrimitiveValue]'
40 PASS computedStyle.getPropertyCSSValue('-webkit-text-underline-position').cssTex t is 'alphabetic' 40 PASS computedStyle.getPropertyCSSValue('text-underline-position').cssText is 'al phabetic'
41 41
42 Value 'under': 42 Value 'under':
43 PASS e.style.webkitTextUnderlinePosition is 'under' 43 PASS e.style.textUnderlinePosition is 'under'
44 PASS e.style.getPropertyCSSValue('-webkit-text-underline-position').toString() i s '[object CSSPrimitiveValue]' 44 PASS e.style.getPropertyCSSValue('text-underline-position').toString() is '[obje ct CSSPrimitiveValue]'
45 PASS e.style.getPropertyCSSValue('-webkit-text-underline-position').cssText is ' under' 45 PASS e.style.getPropertyCSSValue('text-underline-position').cssText is 'under'
46 PASS computedStyle.webkitTextUnderlinePosition is 'under' 46 PASS computedStyle.textUnderlinePosition is 'under'
47 PASS computedStyle.getPropertyCSSValue('-webkit-text-underline-position').toStri ng() is '[object CSSPrimitiveValue]' 47 PASS computedStyle.getPropertyCSSValue('text-underline-position').toString() is '[object CSSPrimitiveValue]'
48 PASS computedStyle.getPropertyCSSValue('-webkit-text-underline-position').cssTex t is 'under' 48 PASS computedStyle.getPropertyCSSValue('text-underline-position').cssText is 'un der'
49 49
50 Ancestor inherits values from parent: 50 Ancestor inherits values from parent:
51 PASS e.style.getPropertyCSSValue('-webkit-text-underline-position') is null 51 PASS e.style.getPropertyCSSValue('text-underline-position') is null
52 PASS computedStyle.webkitTextUnderlinePosition is 'under' 52 PASS computedStyle.textUnderlinePosition is 'under'
53 PASS computedStyle.getPropertyCSSValue('-webkit-text-underline-position').toStri ng() is '[object CSSPrimitiveValue]' 53 PASS computedStyle.getPropertyCSSValue('text-underline-position').toString() is '[object CSSPrimitiveValue]'
54 PASS computedStyle.getPropertyCSSValue('-webkit-text-underline-position').cssTex t is 'under' 54 PASS computedStyle.getPropertyCSSValue('text-underline-position').cssText is 'un der'
55 55
56 Value 'auto alphabetic': 56 Value 'auto alphabetic':
57 PASS e.style.getPropertyCSSValue('-webkit-text-underline-position') is null 57 PASS e.style.getPropertyCSSValue('text-underline-position') is null
58 58
59 Value 'auto under': 59 Value 'auto under':
60 PASS e.style.getPropertyCSSValue('-webkit-text-underline-position') is null 60 PASS e.style.getPropertyCSSValue('text-underline-position') is null
61 61
62 Value 'under under': 62 Value 'under under':
63 PASS e.style.getPropertyCSSValue('-webkit-text-underline-position') is null 63 PASS e.style.getPropertyCSSValue('text-underline-position') is null
64 64
65 Value 'under under under': 65 Value 'under under under':
66 PASS e.style.getPropertyCSSValue('-webkit-text-underline-position') is null 66 PASS e.style.getPropertyCSSValue('text-underline-position') is null
67 67
68 PASS successfullyParsed is true 68 PASS successfullyParsed is true
69 69
70 TEST COMPLETE 70 TEST COMPLETE
71 71
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698