blob: 4523f7650b1ce93b23dee7998357108dbe2c4169 [file] [log] [blame]
When copying some text, under certain circumstances, empty style (or font) tags are created. This test checks that there is no empty <font> tag after 'foo' and before 'bar'.
After copy:
| "\n"
| <div>
| class="editing"
| id="test"
| "\n<#selection-anchor>foo\n"
| <div>
| style="color: rgb(255, 0, 0);"
| "\n"
| <div>
| "bar<#selection-focus>"
| "\n"
| "\n"
| "\n"
After paste:
| "\n"
| <div>
| class="editing"
| id="test"
| "foo"
| <div>
| style="color: rgb(255, 0, 0);"
| "bar<#selection-caret>"
| <div>
| style="color: rgb(255, 0, 0);"
| "\n"
| "\n"
| "\n"