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 | <span> | 14 | <span> |
15 | class="test" | 15 | class="test" |
16 | style="background-color: transparent;" | 16 | style="background-color: transparent;" |
17 | "world" | 17 | "world" |
18 | " " | 18 | " " |
19 | "WebKit<#selection-caret>" | 19 | "WebKit<#selection-caret>" |
20 | <br> | |
OLD | NEW |