Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / svg / foreignObject / fO-fixed-position-crash.html
blob588d02f1c4fe2d1fd6b4d3031f05672f1070fe5c
1 <!DOCTYPE html>
2 <html>
3 <body>
4 <!-- Test for https://bugs.webkit.org/show_bug.cgi?id=88547 -->
5 <svg xmlns="http://www.w3.org/2000/svg">
6 <foreignObject>
7 <div id="div" style="position:fixed; height:50%; counter-increment:inherit;">Passes if replacing this text doesn't cause a crash.</div>
8 </foreignObject>
10 <script>
11 window.onload=function() {
12 document.designMode="on";
13 document.execCommand("SelectAll");
14 document.getElementById('div').innerHTML = "PASS";
17 if (window.testRunner)
18 testRunner.dumpAsText();
19 </script>
20 </svg>
21 </body>
22 </html>