Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / deprecated-flexbox / overhanging-floats-not-removed-crash.html
blobf11ff815f1a9671d2d2a45c048c65d5426cdb60f
1 <!DOCTYPE html>
2 <html>
3 <body>
4 <style>
5 #test1 {
6 display: -webkit-flexbox;
8 #test1::before {
9 content: "A";
11 #test2::before {
12 content: "B";
13 float: right;
15 </style>
16 <script>
17 if (window.testRunner)
18 testRunner.dumpAsText();
20 function runTest() {
21 document.body.offsetTop;
23 test1 = document.createElement('div');
24 test1.setAttribute('id', 'test1');
25 document.body.appendChild(test1);
27 test2 = document.createElement('span');
28 test2.setAttribute('id', 'test2');
29 test1.appendChild(test2);
31 test3 = document.createElement('div');
32 test1.appendChild(test3);
33 test3Child = document.createElement('div');
34 test3.appendChild(test3Child);
36 document.body.offsetTop;
37 test2.style.display = '-webkit-flexbox';
39 document.body.offsetTop;
40 document.body.innerHTML = "PASS";
43 window.onload = runTest;
44 </script>
45 </body>
46 </html>