Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / selection / cleared-by-relayout.html
blobaa4f93224bd838910e411689a71f6c83725e82b3
1 <p>
2 Test for <i><a href="http://bugs.webkit.org/show_bug.cgi?id=15942">http://bugs.webkit.org/show_bug.cgi?id=15942</a>
3 REGRESSION: Selecting "Edit Html" tab in Blogger causes crash (Assertion failed: isRange())</i>.
4 </p>
5 <script>
6 if (window.testRunner)
7 testRunner.dumpAsText();
9 function prepare()
11 var target = document.getElementById('target');
12 var doc = target.contentDocument;
13 target.contentWindow.getSelection().collapse(doc.body, 0);
14 target.focus();
15 test();
18 function test()
20 var target = document.getElementById('target');
21 target.style.display = 'none';
22 target.contentDocument.body.innerHTML;
24 </script>
25 <p>
26 <iframe onload="prepare()" id="target" src="data:text/html,&lt;body contenteditable&gt;"></iframe>
27 </p>