blob: 340fc8db4605d909fa3b803683f223c5b87f332a [file] [log] [blame]
This tests inserting a font element with both font-size CSS property and size attribute.
WebKit should not strip just font-size property. Two instances of "hello world" should look identical to each other.
Insertion point:
| <div>
| contenteditable=""
| style="font-size: 25px;"
| "WebKit"
Content to insert:
| <font>
| size="7"
| style="font-size: 25px;"
| "hello "
| <font>
| color="blue"
| size="7"
| style="font-size: 15px;"
| "world "
After insertion:
| <div>
| contenteditable=""
| style="font-size: 25px;"
| "hello "
| <font>
| color="blue"
| style="font-size: 15px;"
| "world <#selection-caret>"
| "WebKit"