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

Side by Side Diff: LayoutTests/fast/multicol/span/generated-child-split-flow-crash.html

Issue 677063002: Rebaseline crash tests in fast/multicol/span with dumpAsText. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add DOCTYPE and "PASS if no crash". Created 6 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
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html style="font-family: Ahem; -webkit-font-smoothing: none;"> 2 <html style="font-family: Ahem; -webkit-font-smoothing: none;">
3 <style> 3 <style>
4 #div1 { 4 #div1 {
5 -webkit-column-count: 2; 5 -webkit-column-count: 2;
6 } 6 }
7 #span1:after 7 #span1:after
8 { 8 {
9 display: block; 9 display: block;
10 content: counter(c); 10 content: counter(c);
11 color: green; 11 color: green;
12 -webkit-column-span: all; 12 -webkit-column-span: all;
13 } 13 }
14 </style> 14 </style>
15 <div id="div1"> 15 <div id="div1">
16 A<span id="span1" style="color: blue">B</span>C 16 A<span id="span1" style="color: blue">B</span>C
17 </div> 17 </div>
18 <div style="font-family: initial;">PASS if no crash</div>
18 <script> 19 <script>
19 function runTest() 20 function runTest()
20 { 21 {
22 if (window.testRunner)
23 testRunner.dumpAsText();
24
21 span1 = document.getElementById('span1'); 25 span1 = document.getElementById('span1');
22 span1.style.display = 'block'; 26 span1.style.display = 'block';
23 document.body.offsetTop; 27 document.body.offsetTop;
24 document.body.style.zoom = 2; 28 document.body.style.zoom = 2;
25 } 29 }
26 30
27 window.onload = runTest; 31 window.onload = runTest;
28 </script> 32 </script>
29 </html> 33 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698