Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / inserting / 6703873.html
blobfaf22fa5053ff04861b9b7959432e120ec0a27bb
1 <html>
2 <head>
3 <style>
4 blockquote {
5 color: blue;
6 border-left: 2px solid blue;
7 margin: 0px;
8 padding-left: 10px;
10 </style>
11 <script>
12 function log(msg)
14 document.getElementById('console').appendChild(document.createTextNode(msg + '\n'));
17 function test()
19 var s = window.getSelection();
20 s.collapse(document.getElementById('qt'), 0);
21 s.modify("extend", "forward", "line");
22 document.execCommand("InsertNewlineInQuotedContent");
23 document.execCommand("InsertText", "true", "unquoted");
25 </script>
26 </head>
27 <body onload="test()">
28 <p>This tests that inserting a newline in place of a full line of quoted content doesn't add an extra quoted line. The test has passed if there are no empty lines (quoted or unquoted) in the box below.</p>
29 <div contenteditable="true">
30 <blockquote type="cite"><div>quoted</div><div id="qt">quoted</div><div>quoted</div></blockquote>
31 </div>
32 <pre id="console"></pre>
33 </body>
34 </html>