blob: bc16c9afb7ea0b3f05ed1273a887ca81c219c3e4 [file] [log] [blame]
This tests cutting and pasting a content with inline "background: transparent;" into a document with a style rule that overrides this style.
WebKit should preserve the inline style declaration. To manually test, cut and paste "hello world WebKit" below. "world" should not be highlighted in blue.
Before cut and paste:
| "<#selection-anchor>hello "
| <span>
| class="test"
| style="background: transparent;"
| "world"
| " WebKit<#selection-focus>"
After cut and paste:
| "hello "
| <span>
| class="test"
| style="background-color: transparent;"
| "world"
| " "
| "WebKit<#selection-caret>"