blob: fb9dc93f6d968af8a9d4f93a21e8dc3d1159befc [file] [log] [blame]
This tests inserting an u element with text-decoration property set to none.
WebKit should not strip just font-size property. Two instances of "hello world" should look identical to each other.
Insertion point:
| <div>
| contenteditable=""
| " WebKit"
Content to insert:
| <u>
| style="text-decoration: none;"
| "hello "
| <u>
| style="text-decoration: line-through;"
| "world"
After insertion:
| <div>
| contenteditable=""
| "hello "
| <span>
| style="text-decoration: line-through;"
| "world<#selection-caret>"
| " WebKit"