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

Side by Side Diff: LayoutTests/inspector-protocol/css/css-add-rule-expected.txt

Issue 1182483004: DevTools: [CSS] getMatchedStylesForNode should return styles inherited through shadow boundary (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebaseline Created 5 years, 6 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 | Annotate | Revision Log
OLDNEW
1 The test verifies functionality of protocol method CSS.addRule. 1 The test verifies functionality of protocol method CSS.addRule.
2 2
3 ==== Initial style sheet text ==== 3 ==== Initial style sheet text ====
4 #test { 4 #test {
5 box-sizing: border-box; 5 box-sizing: border-box;
6 } 6 }
7 7
8 #test { 8 #test {
9 /* resetting some properties */ 9 /* resetting some properties */
10 line-height: 1; 10 line-height: 1;
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 color: blue; 61 color: blue;
62 display: flex; 62 display: flex;
63 } 63 }
64 @media (min-width: 1px) 64 @media (min-width: 1px)
65 *#test* { regular 65 *#test* { regular
66 font-size: 200%; 66 font-size: 200%;
67 } 67 }
68 @media (min-width: 1px) 68 @media (min-width: 1px)
69 *#test* { regular 69 *#test* { regular
70 } 70 }
71 Dumping inherited rules:
71 72
72 Running test: testAddRuleToStyleSheetEnding 73 Running test: testAddRuleToStyleSheetEnding
73 ==== Style sheet text ==== 74 ==== Style sheet text ====
74 #test { 75 #test {
75 box-sizing: border-box; 76 box-sizing: border-box;
76 } 77 }
77 78
78 #test { 79 #test {
79 /* resetting some properties */ 80 /* resetting some properties */
80 line-height: 1; 81 line-height: 1;
(...skipping 25 matching lines...) Expand all
106 @media (min-width: 1px) 107 @media (min-width: 1px)
107 *#test* { regular 108 *#test* { regular
108 font-size: 200%; 109 font-size: 200%;
109 } 110 }
110 @media (min-width: 1px) 111 @media (min-width: 1px)
111 *#test* { regular 112 *#test* { regular
112 } 113 }
113 *#test* { regular 114 *#test* { regular
114 content: 'EDITED'; 115 content: 'EDITED';
115 } 116 }
117 Dumping inherited rules:
116 118
117 Running test: testAddRuleToStyleSheetCenter 119 Running test: testAddRuleToStyleSheetCenter
118 ==== Style sheet text ==== 120 ==== Style sheet text ====
119 #test { 121 #test {
120 box-sizing: border-box; 122 box-sizing: border-box;
121 } 123 }
122 124
123 #test { 125 #test {
124 /* resetting some properties */ 126 /* resetting some properties */
125 line-height: 1; 127 line-height: 1;
(...skipping 25 matching lines...) Expand all
151 *#test* { regular 153 *#test* { regular
152 content: 'EDITED'; 154 content: 'EDITED';
153 } 155 }
154 @media (min-width: 1px) 156 @media (min-width: 1px)
155 *#test* { regular 157 *#test* { regular
156 font-size: 200%; 158 font-size: 200%;
157 } 159 }
158 @media (min-width: 1px) 160 @media (min-width: 1px)
159 *#test* { regular 161 *#test* { regular
160 } 162 }
163 Dumping inherited rules:
161 164
162 Running test: testAddRuleToRuleEnding 165 Running test: testAddRuleToRuleEnding
163 ==== Style sheet text ==== 166 ==== Style sheet text ====
164 #test { 167 #test {
165 box-sizing: border-box; 168 box-sizing: border-box;
166 }#test{ 169 }#test{
167 content: 'EDITED'; 170 content: 'EDITED';
168 } 171 }
169 172
170 #test { 173 #test {
(...skipping 27 matching lines...) Expand all
198 color: blue; 201 color: blue;
199 display: flex; 202 display: flex;
200 } 203 }
201 @media (min-width: 1px) 204 @media (min-width: 1px)
202 *#test* { regular 205 *#test* { regular
203 font-size: 200%; 206 font-size: 200%;
204 } 207 }
205 @media (min-width: 1px) 208 @media (min-width: 1px)
206 *#test* { regular 209 *#test* { regular
207 } 210 }
211 Dumping inherited rules:
208 212
209 Running test: testAddRuleWithFormatting 213 Running test: testAddRuleWithFormatting
210 ==== Style sheet text ==== 214 ==== Style sheet text ====
211 #test { 215 #test {
212 box-sizing: border-box; 216 box-sizing: border-box;
213 } 217 }
214 218
215 #test{ 219 #test{
216 content: 'EDITED'; 220 content: 'EDITED';
217 } 221 }
(...skipping 29 matching lines...) Expand all
247 color: blue; 251 color: blue;
248 display: flex; 252 display: flex;
249 } 253 }
250 @media (min-width: 1px) 254 @media (min-width: 1px)
251 *#test* { regular 255 *#test* { regular
252 font-size: 200%; 256 font-size: 200%;
253 } 257 }
254 @media (min-width: 1px) 258 @media (min-width: 1px)
255 *#test* { regular 259 *#test* { regular
256 } 260 }
261 Dumping inherited rules:
257 262
258 Running test: testAddRuleToMediaRuleBeginning 263 Running test: testAddRuleToMediaRuleBeginning
259 ==== Style sheet text ==== 264 ==== Style sheet text ====
260 #test { 265 #test {
261 box-sizing: border-box; 266 box-sizing: border-box;
262 } 267 }
263 268
264 #test { 269 #test {
265 /* resetting some properties */ 270 /* resetting some properties */
266 line-height: 1; 271 line-height: 1;
(...skipping 26 matching lines...) Expand all
293 *#test* { regular 298 *#test* { regular
294 content: 'EDITED'; 299 content: 'EDITED';
295 } 300 }
296 @media (min-width: 1px) 301 @media (min-width: 1px)
297 *#test* { regular 302 *#test* { regular
298 font-size: 200%; 303 font-size: 200%;
299 } 304 }
300 @media (min-width: 1px) 305 @media (min-width: 1px)
301 *#test* { regular 306 *#test* { regular
302 } 307 }
308 Dumping inherited rules:
303 309
304 Running test: testAddRuleToMediaRuleCenter 310 Running test: testAddRuleToMediaRuleCenter
305 ==== Style sheet text ==== 311 ==== Style sheet text ====
306 #test { 312 #test {
307 box-sizing: border-box; 313 box-sizing: border-box;
308 } 314 }
309 315
310 #test { 316 #test {
311 /* resetting some properties */ 317 /* resetting some properties */
312 line-height: 1; 318 line-height: 1;
(...skipping 26 matching lines...) Expand all
339 *#test* { regular 345 *#test* { regular
340 font-size: 200%; 346 font-size: 200%;
341 } 347 }
342 @media (min-width: 1px) 348 @media (min-width: 1px)
343 *#test* { regular 349 *#test* { regular
344 content: 'EDITED'; 350 content: 'EDITED';
345 } 351 }
346 @media (min-width: 1px) 352 @media (min-width: 1px)
347 *#test* { regular 353 *#test* { regular
348 } 354 }
355 Dumping inherited rules:
349 356
350 Running test: testAddRuleToMediaRuleEnd 357 Running test: testAddRuleToMediaRuleEnd
351 ==== Style sheet text ==== 358 ==== Style sheet text ====
352 #test { 359 #test {
353 box-sizing: border-box; 360 box-sizing: border-box;
354 } 361 }
355 362
356 #test { 363 #test {
357 /* resetting some properties */ 364 /* resetting some properties */
358 line-height: 1; 365 line-height: 1;
(...skipping 26 matching lines...) Expand all
385 *#test* { regular 392 *#test* { regular
386 font-size: 200%; 393 font-size: 200%;
387 } 394 }
388 @media (min-width: 1px) 395 @media (min-width: 1px)
389 *#test* { regular 396 *#test* { regular
390 } 397 }
391 @media (min-width: 1px) 398 @media (min-width: 1px)
392 *#test* { regular 399 *#test* { regular
393 content: 'EDITED'; 400 content: 'EDITED';
394 } 401 }
402 Dumping inherited rules:
395 403
396 Running test: testInvalidRule 404 Running test: testInvalidRule
397 Expected protocol error: SyntaxError Rule text is not valid. 405 Expected protocol error: SyntaxError Rule text is not valid.
398 406
399 Running test: testAddingRuleInsideSelector 407 Running test: testAddingRuleInsideSelector
400 Expected protocol error: NotFoundError Cannot insert rule inside rule selector. 408 Expected protocol error: NotFoundError Cannot insert rule inside rule selector.
401 409
402 Running test: testAddingRuleBeforeRuleBody 410 Running test: testAddingRuleBeforeRuleBody
403 Expected protocol error: NotFoundError Cannot insert rule inside rule selector. 411 Expected protocol error: NotFoundError Cannot insert rule inside rule selector.
404 412
405 Running test: testAddingRuleInsideMedia1 413 Running test: testAddingRuleInsideMedia1
406 Expected protocol error: NotFoundError Cannot insert rule inside rule selector. 414 Expected protocol error: NotFoundError Cannot insert rule inside rule selector.
407 415
408 Running test: testAddingRuleInsideMedia2 416 Running test: testAddingRuleInsideMedia2
409 Expected protocol error: NotFoundError Cannot insert rule inside rule selector. 417 Expected protocol error: NotFoundError Cannot insert rule inside rule selector.
410 418
411 Running test: testAddingRuleBeforeMediaBody 419 Running test: testAddingRuleBeforeMediaBody
412 Expected protocol error: NotFoundError Cannot insert rule inside rule selector. 420 Expected protocol error: NotFoundError Cannot insert rule inside rule selector.
413 421
414 Running test: testAddingRuleInsideStyleRule 422 Running test: testAddingRuleInsideStyleRule
415 Expected protocol error: NotFoundError Cannot insert rule in non-media rule. 423 Expected protocol error: NotFoundError Cannot insert rule in non-media rule.
416 424
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698