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

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

Issue 40733004: Replace compile flag with runtime check for text-underline-position (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed a typo in static function compileUnderlineOffset signature / Rebase 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 -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 FAIL computedStyle.webkitTextUnderlinePosition should be auto (of type string). Was undefined (of type undefined). 8 FAIL computedStyle.textUnderlinePosition should be auto (of type string). Was un defined (of type undefined).
9 FAIL computedStyle.getPropertyCSSValue('-webkit-text-underline-position').toStri ng() should be [object CSSPrimitiveValue]. Threw exception TypeError: Cannot cal l method 'toString' of null 9 FAIL computedStyle.getPropertyCSSValue('text-underline-position').toString() sho uld be [object CSSPrimitiveValue]. Threw exception TypeError: Cannot call method 'toString' of null
10 FAIL computedStyle.getPropertyCSSValue('-webkit-text-underline-position').cssTex t should be auto. Threw exception TypeError: Cannot read property 'cssText' of n ull 10 FAIL computedStyle.getPropertyCSSValue('text-underline-position').cssText should be auto. Threw exception TypeError: Cannot read property 'cssText' of null
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 FAIL computedStyle.webkitTextUnderlinePosition should be auto (of type string). Was undefined (of type undefined). 14 FAIL computedStyle.textUnderlinePosition should be auto (of type string). Was un defined (of type undefined).
15 FAIL computedStyle.getPropertyCSSValue('-webkit-text-underline-position').toStri ng() should be [object CSSPrimitiveValue]. Threw exception TypeError: Cannot cal l method 'toString' of null 15 FAIL computedStyle.getPropertyCSSValue('text-underline-position').toString() sho uld be [object CSSPrimitiveValue]. Threw exception TypeError: Cannot call method 'toString' of null
16 FAIL computedStyle.getPropertyCSSValue('-webkit-text-underline-position').cssTex t should be auto. Threw exception TypeError: Cannot read property 'cssText' of n ull 16 FAIL computedStyle.getPropertyCSSValue('text-underline-position').cssText should be auto. Threw exception TypeError: Cannot read property 'cssText' of null
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 FAIL e.style.getPropertyCSSValue('-webkit-text-underline-position').toString() s hould be [object CSSValue]. Threw exception TypeError: Cannot call method 'toStr ing' of null 20 FAIL e.style.getPropertyCSSValue('text-underline-position').toString() should be [object CSSValue]. Threw exception TypeError: Cannot call method 'toString' of null
21 FAIL e.style.getPropertyCSSValue('-webkit-text-underline-position').cssText shou ld be initial. Threw exception TypeError: Cannot read property 'cssText' of null 21 FAIL e.style.getPropertyCSSValue('text-underline-position').cssText should be in itial. Threw exception TypeError: Cannot read property 'cssText' of null
22 FAIL computedStyle.webkitTextUnderlinePosition should be auto (of type string). Was undefined (of type undefined). 22 FAIL computedStyle.textUnderlinePosition should be auto (of type string). Was un defined (of type undefined).
23 FAIL computedStyle.getPropertyCSSValue('-webkit-text-underline-position').toStri ng() should be [object CSSPrimitiveValue]. Threw exception TypeError: Cannot cal l method 'toString' of null 23 FAIL computedStyle.getPropertyCSSValue('text-underline-position').toString() sho uld be [object CSSPrimitiveValue]. Threw exception TypeError: Cannot call method 'toString' of null
24 FAIL computedStyle.getPropertyCSSValue('-webkit-text-underline-position').cssTex t should be auto. Threw exception TypeError: Cannot read property 'cssText' of n ull 24 FAIL computedStyle.getPropertyCSSValue('text-underline-position').cssText should be auto. Threw exception TypeError: Cannot read property 'cssText' of null
25 25
26 Value 'auto': 26 Value 'auto':
27 PASS e.style.webkitTextUnderlinePosition is 'auto' 27 PASS e.style.textUnderlinePosition is 'auto'
28 FAIL e.style.getPropertyCSSValue('-webkit-text-underline-position').toString() s hould be [object CSSPrimitiveValue]. Threw exception TypeError: Cannot call meth od 'toString' of null 28 FAIL e.style.getPropertyCSSValue('text-underline-position').toString() should be [object CSSPrimitiveValue]. Threw exception TypeError: Cannot call method 'toSt ring' of null
29 FAIL e.style.getPropertyCSSValue('-webkit-text-underline-position').cssText shou ld be auto. Threw exception TypeError: Cannot read property 'cssText' of null 29 FAIL e.style.getPropertyCSSValue('text-underline-position').cssText should be au to. Threw exception TypeError: Cannot read property 'cssText' of null
30 FAIL computedStyle.webkitTextUnderlinePosition should be auto (of type string). Was undefined (of type undefined). 30 FAIL computedStyle.textUnderlinePosition should be auto (of type string). Was un defined (of type undefined).
31 FAIL computedStyle.getPropertyCSSValue('-webkit-text-underline-position').toStri ng() should be [object CSSPrimitiveValue]. Threw exception TypeError: Cannot cal l method 'toString' of null 31 FAIL computedStyle.getPropertyCSSValue('text-underline-position').toString() sho uld be [object CSSPrimitiveValue]. Threw exception TypeError: Cannot call method 'toString' of null
32 FAIL computedStyle.getPropertyCSSValue('-webkit-text-underline-position').cssTex t should be auto. Threw exception TypeError: Cannot read property 'cssText' of n ull 32 FAIL computedStyle.getPropertyCSSValue('text-underline-position').cssText should be auto. Threw exception TypeError: Cannot read property 'cssText' of null
33 33
34 Value 'alphabetic': 34 Value 'alphabetic':
35 PASS e.style.webkitTextUnderlinePosition is 'alphabetic' 35 PASS e.style.textUnderlinePosition is 'alphabetic'
36 FAIL e.style.getPropertyCSSValue('-webkit-text-underline-position').toString() s hould be [object CSSPrimitiveValue]. Threw exception TypeError: Cannot call meth od 'toString' of null 36 FAIL e.style.getPropertyCSSValue('text-underline-position').toString() should be [object CSSPrimitiveValue]. Threw exception TypeError: Cannot call method 'toSt ring' of null
37 FAIL e.style.getPropertyCSSValue('-webkit-text-underline-position').cssText shou ld be alphabetic. Threw exception TypeError: Cannot read property 'cssText' of n ull 37 FAIL e.style.getPropertyCSSValue('text-underline-position').cssText should be al phabetic. Threw exception TypeError: Cannot read property 'cssText' of null
38 FAIL computedStyle.webkitTextUnderlinePosition should be alphabetic (of type str ing). Was undefined (of type undefined). 38 FAIL computedStyle.textUnderlinePosition should be alphabetic (of type string). Was undefined (of type undefined).
39 FAIL computedStyle.getPropertyCSSValue('-webkit-text-underline-position').toStri ng() should be [object CSSPrimitiveValue]. Threw exception TypeError: Cannot cal l method 'toString' of null 39 FAIL computedStyle.getPropertyCSSValue('text-underline-position').toString() sho uld be [object CSSPrimitiveValue]. Threw exception TypeError: Cannot call method 'toString' of null
40 FAIL computedStyle.getPropertyCSSValue('-webkit-text-underline-position').cssTex t should be alphabetic. Threw exception TypeError: Cannot read property 'cssText ' of null 40 FAIL computedStyle.getPropertyCSSValue('text-underline-position').cssText should be alphabetic. Threw exception TypeError: Cannot read property 'cssText' of nul l
41 41
42 Value 'under': 42 Value 'under':
43 PASS e.style.webkitTextUnderlinePosition is 'under' 43 PASS e.style.textUnderlinePosition is 'under'
44 FAIL e.style.getPropertyCSSValue('-webkit-text-underline-position').toString() s hould be [object CSSPrimitiveValue]. Threw exception TypeError: Cannot call meth od 'toString' of null 44 FAIL e.style.getPropertyCSSValue('text-underline-position').toString() should be [object CSSPrimitiveValue]. Threw exception TypeError: Cannot call method 'toSt ring' of null
45 FAIL e.style.getPropertyCSSValue('-webkit-text-underline-position').cssText shou ld be under. Threw exception TypeError: Cannot read property 'cssText' of null 45 FAIL e.style.getPropertyCSSValue('text-underline-position').cssText should be un der. Threw exception TypeError: Cannot read property 'cssText' of null
46 FAIL computedStyle.webkitTextUnderlinePosition should be under (of type string). Was undefined (of type undefined). 46 FAIL computedStyle.textUnderlinePosition should be under (of type string). Was u ndefined (of type undefined).
47 FAIL computedStyle.getPropertyCSSValue('-webkit-text-underline-position').toStri ng() should be [object CSSPrimitiveValue]. Threw exception TypeError: Cannot cal l method 'toString' of null 47 FAIL computedStyle.getPropertyCSSValue('text-underline-position').toString() sho uld be [object CSSPrimitiveValue]. Threw exception TypeError: Cannot call method 'toString' of null
48 FAIL computedStyle.getPropertyCSSValue('-webkit-text-underline-position').cssTex t should be under. Threw exception TypeError: Cannot read property 'cssText' of null 48 FAIL computedStyle.getPropertyCSSValue('text-underline-position').cssText should be under. Threw exception TypeError: Cannot read property 'cssText' of null
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 FAIL computedStyle.webkitTextUnderlinePosition should be under (of type string). Was undefined (of type undefined). 52 FAIL computedStyle.textUnderlinePosition should be under (of type string). Was u ndefined (of type undefined).
53 FAIL computedStyle.getPropertyCSSValue('-webkit-text-underline-position').toStri ng() should be [object CSSPrimitiveValue]. Threw exception TypeError: Cannot cal l method 'toString' of null 53 FAIL computedStyle.getPropertyCSSValue('text-underline-position').toString() sho uld be [object CSSPrimitiveValue]. Threw exception TypeError: Cannot call method 'toString' of null
54 FAIL computedStyle.getPropertyCSSValue('-webkit-text-underline-position').cssTex t should be under. Threw exception TypeError: Cannot read property 'cssText' of null 54 FAIL computedStyle.getPropertyCSSValue('text-underline-position').cssText should be under. Threw exception TypeError: Cannot read property 'cssText' of null
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