OLD | NEW |
1 This tests cutting and pasting a content with inline "background: transparent;"
into a document with a style rule that overrides this style. | 1 This tests cutting and pasting a content with inline "background: transparent;"
into a document with a style rule that overrides this style. |
2 WebKit should preserve the inline style declaration. To manually test, cut and p
aste "hello world WebKit" below. "world" should not be highlighted in blue. | 2 WebKit should preserve the inline style declaration. To manually test, cut and p
aste "hello world WebKit" below. "world" should not be highlighted in blue. |
3 | 3 |
4 Before cut and paste: | 4 Before cut and paste: |
5 | "<#selection-anchor>hello " | 5 | "<#selection-anchor>hello " |
6 | <span> | 6 | <span> |
7 | class="test" | 7 | class="test" |
8 | style="background: transparent;" | 8 | style="background: transparent;" |
9 | "world" | 9 | "world" |
10 | " WebKit<#selection-focus>" | 10 | " WebKit<#selection-focus>" |
11 | 11 |
12 After cut and paste: | 12 After cut and paste: |
13 | "hello" | 13 | "hello" |
14 | " " | 14 | " " |
15 | <span> | 15 | <span> |
16 | class="test" | 16 | class="test" |
17 | style="background-color: transparent; " | 17 | style="background-color: transparent; " |
18 | "world" | 18 | "world" |
19 | " " | 19 | " " |
20 | "WebKit<#selection-caret>" | 20 | "WebKit<#selection-caret>" |
21 | <br> | 21 | <br> |
OLD | NEW |