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

Side by Side Diff: LayoutTests/fast/css/getComputedStyle/getComputedStyle-background-shorthand-expected.txt

Issue 38573003: Use 4 value syntax for getComputedStyle of background-position and -webkit-mask-position (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased 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 background shorthand properties returns CSSValueList properly. 1 Test to make sure background shorthand properties returns CSSValueList 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 PASS computedStyle.getPropertyValue('background') is 'rgb(255, 0, 0) none repeat scroll 0% 0% / auto padding-box border-box' 6 PASS computedStyle.getPropertyValue('background') is 'rgb(255, 0, 0) none repeat scroll left 0% top 0% / auto padding-box border-box'
7 PASS computedStyle.getPropertyCSSValue('background').toString() is '[object CSSV alueList]' 7 PASS computedStyle.getPropertyCSSValue('background').toString() is '[object CSSV alueList]'
8 PASS computedStyle.getPropertyCSSValue('background').cssText is 'rgb(255, 0, 0) none repeat scroll 0% 0% / auto padding-box border-box' 8 PASS computedStyle.getPropertyCSSValue('background').cssText is 'rgb(255, 0, 0) none repeat scroll left 0% top 0% / auto padding-box border-box'
9 PASS computedStyle.getPropertyCSSValue('background').length is 2 9 PASS computedStyle.getPropertyCSSValue('background').length is 2
10 PASS computedStyle.getPropertyCSSValue('background').item(0).length is 5 10 PASS computedStyle.getPropertyCSSValue('background').item(0).length is 5
11 PASS computedStyle.getPropertyCSSValue('background').item(1).length is 3 11 PASS computedStyle.getPropertyCSSValue('background').item(1).length is 3
12 PASS computedStyle.getPropertyCSSValue('background').item(0).item(0).getRGBColor Value().red.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 255 12 PASS computedStyle.getPropertyCSSValue('background').item(0).item(0).getRGBColor Value().red.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 255
13 PASS computedStyle.getPropertyCSSValue('background').item(0).item(0).getRGBColor Value().green.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 0 13 PASS computedStyle.getPropertyCSSValue('background').item(0).item(0).getRGBColor Value().green.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 0
14 PASS computedStyle.getPropertyCSSValue('background').item(0).item(0).getRGBColor Value().blue.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 0 14 PASS computedStyle.getPropertyCSSValue('background').item(0).item(0).getRGBColor Value().blue.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 0
15 PASS computedStyle.getPropertyCSSValue('background').item(0).item(1).getStringVa lue() is 'none' 15 PASS computedStyle.getPropertyCSSValue('background').item(0).item(1).getStringVa lue() is 'none'
16 PASS computedStyle.getPropertyCSSValue('background').item(0).item(2).getStringVa lue() is 'repeat' 16 PASS computedStyle.getPropertyCSSValue('background').item(0).item(2).getStringVa lue() is 'repeat'
17 PASS computedStyle.getPropertyCSSValue('background').item(0).item(3).getStringVa lue() is 'scroll' 17 PASS computedStyle.getPropertyCSSValue('background').item(0).item(3).getStringVa lue() is 'scroll'
18 PASS computedStyle.getPropertyCSSValue('background').item(0).item(4).toString() is '[object CSSValueList]' 18 PASS computedStyle.getPropertyCSSValue('background').item(0).item(4).toString() is '[object CSSValueList]'
19 PASS computedStyle.getPropertyCSSValue('background').item(0).item(4).item(0).get FloatValue(CSSPrimitiveValue.CSS_PERCENTAGE) is 0
20 PASS computedStyle.getPropertyCSSValue('background').item(0).item(4).item(1).get FloatValue(CSSPrimitiveValue.CSS_PERCENTAGE) is 0 19 PASS computedStyle.getPropertyCSSValue('background').item(0).item(4).item(1).get FloatValue(CSSPrimitiveValue.CSS_PERCENTAGE) is 0
20 PASS computedStyle.getPropertyCSSValue('background').item(0).item(4).item(3).get FloatValue(CSSPrimitiveValue.CSS_PERCENTAGE) is 0
21 PASS computedStyle.getPropertyCSSValue('background').item(1).item(0).getStringVa lue() is 'auto' 21 PASS computedStyle.getPropertyCSSValue('background').item(1).item(0).getStringVa lue() is 'auto'
22 PASS computedStyle.getPropertyCSSValue('background').item(1).item(1).getStringVa lue() is 'padding-box' 22 PASS computedStyle.getPropertyCSSValue('background').item(1).item(1).getStringVa lue() is 'padding-box'
23 PASS computedStyle.getPropertyCSSValue('background').item(1).item(2).getStringVa lue() is 'border-box' 23 PASS computedStyle.getPropertyCSSValue('background').item(1).item(2).getStringVa lue() is 'border-box'
24 PASS checkComputedStyleValue() is true 24 PASS checkComputedStyleValue() is true
25 PASS computedStyle.getPropertyValue('background') is 'rgb(255, 0, 0) url(dummy:/ /test.png) repeat scroll 0% 0% / auto padding-box border-box' 25 PASS computedStyle.getPropertyValue('background') is 'rgb(255, 0, 0) url(dummy:/ /test.png) repeat scroll left 0% top 0% / auto padding-box border-box'
26 PASS computedStyle.getPropertyCSSValue('background').toString() is '[object CSSV alueList]' 26 PASS computedStyle.getPropertyCSSValue('background').toString() is '[object CSSV alueList]'
27 PASS computedStyle.getPropertyCSSValue('background').cssText is 'rgb(255, 0, 0) url(dummy://test.png) repeat scroll 0% 0% / auto padding-box border-box' 27 PASS computedStyle.getPropertyCSSValue('background').cssText is 'rgb(255, 0, 0) url(dummy://test.png) repeat scroll left 0% top 0% / auto padding-box border-box '
28 PASS computedStyle.getPropertyCSSValue('background').length is 2 28 PASS computedStyle.getPropertyCSSValue('background').length is 2
29 PASS computedStyle.getPropertyCSSValue('background').item(0).length is 5 29 PASS computedStyle.getPropertyCSSValue('background').item(0).length is 5
30 PASS computedStyle.getPropertyCSSValue('background').item(1).length is 3 30 PASS computedStyle.getPropertyCSSValue('background').item(1).length is 3
31 PASS computedStyle.getPropertyCSSValue('background').item(0).item(0).getRGBColor Value().red.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 255 31 PASS computedStyle.getPropertyCSSValue('background').item(0).item(0).getRGBColor Value().red.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 255
32 PASS computedStyle.getPropertyCSSValue('background').item(0).item(0).getRGBColor Value().green.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 0 32 PASS computedStyle.getPropertyCSSValue('background').item(0).item(0).getRGBColor Value().green.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 0
33 PASS computedStyle.getPropertyCSSValue('background').item(0).item(0).getRGBColor Value().blue.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 0 33 PASS computedStyle.getPropertyCSSValue('background').item(0).item(0).getRGBColor Value().blue.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 0
34 PASS computedStyle.getPropertyCSSValue('background').item(0).item(1).getStringVa lue() is 'dummy://test.png' 34 PASS computedStyle.getPropertyCSSValue('background').item(0).item(1).getStringVa lue() is 'dummy://test.png'
35 PASS computedStyle.getPropertyCSSValue('background').item(0).item(2).getStringVa lue() is 'repeat' 35 PASS computedStyle.getPropertyCSSValue('background').item(0).item(2).getStringVa lue() is 'repeat'
36 PASS computedStyle.getPropertyCSSValue('background').item(0).item(3).getStringVa lue() is 'scroll' 36 PASS computedStyle.getPropertyCSSValue('background').item(0).item(3).getStringVa lue() is 'scroll'
37 PASS computedStyle.getPropertyCSSValue('background').item(0).item(4).toString() is '[object CSSValueList]' 37 PASS computedStyle.getPropertyCSSValue('background').item(0).item(4).toString() is '[object CSSValueList]'
38 PASS computedStyle.getPropertyCSSValue('background').item(0).item(4).item(0).get FloatValue(CSSPrimitiveValue.CSS_PERCENTAGE) is 0
39 PASS computedStyle.getPropertyCSSValue('background').item(0).item(4).item(1).get FloatValue(CSSPrimitiveValue.CSS_PERCENTAGE) is 0 38 PASS computedStyle.getPropertyCSSValue('background').item(0).item(4).item(1).get FloatValue(CSSPrimitiveValue.CSS_PERCENTAGE) is 0
39 PASS computedStyle.getPropertyCSSValue('background').item(0).item(4).item(3).get FloatValue(CSSPrimitiveValue.CSS_PERCENTAGE) is 0
40 PASS computedStyle.getPropertyCSSValue('background').item(1).item(0).getStringVa lue() is 'auto' 40 PASS computedStyle.getPropertyCSSValue('background').item(1).item(0).getStringVa lue() is 'auto'
41 PASS computedStyle.getPropertyCSSValue('background').item(1).item(1).getStringVa lue() is 'padding-box' 41 PASS computedStyle.getPropertyCSSValue('background').item(1).item(1).getStringVa lue() is 'padding-box'
42 PASS computedStyle.getPropertyCSSValue('background').item(1).item(2).getStringVa lue() is 'border-box' 42 PASS computedStyle.getPropertyCSSValue('background').item(1).item(2).getStringVa lue() is 'border-box'
43 PASS checkComputedStyleValue() is true 43 PASS checkComputedStyleValue() is true
44 PASS computedStyle.getPropertyValue('background') is 'rgb(255, 0, 0) url(dummy:/ /test.png) no-repeat scroll 0% 0% / auto padding-box border-box' 44 PASS computedStyle.getPropertyValue('background') is 'rgb(255, 0, 0) url(dummy:/ /test.png) no-repeat scroll left 0% top 0% / auto padding-box border-box'
45 PASS computedStyle.getPropertyCSSValue('background').toString() is '[object CSSV alueList]' 45 PASS computedStyle.getPropertyCSSValue('background').toString() is '[object CSSV alueList]'
46 PASS computedStyle.getPropertyCSSValue('background').cssText is 'rgb(255, 0, 0) url(dummy://test.png) no-repeat scroll 0% 0% / auto padding-box border-box' 46 PASS computedStyle.getPropertyCSSValue('background').cssText is 'rgb(255, 0, 0) url(dummy://test.png) no-repeat scroll left 0% top 0% / auto padding-box border- box'
47 PASS computedStyle.getPropertyCSSValue('background').length is 2 47 PASS computedStyle.getPropertyCSSValue('background').length is 2
48 PASS computedStyle.getPropertyCSSValue('background').item(0).length is 5 48 PASS computedStyle.getPropertyCSSValue('background').item(0).length is 5
49 PASS computedStyle.getPropertyCSSValue('background').item(1).length is 3 49 PASS computedStyle.getPropertyCSSValue('background').item(1).length is 3
50 PASS computedStyle.getPropertyCSSValue('background').item(0).item(0).getRGBColor Value().red.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 255 50 PASS computedStyle.getPropertyCSSValue('background').item(0).item(0).getRGBColor Value().red.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 255
51 PASS computedStyle.getPropertyCSSValue('background').item(0).item(0).getRGBColor Value().green.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 0 51 PASS computedStyle.getPropertyCSSValue('background').item(0).item(0).getRGBColor Value().green.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 0
52 PASS computedStyle.getPropertyCSSValue('background').item(0).item(0).getRGBColor Value().blue.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 0 52 PASS computedStyle.getPropertyCSSValue('background').item(0).item(0).getRGBColor Value().blue.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 0
53 PASS computedStyle.getPropertyCSSValue('background').item(0).item(1).getStringVa lue() is 'dummy://test.png' 53 PASS computedStyle.getPropertyCSSValue('background').item(0).item(1).getStringVa lue() is 'dummy://test.png'
54 PASS computedStyle.getPropertyCSSValue('background').item(0).item(2).getStringVa lue() is 'no-repeat' 54 PASS computedStyle.getPropertyCSSValue('background').item(0).item(2).getStringVa lue() is 'no-repeat'
55 PASS computedStyle.getPropertyCSSValue('background').item(0).item(3).getStringVa lue() is 'scroll' 55 PASS computedStyle.getPropertyCSSValue('background').item(0).item(3).getStringVa lue() is 'scroll'
56 PASS computedStyle.getPropertyCSSValue('background').item(0).item(4).toString() is '[object CSSValueList]' 56 PASS computedStyle.getPropertyCSSValue('background').item(0).item(4).toString() is '[object CSSValueList]'
57 PASS computedStyle.getPropertyCSSValue('background').item(0).item(4).item(0).get FloatValue(CSSPrimitiveValue.CSS_PERCENTAGE) is 0
58 PASS computedStyle.getPropertyCSSValue('background').item(0).item(4).item(1).get FloatValue(CSSPrimitiveValue.CSS_PERCENTAGE) is 0 57 PASS computedStyle.getPropertyCSSValue('background').item(0).item(4).item(1).get FloatValue(CSSPrimitiveValue.CSS_PERCENTAGE) is 0
58 PASS computedStyle.getPropertyCSSValue('background').item(0).item(4).item(3).get FloatValue(CSSPrimitiveValue.CSS_PERCENTAGE) is 0
59 PASS computedStyle.getPropertyCSSValue('background').item(1).item(0).getStringVa lue() is 'auto' 59 PASS computedStyle.getPropertyCSSValue('background').item(1).item(0).getStringVa lue() is 'auto'
60 PASS computedStyle.getPropertyCSSValue('background').item(1).item(1).getStringVa lue() is 'padding-box' 60 PASS computedStyle.getPropertyCSSValue('background').item(1).item(1).getStringVa lue() is 'padding-box'
61 PASS computedStyle.getPropertyCSSValue('background').item(1).item(2).getStringVa lue() is 'border-box' 61 PASS computedStyle.getPropertyCSSValue('background').item(1).item(2).getStringVa lue() is 'border-box'
62 PASS checkComputedStyleValue() is true 62 PASS checkComputedStyleValue() is true
63 PASS computedStyle.getPropertyValue('background') is 'rgb(255, 0, 0) url(dummy:/ /test.png) no-repeat fixed 0% 0% / auto padding-box border-box' 63 PASS computedStyle.getPropertyValue('background') is 'rgb(255, 0, 0) url(dummy:/ /test.png) no-repeat fixed left 0% top 0% / auto padding-box border-box'
64 PASS computedStyle.getPropertyCSSValue('background').toString() is '[object CSSV alueList]' 64 PASS computedStyle.getPropertyCSSValue('background').toString() is '[object CSSV alueList]'
65 PASS computedStyle.getPropertyCSSValue('background').cssText is 'rgb(255, 0, 0) url(dummy://test.png) no-repeat fixed 0% 0% / auto padding-box border-box' 65 PASS computedStyle.getPropertyCSSValue('background').cssText is 'rgb(255, 0, 0) url(dummy://test.png) no-repeat fixed left 0% top 0% / auto padding-box border-b ox'
66 PASS computedStyle.getPropertyCSSValue('background').length is 2 66 PASS computedStyle.getPropertyCSSValue('background').length is 2
67 PASS computedStyle.getPropertyCSSValue('background').item(0).length is 5 67 PASS computedStyle.getPropertyCSSValue('background').item(0).length is 5
68 PASS computedStyle.getPropertyCSSValue('background').item(1).length is 3 68 PASS computedStyle.getPropertyCSSValue('background').item(1).length is 3
69 PASS computedStyle.getPropertyCSSValue('background').item(0).item(0).getRGBColor Value().red.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 255 69 PASS computedStyle.getPropertyCSSValue('background').item(0).item(0).getRGBColor Value().red.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 255
70 PASS computedStyle.getPropertyCSSValue('background').item(0).item(0).getRGBColor Value().green.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 0 70 PASS computedStyle.getPropertyCSSValue('background').item(0).item(0).getRGBColor Value().green.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 0
71 PASS computedStyle.getPropertyCSSValue('background').item(0).item(0).getRGBColor Value().blue.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 0 71 PASS computedStyle.getPropertyCSSValue('background').item(0).item(0).getRGBColor Value().blue.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 0
72 PASS computedStyle.getPropertyCSSValue('background').item(0).item(1).getStringVa lue() is 'dummy://test.png' 72 PASS computedStyle.getPropertyCSSValue('background').item(0).item(1).getStringVa lue() is 'dummy://test.png'
73 PASS computedStyle.getPropertyCSSValue('background').item(0).item(2).getStringVa lue() is 'no-repeat' 73 PASS computedStyle.getPropertyCSSValue('background').item(0).item(2).getStringVa lue() is 'no-repeat'
74 PASS computedStyle.getPropertyCSSValue('background').item(0).item(3).getStringVa lue() is 'fixed' 74 PASS computedStyle.getPropertyCSSValue('background').item(0).item(3).getStringVa lue() is 'fixed'
75 PASS computedStyle.getPropertyCSSValue('background').item(0).item(4).toString() is '[object CSSValueList]' 75 PASS computedStyle.getPropertyCSSValue('background').item(0).item(4).toString() is '[object CSSValueList]'
76 PASS computedStyle.getPropertyCSSValue('background').item(0).item(4).item(0).get FloatValue(CSSPrimitiveValue.CSS_PERCENTAGE) is 0
77 PASS computedStyle.getPropertyCSSValue('background').item(0).item(4).item(1).get FloatValue(CSSPrimitiveValue.CSS_PERCENTAGE) is 0 76 PASS computedStyle.getPropertyCSSValue('background').item(0).item(4).item(1).get FloatValue(CSSPrimitiveValue.CSS_PERCENTAGE) is 0
77 PASS computedStyle.getPropertyCSSValue('background').item(0).item(4).item(3).get FloatValue(CSSPrimitiveValue.CSS_PERCENTAGE) is 0
78 PASS computedStyle.getPropertyCSSValue('background').item(1).item(0).getStringVa lue() is 'auto' 78 PASS computedStyle.getPropertyCSSValue('background').item(1).item(0).getStringVa lue() is 'auto'
79 PASS computedStyle.getPropertyCSSValue('background').item(1).item(1).getStringVa lue() is 'padding-box' 79 PASS computedStyle.getPropertyCSSValue('background').item(1).item(1).getStringVa lue() is 'padding-box'
80 PASS computedStyle.getPropertyCSSValue('background').item(1).item(2).getStringVa lue() is 'border-box' 80 PASS computedStyle.getPropertyCSSValue('background').item(1).item(2).getStringVa lue() is 'border-box'
81 PASS checkComputedStyleValue() is true 81 PASS checkComputedStyleValue() is true
82 PASS computedStyle.getPropertyValue('background') is 'rgb(255, 0, 0) url(dummy:/ /test.png) no-repeat fixed 100% 100% / auto padding-box border-box' 82 PASS computedStyle.getPropertyValue('background') is 'rgb(255, 0, 0) url(dummy:/ /test.png) no-repeat fixed left 100% top 100% / auto padding-box border-box'
83 PASS computedStyle.getPropertyCSSValue('background').toString() is '[object CSSV alueList]' 83 PASS computedStyle.getPropertyCSSValue('background').toString() is '[object CSSV alueList]'
84 PASS computedStyle.getPropertyCSSValue('background').cssText is 'rgb(255, 0, 0) url(dummy://test.png) no-repeat fixed 100% 100% / auto padding-box border-box' 84 PASS computedStyle.getPropertyCSSValue('background').cssText is 'rgb(255, 0, 0) url(dummy://test.png) no-repeat fixed left 100% top 100% / auto padding-box bord er-box'
85 PASS computedStyle.getPropertyCSSValue('background').length is 2 85 PASS computedStyle.getPropertyCSSValue('background').length is 2
86 PASS computedStyle.getPropertyCSSValue('background').item(0).length is 5 86 PASS computedStyle.getPropertyCSSValue('background').item(0).length is 5
87 PASS computedStyle.getPropertyCSSValue('background').item(1).length is 3 87 PASS computedStyle.getPropertyCSSValue('background').item(1).length is 3
88 PASS computedStyle.getPropertyCSSValue('background').item(0).item(0).getRGBColor Value().red.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 255 88 PASS computedStyle.getPropertyCSSValue('background').item(0).item(0).getRGBColor Value().red.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 255
89 PASS computedStyle.getPropertyCSSValue('background').item(0).item(0).getRGBColor Value().green.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 0 89 PASS computedStyle.getPropertyCSSValue('background').item(0).item(0).getRGBColor Value().green.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 0
90 PASS computedStyle.getPropertyCSSValue('background').item(0).item(0).getRGBColor Value().blue.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 0 90 PASS computedStyle.getPropertyCSSValue('background').item(0).item(0).getRGBColor Value().blue.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 0
91 PASS computedStyle.getPropertyCSSValue('background').item(0).item(1).getStringVa lue() is 'dummy://test.png' 91 PASS computedStyle.getPropertyCSSValue('background').item(0).item(1).getStringVa lue() is 'dummy://test.png'
92 PASS computedStyle.getPropertyCSSValue('background').item(0).item(2).getStringVa lue() is 'no-repeat' 92 PASS computedStyle.getPropertyCSSValue('background').item(0).item(2).getStringVa lue() is 'no-repeat'
93 PASS computedStyle.getPropertyCSSValue('background').item(0).item(3).getStringVa lue() is 'fixed' 93 PASS computedStyle.getPropertyCSSValue('background').item(0).item(3).getStringVa lue() is 'fixed'
94 PASS computedStyle.getPropertyCSSValue('background').item(0).item(4).toString() is '[object CSSValueList]' 94 PASS computedStyle.getPropertyCSSValue('background').item(0).item(4).toString() is '[object CSSValueList]'
95 PASS computedStyle.getPropertyCSSValue('background').item(0).item(4).item(0).get FloatValue(CSSPrimitiveValue.CSS_PERCENTAGE) is 100
96 PASS computedStyle.getPropertyCSSValue('background').item(0).item(4).item(1).get FloatValue(CSSPrimitiveValue.CSS_PERCENTAGE) is 100 95 PASS computedStyle.getPropertyCSSValue('background').item(0).item(4).item(1).get FloatValue(CSSPrimitiveValue.CSS_PERCENTAGE) is 100
96 PASS computedStyle.getPropertyCSSValue('background').item(0).item(4).item(3).get FloatValue(CSSPrimitiveValue.CSS_PERCENTAGE) is 100
97 PASS computedStyle.getPropertyCSSValue('background').item(1).item(0).getStringVa lue() is 'auto' 97 PASS computedStyle.getPropertyCSSValue('background').item(1).item(0).getStringVa lue() is 'auto'
98 PASS computedStyle.getPropertyCSSValue('background').item(1).item(1).getStringVa lue() is 'padding-box' 98 PASS computedStyle.getPropertyCSSValue('background').item(1).item(1).getStringVa lue() is 'padding-box'
99 PASS computedStyle.getPropertyCSSValue('background').item(1).item(2).getStringVa lue() is 'border-box' 99 PASS computedStyle.getPropertyCSSValue('background').item(1).item(2).getStringVa lue() is 'border-box'
100 PASS checkComputedStyleValue() is true 100 PASS checkComputedStyleValue() is true
101 PASS computedStyle.getPropertyValue('background') is 'rgb(255, 0, 0) url(dummy:/ /test.png) no-repeat fixed 100% 100% / cover padding-box border-box' 101 PASS computedStyle.getPropertyValue('background') is 'rgb(255, 0, 0) url(dummy:/ /test.png) no-repeat fixed left 100% top 100% / cover padding-box border-box'
102 PASS computedStyle.getPropertyCSSValue('background').toString() is '[object CSSV alueList]' 102 PASS computedStyle.getPropertyCSSValue('background').toString() is '[object CSSV alueList]'
103 PASS computedStyle.getPropertyCSSValue('background').cssText is 'rgb(255, 0, 0) url(dummy://test.png) no-repeat fixed 100% 100% / cover padding-box border-box' 103 PASS computedStyle.getPropertyCSSValue('background').cssText is 'rgb(255, 0, 0) url(dummy://test.png) no-repeat fixed left 100% top 100% / cover padding-box bor der-box'
104 PASS computedStyle.getPropertyCSSValue('background').length is 2 104 PASS computedStyle.getPropertyCSSValue('background').length is 2
105 PASS computedStyle.getPropertyCSSValue('background').item(0).length is 5 105 PASS computedStyle.getPropertyCSSValue('background').item(0).length is 5
106 PASS computedStyle.getPropertyCSSValue('background').item(1).length is 3 106 PASS computedStyle.getPropertyCSSValue('background').item(1).length is 3
107 PASS computedStyle.getPropertyCSSValue('background').item(0).item(0).getRGBColor Value().red.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 255 107 PASS computedStyle.getPropertyCSSValue('background').item(0).item(0).getRGBColor Value().red.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 255
108 PASS computedStyle.getPropertyCSSValue('background').item(0).item(0).getRGBColor Value().green.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 0 108 PASS computedStyle.getPropertyCSSValue('background').item(0).item(0).getRGBColor Value().green.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 0
109 PASS computedStyle.getPropertyCSSValue('background').item(0).item(0).getRGBColor Value().blue.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 0 109 PASS computedStyle.getPropertyCSSValue('background').item(0).item(0).getRGBColor Value().blue.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 0
110 PASS computedStyle.getPropertyCSSValue('background').item(0).item(1).getStringVa lue() is 'dummy://test.png' 110 PASS computedStyle.getPropertyCSSValue('background').item(0).item(1).getStringVa lue() is 'dummy://test.png'
111 PASS computedStyle.getPropertyCSSValue('background').item(0).item(2).getStringVa lue() is 'no-repeat' 111 PASS computedStyle.getPropertyCSSValue('background').item(0).item(2).getStringVa lue() is 'no-repeat'
112 PASS computedStyle.getPropertyCSSValue('background').item(0).item(3).getStringVa lue() is 'fixed' 112 PASS computedStyle.getPropertyCSSValue('background').item(0).item(3).getStringVa lue() is 'fixed'
113 PASS computedStyle.getPropertyCSSValue('background').item(0).item(4).toString() is '[object CSSValueList]' 113 PASS computedStyle.getPropertyCSSValue('background').item(0).item(4).toString() is '[object CSSValueList]'
114 PASS computedStyle.getPropertyCSSValue('background').item(0).item(4).item(0).get FloatValue(CSSPrimitiveValue.CSS_PERCENTAGE) is 100
115 PASS computedStyle.getPropertyCSSValue('background').item(0).item(4).item(1).get FloatValue(CSSPrimitiveValue.CSS_PERCENTAGE) is 100 114 PASS computedStyle.getPropertyCSSValue('background').item(0).item(4).item(1).get FloatValue(CSSPrimitiveValue.CSS_PERCENTAGE) is 100
115 PASS computedStyle.getPropertyCSSValue('background').item(0).item(4).item(3).get FloatValue(CSSPrimitiveValue.CSS_PERCENTAGE) is 100
116 PASS computedStyle.getPropertyCSSValue('background').item(1).item(0).getStringVa lue() is 'cover' 116 PASS computedStyle.getPropertyCSSValue('background').item(1).item(0).getStringVa lue() is 'cover'
117 PASS computedStyle.getPropertyCSSValue('background').item(1).item(1).getStringVa lue() is 'padding-box' 117 PASS computedStyle.getPropertyCSSValue('background').item(1).item(1).getStringVa lue() is 'padding-box'
118 PASS computedStyle.getPropertyCSSValue('background').item(1).item(2).getStringVa lue() is 'border-box' 118 PASS computedStyle.getPropertyCSSValue('background').item(1).item(2).getStringVa lue() is 'border-box'
119 PASS checkComputedStyleValue() is true 119 PASS checkComputedStyleValue() is true
120 PASS computedStyle.getPropertyValue('background') is 'rgb(255, 0, 0) url(dummy:/ /test.png) no-repeat fixed 100% 100% / cover content-box border-box' 120 PASS computedStyle.getPropertyValue('background') is 'rgb(255, 0, 0) url(dummy:/ /test.png) no-repeat fixed left 100% top 100% / cover content-box border-box'
121 PASS computedStyle.getPropertyCSSValue('background').toString() is '[object CSSV alueList]' 121 PASS computedStyle.getPropertyCSSValue('background').toString() is '[object CSSV alueList]'
122 PASS computedStyle.getPropertyCSSValue('background').cssText is 'rgb(255, 0, 0) url(dummy://test.png) no-repeat fixed 100% 100% / cover content-box border-box' 122 PASS computedStyle.getPropertyCSSValue('background').cssText is 'rgb(255, 0, 0) url(dummy://test.png) no-repeat fixed left 100% top 100% / cover content-box bor der-box'
123 PASS computedStyle.getPropertyCSSValue('background').length is 2 123 PASS computedStyle.getPropertyCSSValue('background').length is 2
124 PASS computedStyle.getPropertyCSSValue('background').item(0).length is 5 124 PASS computedStyle.getPropertyCSSValue('background').item(0).length is 5
125 PASS computedStyle.getPropertyCSSValue('background').item(1).length is 3 125 PASS computedStyle.getPropertyCSSValue('background').item(1).length is 3
126 PASS computedStyle.getPropertyCSSValue('background').item(0).item(0).getRGBColor Value().red.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 255 126 PASS computedStyle.getPropertyCSSValue('background').item(0).item(0).getRGBColor Value().red.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 255
127 PASS computedStyle.getPropertyCSSValue('background').item(0).item(0).getRGBColor Value().green.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 0 127 PASS computedStyle.getPropertyCSSValue('background').item(0).item(0).getRGBColor Value().green.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 0
128 PASS computedStyle.getPropertyCSSValue('background').item(0).item(0).getRGBColor Value().blue.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 0 128 PASS computedStyle.getPropertyCSSValue('background').item(0).item(0).getRGBColor Value().blue.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 0
129 PASS computedStyle.getPropertyCSSValue('background').item(0).item(1).getStringVa lue() is 'dummy://test.png' 129 PASS computedStyle.getPropertyCSSValue('background').item(0).item(1).getStringVa lue() is 'dummy://test.png'
130 PASS computedStyle.getPropertyCSSValue('background').item(0).item(2).getStringVa lue() is 'no-repeat' 130 PASS computedStyle.getPropertyCSSValue('background').item(0).item(2).getStringVa lue() is 'no-repeat'
131 PASS computedStyle.getPropertyCSSValue('background').item(0).item(3).getStringVa lue() is 'fixed' 131 PASS computedStyle.getPropertyCSSValue('background').item(0).item(3).getStringVa lue() is 'fixed'
132 PASS computedStyle.getPropertyCSSValue('background').item(0).item(4).toString() is '[object CSSValueList]' 132 PASS computedStyle.getPropertyCSSValue('background').item(0).item(4).toString() is '[object CSSValueList]'
133 PASS computedStyle.getPropertyCSSValue('background').item(0).item(4).item(0).get FloatValue(CSSPrimitiveValue.CSS_PERCENTAGE) is 100
134 PASS computedStyle.getPropertyCSSValue('background').item(0).item(4).item(1).get FloatValue(CSSPrimitiveValue.CSS_PERCENTAGE) is 100 133 PASS computedStyle.getPropertyCSSValue('background').item(0).item(4).item(1).get FloatValue(CSSPrimitiveValue.CSS_PERCENTAGE) is 100
134 PASS computedStyle.getPropertyCSSValue('background').item(0).item(4).item(3).get FloatValue(CSSPrimitiveValue.CSS_PERCENTAGE) is 100
135 PASS computedStyle.getPropertyCSSValue('background').item(1).item(0).getStringVa lue() is 'cover' 135 PASS computedStyle.getPropertyCSSValue('background').item(1).item(0).getStringVa lue() is 'cover'
136 PASS computedStyle.getPropertyCSSValue('background').item(1).item(1).getStringVa lue() is 'content-box' 136 PASS computedStyle.getPropertyCSSValue('background').item(1).item(1).getStringVa lue() is 'content-box'
137 PASS computedStyle.getPropertyCSSValue('background').item(1).item(2).getStringVa lue() is 'border-box' 137 PASS computedStyle.getPropertyCSSValue('background').item(1).item(2).getStringVa lue() is 'border-box'
138 PASS checkComputedStyleValue() is true 138 PASS checkComputedStyleValue() is true
139 PASS computedStyle.getPropertyValue('background') is 'rgb(255, 0, 0) url(dummy:/ /test.png) no-repeat fixed 100% 100% / cover content-box padding-box' 139 PASS computedStyle.getPropertyValue('background') is 'rgb(255, 0, 0) url(dummy:/ /test.png) no-repeat fixed left 100% top 100% / cover content-box padding-box'
140 PASS computedStyle.getPropertyCSSValue('background').toString() is '[object CSSV alueList]' 140 PASS computedStyle.getPropertyCSSValue('background').toString() is '[object CSSV alueList]'
141 PASS computedStyle.getPropertyCSSValue('background').cssText is 'rgb(255, 0, 0) url(dummy://test.png) no-repeat fixed 100% 100% / cover content-box padding-box' 141 PASS computedStyle.getPropertyCSSValue('background').cssText is 'rgb(255, 0, 0) url(dummy://test.png) no-repeat fixed left 100% top 100% / cover content-box pad ding-box'
142 PASS computedStyle.getPropertyCSSValue('background').length is 2 142 PASS computedStyle.getPropertyCSSValue('background').length is 2
143 PASS computedStyle.getPropertyCSSValue('background').item(0).length is 5 143 PASS computedStyle.getPropertyCSSValue('background').item(0).length is 5
144 PASS computedStyle.getPropertyCSSValue('background').item(1).length is 3 144 PASS computedStyle.getPropertyCSSValue('background').item(1).length is 3
145 PASS computedStyle.getPropertyCSSValue('background').item(0).item(0).getRGBColor Value().red.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 255 145 PASS computedStyle.getPropertyCSSValue('background').item(0).item(0).getRGBColor Value().red.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 255
146 PASS computedStyle.getPropertyCSSValue('background').item(0).item(0).getRGBColor Value().green.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 0 146 PASS computedStyle.getPropertyCSSValue('background').item(0).item(0).getRGBColor Value().green.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 0
147 PASS computedStyle.getPropertyCSSValue('background').item(0).item(0).getRGBColor Value().blue.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 0 147 PASS computedStyle.getPropertyCSSValue('background').item(0).item(0).getRGBColor Value().blue.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 0
148 PASS computedStyle.getPropertyCSSValue('background').item(0).item(1).getStringVa lue() is 'dummy://test.png' 148 PASS computedStyle.getPropertyCSSValue('background').item(0).item(1).getStringVa lue() is 'dummy://test.png'
149 PASS computedStyle.getPropertyCSSValue('background').item(0).item(2).getStringVa lue() is 'no-repeat' 149 PASS computedStyle.getPropertyCSSValue('background').item(0).item(2).getStringVa lue() is 'no-repeat'
150 PASS computedStyle.getPropertyCSSValue('background').item(0).item(3).getStringVa lue() is 'fixed' 150 PASS computedStyle.getPropertyCSSValue('background').item(0).item(3).getStringVa lue() is 'fixed'
151 PASS computedStyle.getPropertyCSSValue('background').item(0).item(4).toString() is '[object CSSValueList]' 151 PASS computedStyle.getPropertyCSSValue('background').item(0).item(4).toString() is '[object CSSValueList]'
152 PASS computedStyle.getPropertyCSSValue('background').item(0).item(4).item(0).get FloatValue(CSSPrimitiveValue.CSS_PERCENTAGE) is 100
153 PASS computedStyle.getPropertyCSSValue('background').item(0).item(4).item(1).get FloatValue(CSSPrimitiveValue.CSS_PERCENTAGE) is 100 152 PASS computedStyle.getPropertyCSSValue('background').item(0).item(4).item(1).get FloatValue(CSSPrimitiveValue.CSS_PERCENTAGE) is 100
153 PASS computedStyle.getPropertyCSSValue('background').item(0).item(4).item(3).get FloatValue(CSSPrimitiveValue.CSS_PERCENTAGE) is 100
154 PASS computedStyle.getPropertyCSSValue('background').item(1).item(0).getStringVa lue() is 'cover' 154 PASS computedStyle.getPropertyCSSValue('background').item(1).item(0).getStringVa lue() is 'cover'
155 PASS computedStyle.getPropertyCSSValue('background').item(1).item(1).getStringVa lue() is 'content-box' 155 PASS computedStyle.getPropertyCSSValue('background').item(1).item(1).getStringVa lue() is 'content-box'
156 PASS computedStyle.getPropertyCSSValue('background').item(1).item(2).getStringVa lue() is 'padding-box' 156 PASS computedStyle.getPropertyCSSValue('background').item(1).item(2).getStringVa lue() is 'padding-box'
157 PASS checkComputedStyleValue() is true 157 PASS checkComputedStyleValue() is true
158 PASS computedStyle.getPropertyValue('background') is 'rgb(0, 128, 0) url(dummy:/ /test.png) repeat fixed 45% 50% / contain border-box padding-box' 158 PASS computedStyle.getPropertyValue('background') is 'rgb(0, 128, 0) url(dummy:/ /test.png) repeat fixed left 45% top 50% / contain border-box padding-box'
159 PASS computedStyle.getPropertyCSSValue('background').toString() is '[object CSSV alueList]' 159 PASS computedStyle.getPropertyCSSValue('background').toString() is '[object CSSV alueList]'
160 PASS computedStyle.getPropertyCSSValue('background').cssText is 'rgb(0, 128, 0) url(dummy://test.png) repeat fixed 45% 50% / contain border-box padding-box' 160 PASS computedStyle.getPropertyCSSValue('background').cssText is 'rgb(0, 128, 0) url(dummy://test.png) repeat fixed left 45% top 50% / contain border-box padding -box'
161 PASS computedStyle.getPropertyCSSValue('background').length is 2 161 PASS computedStyle.getPropertyCSSValue('background').length is 2
162 PASS computedStyle.getPropertyCSSValue('background').item(0).length is 5 162 PASS computedStyle.getPropertyCSSValue('background').item(0).length is 5
163 PASS computedStyle.getPropertyCSSValue('background').item(1).length is 3 163 PASS computedStyle.getPropertyCSSValue('background').item(1).length is 3
164 PASS computedStyle.getPropertyCSSValue('background').item(0).item(0).getRGBColor Value().red.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 0 164 PASS computedStyle.getPropertyCSSValue('background').item(0).item(0).getRGBColor Value().red.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 0
165 PASS computedStyle.getPropertyCSSValue('background').item(0).item(0).getRGBColor Value().green.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 128 165 PASS computedStyle.getPropertyCSSValue('background').item(0).item(0).getRGBColor Value().green.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 128
166 PASS computedStyle.getPropertyCSSValue('background').item(0).item(0).getRGBColor Value().blue.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 0 166 PASS computedStyle.getPropertyCSSValue('background').item(0).item(0).getRGBColor Value().blue.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 0
167 PASS computedStyle.getPropertyCSSValue('background').item(0).item(1).getStringVa lue() is 'dummy://test.png' 167 PASS computedStyle.getPropertyCSSValue('background').item(0).item(1).getStringVa lue() is 'dummy://test.png'
168 PASS computedStyle.getPropertyCSSValue('background').item(0).item(2).getStringVa lue() is 'repeat' 168 PASS computedStyle.getPropertyCSSValue('background').item(0).item(2).getStringVa lue() is 'repeat'
169 PASS computedStyle.getPropertyCSSValue('background').item(0).item(3).getStringVa lue() is 'fixed' 169 PASS computedStyle.getPropertyCSSValue('background').item(0).item(3).getStringVa lue() is 'fixed'
170 PASS computedStyle.getPropertyCSSValue('background').item(0).item(4).toString() is '[object CSSValueList]' 170 PASS computedStyle.getPropertyCSSValue('background').item(0).item(4).toString() is '[object CSSValueList]'
171 PASS computedStyle.getPropertyCSSValue('background').item(0).item(4).item(0).get FloatValue(CSSPrimitiveValue.CSS_PERCENTAGE) is 45 171 PASS computedStyle.getPropertyCSSValue('background').item(0).item(4).item(1).get FloatValue(CSSPrimitiveValue.CSS_PERCENTAGE) is 45
172 PASS computedStyle.getPropertyCSSValue('background').item(0).item(4).item(1).get FloatValue(CSSPrimitiveValue.CSS_PERCENTAGE) is 50 172 PASS computedStyle.getPropertyCSSValue('background').item(0).item(4).item(3).get FloatValue(CSSPrimitiveValue.CSS_PERCENTAGE) is 50
173 PASS computedStyle.getPropertyCSSValue('background').item(1).item(0).getStringVa lue() is 'contain' 173 PASS computedStyle.getPropertyCSSValue('background').item(1).item(0).getStringVa lue() is 'contain'
174 PASS computedStyle.getPropertyCSSValue('background').item(1).item(1).getStringVa lue() is 'border-box' 174 PASS computedStyle.getPropertyCSSValue('background').item(1).item(1).getStringVa lue() is 'border-box'
175 PASS computedStyle.getPropertyCSSValue('background').item(1).item(2).getStringVa lue() is 'padding-box' 175 PASS computedStyle.getPropertyCSSValue('background').item(1).item(2).getStringVa lue() is 'padding-box'
176 PASS checkComputedStyleValue() is true 176 PASS checkComputedStyleValue() is true
177 PASS successfullyParsed is true 177 PASS successfullyParsed is true
178 178
179 TEST COMPLETE 179 TEST COMPLETE
180 180
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698