blob: 5101aa717238b359c6209b24b96c4cd27204de97 [file] [log] [blame]
This test ensures copying and paste respects !important in style rules.
To test manually, copy and paste the content in the first box to the second box. All text should remain in blue and should remain unboldened.
Original content:
| "
"
| <p>
| "<#selection-anchor>hello "
| <span>
| style="color: red; font-weight: bold;"
| "world"
| "
"
| <p>
| <span>
| class="Apple-style-span"
| style="color: red; font-weight: bold;"
| "WebKit<#selection-focus>"
| "
"
Pasted content:
| "
"
| <p>
| "hello "
| <span>
| style="color: red; font-weight: bold;"
| "world"
| "
"
| <p>
| <span>
| class="Apple-style-span"
| style="color: red; font-weight: bold;"
| "WebKit"
| "
"