Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / css-generated-content / normalize-with-first-letter-and-before-content-crash.html
blobca5c1764e244f333372417c7bdc677ed2d4339a6
1 <!doctype html>
2 <style>
3 .absolutePosition { position: fixed; }
4 .float:before { float: right; content: ''; }
5 .float:first-letter { float: right; }
6 .inline::first-letter { content: ''; }
7 </style>
8 <script>
9 function crash() {
10 document.body.offsetTop;
11 parent = document.getElementById('parent');
12 child.setAttribute('class', 'inline');
13 document.body.offsetTop;
14 parent.removeChild(child);
15 parent.normalize();
17 window.onload = crash;
18 if (window.testRunner)
19 testRunner.dumpAsText();
20 </script>
21 <div class="float" id="parent">
22 <div class="absolutePosition" id="child"></div>
23 Test passes if no crash.