Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / execCommand / delete-line-and-insert-text-in-font-inside-blockquote.html
blob7dfa5c52958d3819f276e12bc5e033575bb0ff2c
1 <!DOCTYPE html>
2 <html>
3 <body>
4 <div id="container" contenteditable>
5 <blockquote style="background-color:yellow"><br><font style="color:blue"><br>&nbsp;world
6 </font></blockquote>
7 </div>
8 <script src="../../resources/dump-as-markup.js"></script>
9 <script>
11 Markup.description('This tests deleting a line inside a font element inside a blockquote.')
13 var font = document.querySelector('font');
14 getSelection().collapse(font, 0);
15 getSelection().modify('Extend', 'Forward', 'Line');
16 document.execCommand('Delete', false, null);
17 document.execCommand('InsertText', false, 'hello');
19 Markup.dump('container', 'There should be exactly one blockquote and you should see "hello world" below')
21 </script>
22 </body>
23 </html>