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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/multicol/span/positioned-child-not-removed-crash.html

Issue 2536993002: Remove support for the keygen tag (Closed)
Patch Set: Rebased Created 3 years, 12 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 .caption1 { -webkit-column-width: 1px; }
7 .div1 { position: absolute; }
8 .keygen1:nth-last-child(even) { display: block; -webkit-column-span: all; }
9 .flexbox1 { display: -webkit-flexbox; padding-right: 10px; transform: rotate3d(0 , 1, 0, 90deg); }
10 </style>
11 <script>
12 if (window.testRunner)
13 testRunner.dumpAsText();
14
15 function runTest() {
16 caption1 = document.createElement('caption');
17 caption1.setAttribute('class', 'caption1');
18 div1 = document.createElement('div');
19 div1.setAttribute('class', 'div1');
20 flexbox1 = document.createElement('div');
21 flexbox1.setAttribute('class', 'flexbox1');
22 keygen1 = document.createElement('keygen');
23 keygen1.setAttribute('class', 'keygen1');
24
25 div2 = document.createElement('div');
26 div3 = document.createElement('div');
27
28 flexbox1.appendChild(keygen1);
29 flexbox1.appendChild(div1);
30 flexbox1.appendChild(div3);
31 caption1.appendChild(flexbox1);
32 document.body.appendChild(caption1);
33 document.body.offsetTop;
34 flexbox1.appendChild(div2);
35 document.body.offsetTop;
36 flexbox1.removeChild(div1);
37 }
38 window.onload = runTest;
39 </script>
40 </body>
41 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698