blob: 8f6a4af09c6dad4742fbf4c6aba6555dd87859de [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:
| "\n"
| <p>
| "<#selection-anchor>hello "
| <span>
| style="color: red; font-weight: bold;"
| "world"
| "\n"
| <p>
| <span>
| class="Apple-style-span"
| style="color: red; font-weight: bold;"
| "WebKit<#selection-focus>"
| "\n"
Pasted content:
| "\n"
| <p>
| "hello "
| <span>
| style="color: red; font-weight: bold;"
| "world"
| "\n"
| <p>
| <span>
| class="Apple-style-span"
| style="color: red; font-weight: bold;"
| "WebKit"
| "\n"