@@ -258,139 +258,139 @@ class Namespaces {
258
258
}
259
259
}
260
260
261
- const List <Pair < String , String > > scopingElements = [
262
- Pair (Namespaces .html, 'applet' ),
263
- Pair (Namespaces .html, 'caption' ),
264
- Pair (Namespaces .html, 'html' ),
265
- Pair (Namespaces .html, 'marquee' ),
266
- Pair (Namespaces .html, 'object' ),
267
- Pair (Namespaces .html, 'table' ),
268
- Pair (Namespaces .html, 'td' ),
269
- Pair (Namespaces .html, 'th' ),
270
- Pair (Namespaces .mathml, 'mi' ),
271
- Pair (Namespaces .mathml, 'mo' ),
272
- Pair (Namespaces .mathml, 'mn' ),
273
- Pair (Namespaces .mathml, 'ms' ),
274
- Pair (Namespaces .mathml, 'mtext' ),
275
- Pair (Namespaces .mathml, 'annotation-xml' ),
276
- Pair (Namespaces .svg, 'foreignObject' ),
277
- Pair (Namespaces .svg, 'desc' ),
278
- Pair (Namespaces .svg, 'title' )
261
+ const List <( String , String ) > scopingElements = [
262
+ (Namespaces .html, 'applet' ),
263
+ (Namespaces .html, 'caption' ),
264
+ (Namespaces .html, 'html' ),
265
+ (Namespaces .html, 'marquee' ),
266
+ (Namespaces .html, 'object' ),
267
+ (Namespaces .html, 'table' ),
268
+ (Namespaces .html, 'td' ),
269
+ (Namespaces .html, 'th' ),
270
+ (Namespaces .mathml, 'mi' ),
271
+ (Namespaces .mathml, 'mo' ),
272
+ (Namespaces .mathml, 'mn' ),
273
+ (Namespaces .mathml, 'ms' ),
274
+ (Namespaces .mathml, 'mtext' ),
275
+ (Namespaces .mathml, 'annotation-xml' ),
276
+ (Namespaces .svg, 'foreignObject' ),
277
+ (Namespaces .svg, 'desc' ),
278
+ (Namespaces .svg, 'title' )
279
279
];
280
280
281
281
const formattingElements = [
282
- Pair (Namespaces .html, 'a' ),
283
- Pair (Namespaces .html, 'b' ),
284
- Pair (Namespaces .html, 'big' ),
285
- Pair (Namespaces .html, 'code' ),
286
- Pair (Namespaces .html, 'em' ),
287
- Pair (Namespaces .html, 'font' ),
288
- Pair (Namespaces .html, 'i' ),
289
- Pair (Namespaces .html, 'nobr' ),
290
- Pair (Namespaces .html, 's' ),
291
- Pair (Namespaces .html, 'small' ),
292
- Pair (Namespaces .html, 'strike' ),
293
- Pair (Namespaces .html, 'strong' ),
294
- Pair (Namespaces .html, 'tt' ),
295
- Pair (Namespaces .html, '' )
282
+ (Namespaces .html, 'a' ),
283
+ (Namespaces .html, 'b' ),
284
+ (Namespaces .html, 'big' ),
285
+ (Namespaces .html, 'code' ),
286
+ (Namespaces .html, 'em' ),
287
+ (Namespaces .html, 'font' ),
288
+ (Namespaces .html, 'i' ),
289
+ (Namespaces .html, 'nobr' ),
290
+ (Namespaces .html, 's' ),
291
+ (Namespaces .html, 'small' ),
292
+ (Namespaces .html, 'strike' ),
293
+ (Namespaces .html, 'strong' ),
294
+ (Namespaces .html, 'tt' ),
295
+ (Namespaces .html, '' )
296
296
];
297
297
298
298
const specialElements = [
299
- Pair (Namespaces .html, 'address' ),
300
- Pair (Namespaces .html, 'applet' ),
301
- Pair (Namespaces .html, 'area' ),
302
- Pair (Namespaces .html, 'article' ),
303
- Pair (Namespaces .html, 'aside' ),
304
- Pair (Namespaces .html, 'base' ),
305
- Pair (Namespaces .html, 'basefont' ),
306
- Pair (Namespaces .html, 'bgsound' ),
307
- Pair (Namespaces .html, 'blockquote' ),
308
- Pair (Namespaces .html, 'body' ),
309
- Pair (Namespaces .html, 'br' ),
310
- Pair (Namespaces .html, 'button' ),
311
- Pair (Namespaces .html, 'caption' ),
312
- Pair (Namespaces .html, 'center' ),
313
- Pair (Namespaces .html, 'col' ),
314
- Pair (Namespaces .html, 'colgroup' ),
315
- Pair (Namespaces .html, 'command' ),
316
- Pair (Namespaces .html, 'dd' ),
317
- Pair (Namespaces .html, 'details' ),
318
- Pair (Namespaces .html, 'dir' ),
319
- Pair (Namespaces .html, 'div' ),
320
- Pair (Namespaces .html, 'dl' ),
321
- Pair (Namespaces .html, 'dt' ),
322
- Pair (Namespaces .html, 'embed' ),
323
- Pair (Namespaces .html, 'fieldset' ),
324
- Pair (Namespaces .html, 'figure' ),
325
- Pair (Namespaces .html, 'footer' ),
326
- Pair (Namespaces .html, 'form' ),
327
- Pair (Namespaces .html, 'frame' ),
328
- Pair (Namespaces .html, 'frameset' ),
329
- Pair (Namespaces .html, 'h1' ),
330
- Pair (Namespaces .html, 'h2' ),
331
- Pair (Namespaces .html, 'h3' ),
332
- Pair (Namespaces .html, 'h4' ),
333
- Pair (Namespaces .html, 'h5' ),
334
- Pair (Namespaces .html, 'h6' ),
335
- Pair (Namespaces .html, 'head' ),
336
- Pair (Namespaces .html, 'header' ),
337
- Pair (Namespaces .html, 'hr' ),
338
- Pair (Namespaces .html, 'html' ),
339
- Pair (Namespaces .html, 'iframe' ),
299
+ (Namespaces .html, 'address' ),
300
+ (Namespaces .html, 'applet' ),
301
+ (Namespaces .html, 'area' ),
302
+ (Namespaces .html, 'article' ),
303
+ (Namespaces .html, 'aside' ),
304
+ (Namespaces .html, 'base' ),
305
+ (Namespaces .html, 'basefont' ),
306
+ (Namespaces .html, 'bgsound' ),
307
+ (Namespaces .html, 'blockquote' ),
308
+ (Namespaces .html, 'body' ),
309
+ (Namespaces .html, 'br' ),
310
+ (Namespaces .html, 'button' ),
311
+ (Namespaces .html, 'caption' ),
312
+ (Namespaces .html, 'center' ),
313
+ (Namespaces .html, 'col' ),
314
+ (Namespaces .html, 'colgroup' ),
315
+ (Namespaces .html, 'command' ),
316
+ (Namespaces .html, 'dd' ),
317
+ (Namespaces .html, 'details' ),
318
+ (Namespaces .html, 'dir' ),
319
+ (Namespaces .html, 'div' ),
320
+ (Namespaces .html, 'dl' ),
321
+ (Namespaces .html, 'dt' ),
322
+ (Namespaces .html, 'embed' ),
323
+ (Namespaces .html, 'fieldset' ),
324
+ (Namespaces .html, 'figure' ),
325
+ (Namespaces .html, 'footer' ),
326
+ (Namespaces .html, 'form' ),
327
+ (Namespaces .html, 'frame' ),
328
+ (Namespaces .html, 'frameset' ),
329
+ (Namespaces .html, 'h1' ),
330
+ (Namespaces .html, 'h2' ),
331
+ (Namespaces .html, 'h3' ),
332
+ (Namespaces .html, 'h4' ),
333
+ (Namespaces .html, 'h5' ),
334
+ (Namespaces .html, 'h6' ),
335
+ (Namespaces .html, 'head' ),
336
+ (Namespaces .html, 'header' ),
337
+ (Namespaces .html, 'hr' ),
338
+ (Namespaces .html, 'html' ),
339
+ (Namespaces .html, 'iframe' ),
340
340
// Note that image is commented out in the spec as "this isn't an
341
341
// element that can end up on the stack, so it doesn't matter,"
342
- Pair (Namespaces .html, 'image' ),
343
- Pair (Namespaces .html, 'img' ),
344
- Pair (Namespaces .html, 'input' ),
345
- Pair (Namespaces .html, 'isindex' ),
346
- Pair (Namespaces .html, 'li' ),
347
- Pair (Namespaces .html, 'link' ),
348
- Pair (Namespaces .html, 'listing' ),
349
- Pair (Namespaces .html, 'marquee' ),
350
- Pair (Namespaces .html, 'men' ),
351
- Pair (Namespaces .html, 'meta' ),
352
- Pair (Namespaces .html, 'nav' ),
353
- Pair (Namespaces .html, 'noembed' ),
354
- Pair (Namespaces .html, 'noframes' ),
355
- Pair (Namespaces .html, 'noscript' ),
356
- Pair (Namespaces .html, 'object' ),
357
- Pair (Namespaces .html, 'ol' ),
358
- Pair (Namespaces .html, 'p' ),
359
- Pair (Namespaces .html, 'param' ),
360
- Pair (Namespaces .html, 'plaintext' ),
361
- Pair (Namespaces .html, 'pre' ),
362
- Pair (Namespaces .html, 'script' ),
363
- Pair (Namespaces .html, 'section' ),
364
- Pair (Namespaces .html, 'select' ),
365
- Pair (Namespaces .html, 'style' ),
366
- Pair (Namespaces .html, 'table' ),
367
- Pair (Namespaces .html, 'tbody' ),
368
- Pair (Namespaces .html, 'td' ),
369
- Pair (Namespaces .html, 'textarea' ),
370
- Pair (Namespaces .html, 'tfoot' ),
371
- Pair (Namespaces .html, 'th' ),
372
- Pair (Namespaces .html, 'thead' ),
373
- Pair (Namespaces .html, 'title' ),
374
- Pair (Namespaces .html, 'tr' ),
375
- Pair (Namespaces .html, 'ul' ),
376
- Pair (Namespaces .html, 'wbr' ),
377
- Pair (Namespaces .html, 'xmp' ),
378
- Pair (Namespaces .svg, 'foreignObject' )
342
+ (Namespaces .html, 'image' ),
343
+ (Namespaces .html, 'img' ),
344
+ (Namespaces .html, 'input' ),
345
+ (Namespaces .html, 'isindex' ),
346
+ (Namespaces .html, 'li' ),
347
+ (Namespaces .html, 'link' ),
348
+ (Namespaces .html, 'listing' ),
349
+ (Namespaces .html, 'marquee' ),
350
+ (Namespaces .html, 'men' ),
351
+ (Namespaces .html, 'meta' ),
352
+ (Namespaces .html, 'nav' ),
353
+ (Namespaces .html, 'noembed' ),
354
+ (Namespaces .html, 'noframes' ),
355
+ (Namespaces .html, 'noscript' ),
356
+ (Namespaces .html, 'object' ),
357
+ (Namespaces .html, 'ol' ),
358
+ (Namespaces .html, 'p' ),
359
+ (Namespaces .html, 'param' ),
360
+ (Namespaces .html, 'plaintext' ),
361
+ (Namespaces .html, 'pre' ),
362
+ (Namespaces .html, 'script' ),
363
+ (Namespaces .html, 'section' ),
364
+ (Namespaces .html, 'select' ),
365
+ (Namespaces .html, 'style' ),
366
+ (Namespaces .html, 'table' ),
367
+ (Namespaces .html, 'tbody' ),
368
+ (Namespaces .html, 'td' ),
369
+ (Namespaces .html, 'textarea' ),
370
+ (Namespaces .html, 'tfoot' ),
371
+ (Namespaces .html, 'th' ),
372
+ (Namespaces .html, 'thead' ),
373
+ (Namespaces .html, 'title' ),
374
+ (Namespaces .html, 'tr' ),
375
+ (Namespaces .html, 'ul' ),
376
+ (Namespaces .html, 'wbr' ),
377
+ (Namespaces .html, 'xmp' ),
378
+ (Namespaces .svg, 'foreignObject' )
379
379
];
380
380
381
381
const htmlIntegrationPointElements = [
382
- Pair (Namespaces .mathml, 'annotaion-xml' ),
383
- Pair (Namespaces .svg, 'foreignObject' ),
384
- Pair (Namespaces .svg, 'desc' ),
385
- Pair (Namespaces .svg, 'title' )
382
+ (Namespaces .mathml, 'annotaion-xml' ),
383
+ (Namespaces .svg, 'foreignObject' ),
384
+ (Namespaces .svg, 'desc' ),
385
+ (Namespaces .svg, 'title' )
386
386
];
387
387
388
388
const mathmlTextIntegrationPointElements = [
389
- Pair (Namespaces .mathml, 'mi' ),
390
- Pair (Namespaces .mathml, 'mo' ),
391
- Pair (Namespaces .mathml, 'mn' ),
392
- Pair (Namespaces .mathml, 'ms' ),
393
- Pair (Namespaces .mathml, 'mtext' )
389
+ (Namespaces .mathml, 'mi' ),
390
+ (Namespaces .mathml, 'mo' ),
391
+ (Namespaces .mathml, 'mn' ),
392
+ (Namespaces .mathml, 'ms' ),
393
+ (Namespaces .mathml, 'mtext' )
394
394
];
395
395
396
396
const spaceCharacters = ' \n\r\t\u 000C' ;
0 commit comments