Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(154)

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/editing/data/subscript.js

Issue 2630243004: Manually import wpt/editing and wpt/selection/ (Closed)
Patch Set: Add expectation Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 var browserTests = [
2 ["foo[]bar",
3 [["subscript",""]],
4 "foo[]bar",
5 [true],
6 {"subscript":[false,false,"",false,true,""]}],
7 ["<p>[foo</p> <p>bar]</p>",
8 [["stylewithcss","true"],["subscript",""]],
9 "<p><sub>[foo</sub></p> <p><sub>bar]</sub></p>",
10 [true,true],
11 {"stylewithcss":[false,false,"",false,true,""],"subscript":[false,false,"",f alse,true,""]}],
12 ["<p>[foo</p> <p>bar]</p>",
13 [["stylewithcss","false"],["subscript",""]],
14 "<p><sub>[foo</sub></p> <p><sub>bar]</sub></p>",
15 [true,true],
16 {"stylewithcss":[false,true,"",false,false,""],"subscript":[false,false,"",f alse,true,""]}],
17 ["<span>[foo</span> <span>bar]</span>",
18 [["stylewithcss","true"],["subscript",""]],
19 "<sub><span>[foo</span> <span>bar]</span></sub>",
20 [true,true],
21 {"stylewithcss":[false,false,"",false,true,""],"subscript":[false,false,"",f alse,true,""]}],
22 ["<span>[foo</span> <span>bar]</span>",
23 [["stylewithcss","false"],["subscript",""]],
24 "<sub><span>[foo</span> <span>bar]</span></sub>",
25 [true,true],
26 {"stylewithcss":[false,true,"",false,false,""],"subscript":[false,false,"",f alse,true,""]}],
27 ["<p>[foo</p><p> <span>bar</span> </p><p>baz]</p>",
28 [["stylewithcss","true"],["subscript",""]],
29 "<p><sub>[foo</sub></p><p> <sub><span>bar</span></sub> </p><p><sub>baz]</sub ></p>",
30 [true,true],
31 {"stylewithcss":[false,false,"",false,true,""],"subscript":[false,false,"",f alse,true,""]}],
32 ["<p>[foo</p><p> <span>bar</span> </p><p>baz]</p>",
33 [["stylewithcss","false"],["subscript",""]],
34 "<p><sub>[foo</sub></p><p> <sub><span>bar</span></sub> </p><p><sub>baz]</sub ></p>",
35 [true,true],
36 {"stylewithcss":[false,true,"",false,false,""],"subscript":[false,false,"",f alse,true,""]}],
37 ["<p>[foo<p><br><p>bar]",
38 [["stylewithcss","true"],["subscript",""]],
39 "<p><sub>[foo</sub></p><p><sub><br></sub></p><p><sub>bar]</sub></p>",
40 [true,true],
41 {"stylewithcss":[false,false,"",false,true,""],"subscript":[false,false,"",f alse,true,""]}],
42 ["<p>[foo<p><br><p>bar]",
43 [["stylewithcss","false"],["subscript",""]],
44 "<p><sub>[foo</sub></p><p><sub><br></sub></p><p><sub>bar]</sub></p>",
45 [true,true],
46 {"stylewithcss":[false,true,"",false,false,""],"subscript":[false,false,"",f alse,true,""]}],
47 ["<b>foo[]bar</b>",
48 [["subscript",""]],
49 "<b>foo[]bar</b>",
50 [true],
51 {"subscript":[false,false,"",false,true,""]}],
52 ["<i>foo[]bar</i>",
53 [["subscript",""]],
54 "<i>foo[]bar</i>",
55 [true],
56 {"subscript":[false,false,"",false,true,""]}],
57 ["<span>foo</span>{}<span>bar</span>",
58 [["subscript",""]],
59 "<span>foo</span>{}<span>bar</span>",
60 [true],
61 {"subscript":[false,false,"",false,true,""]}],
62 ["<span>foo[</span><span>]bar</span>",
63 [["subscript",""]],
64 "<span>foo[</span><span>]bar</span>",
65 [true],
66 {"subscript":[false,false,"",false,true,""]}],
67 ["foo[bar]baz",
68 [["stylewithcss","true"],["subscript",""]],
69 "foo<sub>[bar]</sub>baz",
70 [true,true],
71 {"stylewithcss":[false,false,"",false,true,""],"subscript":[false,false,"",f alse,true,""]}],
72 ["foo[bar]baz",
73 [["stylewithcss","false"],["subscript",""]],
74 "foo<sub>[bar]</sub>baz",
75 [true,true],
76 {"stylewithcss":[false,true,"",false,false,""],"subscript":[false,false,"",f alse,true,""]}],
77 ["foo[bar<b>baz]qoz</b>quz",
78 [["stylewithcss","true"],["subscript",""]],
79 "foo<sub>[bar</sub><b><sub>baz]</sub>qoz</b>quz",
80 [true,true],
81 {"stylewithcss":[false,false,"",false,true,""],"subscript":[false,false,"",f alse,true,""]}],
82 ["foo[bar<b>baz]qoz</b>quz",
83 [["stylewithcss","false"],["subscript",""]],
84 "foo<sub>[bar</sub><b><sub>baz]</sub>qoz</b>quz",
85 [true,true],
86 {"stylewithcss":[false,true,"",false,false,""],"subscript":[false,false,"",f alse,true,""]}],
87 ["foo[bar<i>baz]qoz</i>quz",
88 [["stylewithcss","true"],["subscript",""]],
89 "foo<sub>[bar</sub><i><sub>baz]</sub>qoz</i>quz",
90 [true,true],
91 {"stylewithcss":[false,false,"",false,true,""],"subscript":[false,false,"",f alse,true,""]}],
92 ["foo[bar<i>baz]qoz</i>quz",
93 [["stylewithcss","false"],["subscript",""]],
94 "foo<sub>[bar</sub><i><sub>baz]</sub>qoz</i>quz",
95 [true,true],
96 {"stylewithcss":[false,true,"",false,false,""],"subscript":[false,false,"",f alse,true,""]}],
97 ["{<p><p> <p>foo</p>}",
98 [["stylewithcss","true"],["subscript",""]],
99 "{<p></p><p> </p><p><sub>foo</sub></p>}",
100 [true,true],
101 {"stylewithcss":[false,false,"",false,true,""],"subscript":[false,false,"",f alse,true,""]}],
102 ["{<p><p> <p>foo</p>}",
103 [["stylewithcss","false"],["subscript",""]],
104 "{<p></p><p> </p><p><sub>foo</sub></p>}",
105 [true,true],
106 {"stylewithcss":[false,true,"",false,false,""],"subscript":[false,false,"",f alse,true,""]}],
107 ["<table><tbody><tr><td>foo<td>b[a]r<td>baz</table>",
108 [["stylewithcss","true"],["subscript",""]],
109 "<table><tbody><tr><td>foo</td><td>b<sub>[a]</sub>r</td><td>baz</td></tr></t body></table>",
110 [true,true],
111 {"stylewithcss":[false,false,"",false,true,""],"subscript":[false,false,"",f alse,true,""]}],
112 ["<table><tbody><tr><td>foo<td>b[a]r<td>baz</table>",
113 [["stylewithcss","false"],["subscript",""]],
114 "<table><tbody><tr><td>foo</td><td>b<sub>[a]</sub>r</td><td>baz</td></tr></t body></table>",
115 [true,true],
116 {"stylewithcss":[false,true,"",false,false,""],"subscript":[false,false,"",f alse,true,""]}],
117 ["<table><tbody><tr data-start=1 data-end=2><td>foo<td>bar<td>baz</table>",
118 [["stylewithcss","true"],["subscript",""]],
119 "<table><tbody><tr><td>foo</td>{<td><sub>bar</sub></td>}<td>baz</td></tr></t body></table>",
120 [true,true],
121 {"stylewithcss":[false,false,"",false,true,""],"subscript":[false,false,"",f alse,true,""]}],
122 ["<table><tbody><tr data-start=1 data-end=2><td>foo<td>bar<td>baz</table>",
123 [["stylewithcss","false"],["subscript",""]],
124 "<table><tbody><tr><td>foo</td>{<td><sub>bar</sub></td>}<td>baz</td></tr></t body></table>",
125 [true,true],
126 {"stylewithcss":[false,true,"",false,false,""],"subscript":[false,false,"",f alse,true,""]}],
127 ["<table><tbody><tr data-start=0 data-end=2><td>foo<td>bar<td>baz</table>",
128 [["stylewithcss","true"],["subscript",""]],
129 "<table><tbody><tr>{<td><sub>foo</sub></td><td><sub>bar</sub></td>}<td>baz</ td></tr></tbody></table>",
130 [true,true],
131 {"stylewithcss":[false,false,"",false,true,""],"subscript":[false,false,"",f alse,true,""]}],
132 ["<table><tbody><tr data-start=0 data-end=2><td>foo<td>bar<td>baz</table>",
133 [["stylewithcss","false"],["subscript",""]],
134 "<table><tbody><tr>{<td><sub>foo</sub></td><td><sub>bar</sub></td>}<td>baz</ td></tr></tbody></table>",
135 [true,true],
136 {"stylewithcss":[false,true,"",false,false,""],"subscript":[false,false,"",f alse,true,""]}],
137 ["<table><tbody data-start=0 data-end=1><tr><td>foo<td>bar<td>baz</table>",
138 [["stylewithcss","true"],["subscript",""]],
139 "<table><tbody>{<tr><td><sub>foo</sub></td><td><sub>bar</sub></td><td><sub>b az</sub></td></tr>}</tbody></table>",
140 [true,true],
141 {"stylewithcss":[false,false,"",false,true,""],"subscript":[false,false,"",f alse,true,""]}],
142 ["<table><tbody data-start=0 data-end=1><tr><td>foo<td>bar<td>baz</table>",
143 [["stylewithcss","false"],["subscript",""]],
144 "<table><tbody>{<tr><td><sub>foo</sub></td><td><sub>bar</sub></td><td><sub>b az</sub></td></tr>}</tbody></table>",
145 [true,true],
146 {"stylewithcss":[false,true,"",false,false,""],"subscript":[false,false,"",f alse,true,""]}],
147 ["<table data-start=0 data-end=1><tbody><tr><td>foo<td>bar<td>baz</table>",
148 [["stylewithcss","true"],["subscript",""]],
149 "<table>{<tbody><tr><td><sub>foo</sub></td><td><sub>bar</sub></td><td><sub>b az</sub></td></tr></tbody>}</table>",
150 [true,true],
151 {"stylewithcss":[false,false,"",false,true,""],"subscript":[false,false,"",f alse,true,""]}],
152 ["<table data-start=0 data-end=1><tbody><tr><td>foo<td>bar<td>baz</table>",
153 [["stylewithcss","false"],["subscript",""]],
154 "<table>{<tbody><tr><td><sub>foo</sub></td><td><sub>bar</sub></td><td><sub>b az</sub></td></tr></tbody>}</table>",
155 [true,true],
156 {"stylewithcss":[false,true,"",false,false,""],"subscript":[false,false,"",f alse,true,""]}],
157 ["{<table><tr><td>foo<td>bar<td>baz</table>}",
158 [["stylewithcss","true"],["subscript",""]],
159 "{<table><tbody><tr><td><sub>foo</sub></td><td><sub>bar</sub></td><td><sub>b az</sub></td></tr></tbody></table>}",
160 [true,true],
161 {"stylewithcss":[false,false,"",false,true,""],"subscript":[false,false,"",f alse,true,""]}],
162 ["{<table><tr><td>foo<td>bar<td>baz</table>}",
163 [["stylewithcss","false"],["subscript",""]],
164 "{<table><tbody><tr><td><sub>foo</sub></td><td><sub>bar</sub></td><td><sub>b az</sub></td></tr></tbody></table>}",
165 [true,true],
166 {"stylewithcss":[false,true,"",false,false,""],"subscript":[false,false,"",f alse,true,""]}],
167 ["foo<sub>[bar]</sub>baz",
168 [["stylewithcss","true"],["subscript",""]],
169 "foo[bar]baz",
170 [true,true],
171 {"stylewithcss":[false,false,"",false,true,""],"subscript":[false,true,"",fa lse,false,""]}],
172 ["foo<sub>[bar]</sub>baz",
173 [["stylewithcss","false"],["subscript",""]],
174 "foo[bar]baz",
175 [true,true],
176 {"stylewithcss":[false,true,"",false,false,""],"subscript":[false,true,"",fa lse,false,""]}],
177 ["foo<sub>b[a]r</sub>baz",
178 [["stylewithcss","true"],["subscript",""]],
179 "foo<sub>b</sub>[a]<sub>r</sub>baz",
180 [true,true],
181 {"stylewithcss":[false,false,"",false,true,""],"subscript":[false,true,"",fa lse,false,""]}],
182 ["foo<sub>b[a]r</sub>baz",
183 [["stylewithcss","false"],["subscript",""]],
184 "foo<sub>b</sub>[a]<sub>r</sub>baz",
185 [true,true],
186 {"stylewithcss":[false,true,"",false,false,""],"subscript":[false,true,"",fa lse,false,""]}],
187 ["foo<sup>[bar]</sup>baz",
188 [["stylewithcss","true"],["subscript",""]],
189 "foo<sub>[bar]</sub>baz",
190 [true,true],
191 {"stylewithcss":[false,false,"",false,true,""],"subscript":[false,false,"",f alse,true,""]}],
192 ["foo<sup>[bar]</sup>baz",
193 [["stylewithcss","false"],["subscript",""]],
194 "foo<sub>[bar]</sub>baz",
195 [true,true],
196 {"stylewithcss":[false,true,"",false,false,""],"subscript":[false,false,"",f alse,true,""]}],
197 ["foo<sup>b[a]r</sup>baz",
198 [["stylewithcss","true"],["subscript",""]],
199 "foo<sup>b</sup><sub>[a]</sub><sup>r</sup>baz",
200 [true,true],
201 {"stylewithcss":[false,false,"",false,true,""],"subscript":[false,false,"",f alse,true,""]}],
202 ["foo<sup>b[a]r</sup>baz",
203 [["stylewithcss","false"],["subscript",""]],
204 "foo<sup>b</sup><sub>[a]</sub><sup>r</sup>baz",
205 [true,true],
206 {"stylewithcss":[false,true,"",false,false,""],"subscript":[false,false,"",f alse,true,""]}],
207 ["foo<span style=vertical-align:sub>[bar]</span>baz",
208 [["stylewithcss","true"],["subscript",""]],
209 "foo<sub><span style=\"vertical-align:sub\">[bar]</span></sub>baz",
210 [true,true],
211 {"stylewithcss":[false,false,"",false,true,""],"subscript":[false,false,"",f alse,true,""]}],
212 ["foo<span style=vertical-align:sub>[bar]</span>baz",
213 [["stylewithcss","false"],["subscript",""]],
214 "foo<sub><span style=\"vertical-align:sub\">[bar]</span></sub>baz",
215 [true,true],
216 {"stylewithcss":[false,true,"",false,false,""],"subscript":[false,false,"",f alse,true,""]}],
217 ["foo<span style=vertical-align:super>[bar]</span>baz",
218 [["stylewithcss","true"],["subscript",""]],
219 "foo<sub><span style=\"vertical-align:super\">[bar]</span></sub>baz",
220 [true,true],
221 {"stylewithcss":[false,false,"",false,true,""],"subscript":[false,false,"",f alse,true,""]}],
222 ["foo<span style=vertical-align:super>[bar]</span>baz",
223 [["stylewithcss","false"],["subscript",""]],
224 "foo<sub><span style=\"vertical-align:super\">[bar]</span></sub>baz",
225 [true,true],
226 {"stylewithcss":[false,true,"",false,false,""],"subscript":[false,false,"",f alse,true,""]}],
227 ["foo<sub><sub>[bar]</sub></sub>baz",
228 [["stylewithcss","true"],["subscript",""]],
229 "foo[bar]baz",
230 [true,true],
231 {"stylewithcss":[false,false,"",false,true,""],"subscript":[false,true,"",fa lse,false,""]}],
232 ["foo<sub><sub>[bar]</sub></sub>baz",
233 [["stylewithcss","false"],["subscript",""]],
234 "foo[bar]baz",
235 [true,true],
236 {"stylewithcss":[false,true,"",false,false,""],"subscript":[false,true,"",fa lse,false,""]}],
237 ["foo<sub><sub>b[a]r</sub></sub>baz",
238 [["subscript",""]],
239 "foo<sub>b</sub>[a]<sub>r</sub>baz",
240 [true],
241 {"subscript":[false,true,"",false,false,""]}],
242 ["foo<sub>b<sub>[a]</sub>r</sub>baz",
243 [["subscript",""]],
244 "foo<sub>b</sub>[a]<sub>r</sub>baz",
245 [true],
246 {"subscript":[false,true,"",false,false,""]}],
247 ["foo<sup><sup>[bar]</sup></sup>baz",
248 [["stylewithcss","true"],["subscript",""]],
249 "foo<sub>[bar]</sub>baz",
250 [true,true],
251 {"stylewithcss":[false,false,"",false,true,""],"subscript":[false,false,"",f alse,true,""]}],
252 ["foo<sup><sup>[bar]</sup></sup>baz",
253 [["stylewithcss","false"],["subscript",""]],
254 "foo<sub>[bar]</sub>baz",
255 [true,true],
256 {"stylewithcss":[false,true,"",false,false,""],"subscript":[false,false,"",f alse,true,""]}],
257 ["foo<sup><sup>b[a]r</sup></sup>baz",
258 [["stylewithcss","true"],["subscript",""]],
259 "foo<sup>b</sup><sub>[a]</sub><sup>r</sup>baz",
260 [true,true],
261 {"stylewithcss":[false,false,"",false,true,""],"subscript":[false,false,"",f alse,true,""]}],
262 ["foo<sup><sup>b[a]r</sup></sup>baz",
263 [["stylewithcss","false"],["subscript",""]],
264 "foo<sup>b</sup><sub>[a]</sub><sup>r</sup>baz",
265 [true,true],
266 {"stylewithcss":[false,true,"",false,false,""],"subscript":[false,false,"",f alse,true,""]}],
267 ["foo<sup>b<sup>[a]</sup>r</sup>baz",
268 [["stylewithcss","true"],["subscript",""]],
269 "foo<sup>b</sup><sub>[a]</sub><sup>r</sup>baz",
270 [true,true],
271 {"stylewithcss":[false,false,"",false,true,""],"subscript":[false,false,"",f alse,true,""]}],
272 ["foo<sup>b<sup>[a]</sup>r</sup>baz",
273 [["stylewithcss","false"],["subscript",""]],
274 "foo<sup>b</sup><sub>[a]</sub><sup>r</sup>baz",
275 [true,true],
276 {"stylewithcss":[false,true,"",false,false,""],"subscript":[false,false,"",f alse,true,""]}],
277 ["foo<sub><sup>[bar]</sup></sub>baz",
278 [["stylewithcss","true"],["subscript",""]],
279 "foo<sub>[bar]</sub>baz",
280 [true,true],
281 {"stylewithcss":[false,false,"",false,true,""],"subscript":[true,false,"",fa lse,true,""]}],
282 ["foo<sub><sup>[bar]</sup></sub>baz",
283 [["stylewithcss","false"],["subscript",""]],
284 "foo<sub>[bar]</sub>baz",
285 [true,true],
286 {"stylewithcss":[false,true,"",false,false,""],"subscript":[true,false,"",fa lse,true,""]}],
287 ["foo<sub><sup>b[a]r</sup></sub>baz",
288 [["stylewithcss","true"],["subscript",""]],
289 "foo<sup>b</sup><sub>[a]</sub><sup>r</sup>baz",
290 [true,true],
291 {"stylewithcss":[false,false,"",false,true,""],"subscript":[true,false,"",fa lse,true,""]}],
292 ["foo<sub><sup>b[a]r</sup></sub>baz",
293 [["stylewithcss","false"],["subscript",""]],
294 "foo<sup>b</sup><sub>[a]</sub><sup>r</sup>baz",
295 [true,true],
296 {"stylewithcss":[false,true,"",false,false,""],"subscript":[true,false,"",fa lse,true,""]}],
297 ["foo<sub>b<sup>[a]</sup>r</sub>baz",
298 [["stylewithcss","true"],["subscript",""]],
299 "foo<sub>b[a]r</sub>baz",
300 [true,true],
301 {"stylewithcss":[false,false,"",false,true,""],"subscript":[true,false,"",fa lse,true,""]}],
302 ["foo<sub>b<sup>[a]</sup>r</sub>baz",
303 [["stylewithcss","false"],["subscript",""]],
304 "foo<sub>b[a]r</sub>baz",
305 [true,true],
306 {"stylewithcss":[false,true,"",false,false,""],"subscript":[true,false,"",fa lse,true,""]}],
307 ["foo<sup><sub>[bar]</sub></sup>baz",
308 [["stylewithcss","true"],["subscript",""]],
309 "foo<sub>[bar]</sub>baz",
310 [true,true],
311 {"stylewithcss":[false,false,"",false,true,""],"subscript":[true,false,"",fa lse,true,""]}],
312 ["foo<sup><sub>[bar]</sub></sup>baz",
313 [["stylewithcss","false"],["subscript",""]],
314 "foo<sub>[bar]</sub>baz",
315 [true,true],
316 {"stylewithcss":[false,true,"",false,false,""],"subscript":[true,false,"",fa lse,true,""]}],
317 ["foo<sup><sub>b[a]r</sub></sup>baz",
318 [["stylewithcss","true"],["subscript",""]],
319 "foo<sub>b[a]r</sub>baz",
320 [true,true],
321 {"stylewithcss":[false,false,"",false,true,""],"subscript":[true,false,"",fa lse,true,""]}],
322 ["foo<sup><sub>b[a]r</sub></sup>baz",
323 [["stylewithcss","false"],["subscript",""]],
324 "foo<sub>b[a]r</sub>baz",
325 [true,true],
326 {"stylewithcss":[false,true,"",false,false,""],"subscript":[true,false,"",fa lse,true,""]}],
327 ["foo<sup>b<sub>[a]</sub>r</sup>baz",
328 [["stylewithcss","true"],["subscript",""]],
329 "foo<sup>b</sup><sub>[a]</sub><sup>r</sup>baz",
330 [true,true],
331 {"stylewithcss":[false,false,"",false,true,""],"subscript":[true,false,"",fa lse,true,""]}],
332 ["foo<sup>b<sub>[a]</sub>r</sup>baz",
333 [["stylewithcss","false"],["subscript",""]],
334 "foo<sup>b</sup><sub>[a]</sub><sup>r</sup>baz",
335 [true,true],
336 {"stylewithcss":[false,true,"",false,false,""],"subscript":[true,false,"",fa lse,true,""]}],
337 ["fo[o<sub>b]ar</sub>baz",
338 [["subscript",""]],
339 "fo<sub>[ob]ar</sub>baz",
340 [true],
341 {"subscript":[true,false,"",false,true,""]}],
342 ["foo<sub>ba[r</sub>b]az",
343 [["subscript",""]],
344 "foo<sub>ba[rb]</sub>az",
345 [true],
346 {"subscript":[true,false,"",false,true,""]}],
347 ["fo[o<sub>bar</sub>b]az",
348 [["subscript",""]],
349 "fo<sub>[obarb]</sub>az",
350 [true],
351 {"subscript":[true,false,"",false,true,""]}],
352 ["foo[<sub>b]ar</sub>baz",
353 [["subscript",""]],
354 "foo[b]<sub>ar</sub>baz",
355 [true],
356 {"subscript":[false,true,"",false,false,""]}],
357 ["foo<sub>ba[r</sub>]baz",
358 [["subscript",""]],
359 "foo<sub>ba</sub>[r]baz",
360 [true],
361 {"subscript":[false,true,"",false,false,""]}],
362 ["foo[<sub>bar</sub>]baz",
363 [["stylewithcss","true"],["subscript",""]],
364 "foo[bar]baz",
365 [true,true],
366 {"stylewithcss":[false,false,"",false,true,""],"subscript":[false,true,"",fa lse,false,""]}],
367 ["foo[<sub>bar</sub>]baz",
368 [["stylewithcss","false"],["subscript",""]],
369 "foo[bar]baz",
370 [true,true],
371 {"stylewithcss":[false,true,"",false,false,""],"subscript":[false,true,"",fa lse,false,""]}],
372 ["foo<sub>[bar]</sub>baz",
373 [["stylewithcss","true"],["subscript",""]],
374 "foo[bar]baz",
375 [true,true],
376 {"stylewithcss":[false,false,"",false,true,""],"subscript":[false,true,"",fa lse,false,""]}],
377 ["foo<sub>[bar]</sub>baz",
378 [["stylewithcss","false"],["subscript",""]],
379 "foo[bar]baz",
380 [true,true],
381 {"stylewithcss":[false,true,"",false,false,""],"subscript":[false,true,"",fa lse,false,""]}],
382 ["foo{<sub>bar</sub>}baz",
383 [["stylewithcss","true"],["subscript",""]],
384 "foo{bar}baz",
385 [true,true],
386 {"stylewithcss":[false,false,"",false,true,""],"subscript":[false,true,"",fa lse,false,""]}],
387 ["foo{<sub>bar</sub>}baz",
388 [["stylewithcss","false"],["subscript",""]],
389 "foo{bar}baz",
390 [true,true],
391 {"stylewithcss":[false,true,"",false,false,""],"subscript":[false,true,"",fa lse,false,""]}],
392 ["<sub>fo[o</sub><sup>b]ar</sup>",
393 [["subscript",""]],
394 "<sub>fo[ob]</sub><sup>ar</sup>",
395 [true],
396 {"subscript":[true,false,"",false,true,""]}],
397 ["<sub>fo[o</sub><span style=vertical-align:sub>b]ar</span>",
398 [["stylewithcss","true"],["subscript",""]],
399 "<sub>fo[o</sub><span style=\"vertical-align:sub\"><sub>b]</sub>ar</span>",
400 [true,true],
401 {"stylewithcss":[false,false,"",false,true,""],"subscript":[true,false,"",fa lse,true,""]}],
402 ["<sub>fo[o</sub><span style=vertical-align:sub>b]ar</span>",
403 [["stylewithcss","false"],["subscript",""]],
404 "<sub>fo[o</sub><span style=\"vertical-align:sub\"><sub>b]</sub>ar</span>",
405 [true,true],
406 {"stylewithcss":[false,true,"",false,false,""],"subscript":[true,false,"",fa lse,true,""]}],
407 ["foo<span style=vertical-align:top>[bar]</span>baz",
408 [["stylewithcss","true"],["subscript",""]],
409 "foo<sub><span style=\"vertical-align:top\">[bar]</span></sub>baz",
410 [true,true],
411 {"stylewithcss":[false,false,"",false,true,""],"subscript":[false,false,"",f alse,true,""]}],
412 ["foo<span style=vertical-align:top>[bar]</span>baz",
413 [["stylewithcss","false"],["subscript",""]],
414 "foo<sub><span style=\"vertical-align:top\">[bar]</span></sub>baz",
415 [true,true],
416 {"stylewithcss":[false,true,"",false,false,""],"subscript":[false,false,"",f alse,true,""]}],
417 ["<sub>fo[o</sub><span style=vertical-align:top>b]ar</span>",
418 [["stylewithcss","true"],["subscript",""]],
419 "<sub>fo[o</sub><span style=\"vertical-align:top\"><sub>b]</sub>ar</span>",
420 [true,true],
421 {"stylewithcss":[false,false,"",false,true,""],"subscript":[true,false,"",fa lse,true,""]}],
422 ["<sub>fo[o</sub><span style=vertical-align:top>b]ar</span>",
423 [["stylewithcss","false"],["subscript",""]],
424 "<sub>fo[o</sub><span style=\"vertical-align:top\"><sub>b]</sub>ar</span>",
425 [true,true],
426 {"stylewithcss":[false,true,"",false,false,""],"subscript":[true,false,"",fa lse,true,""]}]
427 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698