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

Side by Side Diff: LayoutTests/fast/multicol/span/list-multi-column-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, 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
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <body>
4 Test passes if it does not crash.
5 <style>
6 .columns
7 {
8 -webkit-column-count: 2;
9 -webkit-column-span: all;
10 }
11 .list
12 {
13 display: list-item;
14 }
15 </style>
16 <script>
17 if (window.testRunner)
18 testRunner.dumpAsText();
19
20 list = document.createElement('p');
21 list.setAttribute('class', 'list');
22 listChild = document.createElement('hr');
23 list.appendChild(listChild);
24 list.appendChild(document.createTextNode('Text.'));
25 outerColumns = document.createElement('div');
26 outerColumns.appendChild(list);
27 document.body.appendChild(outerColumns);
28 outerColumns.setAttribute('class', 'columns');
29 document.body.offsetTop;
30
31 innerColumns = document.createElement('div');
32 innerColumns.setAttribute('class', 'columns');
33 listChild.appendChild(innerColumns);
34 document.body.offsetTop;
35
36 document.body.removeChild(outerColumns);
37 </script>
38 </body>
39 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698