Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / css-generated-content / inline-splitting-with-after-float-crash.html
blob14d79980afcc290631e9db94dac416a4561d5a2f
1 <style>
2 .c2:after { float: left; content: "A"; }
3 </style>
4 PASS, if the script does not cause a crash or ASSERT failure
5 <script>
6 function endTest(childSpan) {
7 childSpan.appendChild(divToInsert);
8 if (window.testRunner)
9 testRunner.notifyDone();
11 function startTest() {
12 quoteNode = document.createElement('q');
13 document.documentElement.appendChild(quoteNode);
14 divToInsert = document.createElement('div');
15 parentSpan = document.createElement('span');
16 parentSpan.setAttribute('class', 'c2');
17 childSpan = document.createElement('span');
18 parentSpan.appendChild(childSpan);
19 document.documentElement.appendChild(parentSpan);
20 setTimeout('endTest(childSpan);', 50);
21 if (window.testRunner) {
22 testRunner.waitUntilDone();
23 testRunner.dumpAsText();
26 window.onload = startTest;
27 </script>