| Differences between
and this patch
- LayoutTests/ChangeLog +12 lines
Lines 1-3 LayoutTests/ChangeLog_sec1
1
2012-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
1
2012-05-01  Eric Seidel  <eric@webkit.org>
13
2012-05-01  Eric Seidel  <eric@webkit.org>
2
14
3
        Add <iframe seamless> navigation code (and pass all the navigation tests)
15
        Add <iframe seamless> navigation code (and pass all the navigation tests)
- LayoutTests/editing/execCommand/delete-line-and-insert-text-in-font-inside-blockquote.html +23 lines
Line 0 LayoutTests/editing/execCommand/delete-line-and-insert-text-in-font-inside-blockquote.html_sec1
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
11
Markup.description('This tests deleting a line inside a font element inside a blockquote.')
12
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');
18
19
Markup.dump('container', 'There should be exactly one blockquote and you should see "hello world" below')
20
21
</script>
22
</body>
23
</html>
- LayoutTests/editing/execCommand/delete-line-and-insert-text-in-font-inside-blockquote-expected.txt +14 lines
Line 0 LayoutTests/editing/execCommand/delete-line-and-insert-text-in-font-inside-blockquote-expected.txt_sec1
1
This tests deleting a line inside a font element inside a blockquote.
2
3
There should be exactly one blockquote and you should see "hello 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
"

Return to Bug 19702