OLD | NEW |
1 The test verifies functionality of protocol method CSS.setStyleText. | 1 The test verifies functionality of protocol method CSS.setStyleTexts. |
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; |
11 font-family: "Arial"; | 11 font-family: "Arial"; |
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
210 @media (min-width: 1px) | 210 @media (min-width: 1px) |
211 *#test* { regular | 211 *#test* { regular |
212 font-size: 200%; | 212 font-size: 200%; |
213 } | 213 } |
214 @media (min-width: 1px) | 214 @media (min-width: 1px) |
215 *#test* { regular | 215 *#test* { regular |
216 } | 216 } |
217 Dumping inherited rules: | 217 Dumping inherited rules: |
218 | 218 |
219 Running test: testSetStylePoorContent | 219 Running test: testSetStylePoorContent |
220 Expected protocol error: SyntaxError Style text is not valid. | 220 Expected protocol error: Failed applying edit #0: SyntaxError Style text is not
valid. |
221 Dumping matched rules: | 221 Dumping matched rules: |
222 *#test* { regular | 222 *#test* { regular |
223 box-sizing: border-box; | 223 box-sizing: border-box; |
224 } | 224 } |
225 *#test* { regular | 225 *#test* { regular |
226 line-height: 1; | 226 line-height: 1; |
227 font-family: "Arial"; | 227 font-family: "Arial"; |
228 color: blue; | 228 color: blue; |
229 display: flex; | 229 display: flex; |
230 } | 230 } |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
338 @media (min-width: 1px) | 338 @media (min-width: 1px) |
339 *#test* { regular | 339 *#test* { regular |
340 font-size: 200%; | 340 font-size: 200%; |
341 } | 341 } |
342 @media (min-width: 1px) | 342 @media (min-width: 1px) |
343 *#test* { regular | 343 *#test* { regular |
344 } | 344 } |
345 Dumping inherited rules: | 345 Dumping inherited rules: |
346 | 346 |
347 Running test: testSetStyleOpenComment | 347 Running test: testSetStyleOpenComment |
348 Expected protocol error: SyntaxError Style text is not valid. | 348 Expected protocol error: Failed applying edit #0: SyntaxError Style text is not
valid. |
349 Dumping matched rules: | 349 Dumping matched rules: |
350 *#test* { regular | 350 *#test* { regular |
351 box-sizing: border-box; | 351 box-sizing: border-box; |
352 } | 352 } |
353 *#test* { regular | 353 *#test* { regular |
354 line-height: 1; | 354 line-height: 1; |
355 font-family: "Arial"; | 355 font-family: "Arial"; |
356 color: blue; | 356 color: blue; |
357 display: flex; | 357 display: flex; |
358 } | 358 } |
359 @media (min-width: 1px) | 359 @media (min-width: 1px) |
360 *#test* { regular | 360 *#test* { regular |
361 font-size: 200%; | 361 font-size: 200%; |
362 } | 362 } |
363 @media (min-width: 1px) | 363 @media (min-width: 1px) |
364 *#test* { regular | 364 *#test* { regular |
365 } | 365 } |
366 Dumping inherited rules: | 366 Dumping inherited rules: |
367 | 367 |
368 Running test: testSetStyleOfRemovedRule | 368 Running test: testSetStyleOfRemovedRule |
369 ERROR: NotFoundError Source range didn't match existing style source range | 369 ERROR: Failed applying edit #0: NotFoundError Source range didn't match existing
style source range |
370 | 370 |
OLD | NEW |