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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/editing/data/inserthorizontalrule.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 [["inserthorizontalrule",""]],
4 "foo<hr>{}bar",
5 [true],
6 {"inserthorizontalrule":[false,false,"",false,false,""]}],
7 ["<span>foo</span>{}<span>bar</span>",
8 [["inserthorizontalrule",""]],
9 "<span>foo</span><hr>{}<span>bar</span>",
10 [true],
11 {"inserthorizontalrule":[false,false,"",false,false,""]}],
12 ["<span>foo[</span><span>]bar</span>",
13 [["inserthorizontalrule",""]],
14 "<span>foo</span><hr>{}<span>bar</span>",
15 [true],
16 {"inserthorizontalrule":[false,false,"",false,false,""]}],
17 ["<p>foo[bar<p>baz]quz",
18 [["inserthorizontalrule",""]],
19 "<p>foo</p><hr>{}<p>quz</p>",
20 [true],
21 {"inserthorizontalrule":[false,false,"",false,false,""]}],
22 ["<div><b>foo</b>{}<b>bar</b></div>",
23 [["inserthorizontalrule",""]],
24 "<div><b>foo</b><hr>{}<b>bar</b></div>",
25 [true],
26 {"inserthorizontalrule":[false,false,"",false,false,""]}],
27 ["<div><b>foo[</b><b>]bar</b></div>",
28 [["inserthorizontalrule",""]],
29 "<div><b>foo</b><hr>{}<b>bar</b></div>",
30 [true],
31 {"inserthorizontalrule":[false,false,"",false,false,""]}],
32 ["<div><b>foo</b>{<b>bar</b>}<b>baz</b></div>",
33 [["stylewithcss","true"],["inserthorizontalrule",""]],
34 "<div><b>foo</b><hr>{}<b>baz</b></div>",
35 [true,true],
36 {"stylewithcss":[false,false,"",false,true,""],"inserthorizontalrule":[false ,false,"",false,false,""]}],
37 ["<div><b>foo</b>{<b>bar</b>}<b>baz</b></div>",
38 [["stylewithcss","false"],["inserthorizontalrule",""]],
39 "<div><b>foo</b><hr>{}<b>baz</b></div>",
40 [true,true],
41 {"stylewithcss":[false,true,"",false,false,""],"inserthorizontalrule":[false ,false,"",false,false,""]}],
42 ["<b>foo[]bar</b>",
43 [["stylewithcss","true"],["inserthorizontalrule",""]],
44 "<b>foo</b><hr>{}<b>bar</b>",
45 [true,true],
46 {"stylewithcss":[false,false,"",false,true,""],"inserthorizontalrule":[false ,false,"",false,false,""]}],
47 ["<b>foo[]bar</b>",
48 [["stylewithcss","false"],["inserthorizontalrule",""]],
49 "<b>foo</b><hr>{}<b>bar</b>",
50 [true,true],
51 {"stylewithcss":[false,true,"",false,false,""],"inserthorizontalrule":[false ,false,"",false,false,""]}],
52 ["<b id=abc>foo[]bar</b>",
53 [["stylewithcss","true"],["inserthorizontalrule",""]],
54 "<b id=\"abc\">foo</b><hr>{}<b>bar</b>",
55 [true,true],
56 {"stylewithcss":[false,false,"",false,true,""],"inserthorizontalrule":[false ,false,"",false,false,""]}],
57 ["<b id=abc>foo[]bar</b>",
58 [["stylewithcss","false"],["inserthorizontalrule",""]],
59 "<b id=\"abc\">foo</b><hr>{}<b>bar</b>",
60 [true,true],
61 {"stylewithcss":[false,true,"",false,false,""],"inserthorizontalrule":[false ,false,"",false,false,""]}],
62 ["foo[bar]baz",
63 [["inserthorizontalrule","abc"]],
64 "foo<hr>{}baz",
65 [true],
66 {"inserthorizontalrule":[false,false,"",false,false,""]}],
67 ["foo[bar]baz",
68 [["inserthorizontalrule",""]],
69 "foo<hr>{}baz",
70 [true],
71 {"inserthorizontalrule":[false,false,"",false,false,""]}],
72 ["foo<b>[bar]</b>baz",
73 [["stylewithcss","true"],["inserthorizontalrule",""]],
74 "foo<hr>{}baz",
75 [true,true],
76 {"stylewithcss":[false,false,"",false,true,""],"inserthorizontalrule":[false ,false,"",false,false,""]}],
77 ["foo<b>[bar]</b>baz",
78 [["stylewithcss","false"],["inserthorizontalrule",""]],
79 "foo<hr>{}baz",
80 [true,true],
81 {"stylewithcss":[false,true,"",false,false,""],"inserthorizontalrule":[false ,false,"",false,false,""]}],
82 ["foo<b>{bar}</b>baz",
83 [["stylewithcss","true"],["inserthorizontalrule",""]],
84 "foo<hr>{}baz",
85 [true,true],
86 {"stylewithcss":[false,false,"",false,true,""],"inserthorizontalrule":[false ,false,"",false,false,""]}],
87 ["foo<b>{bar}</b>baz",
88 [["stylewithcss","false"],["inserthorizontalrule",""]],
89 "foo<hr>{}baz",
90 [true,true],
91 {"stylewithcss":[false,true,"",false,false,""],"inserthorizontalrule":[false ,false,"",false,false,""]}],
92 ["foo{<b>bar</b>}baz",
93 [["stylewithcss","true"],["inserthorizontalrule",""]],
94 "foo<hr>{}baz",
95 [true,true],
96 {"stylewithcss":[false,false,"",false,true,""],"inserthorizontalrule":[false ,false,"",false,false,""]}],
97 ["foo{<b>bar</b>}baz",
98 [["stylewithcss","false"],["inserthorizontalrule",""]],
99 "foo<hr>{}baz",
100 [true,true],
101 {"stylewithcss":[false,true,"",false,false,""],"inserthorizontalrule":[false ,false,"",false,false,""]}],
102 ["<p>foo<p>[bar]<p>baz",
103 [["defaultparagraphseparator","div"],["inserthorizontalrule",""]],
104 "<p>foo</p><hr>{}<p>baz</p>",
105 [true,true],
106 {"defaultparagraphseparator":[false,false,"div",false,false,"div"],"insertho rizontalrule":[false,false,"",false,false,""]}],
107 ["<p>foo<p>[bar]<p>baz",
108 [["defaultparagraphseparator","p"],["inserthorizontalrule",""]],
109 "<p>foo</p><hr>{}<p>baz</p>",
110 [true,true],
111 {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"inserthori zontalrule":[false,false,"",false,false,""]}],
112 ["<p>foo<p>{bar}<p>baz",
113 [["defaultparagraphseparator","div"],["inserthorizontalrule",""]],
114 "<p>foo</p><hr>{}<p>baz</p>",
115 [true,true],
116 {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"inserthori zontalrule":[false,false,"",false,false,""]}],
117 ["<p>foo<p>{bar}<p>baz",
118 [["defaultparagraphseparator","p"],["inserthorizontalrule",""]],
119 "<p>foo</p><hr>{}<p>baz</p>",
120 [true,true],
121 {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"inserthori zontalrule":[false,false,"",false,false,""]}],
122 ["<p>foo{<p>bar</p>}<p>baz",
123 [["defaultparagraphseparator","div"],["inserthorizontalrule",""]],
124 "<p>foo</p><hr>{}<p>baz</p>",
125 [true,true],
126 {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"inserthori zontalrule":[false,false,"",false,false,""]}],
127 ["<p>foo{<p>bar</p>}<p>baz",
128 [["defaultparagraphseparator","p"],["inserthorizontalrule",""]],
129 "<p>foo</p><hr>{}<p>baz</p>",
130 [true,true],
131 {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"inserthori zontalrule":[false,false,"",false,false,""]}],
132 ["<p>foo[bar]baz</p>",
133 [["defaultparagraphseparator","div"],["inserthorizontalrule",""]],
134 "<p>foo</p><hr>{}<p>baz</p>",
135 [true,true],
136 {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"inserthori zontalrule":[false,false,"",false,false,""]}],
137 ["<p>foo[bar]baz</p>",
138 [["defaultparagraphseparator","p"],["inserthorizontalrule",""]],
139 "<p>foo</p><hr>{}<p>baz</p>",
140 [true,true],
141 {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"inserthori zontalrule":[false,false,"",false,false,""]}],
142 ["<p id=abc>foo[bar]baz</p>",
143 [["defaultparagraphseparator","div"],["inserthorizontalrule",""]],
144 "<p id=\"abc\">foo</p><hr>{}<p>baz</p>",
145 [true,true],
146 {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"inserthori zontalrule":[false,false,"",false,false,""]}],
147 ["<p id=abc>foo[bar]baz</p>",
148 [["defaultparagraphseparator","p"],["inserthorizontalrule",""]],
149 "<p id=\"abc\">foo</p><hr>{}<p>baz</p>",
150 [true,true],
151 {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"inserthori zontalrule":[false,false,"",false,false,""]}],
152 ["<h1>foo[bar]baz</h1>",
153 [["inserthorizontalrule",""]],
154 "<h1>foo</h1><hr>{}<h1>baz</h1>",
155 [true],
156 {"inserthorizontalrule":[false,false,"",false,false,""]}],
157 ["<p>foo<b>b[a]r</b>baz</p>",
158 [["stylewithcss","true"],["defaultparagraphseparator","div"],["inserthorizon talrule",""]],
159 "<p>foo<b>b</b></p><hr>{}<p><b>r</b>baz</p>",
160 [true,true,true],
161 {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[ false,false,"p",false,false,"div"],"inserthorizontalrule":[false,false,"",false, false,""]}],
162 ["<p>foo<b>b[a]r</b>baz</p>",
163 [["stylewithcss","false"],["defaultparagraphseparator","div"],["inserthorizo ntalrule",""]],
164 "<p>foo<b>b</b></p><hr>{}<p><b>r</b>baz</p>",
165 [true,true,true],
166 {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[ false,false,"div",false,false,"div"],"inserthorizontalrule":[false,false,"",fals e,false,""]}],
167 ["<p>foo<b>b[a]r</b>baz</p>",
168 [["stylewithcss","true"],["defaultparagraphseparator","p"],["inserthorizonta lrule",""]],
169 "<p>foo<b>b</b></p><hr>{}<p><b>r</b>baz</p>",
170 [true,true,true],
171 {"stylewithcss":[false,false,"",false,true,""],"defaultparagraphseparator":[ false,false,"div",false,false,"p"],"inserthorizontalrule":[false,false,"",false, false,""]}],
172 ["<p>foo<b>b[a]r</b>baz</p>",
173 [["stylewithcss","false"],["defaultparagraphseparator","p"],["inserthorizont alrule",""]],
174 "<p>foo<b>b</b></p><hr>{}<p><b>r</b>baz</p>",
175 [true,true,true],
176 {"stylewithcss":[false,true,"",false,false,""],"defaultparagraphseparator":[ false,false,"p",false,false,"p"],"inserthorizontalrule":[false,false,"",false,fa lse,""]}],
177 ["<a>foo[bar]baz</a>",
178 [["inserthorizontalrule",""]],
179 "<a>foo</a><hr>{}<a>baz</a>",
180 [true],
181 {"inserthorizontalrule":[false,false,"",false,false,""]}],
182 ["<a href=/>foo[bar]baz</a>",
183 [["inserthorizontalrule",""]],
184 "<a href=\"/\">foo</a><hr>{}<a href=\"/\">baz</a>",
185 [true],
186 {"inserthorizontalrule":[false,false,"",false,false,""]}],
187 ["<abbr>foo[bar]baz</abbr>",
188 [["inserthorizontalrule",""]],
189 "<abbr>foo</abbr><hr>{}<abbr>baz</abbr>",
190 [true],
191 {"inserthorizontalrule":[false,false,"",false,false,""]}],
192 ["<address>foo[bar]baz</address>",
193 [["inserthorizontalrule",""]],
194 "<address>foo<hr>{}baz</address>",
195 [true],
196 {"inserthorizontalrule":[false,false,"",false,false,""]}],
197 ["<article>foo[bar]baz</article>",
198 [["inserthorizontalrule",""]],
199 "<article>foo<hr>{}baz</article>",
200 [true],
201 {"inserthorizontalrule":[false,false,"",false,false,""]}],
202 ["<aside>foo[bar]baz</aside>",
203 [["inserthorizontalrule",""]],
204 "<aside>foo<hr>{}baz</aside>",
205 [true],
206 {"inserthorizontalrule":[false,false,"",false,false,""]}],
207 ["<b>foo[bar]baz</b>",
208 [["stylewithcss","true"],["inserthorizontalrule",""]],
209 "<b>foo</b><hr>{}<b>baz</b>",
210 [true,true],
211 {"stylewithcss":[false,false,"",false,true,""],"inserthorizontalrule":[false ,false,"",false,false,""]}],
212 ["<b>foo[bar]baz</b>",
213 [["stylewithcss","false"],["inserthorizontalrule",""]],
214 "<b>foo</b><hr>{}<b>baz</b>",
215 [true,true],
216 {"stylewithcss":[false,true,"",false,false,""],"inserthorizontalrule":[false ,false,"",false,false,""]}],
217 ["<bdi>foo[bar]baz</bdi>",
218 [["inserthorizontalrule",""]],
219 "<bdi>foo</bdi><hr>{}<bdi>baz</bdi>",
220 [true],
221 {"inserthorizontalrule":[false,false,"",false,false,""]}],
222 ["<bdo dir=rtl>foo[bar]baz</bdo>",
223 [["inserthorizontalrule",""]],
224 "<bdo dir=\"rtl\">foo</bdo><hr>{}<bdo dir=\"rtl\">baz</bdo>",
225 [true],
226 {"inserthorizontalrule":[false,false,"",false,false,""]}],
227 ["<blockquote>foo[bar]baz</blockquote>",
228 [["inserthorizontalrule",""]],
229 "<blockquote>foo<hr>{}baz</blockquote>",
230 [true],
231 {"inserthorizontalrule":[false,false,"",false,false,""]}],
232 ["<table><caption>foo[bar]baz</caption><tr><td>quz</table>",
233 [["inserthorizontalrule",""]],
234 "<table><caption>foo<hr>{}baz</caption><tbody><tr><td>quz</td></tr></tbody>< /table>",
235 [true],
236 {"inserthorizontalrule":[false,false,"",false,false,""]}],
237 ["<cite>foo[bar]baz</cite>",
238 [["inserthorizontalrule",""]],
239 "<cite>foo</cite><hr>{}<cite>baz</cite>",
240 [true],
241 {"inserthorizontalrule":[false,false,"",false,false,""]}],
242 ["<code>foo[bar]baz</code>",
243 [["inserthorizontalrule",""]],
244 "<code>foo</code><hr>{}<code>baz</code>",
245 [true],
246 {"inserthorizontalrule":[false,false,"",false,false,""]}],
247 ["<dl><dd>foo[bar]baz</dd></dl>",
248 [["inserthorizontalrule",""]],
249 "<dl><dd>foo<hr>{}baz</dd></dl>",
250 [true],
251 {"inserthorizontalrule":[false,false,"",false,false,""]}],
252 ["<del>foo[bar]baz</del>",
253 [["inserthorizontalrule",""]],
254 "<del>foo<hr>{}baz</del>",
255 [true],
256 {"inserthorizontalrule":[false,false,"",false,false,""]}],
257 ["<details>foo[bar]baz</details>",
258 [["inserthorizontalrule",""]],
259 "<details>foo<hr>{}baz</details>",
260 [true],
261 {"inserthorizontalrule":[false,false,"",false,false,""]}],
262 ["<dfn>foo[bar]baz</dfn>",
263 [["inserthorizontalrule",""]],
264 "<dfn>foo</dfn><hr>{}<dfn>baz</dfn>",
265 [true],
266 {"inserthorizontalrule":[false,false,"",false,false,""]}],
267 ["<div>foo[bar]baz</div>",
268 [["inserthorizontalrule",""]],
269 "<div>foo<hr>{}baz</div>",
270 [true],
271 {"inserthorizontalrule":[false,false,"",false,false,""]}],
272 ["<dl><dt>foo[bar]baz</dt></dl>",
273 [["inserthorizontalrule",""]],
274 "<dl><dt>foo<hr>{}baz</dt></dl>",
275 [true],
276 {"inserthorizontalrule":[false,false,"",false,false,""]}],
277 ["<em>foo[bar]baz</em>",
278 [["inserthorizontalrule",""]],
279 "<em>foo</em><hr>{}<em>baz</em>",
280 [true],
281 {"inserthorizontalrule":[false,false,"",false,false,""]}],
282 ["<figure><figcaption>foo[bar]baz</figcaption>quz</figure>",
283 [["inserthorizontalrule",""]],
284 "<figure><figcaption>foo<hr>{}baz</figcaption>quz</figure>",
285 [true],
286 {"inserthorizontalrule":[false,false,"",false,false,""]}],
287 ["<figure>foo[bar]baz</figure>",
288 [["inserthorizontalrule",""]],
289 "<figure>foo<hr>{}baz</figure>",
290 [true],
291 {"inserthorizontalrule":[false,false,"",false,false,""]}],
292 ["<footer>foo[bar]baz</footer>",
293 [["inserthorizontalrule",""]],
294 "<footer>foo<hr>{}baz</footer>",
295 [true],
296 {"inserthorizontalrule":[false,false,"",false,false,""]}],
297 ["<h1>foo[bar]baz</h1>",
298 [["inserthorizontalrule",""]],
299 "<h1>foo</h1><hr>{}<h1>baz</h1>",
300 [true],
301 {"inserthorizontalrule":[false,false,"",false,false,""]}],
302 ["<h2>foo[bar]baz</h2>",
303 [["inserthorizontalrule",""]],
304 "<h2>foo</h2><hr>{}<h2>baz</h2>",
305 [true],
306 {"inserthorizontalrule":[false,false,"",false,false,""]}],
307 ["<h3>foo[bar]baz</h3>",
308 [["inserthorizontalrule",""]],
309 "<h3>foo</h3><hr>{}<h3>baz</h3>",
310 [true],
311 {"inserthorizontalrule":[false,false,"",false,false,""]}],
312 ["<h4>foo[bar]baz</h4>",
313 [["inserthorizontalrule",""]],
314 "<h4>foo</h4><hr>{}<h4>baz</h4>",
315 [true],
316 {"inserthorizontalrule":[false,false,"",false,false,""]}],
317 ["<h5>foo[bar]baz</h5>",
318 [["inserthorizontalrule",""]],
319 "<h5>foo</h5><hr>{}<h5>baz</h5>",
320 [true],
321 {"inserthorizontalrule":[false,false,"",false,false,""]}],
322 ["<h6>foo[bar]baz</h6>",
323 [["inserthorizontalrule",""]],
324 "<h6>foo</h6><hr>{}<h6>baz</h6>",
325 [true],
326 {"inserthorizontalrule":[false,false,"",false,false,""]}],
327 ["<header>foo[bar]baz</header>",
328 [["inserthorizontalrule",""]],
329 "<header>foo<hr>{}baz</header>",
330 [true],
331 {"inserthorizontalrule":[false,false,"",false,false,""]}],
332 ["<hgroup>foo[bar]baz</hgroup>",
333 [["inserthorizontalrule",""]],
334 "<hgroup>foo</hgroup><hr>{}<hgroup>baz</hgroup>",
335 [true],
336 {"inserthorizontalrule":[false,false,"",false,false,""]}],
337 ["<hgroup><h1>foo[bar]baz</h1></hgroup>",
338 [["inserthorizontalrule",""]],
339 "<hgroup><h1>foo</h1></hgroup><hr>{}<hgroup><h1>baz</h1></hgroup>",
340 [true],
341 {"inserthorizontalrule":[false,false,"",false,false,""]}],
342 ["<i>foo[bar]baz</i>",
343 [["stylewithcss","true"],["inserthorizontalrule",""]],
344 "<i>foo</i><hr>{}<i>baz</i>",
345 [true,true],
346 {"stylewithcss":[false,false,"",false,true,""],"inserthorizontalrule":[false ,false,"",false,false,""]}],
347 ["<i>foo[bar]baz</i>",
348 [["stylewithcss","false"],["inserthorizontalrule",""]],
349 "<i>foo</i><hr>{}<i>baz</i>",
350 [true,true],
351 {"stylewithcss":[false,true,"",false,false,""],"inserthorizontalrule":[false ,false,"",false,false,""]}],
352 ["<ins>foo[bar]baz</ins>",
353 [["inserthorizontalrule",""]],
354 "<ins>foo<hr>{}baz</ins>",
355 [true],
356 {"inserthorizontalrule":[false,false,"",false,false,""]}],
357 ["<kbd>foo[bar]baz</kbd>",
358 [["inserthorizontalrule",""]],
359 "<kbd>foo</kbd><hr>{}<kbd>baz</kbd>",
360 [true],
361 {"inserthorizontalrule":[false,false,"",false,false,""]}],
362 ["<mark>foo[bar]baz</mark>",
363 [["inserthorizontalrule",""]],
364 "<mark>foo</mark><hr>{}<mark>baz</mark>",
365 [true],
366 {"inserthorizontalrule":[false,false,"",false,false,""]}],
367 ["<nav>foo[bar]baz</nav>",
368 [["inserthorizontalrule",""]],
369 "<nav>foo<hr>{}baz</nav>",
370 [true],
371 {"inserthorizontalrule":[false,false,"",false,false,""]}],
372 ["<ol><li>foo[bar]baz</li></ol>",
373 [["inserthorizontalrule",""]],
374 "<ol><li>foo<hr>{}baz</li></ol>",
375 [true],
376 {"inserthorizontalrule":[false,false,"",false,false,""]}],
377 ["<p>foo[bar]baz</p>",
378 [["defaultparagraphseparator","div"],["inserthorizontalrule",""]],
379 "<p>foo</p><hr>{}<p>baz</p>",
380 [true,true],
381 {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"inserthori zontalrule":[false,false,"",false,false,""]}],
382 ["<p>foo[bar]baz</p>",
383 [["defaultparagraphseparator","p"],["inserthorizontalrule",""]],
384 "<p>foo</p><hr>{}<p>baz</p>",
385 [true,true],
386 {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"inserthori zontalrule":[false,false,"",false,false,""]}],
387 ["<pre>foo[bar]baz</pre>",
388 [["inserthorizontalrule",""]],
389 "<pre>foo</pre><hr>{}<pre>baz</pre>",
390 [true],
391 {"inserthorizontalrule":[false,false,"",false,false,""]}],
392 ["<q>foo[bar]baz</q>",
393 [["inserthorizontalrule",""]],
394 "<q>foo</q><hr>{}<q>baz</q>",
395 [true],
396 {"inserthorizontalrule":[false,false,"",false,false,""]}],
397 ["<ruby>foo[bar]baz<rt>quz</rt></ruby>",
398 [["inserthorizontalrule",""]],
399 "<ruby>foo</ruby><hr>{}<ruby>baz<rt>quz</rt></ruby>",
400 [true],
401 {"inserthorizontalrule":[false,false,"",false,false,""]}],
402 ["<ruby>foo<rt>bar[baz]quz</rt></ruby>",
403 [["inserthorizontalrule",""]],
404 "<ruby>foo<rt>bar</rt></ruby><hr>{}<ruby><rt>quz</rt></ruby>",
405 [true],
406 {"inserthorizontalrule":[false,false,"",false,false,""]}],
407 ["<ruby>foo<rp>bar[baz]quz</rp><rt>qoz</rt><rp>qiz</rp></ruby>",
408 [["inserthorizontalrule",""]],
409 "<ruby>foo<rp>bar</rp></ruby><hr>{}<ruby><rp>quz</rp><rt>qoz</rt><rp>qiz</rp ></ruby>",
410 [true],
411 {"inserthorizontalrule":[false,false,"",false,false,""]}],
412 ["<s>foo[bar]baz</s>",
413 [["stylewithcss","true"],["inserthorizontalrule",""]],
414 "<s>foo</s><hr>{}<s>baz</s>",
415 [true,true],
416 {"stylewithcss":[false,false,"",false,true,""],"inserthorizontalrule":[false ,false,"",false,false,""]}],
417 ["<s>foo[bar]baz</s>",
418 [["stylewithcss","false"],["inserthorizontalrule",""]],
419 "<s>foo</s><hr>{}<s>baz</s>",
420 [true,true],
421 {"stylewithcss":[false,true,"",false,false,""],"inserthorizontalrule":[false ,false,"",false,false,""]}],
422 ["<samp>foo[bar]baz</samp>",
423 [["inserthorizontalrule",""]],
424 "<samp>foo</samp><hr>{}<samp>baz</samp>",
425 [true],
426 {"inserthorizontalrule":[false,false,"",false,false,""]}],
427 ["<section>foo[bar]baz</section>",
428 [["inserthorizontalrule",""]],
429 "<section>foo<hr>{}baz</section>",
430 [true],
431 {"inserthorizontalrule":[false,false,"",false,false,""]}],
432 ["<small>foo[bar]baz</small>",
433 [["inserthorizontalrule",""]],
434 "<small>foo</small><hr>{}<small>baz</small>",
435 [true],
436 {"inserthorizontalrule":[false,false,"",false,false,""]}],
437 ["<span>foo[bar]baz</span>",
438 [["inserthorizontalrule",""]],
439 "<span>foo</span><hr>{}<span>baz</span>",
440 [true],
441 {"inserthorizontalrule":[false,false,"",false,false,""]}],
442 ["<strong>foo[bar]baz</strong>",
443 [["inserthorizontalrule",""]],
444 "<strong>foo</strong><hr>{}<strong>baz</strong>",
445 [true],
446 {"inserthorizontalrule":[false,false,"",false,false,""]}],
447 ["<sub>foo[bar]baz</sub>",
448 [["stylewithcss","true"],["inserthorizontalrule",""]],
449 "<sub>foo</sub><hr>{}<sub>baz</sub>",
450 [true,true],
451 {"stylewithcss":[false,false,"",false,true,""],"inserthorizontalrule":[false ,false,"",false,false,""]}],
452 ["<sub>foo[bar]baz</sub>",
453 [["stylewithcss","false"],["inserthorizontalrule",""]],
454 "<sub>foo</sub><hr>{}<sub>baz</sub>",
455 [true,true],
456 {"stylewithcss":[false,true,"",false,false,""],"inserthorizontalrule":[false ,false,"",false,false,""]}],
457 ["<sup>foo[bar]baz</sup>",
458 [["stylewithcss","true"],["inserthorizontalrule",""]],
459 "<sup>foo</sup><hr>{}<sup>baz</sup>",
460 [true,true],
461 {"stylewithcss":[false,false,"",false,true,""],"inserthorizontalrule":[false ,false,"",false,false,""]}],
462 ["<sup>foo[bar]baz</sup>",
463 [["stylewithcss","false"],["inserthorizontalrule",""]],
464 "<sup>foo</sup><hr>{}<sup>baz</sup>",
465 [true,true],
466 {"stylewithcss":[false,true,"",false,false,""],"inserthorizontalrule":[false ,false,"",false,false,""]}],
467 ["<table><tr><td>foo[bar]baz</td></table>",
468 [["inserthorizontalrule",""]],
469 "<table><tbody><tr><td>foo<hr>{}baz</td></tr></tbody></table>",
470 [true],
471 {"inserthorizontalrule":[false,false,"",false,false,""]}],
472 ["<table><tr><th>foo[bar]baz</th></table>",
473 [["inserthorizontalrule",""]],
474 "<table><tbody><tr><th>foo<hr>{}baz</th></tr></tbody></table>",
475 [true],
476 {"inserthorizontalrule":[false,false,"",false,false,""]}],
477 ["<u>foo[bar]baz</u>",
478 [["stylewithcss","true"],["inserthorizontalrule",""]],
479 "<u>foo</u><hr>{}<u>baz</u>",
480 [true,true],
481 {"stylewithcss":[false,false,"",false,true,""],"inserthorizontalrule":[false ,false,"",false,false,""]}],
482 ["<u>foo[bar]baz</u>",
483 [["stylewithcss","false"],["inserthorizontalrule",""]],
484 "<u>foo</u><hr>{}<u>baz</u>",
485 [true,true],
486 {"stylewithcss":[false,true,"",false,false,""],"inserthorizontalrule":[false ,false,"",false,false,""]}],
487 ["<ul><li>foo[bar]baz</li></ul>",
488 [["inserthorizontalrule",""]],
489 "<ul><li>foo<hr>{}baz</li></ul>",
490 [true],
491 {"inserthorizontalrule":[false,false,"",false,false,""]}],
492 ["<var>foo[bar]baz</var>",
493 [["inserthorizontalrule",""]],
494 "<var>foo</var><hr>{}<var>baz</var>",
495 [true],
496 {"inserthorizontalrule":[false,false,"",false,false,""]}],
497 ["<acronym>foo[bar]baz</acronym>",
498 [["inserthorizontalrule",""]],
499 "<acronym>foo</acronym><hr>{}<acronym>baz</acronym>",
500 [true],
501 {"inserthorizontalrule":[false,false,"",false,false,""]}],
502 ["<big>foo[bar]baz</big>",
503 [["inserthorizontalrule",""]],
504 "<big>foo</big><hr>{}<big>baz</big>",
505 [true],
506 {"inserthorizontalrule":[false,false,"",false,false,""]}],
507 ["<blink>foo[bar]baz</blink>",
508 [["inserthorizontalrule",""]],
509 "<blink>foo</blink><hr>{}<blink>baz</blink>",
510 [true],
511 {"inserthorizontalrule":[false,false,"",false,false,""]}],
512 ["<center>foo[bar]baz</center>",
513 [["inserthorizontalrule",""]],
514 "<center>foo<hr>{}baz</center>",
515 [true],
516 {"inserthorizontalrule":[false,false,"",false,false,""]}],
517 ["<dir>foo[bar]baz</dir>",
518 [["inserthorizontalrule",""]],
519 "<dir>foo</dir><hr>{}<dir>baz</dir>",
520 [true],
521 {"inserthorizontalrule":[false,false,"",false,false,""]}],
522 ["<dir><li>foo[bar]baz</li></dir>",
523 [["inserthorizontalrule",""]],
524 "<dir><li>foo<hr>{}baz</li></dir>",
525 [true],
526 {"inserthorizontalrule":[false,false,"",false,false,""]}],
527 ["<font>foo[bar]baz</font>",
528 [["stylewithcss","true"],["inserthorizontalrule",""]],
529 "<font>foo</font><hr>{}<font>baz</font>",
530 [true,true],
531 {"stylewithcss":[false,false,"",false,true,""],"inserthorizontalrule":[false ,false,"",false,false,""]}],
532 ["<font>foo[bar]baz</font>",
533 [["stylewithcss","false"],["inserthorizontalrule",""]],
534 "<font>foo</font><hr>{}<font>baz</font>",
535 [true,true],
536 {"stylewithcss":[false,true,"",false,false,""],"inserthorizontalrule":[false ,false,"",false,false,""]}],
537 ["<listing>foo[bar]baz</listing>",
538 [["inserthorizontalrule",""]],
539 "<listing>foo</listing><hr>{}<listing>baz</listing>",
540 [true],
541 {"inserthorizontalrule":[false,false,"",false,false,""]}],
542 ["<marquee>foo[bar]baz</marquee>",
543 [["inserthorizontalrule",""]],
544 "<marquee>foo</marquee><hr>{}<marquee>baz</marquee>",
545 [true],
546 {"inserthorizontalrule":[false,false,"",false,false,""]}],
547 ["<nobr>foo[bar]baz</nobr>",
548 [["inserthorizontalrule",""]],
549 "<nobr>foo</nobr><hr>{}<nobr>baz</nobr>",
550 [true],
551 {"inserthorizontalrule":[false,false,"",false,false,""]}],
552 ["<strike>foo[bar]baz</strike>",
553 [["stylewithcss","true"],["inserthorizontalrule",""]],
554 "<strike>foo</strike><hr>{}<strike>baz</strike>",
555 [true,true],
556 {"stylewithcss":[false,false,"",false,true,""],"inserthorizontalrule":[false ,false,"",false,false,""]}],
557 ["<strike>foo[bar]baz</strike>",
558 [["stylewithcss","false"],["inserthorizontalrule",""]],
559 "<strike>foo</strike><hr>{}<strike>baz</strike>",
560 [true,true],
561 {"stylewithcss":[false,true,"",false,false,""],"inserthorizontalrule":[false ,false,"",false,false,""]}],
562 ["<tt>foo[bar]baz</tt>",
563 [["inserthorizontalrule",""]],
564 "<tt>foo</tt><hr>{}<tt>baz</tt>",
565 [true],
566 {"inserthorizontalrule":[false,false,"",false,false,""]}],
567 ["<xmp>foo[bar]baz</xmp>",
568 [["inserthorizontalrule",""]],
569 "<xmp>foo</xmp><hr>{}<xmp>baz</xmp>",
570 [true],
571 {"inserthorizontalrule":[false,false,"",false,false,""]}],
572 ["<quasit>foo[bar]baz</quasit>",
573 [["inserthorizontalrule",""]],
574 "<quasit>foo<hr>{}baz</quasit>",
575 [true],
576 {"inserthorizontalrule":[false,false,"",false,false,""]}],
577 ["<table><tr><td>fo[o<td>b]ar</table>",
578 [["inserthorizontalrule",""]],
579 "<table><tbody><tr><td>fo<hr>{}</td><td>ar</td></tr></tbody></table>",
580 [true],
581 {"inserthorizontalrule":[false,false,"",false,false,""]}],
582 ["fo[o<span contenteditable=false>bar</span>b]az",
583 [["inserthorizontalrule",""]],
584 "fo<hr>{}<span contenteditable=\"false\">bar</span>az",
585 [true],
586 {"inserthorizontalrule":[false,false,"",false,false,""]}]
587 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698