Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / repaint / 4776765.html
blobc62bcfcba11c48824ab8a1a65413e6ba7a34187f
1 <script src="resources/text-based-repaint.js" type="text/javascript"></script>
2 <script type="text/javascript">
3 function repaintTest() {
4 document.execCommand("InsertParagraph");
6 </script>
7 <body onload="runRepaintTest();">
8 <p>This tests for a repaint bug. The old caret position should be invalidated when a paragraph separator is inserted.</p>
9 <div contenteditable="true">
10 <div><br></div>
11 <div id="div"><br></div>
12 </div>
13 <script>
14 var div = document.getElementById("div");
15 var sel = window.getSelection();
17 sel.collapse(div, 0);
18 </script>
19 </body>