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