Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / table / before-child-non-table-section-add-table-crash.html
bloba73d35366c3080df0c27f845da7eaeb546dc64a5
1 <html>
2 <body onload="runTest();">
3 <div id="table" style="display: table;">
4 <em id="em"></em>
5 <audio controls="arbitrary" style="display: table-caption;" />
6 <img id="img" />
7 </div>
8 <div id="result"></div>
9 <script type="text/javascript">
10 if (window.testRunner)
11 testRunner.dumpAsText();
13 function runTest()
15 var img = document.getElementById('img');
16 var em = document.getElementById('em');
17 em.parentNode.replaceChild(img, em);
18 document.body.offsetTop;
19 document.body.removeChild(document.getElementById('table'));
21 document.getElementById("result").innerHTML = "PASS";
23 </script>
24 </body>
25 </html>