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

Side by Side Diff: LayoutTests/fast/multicol/span/update-after-content-before-child-crash.html

Issue 299373006: Move old multicol tests to a separate directory. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <body>
4 <style>
5 #columnContainer { -webkit-column-count: 600; }
6 #divBlock::after { display: block; content: ''; }
7 #columnSpanBlock:nth-last-child(even) { -webkit-column-span: all; }
8 #table { float: right; }
9 </style>
10 <script>
11 if (window.testRunner)
12 testRunner.dumpAsText();
13
14 onload = function() {
15 columnContainer = document.createElement('div');
16 columnContainer.setAttribute('id', 'columnContainer');
17 document.body.appendChild(columnContainer);
18 divBlock = document.createElement('div');
19 divBlock.setAttribute('id', 'divBlock');
20 columnContainer.appendChild(divBlock);
21 columnSpanBlock = document.createElement('div');
22 columnSpanBlock.setAttribute('id', 'columnSpanBlock');
23 divBlock.appendChild(columnSpanBlock);
24 span = document.createElement('span');
25 divBlock.appendChild(span);
26 span.appendChild(document.createTextNode('A'));
27 table = document.createElement('table');
28 table.setAttribute('id', 'table');
29 divBlock.appendChild(table);
30 document.designMode = 'on';
31 document.execCommand('selectall');
32 document.execCommand('inserttext', '');
33 document.body.offsetTop;
34 document.body.innerHTML = "PASS. WebKit didn't crash.";
35 }
36 </script>
37 </body>
38 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698