The span style should be preserved when merging div element. The test passes if "bar" contatins the yellow background and it's underlined. | " " |
| "foo<#selection-caret>" | | style="background-color: yellow; text-decoration-line: underline;" | "bar"