| OLD | NEW |
| 1 This tests applying inline style to a text node, which is a child of the editabl
e root. Style should be applied properly and the test should not crash. (See the
bug 39989). | 1 This tests applying inline style to a text node, which is a child of the editabl
e root. Style should be applied properly and the test should not crash. (See the
bug 39989). |
| 2 | 2 |
| 3 bold first: | 3 bold first: |
| 4 | <b> | 4 | <b> |
| 5 | "<#selection-anchor>hello, <#selection-focus>" | 5 | "<#selection-anchor>hello, <#selection-focus>" |
| 6 | "world WebKit" | 6 | "world WebKit" |
| 7 | 7 |
| 8 bold middle: | 8 bold middle: |
| 9 | "hello, " | 9 | "hello, " |
| 10 | <b> | 10 | <b> |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 | "hello, world" | 75 | "hello, world" |
| 76 | <strike> | 76 | <strike> |
| 77 | "<#selection-anchor> WebKit<#selection-focus>" | 77 | "<#selection-anchor> WebKit<#selection-focus>" |
| 78 | 78 |
| 79 strikeThrough all: | 79 strikeThrough all: |
| 80 | <strike> | 80 | <strike> |
| 81 | "<#selection-anchor>hello, world WebKit<#selection-focus>" | 81 | "<#selection-anchor>hello, world WebKit<#selection-focus>" |
| 82 | 82 |
| 83 foreColor first: | 83 foreColor first: |
| 84 | <font> | 84 | <font> |
| 85 | class="Apple-style-span" |
| 85 | color="#0000ff" | 86 | color="#0000ff" |
| 86 | "<#selection-anchor>hello, <#selection-focus>" | 87 | "<#selection-anchor>hello, <#selection-focus>" |
| 87 | "world WebKit" | 88 | "world WebKit" |
| 88 | 89 |
| 89 foreColor middle: | 90 foreColor middle: |
| 90 | "hello, " | 91 | "hello, " |
| 91 | <font> | 92 | <font> |
| 93 | class="Apple-style-span" |
| 92 | color="#0000ff" | 94 | color="#0000ff" |
| 93 | "<#selection-anchor>world<#selection-focus>" | 95 | "<#selection-anchor>world<#selection-focus>" |
| 94 | " WebKit" | 96 | " WebKit" |
| 95 | 97 |
| 96 foreColor last: | 98 foreColor last: |
| 97 | "hello, world" | 99 | "hello, world" |
| 98 | <font> | 100 | <font> |
| 101 | class="Apple-style-span" |
| 99 | color="#0000ff" | 102 | color="#0000ff" |
| 100 | "<#selection-anchor> WebKit<#selection-focus>" | 103 | "<#selection-anchor> WebKit<#selection-focus>" |
| 101 | 104 |
| 102 foreColor all: | 105 foreColor all: |
| 103 | <font> | 106 | <font> |
| 107 | class="Apple-style-span" |
| 104 | color="#0000ff" | 108 | color="#0000ff" |
| 105 | "<#selection-anchor>hello, world WebKit<#selection-focus>" | 109 | "<#selection-anchor>hello, world WebKit<#selection-focus>" |
| 106 | 110 |
| 107 hiliteColor first: | 111 hiliteColor first: |
| 108 | <span> | 112 | <span> |
| 113 | class="Apple-style-span" |
| 109 | style="background-color: blue;" | 114 | style="background-color: blue;" |
| 110 | "<#selection-anchor>hello, <#selection-focus>" | 115 | "<#selection-anchor>hello, <#selection-focus>" |
| 111 | "world WebKit" | 116 | "world WebKit" |
| 112 | 117 |
| 113 hiliteColor middle: | 118 hiliteColor middle: |
| 114 | "hello, " | 119 | "hello, " |
| 115 | <span> | 120 | <span> |
| 121 | class="Apple-style-span" |
| 116 | style="background-color: blue;" | 122 | style="background-color: blue;" |
| 117 | "<#selection-anchor>world<#selection-focus>" | 123 | "<#selection-anchor>world<#selection-focus>" |
| 118 | " WebKit" | 124 | " WebKit" |
| 119 | 125 |
| 120 hiliteColor last: | 126 hiliteColor last: |
| 121 | "hello, world" | 127 | "hello, world" |
| 122 | <span> | 128 | <span> |
| 129 | class="Apple-style-span" |
| 123 | style="background-color: blue;" | 130 | style="background-color: blue;" |
| 124 | "<#selection-anchor> WebKit<#selection-focus>" | 131 | "<#selection-anchor> WebKit<#selection-focus>" |
| 125 | 132 |
| 126 hiliteColor all: | 133 hiliteColor all: |
| 127 | <span> | 134 | <span> |
| 135 | class="Apple-style-span" |
| 128 | style="background-color: blue;" | 136 | style="background-color: blue;" |
| 129 | "<#selection-anchor>hello, world WebKit<#selection-focus>" | 137 | "<#selection-anchor>hello, world WebKit<#selection-focus>" |
| 130 | 138 |
| 131 subscript first: | 139 subscript first: |
| 132 | <sub> | 140 | <sub> |
| 133 | "<#selection-anchor>hello, <#selection-focus>" | 141 | "<#selection-anchor>hello, <#selection-focus>" |
| 134 | "world WebKit" | 142 | "world WebKit" |
| 135 | 143 |
| 136 subscript middle: | 144 subscript middle: |
| 137 | "hello, " | 145 | "hello, " |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 184 createLink last: | 192 createLink last: |
| 185 | "hello, world" | 193 | "hello, world" |
| 186 | <a> | 194 | <a> |
| 187 | href="http://webkit.org/" | 195 | href="http://webkit.org/" |
| 188 | "<#selection-anchor> WebKit<#selection-focus>" | 196 | "<#selection-anchor> WebKit<#selection-focus>" |
| 189 | 197 |
| 190 createLink all: | 198 createLink all: |
| 191 | <a> | 199 | <a> |
| 192 | href="http://webkit.org/" | 200 | href="http://webkit.org/" |
| 193 | "<#selection-anchor>hello, world WebKit<#selection-focus>" | 201 | "<#selection-anchor>hello, world WebKit<#selection-focus>" |
| OLD | NEW |