OLD | NEW |
1 This tests copying and pasting text does not result in nested style elements suc
h as b, em, and font. | 1 This tests copying and pasting text does not result in nested style elements suc
h as b, em, and font. |
2 To manually test, copy and paste "hello world" below. WebKit should not nest b,
i, u, and font. | 2 To manually test, copy and paste "hello world" below. WebKit should not nest b,
i, u, and font. |
3 | 3 |
4 Before copy-paste: | 4 Before copy-paste: |
5 | <b> | 5 | <b> |
6 | <i> | 6 | <i> |
7 | <u> | 7 | <u> |
8 | <font> | 8 | <font> |
9 | color="red" | 9 | color="red" |
10 | "<#selection-caret>hello world" | 10 | "<#selection-caret>hello world" |
11 | 11 |
12 After copy-paste: | 12 After copy-paste: |
13 | <b> | 13 | <b> |
14 | <i> | 14 | <i> |
15 | <u> | 15 | <u> |
16 | <font> | 16 | <font> |
17 | color="red" | 17 | color="red" |
18 | "hello world<#selection-caret>" | 18 | "hello world<#selection-caret>" |
19 | <font> | 19 | <font> |
| 20 | class="Apple-style-span" |
20 | color="#ff0000" | 21 | color="#ff0000" |
21 | <b> | 22 | <b> |
22 | <i> | 23 | <i> |
23 | <u> | 24 | <u> |
24 | <br> | 25 | <br> |
OLD | NEW |