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

Side by Side Diff: LayoutTests/css3/compositing/background-blend-mode-property-parsing-expected.txt

Issue 15012010: Remove the CSS_COMPOSITING define, leaving the implementation under the runtime flag, since runtime… (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: removed bogus test 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 the parsing of the background-blend-mode property. 1 Test the parsing of the background-blend-mode property.
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 6
7 Basic reference : normal 7 Basic reference : normal
8 PASS cssRule.type is 1 8 PASS cssRule.type is 1
9 FAIL declaration.length should be 1. Was 0. 9 PASS declaration.length is 1
10 FAIL declaration.getPropertyValue('background-blend-mode') should be normal (of type string). Was null (of type object). 10 PASS declaration.getPropertyValue('background-blend-mode') is 'normal'
11 FAIL jsWrapperClass(blendModeRule) should be CSSPrimitiveValue. Was [null]. 11 PASS jsWrapperClass(blendModeRule) is 'CSSPrimitiveValue'
12 FAIL jsWrapperClass(blendModeRule.__proto__) should be CSSPrimitiveValuePrototyp e. Threw exception TypeError: Cannot read property '__proto__' of null 12 PASS jsWrapperClass(blendModeRule.__proto__) is 'Object'
13 FAIL jsWrapperClass(blendModeRule.constructor) should be CSSPrimitiveValueConstr uctor. Threw exception TypeError: Cannot read property 'constructor' of null 13 PASS jsWrapperClass(blendModeRule.constructor) is 'Function'
14 14
15 Basic reference : multiply, screen 15 Basic reference : multiply, screen
16 PASS cssRule.type is 1 16 PASS cssRule.type is 1
17 FAIL declaration.length should be 1. Was 0. 17 PASS declaration.length is 1
18 FAIL declaration.getPropertyValue('background-blend-mode') should be multiply, s creen (of type string). Was null (of type object). 18 PASS declaration.getPropertyValue('background-blend-mode') is 'multiply, screen'
19 FAIL jsWrapperClass(blendModeRule) should be CSSValueList. Was [null]. 19 PASS jsWrapperClass(blendModeRule) is 'CSSValueList'
20 FAIL jsWrapperClass(blendModeRule.__proto__) should be CSSValueListPrototype. Th rew exception TypeError: Cannot read property '__proto__' of null 20 PASS jsWrapperClass(blendModeRule.__proto__) is 'Object'
21 FAIL jsWrapperClass(blendModeRule.constructor) should be CSSValueListConstructor . Threw exception TypeError: Cannot read property 'constructor' of null 21 PASS jsWrapperClass(blendModeRule.constructor) is 'Function'
22 22
23 Basic reference : screen, hue 23 Basic reference : screen, hue
24 PASS cssRule.type is 1 24 PASS cssRule.type is 1
25 FAIL declaration.length should be 1. Was 0. 25 PASS declaration.length is 1
26 FAIL declaration.getPropertyValue('background-blend-mode') should be screen, hue (of type string). Was null (of type object). 26 PASS declaration.getPropertyValue('background-blend-mode') is 'screen, hue'
27 FAIL jsWrapperClass(blendModeRule) should be CSSValueList. Was [null]. 27 PASS jsWrapperClass(blendModeRule) is 'CSSValueList'
28 FAIL jsWrapperClass(blendModeRule.__proto__) should be CSSValueListPrototype. Th rew exception TypeError: Cannot read property '__proto__' of null 28 PASS jsWrapperClass(blendModeRule.__proto__) is 'Object'
29 FAIL jsWrapperClass(blendModeRule.constructor) should be CSSValueListConstructor . Threw exception TypeError: Cannot read property 'constructor' of null 29 PASS jsWrapperClass(blendModeRule.constructor) is 'Function'
30 30
31 Basic reference : overlay, normal 31 Basic reference : overlay, normal
32 PASS cssRule.type is 1 32 PASS cssRule.type is 1
33 FAIL declaration.length should be 1. Was 0. 33 PASS declaration.length is 1
34 FAIL declaration.getPropertyValue('background-blend-mode') should be overlay, no rmal (of type string). Was null (of type object). 34 PASS declaration.getPropertyValue('background-blend-mode') is 'overlay, normal'
35 FAIL jsWrapperClass(blendModeRule) should be CSSValueList. Was [null]. 35 PASS jsWrapperClass(blendModeRule) is 'CSSValueList'
36 FAIL jsWrapperClass(blendModeRule.__proto__) should be CSSValueListPrototype. Th rew exception TypeError: Cannot read property '__proto__' of null 36 PASS jsWrapperClass(blendModeRule.__proto__) is 'Object'
37 FAIL jsWrapperClass(blendModeRule.constructor) should be CSSValueListConstructor . Threw exception TypeError: Cannot read property 'constructor' of null 37 PASS jsWrapperClass(blendModeRule.constructor) is 'Function'
38 38
39 Basic reference : darken, lighten, normal, luminosity 39 Basic reference : darken, lighten, normal, luminosity
40 PASS cssRule.type is 1 40 PASS cssRule.type is 1
41 FAIL declaration.length should be 1. Was 0. 41 PASS declaration.length is 1
42 FAIL declaration.getPropertyValue('background-blend-mode') should be darken, lig hten, normal, luminosity (of type string). Was null (of type object). 42 PASS declaration.getPropertyValue('background-blend-mode') is 'darken, lighten, normal, luminosity'
43 FAIL jsWrapperClass(blendModeRule) should be CSSValueList. Was [null]. 43 PASS jsWrapperClass(blendModeRule) is 'CSSValueList'
44 FAIL jsWrapperClass(blendModeRule.__proto__) should be CSSValueListPrototype. Th rew exception TypeError: Cannot read property '__proto__' of null 44 PASS jsWrapperClass(blendModeRule.__proto__) is 'Object'
45 FAIL jsWrapperClass(blendModeRule.constructor) should be CSSValueListConstructor . Threw exception TypeError: Cannot read property 'constructor' of null 45 PASS jsWrapperClass(blendModeRule.constructor) is 'Function'
46 46
47 Basic reference : lighten 47 Basic reference : lighten
48 PASS cssRule.type is 1 48 PASS cssRule.type is 1
49 FAIL declaration.length should be 1. Was 0. 49 PASS declaration.length is 1
50 FAIL declaration.getPropertyValue('background-blend-mode') should be lighten (of type string). Was null (of type object). 50 PASS declaration.getPropertyValue('background-blend-mode') is 'lighten'
51 FAIL jsWrapperClass(blendModeRule) should be CSSPrimitiveValue. Was [null]. 51 PASS jsWrapperClass(blendModeRule) is 'CSSPrimitiveValue'
52 FAIL jsWrapperClass(blendModeRule.__proto__) should be CSSPrimitiveValuePrototyp e. Threw exception TypeError: Cannot read property '__proto__' of null 52 PASS jsWrapperClass(blendModeRule.__proto__) is 'Object'
53 FAIL jsWrapperClass(blendModeRule.constructor) should be CSSPrimitiveValueConstr uctor. Threw exception TypeError: Cannot read property 'constructor' of null 53 PASS jsWrapperClass(blendModeRule.constructor) is 'Function'
54 54
55 Basic reference : color-dodge 55 Basic reference : color-dodge
56 PASS cssRule.type is 1 56 PASS cssRule.type is 1
57 FAIL declaration.length should be 1. Was 0. 57 PASS declaration.length is 1
58 FAIL declaration.getPropertyValue('background-blend-mode') should be color-dodge (of type string). Was null (of type object). 58 PASS declaration.getPropertyValue('background-blend-mode') is 'color-dodge'
59 FAIL jsWrapperClass(blendModeRule) should be CSSPrimitiveValue. Was [null]. 59 PASS jsWrapperClass(blendModeRule) is 'CSSPrimitiveValue'
60 FAIL jsWrapperClass(blendModeRule.__proto__) should be CSSPrimitiveValuePrototyp e. Threw exception TypeError: Cannot read property '__proto__' of null 60 PASS jsWrapperClass(blendModeRule.__proto__) is 'Object'
61 FAIL jsWrapperClass(blendModeRule.constructor) should be CSSPrimitiveValueConstr uctor. Threw exception TypeError: Cannot read property 'constructor' of null 61 PASS jsWrapperClass(blendModeRule.constructor) is 'Function'
62 62
63 Basic reference : color-burn 63 Basic reference : color-burn
64 PASS cssRule.type is 1 64 PASS cssRule.type is 1
65 FAIL declaration.length should be 1. Was 0. 65 PASS declaration.length is 1
66 FAIL declaration.getPropertyValue('background-blend-mode') should be color-burn (of type string). Was null (of type object). 66 PASS declaration.getPropertyValue('background-blend-mode') is 'color-burn'
67 FAIL jsWrapperClass(blendModeRule) should be CSSPrimitiveValue. Was [null]. 67 PASS jsWrapperClass(blendModeRule) is 'CSSPrimitiveValue'
68 FAIL jsWrapperClass(blendModeRule.__proto__) should be CSSPrimitiveValuePrototyp e. Threw exception TypeError: Cannot read property '__proto__' of null 68 PASS jsWrapperClass(blendModeRule.__proto__) is 'Object'
69 FAIL jsWrapperClass(blendModeRule.constructor) should be CSSPrimitiveValueConstr uctor. Threw exception TypeError: Cannot read property 'constructor' of null 69 PASS jsWrapperClass(blendModeRule.constructor) is 'Function'
70 70
71 Basic reference : hard-light 71 Basic reference : hard-light
72 PASS cssRule.type is 1 72 PASS cssRule.type is 1
73 FAIL declaration.length should be 1. Was 0. 73 PASS declaration.length is 1
74 FAIL declaration.getPropertyValue('background-blend-mode') should be hard-light (of type string). Was null (of type object). 74 PASS declaration.getPropertyValue('background-blend-mode') is 'hard-light'
75 FAIL jsWrapperClass(blendModeRule) should be CSSPrimitiveValue. Was [null]. 75 PASS jsWrapperClass(blendModeRule) is 'CSSPrimitiveValue'
76 FAIL jsWrapperClass(blendModeRule.__proto__) should be CSSPrimitiveValuePrototyp e. Threw exception TypeError: Cannot read property '__proto__' of null 76 PASS jsWrapperClass(blendModeRule.__proto__) is 'Object'
77 FAIL jsWrapperClass(blendModeRule.constructor) should be CSSPrimitiveValueConstr uctor. Threw exception TypeError: Cannot read property 'constructor' of null 77 PASS jsWrapperClass(blendModeRule.constructor) is 'Function'
78 78
79 Basic reference : soft-light 79 Basic reference : soft-light
80 PASS cssRule.type is 1 80 PASS cssRule.type is 1
81 FAIL declaration.length should be 1. Was 0. 81 PASS declaration.length is 1
82 FAIL declaration.getPropertyValue('background-blend-mode') should be soft-light (of type string). Was null (of type object). 82 PASS declaration.getPropertyValue('background-blend-mode') is 'soft-light'
83 FAIL jsWrapperClass(blendModeRule) should be CSSPrimitiveValue. Was [null]. 83 PASS jsWrapperClass(blendModeRule) is 'CSSPrimitiveValue'
84 FAIL jsWrapperClass(blendModeRule.__proto__) should be CSSPrimitiveValuePrototyp e. Threw exception TypeError: Cannot read property '__proto__' of null 84 PASS jsWrapperClass(blendModeRule.__proto__) is 'Object'
85 FAIL jsWrapperClass(blendModeRule.constructor) should be CSSPrimitiveValueConstr uctor. Threw exception TypeError: Cannot read property 'constructor' of null 85 PASS jsWrapperClass(blendModeRule.constructor) is 'Function'
86 86
87 Basic reference : difference 87 Basic reference : difference
88 PASS cssRule.type is 1 88 PASS cssRule.type is 1
89 FAIL declaration.length should be 1. Was 0. 89 PASS declaration.length is 1
90 FAIL declaration.getPropertyValue('background-blend-mode') should be difference (of type string). Was null (of type object). 90 PASS declaration.getPropertyValue('background-blend-mode') is 'difference'
91 FAIL jsWrapperClass(blendModeRule) should be CSSPrimitiveValue. Was [null]. 91 PASS jsWrapperClass(blendModeRule) is 'CSSPrimitiveValue'
92 FAIL jsWrapperClass(blendModeRule.__proto__) should be CSSPrimitiveValuePrototyp e. Threw exception TypeError: Cannot read property '__proto__' of null 92 PASS jsWrapperClass(blendModeRule.__proto__) is 'Object'
93 FAIL jsWrapperClass(blendModeRule.constructor) should be CSSPrimitiveValueConstr uctor. Threw exception TypeError: Cannot read property 'constructor' of null 93 PASS jsWrapperClass(blendModeRule.constructor) is 'Function'
94 94
95 Basic reference : exclusion 95 Basic reference : exclusion
96 PASS cssRule.type is 1 96 PASS cssRule.type is 1
97 FAIL declaration.length should be 1. Was 0. 97 PASS declaration.length is 1
98 FAIL declaration.getPropertyValue('background-blend-mode') should be exclusion ( of type string). Was null (of type object). 98 PASS declaration.getPropertyValue('background-blend-mode') is 'exclusion'
99 FAIL jsWrapperClass(blendModeRule) should be CSSPrimitiveValue. Was [null]. 99 PASS jsWrapperClass(blendModeRule) is 'CSSPrimitiveValue'
100 FAIL jsWrapperClass(blendModeRule.__proto__) should be CSSPrimitiveValuePrototyp e. Threw exception TypeError: Cannot read property '__proto__' of null 100 PASS jsWrapperClass(blendModeRule.__proto__) is 'Object'
101 FAIL jsWrapperClass(blendModeRule.constructor) should be CSSPrimitiveValueConstr uctor. Threw exception TypeError: Cannot read property 'constructor' of null 101 PASS jsWrapperClass(blendModeRule.constructor) is 'Function'
102 102
103 Basic reference : hue 103 Basic reference : hue
104 PASS cssRule.type is 1 104 PASS cssRule.type is 1
105 FAIL declaration.length should be 1. Was 0. 105 PASS declaration.length is 1
106 FAIL declaration.getPropertyValue('background-blend-mode') should be hue (of typ e string). Was null (of type object). 106 PASS declaration.getPropertyValue('background-blend-mode') is 'hue'
107 FAIL jsWrapperClass(blendModeRule) should be CSSPrimitiveValue. Was [null]. 107 PASS jsWrapperClass(blendModeRule) is 'CSSPrimitiveValue'
108 FAIL jsWrapperClass(blendModeRule.__proto__) should be CSSPrimitiveValuePrototyp e. Threw exception TypeError: Cannot read property '__proto__' of null 108 PASS jsWrapperClass(blendModeRule.__proto__) is 'Object'
109 FAIL jsWrapperClass(blendModeRule.constructor) should be CSSPrimitiveValueConstr uctor. Threw exception TypeError: Cannot read property 'constructor' of null 109 PASS jsWrapperClass(blendModeRule.constructor) is 'Function'
110 110
111 Basic reference : saturation 111 Basic reference : saturation
112 PASS cssRule.type is 1 112 PASS cssRule.type is 1
113 FAIL declaration.length should be 1. Was 0. 113 PASS declaration.length is 1
114 FAIL declaration.getPropertyValue('background-blend-mode') should be saturation (of type string). Was null (of type object). 114 PASS declaration.getPropertyValue('background-blend-mode') is 'saturation'
115 FAIL jsWrapperClass(blendModeRule) should be CSSPrimitiveValue. Was [null]. 115 PASS jsWrapperClass(blendModeRule) is 'CSSPrimitiveValue'
116 FAIL jsWrapperClass(blendModeRule.__proto__) should be CSSPrimitiveValuePrototyp e. Threw exception TypeError: Cannot read property '__proto__' of null 116 PASS jsWrapperClass(blendModeRule.__proto__) is 'Object'
117 FAIL jsWrapperClass(blendModeRule.constructor) should be CSSPrimitiveValueConstr uctor. Threw exception TypeError: Cannot read property 'constructor' of null 117 PASS jsWrapperClass(blendModeRule.constructor) is 'Function'
118 118
119 Basic reference : color 119 Basic reference : color
120 PASS cssRule.type is 1 120 PASS cssRule.type is 1
121 FAIL declaration.length should be 1. Was 0. 121 PASS declaration.length is 1
122 FAIL declaration.getPropertyValue('background-blend-mode') should be color (of t ype string). Was null (of type object). 122 PASS declaration.getPropertyValue('background-blend-mode') is 'color'
123 FAIL jsWrapperClass(blendModeRule) should be CSSPrimitiveValue. Was [null]. 123 PASS jsWrapperClass(blendModeRule) is 'CSSPrimitiveValue'
124 FAIL jsWrapperClass(blendModeRule.__proto__) should be CSSPrimitiveValuePrototyp e. Threw exception TypeError: Cannot read property '__proto__' of null 124 PASS jsWrapperClass(blendModeRule.__proto__) is 'Object'
125 FAIL jsWrapperClass(blendModeRule.constructor) should be CSSPrimitiveValueConstr uctor. Threw exception TypeError: Cannot read property 'constructor' of null 125 PASS jsWrapperClass(blendModeRule.constructor) is 'Function'
126 126
127 Basic reference : luminosity 127 Basic reference : luminosity
128 PASS cssRule.type is 1 128 PASS cssRule.type is 1
129 FAIL declaration.length should be 1. Was 0. 129 PASS declaration.length is 1
130 FAIL declaration.getPropertyValue('background-blend-mode') should be luminosity (of type string). Was null (of type object). 130 PASS declaration.getPropertyValue('background-blend-mode') is 'luminosity'
131 FAIL jsWrapperClass(blendModeRule) should be CSSPrimitiveValue. Was [null]. 131 PASS jsWrapperClass(blendModeRule) is 'CSSPrimitiveValue'
132 FAIL jsWrapperClass(blendModeRule.__proto__) should be CSSPrimitiveValuePrototyp e. Threw exception TypeError: Cannot read property '__proto__' of null 132 PASS jsWrapperClass(blendModeRule.__proto__) is 'Object'
133 FAIL jsWrapperClass(blendModeRule.constructor) should be CSSPrimitiveValueConstr uctor. Threw exception TypeError: Cannot read property 'constructor' of null 133 PASS jsWrapperClass(blendModeRule.constructor) is 'Function'
134 PASS successfullyParsed is true 134 PASS successfullyParsed is true
135 135
136 TEST COMPLETE 136 TEST COMPLETE
137 137
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698