blob: ae1bff9aa1c52b7ffa98d9dc3a65888b348606df [file] [log] [blame]
This tests copying and pasting text does not result in nested style elements such as b, em, and font.
To manually test, copy and paste "hello world" below. WebKit should not nest b, i, u, and font.
Before copy-paste:
| <b>
| <i>
| <u>
| <font>
| color="red"
| "<#selection-caret>hello world"
After copy-paste:
| <b>
| <i>
| <u>
| <font>
| color="red"
| "hello world<#selection-caret>"
| <br>