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: | " " |
| class="editing" | id="test" | " <#selection-anchor>foo " |
| style="color: rgb(255, 0, 0);" | " " |
| "bar<#selection-focus>" | " " | " " | " " After paste: | " " |
| class="editing" | id="test" | "foo" |
| style="color: rgb(255, 0, 0); " | "bar<#selection-caret>" |
| style="color: rgb(255, 0, 0);" | " " | " " | " "