Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / style / style-text-node-without-editable-parent-expected.txt
blob07b07075fe8a1f6c0a238be2a56a6f519944e510
1 This tests applying inline style to a text node, which is a child of the editable root. Style should be applied properly and the test should not crash. (See the bug 39989).
3 bold first:
4 | <b>
5 |   "<#selection-anchor>hello, <#selection-focus>"
6 | "world WebKit"
8 bold middle:
9 | "hello, "
10 | <b>
11 |   "<#selection-anchor>world<#selection-focus>"
12 | " WebKit"
14 bold last:
15 | "hello, world"
16 | <b>
17 |   "<#selection-anchor> WebKit<#selection-focus>"
19 bold all:
20 | <b>
21 |   "<#selection-anchor>hello, world WebKit<#selection-focus>"
23 italic first:
24 | <i>
25 |   "<#selection-anchor>hello, <#selection-focus>"
26 | "world WebKit"
28 italic middle:
29 | "hello, "
30 | <i>
31 |   "<#selection-anchor>world<#selection-focus>"
32 | " WebKit"
34 italic last:
35 | "hello, world"
36 | <i>
37 |   "<#selection-anchor> WebKit<#selection-focus>"
39 italic all:
40 | <i>
41 |   "<#selection-anchor>hello, world WebKit<#selection-focus>"
43 underline first:
44 | <u>
45 |   "<#selection-anchor>hello, <#selection-focus>"
46 | "world WebKit"
48 underline middle:
49 | "hello, "
50 | <u>
51 |   "<#selection-anchor>world<#selection-focus>"
52 | " WebKit"
54 underline last:
55 | "hello, world"
56 | <u>
57 |   "<#selection-anchor> WebKit<#selection-focus>"
59 underline all:
60 | <u>
61 |   "<#selection-anchor>hello, world WebKit<#selection-focus>"
63 strikeThrough first:
64 | <strike>
65 |   "<#selection-anchor>hello, <#selection-focus>"
66 | "world WebKit"
68 strikeThrough middle:
69 | "hello, "
70 | <strike>
71 |   "<#selection-anchor>world<#selection-focus>"
72 | " WebKit"
74 strikeThrough last:
75 | "hello, world"
76 | <strike>
77 |   "<#selection-anchor> WebKit<#selection-focus>"
79 strikeThrough all:
80 | <strike>
81 |   "<#selection-anchor>hello, world WebKit<#selection-focus>"
83 foreColor first:
84 | <font>
85 |   color="#0000ff"
86 |   "<#selection-anchor>hello, <#selection-focus>"
87 | "world WebKit"
89 foreColor middle:
90 | "hello, "
91 | <font>
92 |   color="#0000ff"
93 |   "<#selection-anchor>world<#selection-focus>"
94 | " WebKit"
96 foreColor last:
97 | "hello, world"
98 | <font>
99 |   color="#0000ff"
100 |   "<#selection-anchor> WebKit<#selection-focus>"
102 foreColor all:
103 | <font>
104 |   color="#0000ff"
105 |   "<#selection-anchor>hello, world WebKit<#selection-focus>"
107 hiliteColor first:
108 | <span>
109 |   style="background-color: blue;"
110 |   "<#selection-anchor>hello, <#selection-focus>"
111 | "world WebKit"
113 hiliteColor middle:
114 | "hello, "
115 | <span>
116 |   style="background-color: blue;"
117 |   "<#selection-anchor>world<#selection-focus>"
118 | " WebKit"
120 hiliteColor last:
121 | "hello, world"
122 | <span>
123 |   style="background-color: blue;"
124 |   "<#selection-anchor> WebKit<#selection-focus>"
126 hiliteColor all:
127 | <span>
128 |   style="background-color: blue;"
129 |   "<#selection-anchor>hello, world WebKit<#selection-focus>"
131 subscript first:
132 | <sub>
133 |   "<#selection-anchor>hello, <#selection-focus>"
134 | "world WebKit"
136 subscript middle:
137 | "hello, "
138 | <sub>
139 |   "<#selection-anchor>world<#selection-focus>"
140 | " WebKit"
142 subscript last:
143 | "hello, world"
144 | <sub>
145 |   "<#selection-anchor> WebKit<#selection-focus>"
147 subscript all:
148 | <sub>
149 |   "<#selection-anchor>hello, world WebKit<#selection-focus>"
151 superscript first:
152 | <sup>
153 |   "<#selection-anchor>hello, <#selection-focus>"
154 | "world WebKit"
156 superscript middle:
157 | "hello, "
158 | <sup>
159 |   "<#selection-anchor>world<#selection-focus>"
160 | " WebKit"
162 superscript last:
163 | "hello, world"
164 | <sup>
165 |   "<#selection-anchor> WebKit<#selection-focus>"
167 superscript all:
168 | <sup>
169 |   "<#selection-anchor>hello, world WebKit<#selection-focus>"
171 createLink first:
172 | <a>
173 |   href="http://webkit.org/"
174 |   "<#selection-anchor>hello, <#selection-focus>"
175 | "world WebKit"
177 createLink middle:
178 | "hello, "
179 | <a>
180 |   href="http://webkit.org/"
181 |   "<#selection-anchor>world<#selection-focus>"
182 | " WebKit"
184 createLink last:
185 | "hello, world"
186 | <a>
187 |   href="http://webkit.org/"
188 |   "<#selection-anchor> WebKit<#selection-focus>"
190 createLink all:
191 | <a>
192 |   href="http://webkit.org/"
193 |   "<#selection-anchor>hello, world WebKit<#selection-focus>"