LayoutTests/ChangeLog

 12012-05-01 Ryosuke Niwa <rniwa@webkit.org>
 2
 3 blockquote gets clobbered on delete, but the font-tag inside it doesn't
 4 https://bugs.webkit.org/show_bug.cgi?id=19702
 5
 6 Reviewed by NOBODY (OOPS!).
 7
 8 Add a regression test initially authored by Ojan Vafai since this bug appears to have been fixed already.
 9
 10 * editing/execCommand/delete-line-and-insert-text-in-font-inside-blockquote-expected.txt: Added.
 11 * editing/execCommand/delete-line-and-insert-text-in-font-inside-blockquote.html: Added.
 12
1132012-05-01 Eric Seidel <eric@webkit.org>
214
315 Add <iframe seamless> navigation code (and pass all the navigation tests)
115796

LayoutTests/editing/execCommand/delete-line-and-insert-text-in-font-inside-blockquote.html

 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>
 10
 11Markup.description('This tests deleting a line inside a font element inside a blockquote.')
 12
 13var font = document.querySelector('font');
 14getSelection().collapse(font, 0);
 15getSelection().modify('Extend', 'Forward', 'Line');
 16document.execCommand('Delete', false, null);
 17document.execCommand('InsertText', false, 'hello');
 18
 19Markup.dump('container', 'There should be exactly one blockquote and you should see "hello world" below')
 20
 21</script>
 22</body>
 23</html>
0

LayoutTests/editing/execCommand/delete-line-and-insert-text-in-font-inside-blockquote-expected.txt

 1This tests deleting a line inside a font element inside a blockquote.
 2
 3There should be exactly one blockquote and you should see "hello&nbsp;world" below:
 4| "
 5"
 6| <blockquote>
 7| style="background-color:yellow"
 8| <br>
 9| <font>
 10| style="color:blue"
 11| "hello<#selection-caret> world
 12"
 13| "
 14"
0