OLD | NEW |
1 This is a test case for the fix for http://bugzilla.opendarwin.org/show_bug.cgi?
id=7904. | 1 This is a test case for the fix for http://bugzilla.opendarwin.org/show_bug.cgi?
id=7904. |
2 ReplaceSelectionCommand used to guess whether or not nodes in the fragment to be
pasted were blocks. It now knows for sure. | 2 ReplaceSelectionCommand used to guess whether or not nodes in the fragment to be
pasted were blocks. It now knows for sure. |
3 Before the fix, ReplaceSelectionCommand blew away content of the div below after
copy/pasting it over itself. | 3 Before the fix, ReplaceSelectionCommand blew away content of the div below after
copy/pasting it over itself. |
4 The following two results must be visually identical except for the caret. | 4 The following two results must be visually identical except for the caret. |
5 | 5 |
6 before: | 6 before: |
7 | " | 7 | " |
8 " | 8 " |
9 | <span> | 9 | <span> |
10 | style="display:block" | 10 | style="display:block" |
(...skipping 11 matching lines...) Expand all Loading... |
22 after: | 22 after: |
23 | " | 23 | " |
24 " | 24 " |
25 | <span> | 25 | <span> |
26 | style="display: block;" | 26 | style="display: block;" |
27 | <b> | 27 | <b> |
28 | "This is a paragraph." | 28 | "This is a paragraph." |
29 | <span> | 29 | <span> |
30 | style="display:block" | 30 | style="display:block" |
31 | <b> | 31 | <b> |
32 | "This<#selection-caret>" | 32 | "This <#selection-caret>" |
33 | <b> | 33 | <b> |
34 | " is another paragraph." | 34 | "is another paragraph." |
35 | <br> | 35 | <br> |
36 | " | 36 | " |
37 " | 37 " |
OLD | NEW |