Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / http / tests / css / shared-stylesheet-mutation-preconstruct-expected.txt
blob9e97cb4766df2d829dbcf508563a135f459f71d9
1 The test loads the same stylesheet to different frames and then mutates them. The mutations should not affect other frames.
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6 Test 0
7 --------------------------------------
8 PASS getComputedStyle(testElement, null).getPropertyValue('background-color') is 'rgb(255, 0, 0)'
10 #testdiv { background-color: green; }
11 @media all { 
12   #testdiv { background-color: red; }
14 @page :right { margin-left: 3cm; }
15 @-webkit-keyframes bounce { 
16   0% { left: 0px; }
17   100% { left: 200px; }
19 @font-face { font-family: Foo; }
21 Test 1
22 --------------------------------------
23 PASS getComputedStyle(testElement, null).getPropertyValue('background-color') is 'rgb(0, 128, 0)'
25 #testdiv { background-color: green; }
26 @media all { 
27   #testdiv { background-color: red; }
29 #testdiv { background-color: green; }
30 @page :right { margin-left: 3cm; }
31 @-webkit-keyframes bounce { 
32   0% { left: 0px; }
33   100% { left: 200px; }
35 @font-face { font-family: Foo; }
37 Test 2
38 --------------------------------------
39 PASS getComputedStyle(testElement, null).getPropertyValue('background-color') is 'rgb(0, 128, 0)'
41 #testdiv { background-color: green; }
42 @page :right { margin-left: 3cm; }
43 @-webkit-keyframes bounce { 
44   0% { left: 0px; }
45   100% { left: 200px; }
47 @font-face { font-family: Foo; }
49 Test 3
50 --------------------------------------
51 PASS getComputedStyle(testElement, null).getPropertyValue('background-color') is 'rgb(0, 128, 0)'
53 #testdiv { background-color: green; }
54 @media all { 
55   #testdiv { background-color: red; }
56   #testdiv { background-color: green; }
58 @page :right { margin-left: 3cm; }
59 @-webkit-keyframes bounce { 
60   0% { left: 0px; }
61   100% { left: 200px; }
63 @font-face { font-family: Foo; }
65 Test 4
66 --------------------------------------
67 PASS getComputedStyle(testElement, null).getPropertyValue('background-color') is 'rgb(0, 128, 0)'
69 #testdiv { background-color: green; }
70 @media all { 
72 @page :right { margin-left: 3cm; }
73 @-webkit-keyframes bounce { 
74   0% { left: 0px; }
75   100% { left: 200px; }
77 @font-face { font-family: Foo; }
79 Test 5
80 --------------------------------------
81 PASS getComputedStyle(testElement, null).getPropertyValue('background-color') is 'rgb(0, 128, 0)'
83 #testdiv { background-color: green; }
84 @media all { 
85   #testdiv { background-color: green; }
87 @page :right { margin-left: 3cm; }
88 @-webkit-keyframes bounce { 
89   0% { left: 0px; }
90   100% { left: 200px; }
92 @font-face { font-family: Foo; }
94 Test 6
95 --------------------------------------
96 PASS getComputedStyle(testElement, null).getPropertyValue('background-color') is 'rgb(0, 128, 0)'
98 #testdiv { background-color: green; }
99 @media all { 
100   #testdiv { }
102 @page :right { margin-left: 3cm; }
103 @-webkit-keyframes bounce { 
104   0% { left: 0px; }
105   100% { left: 200px; }
107 @font-face { font-family: Foo; }
109 Test 7
110 --------------------------------------
111 PASS getComputedStyle(testElement, null).getPropertyValue('background-color') is 'rgb(0, 128, 0)'
113 #testdiv { background-color: green; }
114 @media all { 
115   #testdiv { background-color: green; }
117 @page :right { margin-left: 3cm; }
118 @-webkit-keyframes bounce { 
119   0% { left: 0px; }
120   100% { left: 200px; }
122 @font-face { font-family: Foo; }
124 Test 8
125 --------------------------------------
126 PASS getComputedStyle(testElement, null).getPropertyValue('background-color') is 'rgb(0, 128, 0)'
128 #testdiv { background-color: green; }
129 @media all { 
130   #dontmatch { background-color: red; }
132 @page :right { margin-left: 3cm; }
133 @-webkit-keyframes bounce { 
134   0% { left: 0px; }
135   100% { left: 200px; }
137 @font-face { font-family: Foo; }
139 Test 9
140 --------------------------------------
141 PASS getComputedStyle(testElement, null).getPropertyValue('background-color') is 'rgb(0, 128, 0)'
143 #testdiv { background-color: green; }
144 @media print { 
145   #testdiv { background-color: red; }
147 @page :right { margin-left: 3cm; }
148 @-webkit-keyframes bounce { 
149   0% { left: 0px; }
150   100% { left: 200px; }
152 @font-face { font-family: Foo; }
154 Test 10
155 --------------------------------------
156 PASS getComputedStyle(testElement, null).getPropertyValue('background-color') is 'rgb(0, 128, 0)'
158 #testdiv { background-color: green; }
159 @media print { 
160   #testdiv { background-color: red; }
162 @page :right { margin-left: 3cm; }
163 @-webkit-keyframes bounce { 
164   0% { left: 0px; }
165   100% { left: 200px; }
167 @font-face { font-family: Foo; }
169 Test 11
170 --------------------------------------
171 PASS getComputedStyle(testElement, null).getPropertyValue('background-color') is 'rgb(0, 128, 0)'
173 #testdiv { background-color: green; }
175 Test 12
176 --------------------------------------
177 PASS getComputedStyle(testElement, null).getPropertyValue('background-color') is 'rgb(0, 128, 0)'
179 @import url("data:text/css;charset=utf-8,%23testdiv%7Bbackground-color%3Agreen%20!important%7D");
180 #testdiv { background-color: green; }
181 @media all { 
182   #testdiv { background-color: red; }
184 @page :right { margin-left: 3cm; }
185 @-webkit-keyframes bounce { 
186   0% { left: 0px; }
187   100% { left: 200px; }
189 @font-face { font-family: Foo; }
191 Test 13
192 --------------------------------------
193 PASS getComputedStyle(testElement, null).getPropertyValue('background-color') is 'rgb(255, 0, 0)'
195 #testdiv { background-color: green; }
196 @media all { 
197   #testdiv { background-color: red; }
199 @page foo { margin-left: 3cm; }
200 @-webkit-keyframes bounce { 
201   0% { left: 0px; }
202   100% { left: 200px; }
204 @font-face { font-family: Foo; }
206 Test 14
207 --------------------------------------
208 PASS getComputedStyle(testElement, null).getPropertyValue('background-color') is 'rgb(255, 0, 0)'
210 #testdiv { background-color: green; }
211 @media all { 
212   #testdiv { background-color: red; }
214 @page :right { margin-left: 3cm; }
215 @-webkit-keyframes bounce { 
216   0% { left: 0px; }
217   100% { left: 200px; }
218   40% { left: 40px; }
220 @font-face { font-family: Foo; }
222 Test 15
223 --------------------------------------
224 PASS getComputedStyle(testElement, null).getPropertyValue('background-color') is 'rgb(255, 0, 0)'
226 #testdiv { background-color: green; }
227 @media all { 
228   #testdiv { background-color: red; }
230 @page :right { margin-left: 3cm; }
231 @-webkit-keyframes bounce { 
232   0% { left: 0px; }
234 @font-face { font-family: Foo; }
236 Test 16
237 --------------------------------------
238 PASS getComputedStyle(testElement, null).getPropertyValue('background-color') is 'rgb(255, 0, 0)'
240 #testdiv { background-color: green; }
241 @media all { 
242   #testdiv { background-color: red; }
244 @page :right { margin-left: 3cm; }
245 @-webkit-keyframes bounce { 
246   0% { left: 0px; }
247   100% { left: 200px; }
249 @font-face { font-family: Bar; }
251 PASS successfullyParsed is true
253 TEST COMPLETE