/[suikacvs]/messaging/manakai/lib/Message/DOM/DOMHTML.dis
Suika

Contents of /messaging/manakai/lib/Message/DOM/DOMHTML.dis

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.10 - (show annotations) (download)
Sat May 21 16:16:41 2005 UTC (19 years, 6 months ago) by wakaba
Branch: MAIN
Changes since 1.9: +14 -7 lines
Simple serializer implemented

1 Module:
2 @QName:
3 MDOM:DOMHTML
4 @Namespace:
5 http://suika.fam.cx/~wakaba/archive/2004/dom/html#
6
7 @AppName:
8 @@@: html
9 @@ContentType:
10 lang:IDL-DOM
11 @@prefix: dom.w3c.org
12 @@For:
13 ManakaiDOM:IDL ManakaiDOM:DOM1
14 @AppName:
15 @@@: html2
16 @@ContentType:
17 lang:IDL-DOM
18 @@prefix: dom.w3c.org
19 @@For:
20 ManakaiDOM:IDL ManakaiDOM:DOM2
21
22 @FullName:
23 @@lang:en
24 @@@: DOM HTML Module
25
26 @Description:
27 @@lang:en
28 @@@:
29 The DOM HTML Module provides objects and methods specific
30 to HTML 4 documents and XHTML 1.0 documents. The HTML
31 DOM exposes a number of convinience methods and attributes
32 that are more appropriate to script writers. These
33 enhancements rely on transitional or frameset DTDs
34 of HTML 4.0 <SRC::DOM Level 1 HTML> or HTML 4.01
35 <SRC::DOM Level 2 HTML> and XHTML 1.0 <SRC::DOM Level 2 HTML>.
36 \
37 Form related interfaces are provided by a separate
38 module, <Module::DOMWebForms>.
39
40 @Author:
41 @@FullName: Wakaba
42 @@Mail: w@suika.fam.cx
43 @License:
44 license:Perl+MPL
45 @Date:
46 @@@:
47 $Date: 2005/05/09 11:59:32 $
48 @@ContentType:
49 dis:Date.RCS
50
51 @DefaultFor:
52 ManakaiDOM:ManakaiDOMLatest
53
54 @Require:
55 @@Module:
56 @@@QName:
57 DISlib:DISMarkup
58 @@@WithFor:
59 ManakaiDOM:all
60 @@Module:
61 @@@Name: DOMXML
62 @@@WithFor:
63 ManakaiDOM:ManakaiDOMLatest
64 @@Module:
65 @@@Name: DOMWebForms
66 @@Module:
67 @@@Name: DOMHTML
68 @@@WithFor:
69 ManakaiDOM:ManakaiDOM
70 @@Module:
71 @@@Name: DOMHTML
72 @@@WithFor:
73 ManakaiDOM:ManakaiDOM1
74 @@Module:
75 @@@Name: DOMHTML
76 @@@WithFor:
77 ManakaiDOM:ManakaiDOM2
78 @@Module:
79 @@@Name: DOMHTML
80 @@@WithFor:
81 ManakaiDOM:ManakaiDOMLatest
82 @@Module:
83 @@@Name: DOMHTML
84 @@@WithFor:
85 DOMHTML:ForHTML40SE
86 @@Module:
87 @@@Name: DOMHTML
88 @@@WithFor:
89 DOMHTML:ForHTML401
90 @@Module:
91 @@@Name: DOMHTML
92 @@@WithFor:
93 DOMHTML:ForXHTML10SE
94
95 Namespace:
96 @dis:
97 http://suika.fam.cx/~wakaba/archive/2004/8/18/lang#dis--
98 @dis2pm:
99 http://suika.fam.cx/~wakaba/archive/2004/11/8/dis2pm#
100 @DISlib:
101 http://suika.fam.cx/~wakaba/archive/2004/dis/
102 @DOMHTML:
103 http://suika.fam.cx/~wakaba/archive/2004/dom/html#
104 @DOMMain:
105 http://suika.fam.cx/~wakaba/archive/2004/dom/main#
106 @infoset:
107 http://www.w3.org/2001/04/infoset#
108 @lang:
109 http://suika.fam.cx/~wakaba/archive/2004/8/18/lang#
110 @license:
111 http://suika.fam.cx/~wakaba/archive/2004/8/18/license#
112 @ManakaiDOM:
113 http://suika.fam.cx/~wakaba/archive/2004/8/18/manakai-dom#
114 @ManakaiDOMCore:
115 http://suika.fam.cx/~wakaba/archive/2004/mdom-core#
116 @ManakaiDOMHTML:
117 http://suika.fam.cx/~wakaba/archive/2004/mdom/html#
118 @MDOM:
119 http://suika.fam.cx/~wakaba/archive/2004/8/18/manakai-dom#ManakaiDOM.
120 @MDOMX:
121 http://suika.fam.cx/~wakaba/archive/2004/8/4/manakai-dom-exception#
122 @null:
123 http://suika.fam.cx/~wakaba/-temp/2003/09/27/null
124 @Perl:
125 http://suika.fam.cx/~wakaba/archive/2004/8/18/lang#Perl--
126 @rdf:
127 http://www.w3.org/1999/02/22-rdf-syntax-ns#
128 @rdfs:
129 http://www.w3.org/2000/01/rdf-schema#
130 @s:
131 http://suika.fam.cx/~wakaba/archive/2004/dis/Markup#
132 @TreeCore:\
133 @xhtml1:
134 http://www.w3.org/1999/xhtml
135 @xml:
136 http://www.w3.org/XML/1998/namespace
137 @xmlns:
138 http://www.w3.org/2000/xmlns/
139
140 ImplNote:
141 @lang:en
142 @@:
143 {TODO:: Lowercase'ize Perl method/attribute names.
144 \
145 ISSUE: Should createTHead be createThead?
146 \
147 }
148
149 ## -- "For HTML"
150
151 ForDef:
152 @QName:
153 DOMHTML:ForHTML
154 @ISA:
155 s:ForML
156 @FullName:
157 @@lang:en
158 @@@:
159 For Hypertext Markup Language (HTML), any version
160
161 ForDef:
162 @QName:
163 DOMHTML:ForClassicHTML
164 @ISA:
165 DOMHTML:ForHTML
166 @FullName:
167 @@lang:en
168 @@@:
169 For non-XML-based HTML, any version
170
171 ForDef:
172 @QName:
173 DOMHTML:ForHTML4
174 @ISA:
175 DOMHTML:ForHTML
176 @FullName:
177 @@lang:en
178 @@@: For HTML 4
179
180 ForDef:
181 @QName:
182 DOMHTML:ForHTML40
183 @ISA:
184 DOMHTML:ForHTML4
185 @FullName:
186 @@lang:en
187 @@@: For HTML 4.0
188
189 ForDef:
190 @QName:
191 DOMHTML:ForHTML40FE
192 @ISA:
193 DOMHTML:ForHTML40
194 @FullName:
195 @@lang:en
196 @@@: For HTML 4.0 first edition
197
198 ForDef:
199 @QName:
200 DOMHTML:ForHTML40SE
201 @ISA:
202 DOMHTML:ForHTML40
203 @FullName:
204 @@lang:en
205 @@@:
206 For HTML 4.0 second edition
207
208 ForDef:
209 @QName:
210 DOMHTML:ForHTML401
211 @ISA:
212 DOMHTML:ForHTML4
213 @FullName:
214 @@lang:en
215 @@@:
216 For HTML 4.01
217
218 ForDef:
219 @QName:
220 DOMHTML:ForXHTML
221 @ISA:
222 DOMHTML:ForHTML
223 @FullName:
224 @@lang:en
225 @@@:
226 For XHTML, compatible with W3C XHTML 1, any version
227
228 ForDef:
229 @QName:
230 DOMHTML:ForXHTML1
231 @ISA:
232 DOMHTML:ForXHTML
233 @FullName:
234 @@lang:en
235 @@@:
236 For XHTML 1
237
238 ForDef:
239 @QName:
240 DOMHTML:ForXHTML10
241 @ISA:
242 DOMHTML:ForXHTML1
243 @FullName:
244 @@lang:en
245 @@@:
246 For XHTML 1.0
247
248 ForDef:
249 @QName:
250 DOMHTML:ForXHTML10FE
251 @ISA:
252 DOMHTML:ForXHTML10
253 @FullName:
254 @@lang:en
255 @@@: For XHTML 1.0 First Edition
256
257 ForDef:
258 @QName:
259 DOMHTML:ForXHTML10SE
260 @ISA:
261 DOMHTML:ForXHTML10
262 @FullName:
263 @@lang:en
264 @@@: For XHTML 1.0 Second Edition
265
266 ForDef:
267 @QName:
268 DOMHTML:ForXHTML1m12n
269 @ISA:
270 DOMHTML:ForXHTML1
271 @FullName:
272 @@lang:en
273 @@@:
274 For modularized XHTML 1
275
276 ## TODO: FE and SE required
277
278 ForDef:
279 @QName:
280 DOMHTML:ForXHTML11
281 @ISA:
282 DOMHTML:ForXHTML1m12n
283 @FullName:
284 @@lang:en
285 @@@: For XHTML 1.1
286
287 ## -- Features
288
289 ElementTypeBinding:
290 @Name: FeatureDef
291 @ElementType:
292 dis:ResourceDef
293 @ShadowContent:
294 @@rdf:type:
295 DOMMain:DOMFeature
296 @@ForCheck:
297 ManakaiDOM:all
298
299 ElementTypeBinding:
300 @Name: FeatureVerDef
301 @ElementType:
302 dis:ResourceDef
303 @ShadowContent:
304 @@rdf:type:
305 DOMMain:DOMFeature
306
307 ElementTypeBinding:
308 @Name: featureName
309 @ElementType:
310 dis:AppName
311 @ShadowContent:
312 @@ContentType:
313 dis:String
314
315 FeatureDef:
316 @featureName: HTML
317 @QName: HTMLFeature
318 @FeatureVerDef:
319 @@Version:1.0
320 @@QName: HTMLFeature10
321 @@DOMMetaImpl:instanceFeatureOf: HTMLFeature
322 @@FullName:
323 @@@@: DOM Level 1 HTML
324 @@@lang:en
325 @@ImplNote:
326 @@@lang:en
327 @@@@:
328 The DOM Level 2 HTML Specification does not say DOM Level 2
329 HTML implementations to answer to <M:hasFeature> of
330 <FeatureVer:1.0> as <DOM:true>.
331 @@DOMMain:requireFeature:
332 DOMCore:CoreFeature10
333 @FeatureVerDef:
334 @@Version:2.0
335 @@QName: HTMLFeature20
336 @@DOMMetaImpl:instanceFeatureOf: HTMLFeature
337 @@FullName:
338 @@@@: DOM Level 2 HTML
339 @@@lang:en
340 @@DOMMain:requireFeature:
341 DOMCore:CoreFeature20
342
343 FeatureDef:
344 @featureName: XHTML
345 @QName: XHTMLFeature
346 @FeatureVerDef:
347 @@Version:2.0
348 @@FullName:
349 @@@@: DOM Level 2 HTML (with XHTML support)
350 @@@lang:en
351 @@QName: XHTMLFeature20
352 @@DOMMetaImpl:instanceFeatureOf: XHTMLFeature
353 @@DOMMain:extendFeature: HTMLFeature20
354 @@DOMMain:extendFeature:
355 DOMXML:XMLFeature20
356 @@Description:
357 @@@lang:en
358 @@@@:
359 DOM Level 2 HTML with XHTML support.
360 It is equal to <Feature::XML> / <FeatureVer::2.0> and
361 <Feature::HTML> / <FeatureVer::2.0>.
362
363 ElementTypeBinding:
364 @Name: DataTypeAlias
365 @ElementType:
366 dis:ResourceDef
367 @ShadowContent:
368 @@rdf:type:
369 ManakaiDOM:DataType
370 @@ForCheck:
371 ManakaiDOM:DOM
372
373 DataTypeAlias:
374 @Name: DOMString
375 @AliasFor:
376 @@@:
377 DOMMain:DOMString
378 @@For:
379 !ManakaiDOM:IDL
380 @Def:
381 @@For:
382 ManakaiDOM:IDL
383 @@ContentType:
384 lang:dis
385 @@DISLang:dataTypeAliasFor:
386 DOMMain:DOMString
387
388 DataTypeAlias:
389 @Name: Node
390 @AliasFor:
391 @@@:
392 DOMCore:Node
393 @@For:
394 !ManakaiDOM:IDL
395 @Def:
396 @@For:
397 ManakaiDOM:IDL
398 @@ContentType:
399 lang:dis
400 @@DISLang:dataTypeAliasFor:
401 DOMCore:Node
402
403 DataTypeAlias:
404 @Name: Document
405 @AliasFor:
406 @@@:
407 DOMCore:Document
408 @@For:
409 !ManakaiDOM:IDL
410 @Def:
411 @@For:
412 ManakaiDOM:IDL
413 @@ContentType:
414 lang:dis
415 @@DISLang:dataTypeAliasFor:
416 DOMCore:Document
417
418 DataTypeAlias:
419 @Name: NodeList
420 @AliasFor:
421 @@@:
422 DOMCore:NodeList
423 @@For:
424 !ManakaiDOM:IDL
425 @Def:
426 @@For:
427 ManakaiDOM:IDL
428 @@ContentType:
429 lang:dis
430 @@DISLang:dataTypeAliasFor:
431 DOMCore:NodeList
432
433 DataTypeAlias:
434 @Name: Element
435 @AliasFor:
436 @@@:
437 DOMCore:Element
438 @@For:
439 !ManakaiDOM:IDL
440 @Def:
441 @@For:
442 ManakaiDOM:IDL
443 @@ContentType:
444 lang:dis
445 @@DISLang:dataTypeAliasFor:
446 DOMCore:Element
447
448 ImplNote:
449 @lang:en
450 @@:
451 The DOM Level 2 HTML Specification does not intend to define
452 exactly how a UA will respond to a change to any
453 attribute on an element that directly or indirectly refers
454 external data, such elements are <IF:HTMLAppletElement>,
455 <IF:HTMLFrameElement>, <IF:HTMLFrameSetElement>,
456 <IF:HTMLIFrameElement>, <IF:HTMLImageElement>, <IF:HTMLLinkElement>,
457 <IF:HTMLObjectElement>, <IF:HTMLParamElement> and
458 <IF:HTMLScriptElement>.
459 @@For:
460 ManakaiDOM:DOM
461
462 ElementTypeBinding:
463 @Name: L1
464 @ElementType:
465 DOMMain:implementFeature
466 @ShadowContent:
467 @@@: HTMLFeature10
468 @@For:
469 ManakaiDOM:DOM1 !ManakaiDOM:DOM2
470 @ShadowSibling:
471 @@DOMMain:implementFeature:
472 @@@@: HTMLFeature20
473 @@@For:
474 ManakaiDOM:DOM2
475
476 ElementTypeBinding:
477 @Name: L1IF
478 @ElementType:
479 DOMMain:implementFeature
480 @ShadowContent:
481 @@@: HTMLFeature10
482 @@For:
483 ManakaiDOM:DOM1 !ManakaiDOM:DOM2
484 @ShadowSibling:
485 @@DOMMain:implementFeature:
486 @@@@: HTMLFeature20
487 @@@For:
488 ManakaiDOM:DOM2
489 @@For:
490 ManakaiDOM:DOM1
491 @@For:
492 =ManakaiDOM:ManakaiDOM
493 @@For: ForHTML
494 @@ISA:
495 @@@@: ||ManakaiDOM|ManakaiDOM2||ManakaiDOM|ForIF
496 @@@ForCheck: ManakaiDOM|ForIF ManakaiDOM|ManakaiDOMLatest
497 @@@ContentType: DISCore|TFPQNames
498 ## NOTE: A Level 2 interface is not always upward-compatible with Level 1 i.f.
499
500 ElementTypeBinding:
501 @Name: L2
502 @ElementType:
503 DOMMain:implementFeature
504 @ShadowContent:
505 @@@: HTMLFeature20
506 @@For:
507 ManakaiDOM:DOM2
508
509 ElementTypeBinding:
510 @Name: L2ISAL1
511 @ElementType:
512 dis:ISA
513 @ShadowContent:
514 @@@: ||ManakaiDOM|ManakaiDOM1||ManakaiDOM|ForIF
515 @@ForCheck: ManakaiDOM|ForIF ManakaiDOM|ManakaiDOM
516 @@ContentType: DISCore|TFPQNames
517
518 ElementTypeBinding:
519 @Name: L2IF
520 @ElementType:
521 DOMMain:implementFeature
522 @ShadowContent:
523 @@@: HTMLFeature20
524 @@For:
525 ManakaiDOM:DOM2
526 @ShadowSibling:
527 @@For:
528 ManakaiDOM:DOM2
529 @@For:
530 =ManakaiDOM:ManakaiDOM
531 @@For: ForHTML
532
533 ElementTypeBinding:
534 @Name: PerlDef
535 @ElementType:
536 dis:Def
537 @ShadowContent:
538 @@ContentType:
539 lang:Perl
540
541 ElementTypeBinding:
542 @Name: IF
543 @ElementType:
544 dis:ResourceDef
545 @ShadowContent:
546 @@rdf:type:
547 @@@@:
548 dis:MultipleResource
549 @@@ForCheck:
550 !ManakaiDOM:ForClass !ManakaiDOM:ForIF !ForHTML
551 @@rdf:type:
552 @@@@:
553 ManakaiDOM:IF
554 @@@ForCheck:
555 ManakaiDOM:ForIF
556 @@rdf:type:
557 @@@@:
558 ManakaiDOM:Class
559 @@@ForCheck:
560 ManakaiDOM:ForClass
561 @@resourceFor:
562 @@@@:
563 ManakaiDOM:ForIF
564 @@@For:
565 ManakaiDOM:DOMHTMLFeature
566 @@@For:
567 =ManakaiDOM:ManakaiDOM
568 @@@ForCheck: !ForHTML
569 @@resourceFor:
570 @@@@:
571 ManakaiDOM:ForClass
572 @@@ForCheck:
573 ManakaiDOM:ManakaiDOM !=ManakaiDOM:ManakaiDOM
574 ManakaiDOM:DOMHTMLFeature !ForHTML
575 @@ISA:
576 @@@@:
577 ManakaiDOM:ManakaiDOMObject
578 @@@ForCheck:
579 ManakaiDOM:ForClass
580 @@ISA:
581 @@@@:
582 ::ManakaiDOM:ManakaiDOM||ManakaiDOM:ForIF
583 @@@ForCheck:
584 ManakaiDOM:ForIF ManakaiDOM:ManakaiDOM1
585 @@@ContentType: DISCore|TFPQNames
586 @@Implement:
587 @@@@: ||+||ManakaiDOM|ForIF
588 @@@ForCheck: ManakaiDOM|ForClass ManakaiDOM|ManakaiDOM1
589 @@@ContentType: DISCore|TFPQNames
590
591 ElementTypeBinding:
592 @Name: ET
593 @ElementType:
594 dis:ResourceDef
595 @ShadowContent:
596 @@rdf:type:
597 @@@@:
598 dis:MultipleResource
599 @@@ForCheck:
600 !ManakaiDOM:ForClass !ManakaiDOM:ForIF !ForHTML
601 @@rdf:type:
602 @@@@:
603 ManakaiDOM:IF
604 @@@ForCheck:
605 ManakaiDOM:ForIF
606 @@rdf:type:
607 @@@@:
608 ManakaiDOM:Class
609 @@@ForCheck:
610 ManakaiDOM:ForClass
611 @@resourceFor:
612 @@@@:
613 ManakaiDOM:ForIF
614 @@@ForCheck:
615 ManakaiDOM:DOM
616 @@@For:
617 ManakaiDOM:DOMHTMLFeature
618 @@@For:
619 =ManakaiDOM:ManakaiDOM
620 @@resourceFor:
621 @@@@:
622 ManakaiDOM:ForClass
623 @@@ForCheck:
624 ManakaiDOM:ManakaiDOM !=ManakaiDOM:ManakaiDOM ManakaiDOM:DOMHTMLFeature
625
626 @@rdf:type:
627 @@@@:
628 s:ElementType
629 @@@ForCheck:
630 ForHTML
631
632 @@ISA:
633 @@@@:
634 ::ManakaiDOM:ManakaiDOM||ManakaiDOM:ForIF
635 @@@ForCheck:
636 ManakaiDOM:ForIF ManakaiDOM:ManakaiDOM1
637 @@@ContentType: DISCore|TFPQNames
638 @@Implement:
639 @@@@: ||+||ManakaiDOM|ForIF
640 @@@ForCheck: ManakaiDOM|ForClass ManakaiDOM|ManakaiDOM1
641 @@@ContentType: DISCore|TFPQNames
642
643 @@DISMarkup:elementType:
644 @@@@:
645 ::ForHTML40SE
646 @@@ForCheck:
647 ManakaiDOM:DOM1 !ManakaiDOM:DOM2
648 @@@ImplNote:
649 @@@@lang:en
650 @@@@@:
651 DOM Level 1 First Edition refers the latest version of
652 HTML 4.0 while Second Edition refers the second edition of
653 HTML 4.0.
654 @@@DISCore:stopISARecursive:1
655 @@DISMarkup:elementType:
656 @@@@:
657 ::ForHTML401
658 @@@ForCheck:
659 ManakaiDOM:DOM2
660 @@DISMarkup:elementType:
661 @@@@:
662 ::ForXHTML10SE
663 @@@ForCheck:
664 ManakaiDOM:DOM2
665 @@@DISCore:stopISARecursive:1
666
667 ElementTypeBinding:
668 @Name: Method
669 @ElementType:
670 dis:ResourceDef
671 @ShadowContent:
672 @@rdf:type:
673 ManakaiDOM:DOMMethod
674 @@ForCheck:
675 ManakaiDOM:DOM !=ManakaiDOM:ManakaiDOM
676 ElementTypeBinding:
677 @Name: IntMethod
678 @ElementType:
679 dis:ResourceDef
680 @ShadowContent:
681 @@rdf:type:
682 ManakaiDOM:DOMMethod
683 @@ForCheck:
684 ManakaiDOM:ManakaiDOM !=ManakaiDOM:ManakaiDOM
685 @@ManakaiDOM:isForInternal: 1
686 ElementTypeBinding:
687 @Name: ReMethod
688 @ElementType:
689 dis:ResourceDef
690 @ShadowContent:
691 @@rdf:type:
692 ManakaiDOM:DOMMethod
693 @@ForCheck:
694 ManakaiDOM:ManakaiDOM !=ManakaiDOM:ManakaiDOM
695 @@ManakaiDOM:isRedefining: 1
696 ElementTypeBinding:
697 @Name: Param
698 @ElementType:
699 dis:ResourceDef
700 @ShadowContent:
701 @@rdf:type:
702 ManakaiDOM:DOMMethodParameter
703 ElementTypeBinding:
704 @Name: Exception
705 @ElementType:
706 ManakaiDOM:raises
707
708 ElementTypeBinding:
709 @Name: Return
710 @ElementType:
711 dis:ResourceDef
712 @ShadowContent:
713 @@rdf:type:
714 ManakaiDOM:DOMMethodReturn
715
716 ElementTypeBinding:
717 @Name: Attr
718 @ElementType:
719 dis:ResourceDef
720 @ShadowContent:
721 @@rdf:type:
722 ManakaiDOM:DOMAttribute
723 @@ForCheck:
724 ManakaiDOM:DOM !=ManakaiDOM:ManakaiDOM
725
726 ElementTypeBinding:
727 @Name: ATTR
728 @ElementType:
729 dis:ResourceDef
730 @ShadowContent:
731 @@ForCheck:
732 !=ManakaiDOM:ManakaiDOM
733 @@rdf:type:
734 @@@@:
735 ManakaiDOM:DOMAttribute
736 @@@ForCheck:
737 ManakaiDOM:DOM
738 @@rdf:type:
739 @@@@:
740 s:Attribute
741 @@@ForCheck:
742 ForHTML
743 @@DocAttr:
744 @@@@:
745 ::ForHTML40SE
746 @@@ForCheck:
747 ManakaiDOM:DOM1 !ManakaiDOM:DOM2
748 @@@ImplNote:
749 @@@@lang:en
750 @@@@@:
751 DOM Level 1 First Edition refers the latest version of
752 HTML 4.0 while Second Edition refers the second edition of
753 HTML 4.0.
754 @@DocAttr:
755 @@@@:
756 ::ForHTML401
757 @@@ForCheck:
758 ManakaiDOM:DOM2
759 @@DocAttr:
760 @@@@:
761 ::ForXHTML10SE
762 @@@ForCheck:
763 ManakaiDOM:DOM2
764
765 ElementTypeBinding:
766 @Name: ReAttr
767 @ElementType:
768 dis:ResourceDef
769 @ShadowContent:
770 @@rdf:type:
771 ManakaiDOM:DOMAttribute
772 @@ForCheck:
773 ManakaiDOM:ManakaiDOM !=ManakaiDOM:ManakaiDOM
774 @@ManakaiDOM:isRedefining: 1
775 ElementTypeBinding:
776 @Name: Get
777 @ElementType:
778 dis:ResourceDef
779 @ShadowContent:
780 @@rdf:type:
781 ManakaiDOM:DOMAttrGet
782 @@ForCheck:
783 ManakaiDOM:DOM
784 ElementTypeBinding:
785 @Name: Set
786 @ElementType:
787 dis:ResourceDef
788 @ShadowContent:
789 @@rdf:type:
790 ManakaiDOM:DOMAttrSet
791 @@ForCheck:
792 ManakaiDOM:DOM
793 ElementTypeBinding:
794 @Name: InCase
795 @ElementType:
796 dis:ResourceDef
797 @ShadowContent:
798 @@rdf:type:
799 ManakaiDOM:InCase
800
801 ElementTypeBinding:
802 @Name: ConstGroup
803 @ElementType:
804 dis:ResourceDef
805 @ShadowContent:
806 @@rdf:type:
807 ManakaiDOM:ConstGroup
808 @@ForCheck:
809 ManakaiDOM:DOM !=ManakaiDOM:ManakaiDOM
810
811 ElementTypeBinding:
812 @Name: Const
813 @ElementType:
814 dis:ResourceDef
815 @ShadowContent:
816 @@rdf:type:
817 ManakaiDOM:Const
818 @@ForCheck:
819 ManakaiDOM:DOM !=ManakaiDOM:ManakaiDOM
820
821 ElementTypeBinding:
822 @Name: Deprecated
823 @ElementType:
824 DOMHTML:isDeprecatedByHTML4
825 @ShadowContent: 1
826 @ShadowSibling:
827 @@ForCheck: !ForXHTML11
828
829 PropDef:
830 @QName: isDeprecatedByHTML4
831 @Description:
832 @@lang:en
833 @@@:
834 Whether a subject resource is deprecated by HTML 4 or not.
835 @dataType:
836 dis:Boolean
837
838 IF:
839 @Name:
840 @@@: HTMLCollection
841 @@ForCheck:
842 ManakaiDOM:ForIF
843
844 @QName:
845 @@@: ManakaiDOMHTMLCollection
846 @@ForCheck:
847 ManakaiDOM:ForClass
848 @ISA:
849 @@@:
850 ManakaiDOM:ManakaiDOMNodeReference::ManakaiDOM:Perl
851 @@ForCheck:
852 ManakaiDOM:ForClass
853 @L2ISAL1:
854
855 @Description:
856 @@lang:en
857 @@@:
858 A list of nodes. An individual node may be accessed
859 by either ordinal index or the <HA:name> or <HA:id>
860 of the node.
861 \
862 <IF:HTMLCollection> objects are <EM:live>; they are
863 automatically updated when the underlying document
864 is changed.
865
866 @L1IF:
867
868 @Attr:
869 @@Name: length
870 @@Description:
871 @@@lang:en
872 @@@@: The length of the list.
873 @@Get:
874 @@@Type:
875 DOMMain:unsigned-long
876 @@@PerlDef:
877 my $l = $self->{<Q::TreeCore:node>}
878 -><M::ManakaiDOMCore:ManakaiDOMNodeObjectNode
879 .getElementsBy>
880 ($self->{<Q::ManakaiDOMCore:nodeMatch>});
881 $r = @$l;
882 @Method:
883 @@Name: item
884 @@Description:
885 @@@lang:en
886 @@@@:
887 Retrieve a node specified by ordinal index.
888 @@Param:
889 @@@Name: index
890 @@@Type:
891 DOMMain:unsigned-long
892 @@@Description:
893 @@@@lang:en
894 @@@@@:
895 The index of the node to retrieve, in the document order.
896 The index origin is <DOM:0>.
897 @@Return:
898 @@@Type:
899 DOMCore:Node
900 @@@Description:
901 @@@@lang:en
902 @@@@@:
903 The <P:index>th node.
904 @@@InCase:
905 @@@@Value:
906 @@@@@is-null:1
907 @@@@Description:
908 @@@@@lang:en
909 @@@@@@:
910 The <P:index> is out of range.
911 @@@PerlDef:
912 $r = $self->{<Q::TreeCore:node>}
913 -><M::ManakaiDOMCore:ManakaiDOMNodeObjectNode
914 .getElementBy>
915 ($self->{<Q::ManakaiDOMCore:nodeMatch>}, \$index);
916 if (defined $r) {
917 $r = <ClassM::DOMCore:ManakaiDOMNode.getNodeReference> ($r, $self);
918 }
919 @Method:
920 @@Name: namedItem
921 @@Description:
922 @@@lang:en
923 @@@@:
924 Retrieve a node using a name.
925 \
926 With HTML 4 documents,
927 it first searches for an <IF:Element> with a matching
928 <HA:name> attribute and if it does not find one,
929 it searches for an <IF:Element> (that is allowed to specify a
930 <HA:name> attribute) with a matching <HA:name> attribute.
931 The matching is case-insensitive.
932 \
933 With XHTML 1.0 documents, it only searches for
934 an <IF:Element> with a matching <HA:id> attribute.
935 The matching is case-sensitive.
936 @@ImplNote:
937 @@@lang:en
938 @@@@:
939 XHTML <HA::id> local attributes? XML <XML::ID> attributes?
940 Any local <XA::id> attributes?
941 @@Param:
942 @@@Name: name
943 @@@Type:
944 DOMMain:DOMString
945 @@@Description:
946 @@@@lang:en
947 @@@@@:
948 The name of the <IF:Node> to retrieve.
949 @@Return:
950 @@@Type:
951 DOMCore:Node
952 @@@Description:
953 @@@@lang:en
954 @@@@@:
955 The <IF:Node> with a <HA:name> or <HA:id> whose
956 value matches with <P:name>.
957 @@@InCase:
958 @@@@Value:
959 @@@@@is-null:1
960 @@@@Description:
961 @@@@@lang:en
962 @@@@@@:
963 There is no node with such a <P:name>.
964 @@@PerlDef:
965 my $node = $self->{<Q::TreeCore:node>};
966 $name = "$name";
967 my $index = 0;
968 if (not $node->{<Q::DOMCore:ownerDocument>}
969 ->{<Q::DOMCore:hasFeature>}->{XML}) {
970 $r = $self->{<Q::TreeCore:node>}
971 -><M::ManakaiDOMCore:ManakaiDOMNodeObjectNode
972 .getElementBy>
973 (sub ($) {
974 \#line 1 "DOMHTML.ManakaiDOMHTMLCollection.namedItem.#1"
975 my $node = shift;
976 if ($self->{<Q::ManakaiDOMCore:nodeMatch>}->($node)) {
977 my $attr = $node->{<Q::infoset:attributes>}
978 ->{<Q::null:>}->{name} ||
979 $node->{<Q::infoset:attributes>}
980 ->{<Q::ManakaiDOM:noNS>}->{name};
981 if ($attr) {
982 my $attrn;
983 __CODE{ManakaiNode:getWeakReference
984 ||ManakaiDOM:Perl::
985 $object => $attr, $ref => $attrn,
986 $class => {<ClassName::DOMCore:ManakaiDOMAttr>},
987 }__;
988 __FOR{ManakaiDOM:DOM3::
989 if ($attrn-><AG::DOMCore:Node.textContent>
990 eq $name) {
991 return true;
992 }
993 }__;
994 __FOR{!ManakaiDOM:DOM3::
995 if ($attrn-><AG::DOMCore:ManakaiDOMNode
996 .textContent> eq $name) {
997 return true;
998 }
999 }__;
1000 }
1001 }
1002 return false;
1003 \#line 1 "DOMHTML.ManakaiDOMHTMLCollection.namedItem.#2"
1004 }, \$index);
1005 }
1006 $index = 0;
1007 $r ||= $self->{<Q::TreeCore:node>}
1008 -><M::ManakaiDOMCore:ManakaiDOMNodeObjectNode
1009 .getElementBy>
1010 (sub ($) {
1011 \#line 1 "DOMHTML.ManakaiDOMHTMLCollection.namedItem.#3"
1012 my $node = shift;
1013 if ($self->{<Q::ManakaiDOMCore:nodeMatch>}->($node)) {
1014 my $attr = $node->{<Q::infoset:attributes>}
1015 ->{<Q::null:>}->{id} ||
1016 $node->{<Q::infoset:attributes>}
1017 ->{<Q::ManakaiDOM:noNS>}->{id};
1018 if ($attr) {
1019 my $attrn;
1020 __CODE{ManakaiNode:getWeakReference
1021 ||ManakaiDOM:Perl::
1022 $object => $attr, $ref => $attrn,
1023 $class => {<ClassName::DOMCore:ManakaiDOMAttr>},
1024 }__;
1025 __FOR{ManakaiDOM:DOM3::
1026 if ($attrn-><AG::DOMCore:Node.textContent>
1027 eq $name) {
1028 return true;
1029 }
1030 }__;
1031 __FOR{!ManakaiDOM:DOM3::
1032 if ($attrn-><AG::DOMCore:ManakaiDOMNode
1033 .textContent> eq $name) {
1034 return true;
1035 }
1036 }__;
1037 }
1038 }
1039 return false;
1040 \#line 1 "DOMHTML.ManakaiDOMHTMLCollection.namedItem.#4"
1041 }, \$index);
1042 if (defined $r) {
1043 $r = <ClassM::DOMCore:ManakaiDOMNode.getNodeReference> ($r, $self);
1044 }
1045
1046 ImplNote:
1047 @@lang:en
1048 @@@:
1049 <IF:HTMLOptionCollection>: See <Module:DOMWebForms>.
1050
1051 IF:
1052 @Name:
1053 @@@: ManakaiDOMHTMLDOMImplementationIF
1054 @@ForCheck:
1055 ManakaiDOM:ForIF
1056 @ISA:
1057 @@@:
1058 DOMCore:DOMImplementation
1059 @@ForCheck:
1060 ManakaiDOM:ForIF
1061
1062 @Name:
1063 @@@: ManakaiDOMHTMLDOMImplementation
1064 @@ForCheck:
1065 ManakaiDOM:ForClass
1066 @ISA:
1067 @@@:
1068 DOMCore:ManakaiDOMImplementation
1069 @@ForCheck:
1070 ManakaiDOM:ForClass
1071
1072 @For:
1073 ManakaiDOM:ManakaiDOMLatest
1074 @For:
1075 =ManakaiDOM:ManakaiDOM
1076 @DOMMain:implementFeature: HTMLFeature20
1077
1078 @DOMMetaImpl:provideFeature: HTMLFeature20
1079
1080 @Description:
1081 @@lang:en
1082 @@@:
1083 A DOM implementation with HTML-specific methods.
1084 \
1085 {NOTE:: The <IF::HTMLDOMImplementation> was part of
1086 the W3C's DOM Level 2 HTML Candicate Recommendation
1087 but later removed. The manakai DOM implementation
1088 has been decided to include this interface since
1089 there are a number of implementations supporting
1090 the <M::HTMLDOMImplementation.createHTMLDocument> method
1091 and the DOM Level 3 Core Specification belives:-) that
1092 there is a <M::createHTMLDocument> method.
1093 \
1094 }
1095
1096 @Method:
1097 @@Name: createHTMLDocument
1098 @@Description:
1099 @@@lang:en
1100 @@@@:
1101 Creates an <IF::HTMLDocument> object with the minimal tree
1102 made of <HE::html>, <HE::head>, <HE::title> and <HE::body> elements.
1103 \
1104 {NOTE:: This method creates a (non-XML) HTML document. To create
1105 a XHTML document, use <M::DOMCore:DOMImplementation.
1106 createDocument> with a root element type
1107 <Q::xhtml1:html> or with an appropriate document type
1108 node.
1109 \
1110 }
1111
1112 @@For:
1113 ManakaiDOM:ManakaiDOMLatest
1114
1115 @@Param:
1116 @@@Name:title
1117 @@@Type:
1118 DOMMain:DOMString
1119 @@@actualType:
1120 DOMMain:ManakaiDOMString
1121 @@@Description:
1122 @@@@lang:en
1123 @@@@@:
1124 The title of the document to create. It is set as the content of
1125 the <HE::title> element, through a child <IF::DOMCore:Text> node.
1126 @@Return:
1127 @@@Type: HTMLDocument
1128 @@@actualType: ManakaiDOMHTMLDocument
1129 @@@Description:
1130 @@@@lang:en
1131 @@@@@:
1132 A newly created HTML document.
1133 @@@PerlDef:
1134 my $node = <ClassM::DOMCore:ManakaiDOMDocument.newObject>;
1135 $node->{<Q::DOMCore:implementation>} = $self;
1136 $node->{<Q::ManakaiDOM:implID>}
1137 = $self->{<Q::TreeCore:node>}->{<Q::ManakaiDOM:implID>};
1138 $node->{<Q::DOMCore:hasFeature>}->{HTML} = 1;
1139 my $cls = <ClassName::DOMCore:ManakaiDOMDocument>;
1140 $r = <Code::getWeakRef:: $object = $node, $class = $cls>;
1141 $r-><M::DOMCore:Node.appendChild>
1142 (my $html = $r-><M::DOMCore:Document.createElement>
1143 ('HTML'));
1144 $html-><M::DOMCore:Node.appendChild>
1145 (my $head = $r-><M::DOMCore:Document.createElement>
1146 ('HEAD'));
1147 $head-><M::DOMCore:Node.appendChild>
1148 (my $titleEl = $r-><M::DOMCore:Document.createElement>
1149 ('TITLE'));
1150 if (length $title) {
1151 $titleEl-><M::DOMCore:Node.appendChild>
1152 ($r-><M::DOMCore:Document.createTextNode> ($title));
1153 }
1154 $html-><M::DOMCore:Node.appendChild>
1155 ($r-><M::DOMCore:Document.createElement>
1156 ('BODY'));
1157 $r = <ClassM::DOMCore:ManakaiDOMNode.getNodeReference> ($node);
1158
1159
1160 @Method:
1161 @@Name: createXHTMLDocument
1162 @@Description:
1163 @@@lang:en
1164 @@@@:
1165 Creates an <IF::HTMLDocument> object with the minimal tree
1166 made of <HE::html>, <HE::head>, <HE::title> and <HE::body> elements
1167 and with the <Feature::XHTML> feature.
1168 \
1169 {NOTE:: This method is <EM::manakai extension>.
1170 \
1171 }
1172
1173 @@For:
1174 ManakaiDOM:ManakaiDOMLatest
1175
1176 @@Param:
1177 @@@Name:title
1178 @@@Type:
1179 DOMMain:DOMString
1180 @@@Description:
1181 @@@@lang:en
1182 @@@@@:
1183 The title of the document to create. It is set as the content of
1184 the <HE::title> element, through a child <IF::DOMCore:Text> node.
1185 @@Return:
1186 @@@Type: HTMLDocument
1187 @@@actualType: ManakaiDOMHTMLDocument
1188 @@@Description:
1189 @@@@lang:en
1190 @@@@@:
1191 A newly created HTML document.
1192 @@@PerlDef:
1193 __DEEP{
1194 my $node = <ClassM::DOMCore:ManakaiDOMDocument.newObject>;
1195 $node->{<Q::DOMCore:implementation>} = $self;
1196 $node->{<Q::ManakaiDOM:implID>}
1197 = $self->{<Q::TreeCore:node>}->{<Q::ManakaiDOM:implID>};
1198 $node->{<Q::DOMCore:hasFeature>}->{HTML} = 1;
1199 $node->{<Q::DOMCore:hasFeature>}->{XML} = 1;
1200 my $cls = <ClassName::DOMCore:ManakaiDOMDocument>;
1201 $r = <Code::getWeakRef:: $object = $node, $class = $cls>;
1202 $r-><M::DOMCore:Node.appendChild>
1203 (my $html = $r-><M::DOMCore:Document.createElementNS>
1204 (<Q::xhtml1:>, 'html'));
1205 $html-><M::DOMCore:Element.setAttributeNS>
1206 (<Q::xmlns:>, 'xmlns', <Q::xhtml1:>);
1207 $html-><M::DOMCore:Node.appendChild>
1208 (my $head = $r-><M::DOMCore:Document.createElementNS>
1209 (<Q::xhtml1:>, 'head'));
1210 $head-><M::DOMCore:Node.appendChild>
1211 (my $titleEl = $r-><M::DOMCore:Document.createElementNS>
1212 (<Q::xhtml1:>, 'title'));
1213 if (length $title) {
1214 $titleEl-><M::DOMCore:Node.appendChild>
1215 ($r-><M::DOMCore:Document.createTextNode> ($title));
1216 }
1217 $html-><M::DOMCore:Node.appendChild>
1218 ($r-><M::DOMCore:Document.createElementNS>
1219 (<Q::xhtml1:>, 'body'));
1220 $r = <ClassM::DOMCore:ManakaiDOMNode.getNodeReference> ($node);
1221 }__;
1222
1223 ResourceDef:
1224 @QName: getWeakRef
1225 @AliasFor:
1226 ManakaiNode:getWeakRef::ManakaiDOM:Perl
1227
1228 IF:
1229 @Name:
1230 @@@: HTMLDocument
1231 @@ForCheck:
1232 ManakaiDOM:ForIF
1233 @ISA:
1234 @@@:
1235 DOMCore:Document
1236 @@ForCheck:
1237 ManakaiDOM:ForIF
1238
1239 @QName:
1240 @@@: ManakaiDOMHTMLDocument
1241 @@ForCheck:
1242 ManakaiDOM:ForClass
1243 @ISA:
1244 @@@:
1245 DOMCore:ManakaiDOMDocument
1246 @@ForCheck:
1247 ManakaiDOM:ForClass
1248
1249 @L1IF:
1250
1251 @Description:
1252 @@lang:en
1253 @@@:
1254 The root of the HTML document and holds the entire content.
1255
1256 @s:rootElementType:
1257 @@@: html||ForHTML40SE
1258 @@ForCheck: ManakaiDOM|DOM1 !ManakaiDOM|DOM2
1259 @s:rootElementType:
1260 @@@: html||ForHTML401
1261 @@ForCheck: ManakaiDOM|DOM2
1262 @s:rootElementType:
1263 @@@: html||ForXHTML10SE
1264 @@ForCheck: ManakaiDOM|DOM2
1265
1266 @ImplNote:
1267 @@doctype-public:
1268 -//W3C//DTD HTML 4.0//EN
1269 @@doctype-public:
1270 -//W3C//DTD HTML 4.0 Transitional//EN
1271 @@doctype-public:
1272 -//W3C//DTD HTML 4.0 Frameset//EN
1273 @@doctype-public:
1274 -//W3C//DTD HTML 4.01//EN
1275 @@doctype-public:
1276 -//W3C//DTD HTML 4.01 Transitional//EN
1277 @@doctype-public:
1278 -//W3C//DTD HTML 4.01 Frameset//EN
1279 @@doctype-public:
1280 -//W3C//DTD XHTML 1.0 Strict//EN
1281 @@doctype-public:
1282 -//W3C//DTD XHTML 1.0 Transitional//EN
1283 @@doctype-public:
1284 -//W3C//DTD XHTML 1.0 Frameset//EN
1285 @@ImplNote:
1286 @@@lang:en
1287 @@@@:
1288 TODO: doctype-system required
1289
1290 mediatype : text/html, text/x-html
1291
1292 @Attr:
1293 @@Name: title
1294 @@Description:
1295 @@@lang:en
1296 @@@@:
1297 The title of a document, as specified by the <HE::title> element.
1298 @@Get:
1299 @@@Type: DOMString
1300 @@@PerlDef:
1301 __DEEP{
1302 DOC: for my $child (@{$self-><AG::DOMCore:Node.childNodes>}) {
1303 if ($child-><AG::DOMCore:Node.nodeType> ==
1304 <C::DOMCore:Node.ELEMENT_NODE> and
1305 <Code::isHTMLElement:: $elementNode = $child,
1306 $elementType = 'html'>) {
1307 for my $child (@{$child-><AG::DOMCore:Node.childNodes>}) {
1308 if ($child-><AG::DOMCore:Node.nodeType> ==
1309 <C::DOMCore:Node.ELEMENT_NODE> and
1310 <Code::isHTMLElement:: $elementNode = $child,
1311 $elementType = 'head'>) {
1312 for my $child (@{$child-><AG::DOMCore:Node.childNodes>}) {
1313 if ($child-><AG::DOMCore:Node.nodeType> ==
1314 <C::DOMCore:Node.ELEMENT_NODE> and
1315 <Code::isHTMLElement:: $elementNode = $child,
1316 $elementType = 'title'>) {
1317 __CODE{DOMCore:getNodeTextContent::
1318 $node => $child,
1319 $result => $r}__;
1320 last DOC;
1321 }
1322 }
1323 last DOC; # xhtml1:title not found
1324 }
1325 }
1326 last DOC; # xhtml1:head not found
1327 }
1328 }
1329 }__;
1330 @@Set:
1331 @@@Exception:
1332 @@@@@:
1333 DOMCore:DOMException.NO_MODIFICATION_ALLOWED_ERR
1334 @@@@enDesc:
1335 Either the <HE::title> element is read-only,
1336 there is no <HE::title> element and the <HE::head>
1337 element is read-only, there is no <HE::head>
1338 element and the <HE::html> element is read-only,
1339 or there is no <HE::html> element and the document
1340 node is read-only.
1341 @@@@ForCheck:
1342 ManakaiDOM:ManakaiDOM
1343 @@@Exception:
1344 @@@@@:
1345 MDOMX:MDOM_SECOND_DOC_ELEMENT
1346 @@@@enDesc:
1347 The document element (root element) of the document
1348 is not an <HE::html> element.
1349 @@@@ForCheck:
1350 ManakaiDOM:ManakaiDOM
1351 @@@ImplNote:
1352 @@@@lang:en
1353 @@@@@:
1354 The Spec. does not specify what has occured if
1355 there is no <HE::title> element.
1356 @@@Type: DOMString
1357 @@@PerlDef:
1358 __DEEP{
1359 my $html;
1360 for my $child (@{$self-><AG::DOMCore:Node.childNodes>}) {
1361 if ($child-><AG::DOMCore:Node.nodeType> ==
1362 <C::DOMCore:Node.ELEMENT_NODE> and
1363 <Code::isHTMLElement:: $elementNode = $child,
1364 $elementType = 'html'>) {
1365 $html = $child;
1366 last;
1367 }
1368 }
1369 unless ($html) {
1370 $html = $self-><M::DOMCore:Node.appendChild>
1371 ($self-><M::DOMCore:Document.createElementNS>
1372 (<Q::xhtml1:>, 'html'));
1373 }
1374
1375 my $head;
1376 for my $child (@{$html-><AG::DOMCore:Node.childNodes>}) {
1377 if ($child-><AG::DOMCore:Node.nodeType> ==
1378 <C::DOMCore:Node.ELEMENT_NODE> and
1379 <Code::isHTMLElement:: $elementNode = $child,
1380 $elementType = 'head'>) {
1381 $head = $child;
1382 last;
1383 }
1384 }
1385 unless ($head) {
1386 $head = $html-><M::DOMCore:Node.appendChild>
1387 ($self-><M::DOMCore:Document.createElementNS>
1388 (<Q::xhtml1:>, 'head'));
1389 }
1390
1391 my $title;
1392 for my $child (@{$head-><AG::DOMCore:Node.childNodes>}) {
1393 if ($child-><AG::DOMCore:Node.nodeType> ==
1394 <C::DOMCore:Node.ELEMENT_NODE> and
1395 <Code::isHTMLElement:: $elementNode = $child,
1396 $elementType = 'title'>) {
1397 $title = $child;
1398 last;
1399 }
1400 }
1401 unless ($title) {
1402 $title = $head-><M::DOMCore:Node.appendChild>
1403 ($self-><M::DOMCore:Document.createElementNS>
1404 (<Q::xhtml1:>, 'title'));
1405 }
1406
1407 __CODE{DOMCore:setNodeTextContent::
1408 $node => $title, $given => $given}__;
1409 }__;
1410 @Attr:
1411 @@Name: referrer
1412 @@Description:
1413 @@@lang:en
1414 @@@@:
1415 The page that linked to this page.
1416 @@Type:
1417 DOMMain:DOMString
1418 @@actualType:
1419 DOMMain:RFC2396URI
1420 @@Get:
1421 @@@Description:
1422 @@@@lang:en
1423 @@@@@:
1424 The RFC 2396 URI of the page.
1425 @@@InCase:
1426 @@@@Value:\
1427 @@@@Description:
1428 @@@@@lang:en
1429 @@@@@@:
1430 The user navigated to the page directly (not through a
1431 link, but for example via bookmark).
1432 @@@Def:
1433 @@@@ContentType:
1434 lang:dis
1435 @@@@GetProp:
1436 DOMHTML:referrer
1437 @Attr:
1438 @@Name: domain
1439 @@Description:
1440 @@@lang:en
1441 @@@@:
1442 The domain name of the server that served the document.
1443 @@Get:
1444 @@@Type: DOMString
1445 @@@InCase:
1446 @@@@Value:
1447 @@@@@is-null:1
1448 @@@@Description:
1449 @@@@@lang:en
1450 @@@@@@:
1451 The server cannot be identified by a domain name.
1452 @@@ImplNote:
1453 @@@@lang:en
1454 @@@@@:
1455 ISSUE: What is allowed? FQDNs? Non-FQ domain names?
1456 IPv4 addresses? IPv6 addresses with or without
1457 brackets?
1458 @@@PerlDef:
1459 $r = null;
1460 if (defined $self->{<Q::TreeCore:node>}
1461 ->{<Q::DOMCore:documentURI>}) {
1462 require URI;
1463 my $uri = URI->new ($self->{<Q::TreeCore:node>}
1464 ->{<Q::DOMCore:documentURI>});
1465 if ($uri->can ('host')) {
1466 $r = $uri->host;
1467 undef $r if defined $r and
1468 (length $r == 0 or
1469 substr ($r, 0, 1) eq '[');
1470 }
1471 }
1472 @Attr:
1473 @@Name: URL
1474 @@Description:
1475 @@@lang:en
1476 @@@@:
1477 The absolute URI <SRC:RFC 2396> of the document.
1478 @@Get:
1479 @@@Type: DOMString
1480 @@@actualType:
1481 DOMMain:RFC2396AbsoluteURI
1482 @@@Def:
1483 @@@@ContentType:
1484 lang:dis
1485 @@@@GetProp:
1486 DOMCore:documentURI
1487 @Attr:
1488 @@Name: body
1489 @@Description:
1490 @@@lang:en
1491 @@@@:
1492 The element that contains the content for the document.
1493 @@ImplNote:
1494 @@@lang:en
1495 @@@@:
1496 ISSUE: Is returning <HA:frameset> is DOM Level 0 compatible?
1497 @@Get:
1498 @@@Type: HTMLElement
1499 @@@Description:
1500 @@@@lang:en
1501 @@@@@:
1502 The <HA:body> element or the outermost <HA:frameset> element.
1503 @@@nullCase:
1504 @@@@enDesc:
1505 The document does not have the <HA::body> element
1506 nor a <HA::frameset> element.
1507 @@@PerlDef:
1508 __DEEP{
1509 DOC: for my $child (@{$self-><AG::DOMCore:Node.childNodes>}) {
1510 if ($child-><AG::DOMCore:Node.nodeType> ==
1511 <C::DOMCore:Node.ELEMENT_NODE> and
1512 <Code::isHTMLElement:: $elementNode = $child,
1513 $elementType = 'html'>) {
1514 for my $child (@{$child-><AG::DOMCore:Node.childNodes>}) {
1515 if ($child-><AG::DOMCore:Node.nodeType> ==
1516 <C::DOMCore:Node.ELEMENT_NODE>) {
1517 if (<Code::isHTMLElement:: $elementNode = $child,
1518 $elementType = 'body'> or
1519 <Code::isHTMLElement:: $elementNode = $child,
1520 $elementType = 'frameset'>) {
1521 $r = $child;
1522 last DOC;
1523 }
1524 }
1525 }
1526 last DOC; # xhtml1:html not found
1527 }
1528 }
1529 }__;
1530 @@Set:
1531 @@@Type: HTMLElement
1532 @@@ImplNote:
1533 @@@@lang:en
1534 @@@@@:
1535 ISSUE: Why this attribute is writable? No exception?
1536 @@@ImplNote:
1537 @@@@lang:en
1538 @@@@@:
1539 What should be happen if non-<HE::body> and non-<HE::frameset>
1540 element is attempted to set? A <C::DOMCore:DOMException
1541 .HIERARCHY_ERR>? The current implementation
1542 does no check.
1543 @@@Exception:
1544 @@@@@:
1545 DOMCore:DOMException.NO_MODIFICATION_ALLOWED_ERR
1546 @@@@enDesc:
1547 Either the <HE::html> element is read-only,
1548 or there is no <HE::html> element and the document
1549 node is read-only.
1550 @@@@ForCheck:
1551 ManakaiDOM:ManakaiDOM
1552 @@@Exception:
1553 @@@@@:
1554 MDOMX:MDOM_SECOND_DOC_ELEMENT
1555 @@@@enDesc:
1556 The document element (root element) of the document
1557 is not an <HE::html> element.
1558 @@@@ForCheck:
1559 ManakaiDOM:ManakaiDOM
1560 @@@ImplNote:
1561 @@@@lang:en
1562 @@@@@:
1563 The Spec. does not specify what has occured if
1564 there is no <HE::html> element.
1565 @@@PerlDef:
1566 __DEEP{
1567 my $html;
1568 for my $child (@{$self-><AG::DOMCore:Node.childNodes>}) {
1569 if ($child-><AG::DOMCore:Node.nodeType> ==
1570 <C::DOMCore:Node.ELEMENT_NODE> and
1571 <Code::isHTMLElement:: $elementNode = $child,
1572 $elementType = 'html'>) {
1573 $html = $child;
1574 last;
1575 }
1576 }
1577 unless ($html) {
1578 $html = $self-><M::DOMCore:Node.appendChild>
1579 ($self-><M::DOMCore:Document.createElementNS>
1580 (<Q::xhtml1:>, 'html'));
1581 }
1582
1583 my $body;
1584 for my $child (@{$html-><AG::DOMCore:Node.childNodes>}) {
1585 if ($child-><AG::DOMCore:Node.nodeType> ==
1586 <C::DOMCore:Node.ELEMENT_NODE>) {
1587 if (<Code::isHTMLElement:: $elementNode = $child,
1588 $elementType = 'body'> or
1589 <Code::isHTMLElement:: $elementNode = $child,
1590 $elementType = 'frameset'>) {
1591 $body = $child;
1592 last;
1593 }
1594 }
1595 }
1596 if ($body) {
1597 $html-><M::DOMCore:Node.replaceChild> ($body => $given);
1598 } else {
1599 $html-><M::DOMCore:Node.appendChild> ($given);
1600 }
1601 }__;
1602 @Attr:
1603 @@Name: images
1604 @@Description:
1605 @@@lang:en
1606 @@@@:
1607 A collection of all the <HA:img> elements in a document.
1608 \
1609 {NOTE:: Only <HA:img> elements are contained for
1610 backward compatibility.
1611 \
1612 }
1613 @@Get:
1614 @@@Type: HTMLCollection
1615 @@@actualType:
1616 ManakaiDOMHTMLCollection
1617 @@@PerlDef:
1618 my $chk;
1619 $chk = sub {
1620 \#line 1 "DOMHTML.ManakaiDOMHTMLElement.getImages.#1"
1621 my ($self) = @_;
1622 if (<Code::isHTMLElemento:: $elementNodeo = $self,
1623 $elementType = 'img'>) {
1624 return true;
1625 } else {
1626 return false;
1627 }
1628 \#line 1 "DOMHTML.ManakaiDOMHTMLElement.getImages.#2"
1629 };
1630 __DEEP{
1631 $r = $self->{<Q::TreeCore:node>}
1632 -><M::ManakaiDOM:ManakaiDOMNodeObject
1633 ::ManakaiDOM:Perl.newReference>
1634 (<ClassName::ManakaiDOMHTMLCollection>);
1635 }__;
1636 $r->{<Q::ManakaiDOMCore:nodeMatch>} = $chk;
1637
1638 @Attr:
1639 @@Name: applets
1640 @@Description:
1641 @@@lang:en
1642 @@@@:
1643 A collection of all <HA:object> elements that include
1644 applets and <HA:applet> elements in the document.
1645 @@ImplNote:
1646 @@@lang:en
1647 @@@@:
1648 There might be compatibility problems, since
1649 the two element types has different attribute sets.
1650 Old (DOM Level 0) applications might not take
1651 <HA:object> elements into consideration.
1652 @@Get:
1653 @@@Type: HTMLCollection
1654 @@@actualType:
1655 ManakaiDOMHTMLCollection
1656 @@@PerlDef:
1657 my $chk;
1658 $chk = sub {
1659 \#line 1 "DOMHTML.ManakaiDOMHTMLElement.getApplets.#1"
1660 my ($self) = @_;
1661 if (<Code::isHTMLElemento:: $elementNodeo = $self,
1662 $elementType = 'applet'>) {
1663 return true;
1664 } elsif (<Code::isHTMLElemento:: $elementNodeo = $self,
1665 $elementType = 'object'> and
1666 $self->{<Q::DOMHTML:isApplet>}) {
1667 return true;
1668 } else {
1669 return false;
1670 }
1671 \#line 1 "DOMHTML.ManakaiDOMHTMLElement.getApplets.#2"
1672 };
1673 __DEEP{
1674 $r = $self->{<Q::TreeCore:node>}
1675 -><M::ManakaiDOM:ManakaiDOMNodeObject
1676 ::ManakaiDOM:Perl.newReference>
1677 (<ClassName::ManakaiDOMHTMLCollection>);
1678 }__;
1679 $r->{<Q::ManakaiDOMCore:nodeMatch>} = $chk;
1680
1681 @Attr:
1682 @@Name: links
1683 @@Description:
1684 @@@lang:en
1685 @@@@:
1686 A collection of all <HA:a> and <HA:area> elements
1687 in a document with a value for the <HA:href> attribute.
1688 @@Get:
1689 @@@Type: HTMLCollection
1690 @@@actualType:
1691 ManakaiDOMHTMLCollection
1692 @@@PerlDef:
1693 my $chk;
1694 $chk = sub {
1695 \#line 1 "DOMHTML.ManakaiDOMHTMLElement.getLinks.#1"
1696 my ($self) = @_;
1697 if (<Code::isHTMLElemento:: $elementNodeo = $self,
1698 $elementType = 'a'>) {
1699 return true
1700 if $self->{<Q::infoset:attributes>}
1701 ->{<Q::null:>}->{href} or
1702 $self->{<Q::infoset:attributes>}
1703 ->{<Q::ManakaiDOM:noNS>}->{href};
1704 } elsif (<Code::isHTMLElemento:: $elementNodeo = $self,
1705 $elementType = 'area'>) {
1706 return true
1707 if $self->{<Q::infoset:attributes>}
1708 ->{<Q::null:>}->{href} or
1709 $self->{<Q::infoset:attributes>}
1710 ->{<Q::ManakaiDOM:noNS>}->{href};
1711 }
1712 return false;
1713 \#line 1 "DOMHTML.ManakaiDOMHTMLElement.getLinks.#2"
1714 };
1715 __DEEP{
1716 $r = $self->{<Q::TreeCore:node>}
1717 -><M::ManakaiDOM:ManakaiDOMNodeObject
1718 ::ManakaiDOM:Perl.newReference>
1719 (<ClassName::ManakaiDOMHTMLCollection>);
1720 }__;
1721 $r->{<Q::ManakaiDOMCore:nodeMatch>} = $chk;
1722
1723 @Attr:
1724 @@Name: forms
1725 @@Description:
1726 @@@lang:en
1727 @@@@:
1728 A collection of all the forms of a document.
1729 @@ImplNote:
1730 @@@lang:en
1731 @@@@:
1732 It should be restricted for HTML <HA:form> elements.
1733 Neither <HA:isindex> elements nor non-HTML form elements
1734 should be contained.
1735 @@Get:
1736 @@@Type: HTMLCollection
1737 @@@actualType:
1738 ManakaiDOMHTMLCollection
1739 @@@PerlDef:
1740 my $chk;
1741 $chk = sub {
1742 \#line 1 "DOMHTML.ManakaiDOMHTMLElement.getForms.#1"
1743 my ($self) = @_;
1744 if (<Code::isHTMLElemento:: $elementNodeo = $self,
1745 $elementType = 'form'>) {
1746 return true;
1747 } else {
1748 return false;
1749 }
1750 \#line 1 "DOMHTML.ManakaiDOMHTMLElement.getForms.#2"
1751 };
1752 __DEEP{
1753 $r = $self->{<Q::TreeCore:node>}
1754 -><M::ManakaiDOM:ManakaiDOMNodeObject
1755 ::ManakaiDOM:Perl.newReference>
1756 (<ClassName::ManakaiDOMHTMLCollection>);
1757 }__;
1758 $r->{<Q::ManakaiDOMCore:nodeMatch>} = $chk;
1759 @Attr:
1760 @@Name: anchors
1761 @@Description:
1762 @@@lang:en
1763 @@@@:
1764 A collection of all the <HA:a> elements with a value
1765 for the <HA:name> attribute in the document.
1766 \
1767 {NOTE:: The collection of this attribute only contains
1768 those anchors with <HA:name> attributes,
1769 not with the <HA:id> attributes, for backward
1770 compatibility. XHTML 1.0 deprecates the use
1771 of the <HA:name> attribute.
1772 \
1773 }
1774 @@Get:
1775 @@@Type: HTMLCollection
1776 @@@actualType:
1777 ManakaiDOMHTMLCollection
1778 @@@PerlDef:
1779 my $chk;
1780 $chk = sub {
1781 \#line 1 "DOMHTML.ManakaiDOMHTMLElement.getAnchors.#1"
1782 my ($self) = @_;
1783 if (<Code::isHTMLElemento:: $elementNodeo = $self,
1784 $elementType = 'a'>) {
1785 return true
1786 if $self->{<Q::infoset:attributes>}
1787 ->{<Q::null:>}->{name} or
1788 $self->{<Q::infoset:attributes>}
1789 ->{<Q::ManakaiDOM:noNS>}->{name};
1790 }
1791 return false;
1792 \#line 1 "DOMHTML.ManakaiDOMHTMLElement.getAnchors.#2"
1793 };
1794 __DEEP{
1795 $r = $self->{<Q::TreeCore:node>}
1796 -><M::ManakaiDOM:ManakaiDOMNodeObject
1797 ::ManakaiDOM:Perl.newReference>
1798 (<ClassName::ManakaiDOMHTMLCollection>);
1799 }__;
1800 $r->{<Q::ManakaiDOMCore:nodeMatch>} = $chk;
1801
1802 @Attr:
1803 @@Name: cookie
1804 @@Description:
1805 @@@lang:en
1806 @@@@:
1807 The cookie, persistent state information associated
1808 with the current frame or document <SRC:RFC 2965>.
1809 \
1810 {NOTE:: The precise nature of a UA session is not
1811 defined.
1812 \
1813 }
1814 @@Get:
1815 @@@Type: DOMString
1816 @@@actualType: RFC2965Cookies
1817 @@@Description:
1818 @@@@lang:en
1819 @@@@@:
1820 A single string with each cookie's name-value pair
1821 separated by a <CHAR:SEMICOLON>.
1822 @@@ImplNote:
1823 @@@@lang:en
1824 @@@@@:
1825 It is maybe RFC 2965 <CODE:cookies>.
1826 @@@InCase:
1827 @@@@Value:\
1828 @@@@Description:
1829 @@@@@lang:en
1830 @@@@@@:
1831 No cookie is available for the current frame or document.
1832 @@Set:
1833 @@@Type: DOMString
1834 @@@actualType: RFC2965Cookie
1835 @@@Description:
1836 @@@@lang:en
1837 @@@@@:
1838 A single name-value pair followed by zero or more
1839 cookie attribute values (RFC 2965 <CODE:cookie>).
1840 \
1841 If no <CODE:domain> attribute is specified,
1842 it defaults to the <CODE:host> portion of an
1843 RFC 2396 absolute URI of the current frame or document.
1844 \
1845 If no <CODE:path> attribute is specified, it defaults
1846 to the absolute <CODE:path> portion of an
1847 RFC 2396 absolute URI of the current frame or document.
1848 \
1849 If no <CODE:max-age> attribute is specified, it
1850 defaults to a UA defined value.
1851 \
1852 If a <CODE:cookie> with the specified name is already
1853 associated, the new value as well as the new attributes
1854 replace the old ones. If the <CODE:max-age> attribute
1855 value is <CODE:0>, any existing cookies of the specified
1856 name are removed.
1857 @@@Exception:
1858 @@@@@:
1859 ManakaiDOMHTML:MDOMHTML_BAD_COOKIE
1860 @@@@Description:
1861 @@@@@lang:en
1862 @@@@@@:
1863 The new value does not adhere to the
1864 RFC 2965 <CODE:cookie>.
1865 @Method:
1866 @@Name: open
1867 @@Description:
1868 @@@lang:en
1869 @@@@:
1870 Open a document stream for writing. If a document
1871 exists in the target, this method clears it.
1872 @@Return:
1873 @Method:
1874 @@Name: close
1875 @@Description:
1876 @@@lang:en
1877 @@@@:
1878 Close a document stream opened by the <M:open> method
1879 and force rendering.
1880 @@Return:
1881 @Method:
1882 @@Name: write
1883 @@Description:
1884 @@@lang:en
1885 @@@@:
1886 Write a string to a document stream opened by <M:open>.
1887 @@ImplNote:
1888 @@@lang:en
1889 @@@@:
1890 This method might produce a document that is invalid.
1891 @@Param:
1892 @@@Name: text
1893 @@@Type: DOMString
1894 @@@Description:
1895 @@@@lang:en
1896 @@@@@:
1897 The string to be parsed into some structure in
1898 the document structure model.
1899 @@Return:
1900 @Method:
1901 @@Name: writeln
1902 @@Description:
1903 @@@lang:en
1904 @@@@:
1905 Write a string followed by a newline character
1906 to a document stream opened by the <M:open> method.
1907 @@Param:
1908 @@@Name: text
1909 @@@Type: DOMString
1910 @@@Description:
1911 @@@@lang:en
1912 @@@@@:
1913 The string to be parsed into some structure in
1914 the document structure model.
1915 @@Return:
1916 @Method:
1917 @@Name: getElementsByName
1918 @@Description:
1919 @@@lang:en
1920 @@@@:
1921 With HTML 4 documents: return a collection of elements
1922 with matching name.
1923 \
1924 With XHTML 1 documents: return a collection of form controls
1925 with matching name.
1926 @@Param:
1927 @@@Name: elementName
1928 @@@Type: DOMString
1929 @@@Description:
1930 @@@@lang:en
1931 @@@@@:
1932 The <HA:name> of the element. The matching is
1933 case-sensitive.
1934 @@Return:
1935 @@@Type: NodeList
1936 @@@Description:
1937 @@@@lang:en
1938 @@@@@:
1939 A collection of the element whose <HA:name> matches
1940 with <P:elementName>.
1941 @Method:
1942 @@Name:getElementById
1943 @@Description:
1944 @@@lang:en
1945 @@@@:
1946 Return the <IF:Element> whose <A:id> is given by
1947 <P:elementId>. Behavior is not defined if more than
1948 one elements has this <P:elementId>.
1949 \
1950 {NOTE:: This method was first defined in the <IF:HTMLDocument>
1951 interface of DOM Level 1 but it has moved to
1952 the <Module:DOMCore> module in DOM Level 2.
1953 \
1954 }
1955 @@Param:
1956 @@@Name:elementId
1957 @@@Type:
1958 DOMMain:DOMString
1959 @@@Description:
1960 @@@@lang:en
1961 @@@@@:
1962 The unique identifier of the element to retrieve.
1963 @@Return:
1964 @@@Type:
1965 DOMCore:Element
1966 @@@Description:
1967 @@@@lang:en
1968 @@@@@:The matching element.
1969 @@@disDef:
1970 @@@@DISPerl:cloneCode:
1971 DOMCore:ManakaiDOMElement::ManakaiDOM:ManakaiDOMLatest.getElementById
1972 @@DOMMain:implementFeature:
1973 HTMLFeature10
1974 @@For:
1975 ManakaiDOM:DOM1 !ManakaiDOM:DOM2
1976 @ImplNote:
1977 @@lang:en
1978 @@@:
1979 {P:: The following properties in DOM Level 0 have been deprecated
1980 by DOM HTML Specifications in favor of the corresponding
1981 attributes in <IF:HTMLBodyElement> interface:
1982 \
1983 - <A:alinkColor>
1984 \
1985 - <A:background>
1986 \
1987 - <A:bgColor>
1988 \
1989 - <A:fgColor>
1990 \
1991 - <A:linkColor>
1992 \
1993 - <A:vlinkColor>
1994 \
1995 }
1996 ##HTMLDocument
1997
1998 ElementTypeBinding:
1999 @Name: PropDef
2000 @ElementType:
2001 dis:ResourceDef
2002 @ShadowContent:
2003 @@rdf:type:
2004 rdf:Property
2005 @@AliasFor:
2006 @@@@:
2007 ::ManakaiDOM:all
2008 @@@For:
2009 !=ManakaiDOM:all
2010
2011 PropDef:
2012 @QName: isApplet
2013 @FullName:
2014 @@lang:en
2015 @@@: Is a Java applet
2016 @rdfs:domain:
2017 xhtml:object
2018 @Description:
2019 @@lang:en
2020 @@@:
2021 Whether an <HA::object> element is a Java applet or not.
2022
2023 ElementTypeBinding:
2024 @Name: StringDataTypeDef
2025 @ElementType:
2026 dis:ResourceDef
2027 @ShadowContent:
2028 @@rdf:type:
2029 ManakaiDOM:DataType
2030 @@AliasFor:
2031 @@@@:
2032 ::ManakaiDOM:all
2033 @@@For:
2034 !=ManakaiDOM:all
2035
2036 StringDataTypeDef:
2037 @QName: RFC2965Cookies
2038 @FullName:
2039 @@lang:en
2040 @@@:
2041 RFC 2965 <CODE::cookies>
2042
2043 StringDataTypeDef:
2044 @QName: RFC2965Cookie
2045 @FullName:
2046 @@lang:en
2047 @@@:
2048 RFC 2965 <CODE::cookie>
2049
2050 ImplNote:
2051 @lang:en
2052 @@:
2053 DOM attributes corresponding to HTML attributes have
2054 the semantic (including case-sensitivity) given in
2055 the HTML 4 and XHTML 1.0 specifications.
2056 \
2057 Exposing HTML attributes is for compatibility with DOM Level 0;
2058 this usage is deprecated by DOM Level 1 and 2 HTML specitications.
2059 \
2060 {FIG: HTML Data Types and DOM Data Types
2061 \
2062 - <SGML:CDATA>:: <TYPE:DOMString>.
2063 (Default of default: an empty string)
2064 \
2065 - Enumerated values:: <TYPE:DOMString>.
2066 (Normalized to lowercase in HTML.
2067 Default of default: an empty string)
2068 \
2069 - Boolean:: <TYPE:boolean>. (Default of default: <DOM:false>.
2070 \
2071 - <SGML:NUMBER>:: <TYPE:long>. (Default of default: <DOM:0>.)
2072 \
2073 }
2074 \
2075 Element type names in HTML 4 documents (exposed through
2076 such as <A:Element.tagName>) are normalized in
2077 uppercase. No specification for attribute names - it maybe
2078 should be in lowercase for compatibility.
2079
2080 IF:
2081 @Name:
2082 @@@: HTMLElement
2083 @@ForCheck:
2084 ManakaiDOM:ForIF
2085 @ISA:
2086 @@@:
2087 DOMCore:Element
2088 @@ForCheck:
2089 ManakaiDOM:ForIF
2090
2091 @L1IF:
2092
2093 @QName:
2094 @@@: ManakaiDOMHTMLElement
2095 @@ForCheck:
2096 ManakaiDOM:ForClass
2097 @ISA:
2098 @@@:
2099 DOMCore:ManakaiDOMElement
2100 @@ForCheck:
2101 ManakaiDOM:ForClass
2102
2103 @Description:
2104 @@lang:en
2105 @@@:
2106 An HTML element. All specific HTML element interfaces
2107 are derived from this interface.
2108
2109 @s:elementType:
2110 @@@:
2111 AnyHTMLElement::ForHTML40SE
2112 @@ForCheck:
2113 ManakaiDOM:DOM1 !ManakaiDOM:DOM2
2114 @s:elementType:
2115 @@@:
2116 AnyHTMLElement::ForHTML401
2117 @@ForCheck:
2118 ManakaiDOM:DOM2
2119 @s:elementType:
2120 @@@:
2121 AnyHTMLElement::ForXHTML10SE
2122 @@ForCheck:
2123 ManakaiDOM:DOM2
2124
2125 @ImplNote:
2126 @@QName:
2127 xhtml1:sub
2128 \##TODO: rewrite this
2129 @@html-element-type:sup
2130 @@html-element-type:span
2131 @@html-element-type:bdo
2132 @@html-element-type:tt
2133 @@html-element-type:i
2134 @@html-element-type:b
2135 @@html-element-type:u
2136 @@html-element-type:s
2137 @@html-element-type:strike
2138 @@html-element-type:big
2139 @@html-element-type:small
2140 @@html-element-type:em
2141 @@html-element-type:strong
2142 @@html-element-type:dfn
2143 @@html-element-type:code
2144 @@html-element-type:samp
2145 @@html-element-type:kbd
2146 @@html-element-type:var
2147 @@html-element-type:cite
2148 @@html-element-type:acronym
2149 @@html-element-type:abbr
2150 @@html-element-type:dd
2151 @@html-element-type:dt
2152 @@html-element-type:noframes
2153 @@html-element-type:noscript
2154 @@html-element-type:address
2155 @@html-element-type:center
2156
2157 @ImplNote:
2158 @@lang:en
2159 @@@:
2160 The DOM Level 1 First and Second Editions said that the <HE:head>
2161 element belongs to this category - it is considered as
2162 an error, since there is the <IF:HTMLHeadElement>.
2163
2164 @Attr:
2165 @@Name: id
2166 @@DocAttr1:
2167 id::HTML40SE
2168 @@DocAttr2S:
2169 id::HTML401
2170 @@DocAttr2X:
2171 id::XHTML10SE
2172 @@Get:
2173 @@@Type: DOMString
2174 @@Set:
2175 @@@Type: DOMString
2176 @@ImplNote:
2177 @@@lang:en
2178 @@@@:
2179 Some element in HTML 4/XHTML 1.0 does not have <HA:class> attribute.
2180 @Attr:
2181 @@Name: title
2182 @@DocAttr1:
2183 title::HTML40SE
2184 @@DocAttr2S:
2185 title::HTML401
2186 @@DocAttr2X:
2187 title::XHTML10SE
2188 @@Get:
2189 @@@Type: DOMString
2190 @@Set:
2191 @@@Type: DOMString
2192 @@ImplNote:
2193 @@@lang:en
2194 @@@@:
2195 Some element in HTML 4/XHTML 1.0 does not have <HA:class> attribute.
2196 @Attr:
2197 @@Name: lang
2198 @@DocAttr1:
2199 lang::HTML40SE
2200 @@DocAttr2S:
2201 lang::HTML401
2202 @@DocAttr2X:
2203 lang::XHTML10SE
2204 @@Get:
2205 @@@Type: DOMString
2206 @@Set:
2207 @@@Type: DOMString
2208 @@ImplNote:
2209 @@@lang:en
2210 @@@@:
2211 Some element in HTML 4/XHTML 1.0 does not have <HA:class> attribute.
2212 @Attr:
2213 @@Name: dir
2214 @@DocAttr1:
2215 dir::HTML40SE
2216 @@DocAttr2S:
2217 dir::HTML401
2218 @@DocAttr2X:
2219 dir::XHTML10SE
2220 @@Get:
2221 @@@Type: DOMString
2222 @@Set:
2223 @@@Type: DOMString
2224 @@ImplNote:
2225 @@@lang:en
2226 @@@@:
2227 Some element in HTML 4/XHTML 1.0 does not have <HA:class> attribute.
2228 @Attr:
2229 @@Name: className
2230 @@DocAttr1:
2231 class::HTML40SE
2232 @@DocAttr2S:
2233 class::HTML401
2234 @@DocAttr2X:
2235 class::XHTML10SE
2236 @@Get:
2237 @@@Type: DOMString
2238 @@Set:
2239 @@@Type: DOMString
2240 @@ImplNote:
2241 @@@lang:en
2242 @@@@:
2243 Some element in HTML 4/XHTML 1.0 does not have <HA:class> attribute.
2244
2245 @ImplNote:
2246 @@lang:en
2247 @@@:
2248 The <A:HTMLElement.style> is reserved by DOM Level 1 First Edition
2249 for future use. It is used later in DOM Level 2 CSS Module.
2250 ##IF:HTMLElement
2251
2252 ElementTypeBinding:
2253 @Name: DocAttr1
2254 @ElementType:
2255 dis:DocAttr
2256 @ShadowContent:
2257 @@ForCheck:
2258 ManakaiDOM:DOM1 !ManakaiDOM:DOM2
2259 ElementTypeBinding:
2260 @Name: DocAttr2S
2261 @ElementType:
2262 dis:DocAttr
2263 @ShadowContent:
2264 @@ForCheck:
2265 ManakaiDOM:DOM2
2266 ElementTypeBinding:
2267 @Name: DocAttr2X
2268 @ElementType:
2269 dis:DocAttr
2270 @ShadowContent:
2271 @@ForCheck:
2272 ManakaiDOM:DOM2
2273
2274 ResourceDef:
2275 @QName: AnyHTMLElement
2276 @enDesc:
2277 Any HTML element types.
2278 @rdf:type:
2279 s:AnyElementInNS
2280 @AppName:
2281 @@@:
2282 xhtml1:*
2283 @@ContentType:
2284 dis:TypeQName
2285 @ForCheck: ForHTML
2286
2287 ## TODO: Move to attribute set
2288
2289 @AttrDef:
2290 @@QName: dir
2291 @AttrDef:
2292 @@QName: id
2293 @AttrDef:
2294 @@QName: lang
2295 @@DeprecatedBy:
2296 DOMHTML:XHTML1.0
2297 @AttrDef:
2298 @@QName: class
2299 @AttrDef:
2300 @@QName: title
2301
2302 ElementTypeBinding:
2303 @Name: AttrDef
2304 @ElementType:
2305 dis:ResourceDef
2306 @ShadowContent:
2307 @@rdf:type:
2308 s:Attribute
2309
2310 ResourceDef:
2311 @QName: isHTMLElement
2312 @rdf:type:
2313 dis2pm:InlineCode
2314 @enDesc:
2315 Tests whether this is an HTML element of the given type or not.
2316 @Param:
2317 @@Name: elementNode
2318 @@Type:
2319 DOMCore:Element
2320 @@enDesc:
2321 The element node to test.
2322 @Param:
2323 @@Name: elementType
2324 @@Type:
2325 DOMMain:DOMString
2326 @@enDesc:
2327 The element type name to test.
2328 @PerlDef:
2329 do {
2330 my $__ln = $elementNode->{<Q::TreeCore:node>}
2331 ->{<Q::infoset:localName>};
2332 if (defined $__ln) { ## Namespace-aware node
2333 my $__ns = $elementNode->{<Q::TreeCore:node>}
2334 ->{<Q::infoset:namespaceName>};
2335 if ($__ns eq <Q::xhtml1:> or
2336 (not defined $__ns and
2337 $elementNode->{<Q::TreeCore:node>}
2338 ->{<Q::DOMCore:ownerDocument>}
2339 ->{<Q::DOMCore:hasFeature>}
2340 ->{HTML})) {
2341 $elementType eq $__ln ? true : false;
2342 } else {
2343 false;
2344 }
2345 } elsif ($elementNode->{<Q::TreeCore:node>}
2346 ->{<Q::DOMCore:ownerDocument>}->{<Q::DOMCore:hasFeature>}
2347 ->{HTML}) {
2348 if ($elementNode->{<Q::TreeCore:node>}
2349 ->{<Q::DOMCore:ownerDocument>}->{<Q::DOMCore:hasFeature>}
2350 ->{XML}) {
2351 $elementType eq $elementNode-><AG::DOMCore:Node.nodeName>
2352 ? true : false;
2353 } else {
2354 $elementType eq lc ($elementNode-><AG::DOMCore:Node.nodeName>)
2355 ? true : false;
2356 }
2357 } else {
2358 false;
2359 }
2360 }
2361
2362 ResourceDef:
2363 @QName: isHTMLElemento
2364 @rdf:type:
2365 dis2pm:InlineCode
2366 @enDesc:
2367 Tests whether this is an HTML element of the given type or not.
2368 @Param:
2369 @@Name: elementNodeo
2370 @@Type:
2371 ManakaiDOM:ManakaiDOMNodeObject::ManakaiDOM:Perl
2372 @@enDesc:
2373 The element node to test.
2374 @Param:
2375 @@Name: elementType
2376 @@Type:
2377 DOMMain:DOMString
2378 @@enDesc:
2379 The element type name to test.
2380 @PerlDef:
2381 do {
2382 my $__ln = $elementNodeo->{<Q::infoset:localName>};
2383 if (defined $__ln) { ## Namespace-aware node
2384 my $__ns = $elementNodeo->{<Q::infoset:namespaceName>};
2385 if ($__ns eq <Q::xhtml1:> or
2386 (not defined $__ns and
2387 $elementNodeo->{<Q::DOMCore:ownerDocument>}
2388 ->{<Q::DOMCore:hasFeature>}
2389 ->{HTML})) {
2390 $elementType eq $__ln ? true : false;
2391 } else {
2392 false;
2393 }
2394 } elsif ($elementNodeo
2395 ->{<Q::DOMCore:ownerDocument>}->{<Q::DOMCore:hasFeature>}
2396 ->{HTML}) {
2397 my $elClass = <ClassName::DOMCore:ManakaiDOMElement>;
2398 my $elementNode = <Code::ManakaiNode:getWeakRef
2399 ||ManakaiDOM:Perl::
2400 $object = $elementNodeo,
2401 $class = $elClass,
2402 >;
2403 if ($elementNodeo
2404 ->{<Q::DOMCore:ownerDocument>}->{<Q::DOMCore:hasFeature>}
2405 ->{XML}) {
2406 $elementType eq $elementNode-><AG::DOMCore:Node.nodeName>
2407 ? true : false;
2408 } else {
2409 $elementType eq lc ($elementNode-><AG::DOMCore:Node.nodeName>)
2410 ? true : false;
2411 }
2412 } else {
2413 false;
2414 }
2415 }
2416
2417
2418 ElementTypeBinding:
2419 @Name: enDesc
2420 @ElementType:
2421 dis:Description
2422 @ShadowContent:
2423 @@lang:en
2424
2425 ET:
2426 @ETQName:
2427 xhtml1:html
2428 @QName:
2429 @@@: html
2430 @@ForCheck: s|ForML
2431
2432 @IFQName:
2433 @@@: HTMLHtmlElement
2434 @ClsQName:
2435 @@@: ManakaiDOMHTMLHtmlElement
2436 @ISAHTMLElement:
2437 @L1IF:
2438
2439 @ATTR:
2440 @@Name: version
2441 @@Deprecated:
2442 @@Get:
2443 @@@Type: DOMString
2444 @@Set:
2445 @@@Type: DOMString
2446
2447 ET:
2448 @ETQName:
2449 xhtml1:head
2450 @IFQName:
2451 @@@: HTMLHeadElement
2452 @ClsQName:
2453 @@@: ManakaiDOMHTMLHeadElement
2454 @ISAHTMLElement:
2455 @L1IF:
2456
2457 @ATTR:
2458 @@Name: profile
2459 @@Get:
2460 @@@Type: DOMString
2461 @@Set:
2462 @@@Type: DOMString
2463
2464 ET:
2465 @ETQName:
2466 xhtml1:link
2467 @IFQName:
2468 @@@: HTMLLinkElement
2469 @ClsQName:
2470 @@@: ManakaiDOMHTMLLinkElement
2471 @ISAHTMLElement:
2472 @L1IF:
2473
2474 @Attr:
2475 @@Name: disabled
2476 @@Description:
2477 @@@lang:en
2478 @@@@:
2479 Whether the link is enabled or not. This is currently
2480 only used for style sheet links and may be used to
2481 activate or deactivate the style sheet.
2482 @@Get:
2483 @@@Type:
2484 DOMMain:boolean
2485 @@@InCase:
2486 @@@@Value: true
2487 @@@@Description:
2488 @@@@@lang:en
2489 @@@@@@:
2490 The link is disabled.
2491 @@@InCase:
2492 @@@@Value: false
2493 @@@@Description:
2494 @@@@@lang:en
2495 @@@@@@:
2496 The link is enabled.
2497 @@@Def:
2498 @@@@ContentType:
2499 lang:dis
2500 @@@@GetProp:
2501 DOMHTML:disabled
2502 @@Set:
2503 @@@Type:
2504 DOMMain:boolean
2505 @@@InCase:
2506 @@@@Value: true
2507 @@@@Description:
2508 @@@@@lang:en
2509 @@@@@@:
2510 The link is disabled.
2511 @@@InCase:
2512 @@@@Value: false
2513 @@@@Description:
2514 @@@@@lang:en
2515 @@@@@@:
2516 The link is enabled.
2517 @@@Def:
2518 @@@@ContentType:
2519 lang:dis
2520 @@@@SetProp:
2521 DOMHTML:disabled
2522 @@ImplNote:
2523 @@@lang:en
2524 @@@@:
2525 A version of WinIE 3 has a <HA::disable> attribute by mistake.
2526 @ATTR:
2527 @@Name: charset
2528 @@Get:
2529 @@@Type: DOMString
2530 @@Set:
2531 @@@Type: DOMString
2532 @ATTR:
2533 @@Name: href
2534 @@Get:
2535 @@@Type: DOMString
2536 @@Set:
2537 @@@Type: DOMString
2538 @ATTR:
2539 @@Name: hreflang
2540 @@Get:
2541 @@@Type: DOMString
2542 @@Set:
2543 @@@Type: DOMString
2544 @ATTR:
2545 @@Name: media
2546 @@Get:
2547 @@@Type: DOMString
2548 @@Set:
2549 @@@Type: DOMString
2550 @ATTR:
2551 @@Name: rel
2552 @@Get:
2553 @@@Type: DOMString
2554 @@Set:
2555 @@@Type: DOMString
2556 @ATTR:
2557 @@Name: rev
2558 @@Get:
2559 @@@Type: DOMString
2560 @@Set:
2561 @@@Type: DOMString
2562 @ATTR:
2563 @@Name: target
2564 @@Get:
2565 @@@Type: DOMString
2566 @@Set:
2567 @@@Type: DOMString
2568 @ATTR:
2569 @@Name: type
2570 @@Get:
2571 @@@Type: DOMString
2572 @@Set:
2573 @@@Type: DOMString
2574 ##IF:HTMLLinkElement
2575
2576 ET:
2577 @ETQName:
2578 xhtml1:title
2579 @IFQName:
2580 @@@: HTMLTitleElement
2581 @ClsQName:
2582 @@@: ManakaiDOMHTMLTitleElement
2583 @ISAHTMLElement:
2584 @L1IF:
2585
2586 @Attr:
2587 @@Name: text
2588 @@Description:
2589 @@@lang:en
2590 @@@@:
2591 The title.
2592 @@Get:
2593 @@@Type: DOMString
2594 @@@Def:
2595 @@@@ContentType:
2596 lang:dis
2597 @@@@DISPerl:cloneCode:
2598 DOMCore:ManakaiDOMNode::ManakaiDOM:ManakaiDOMLatest.textContent.get
2599 @@Set:
2600 @@@Type: DOMString
2601 @@@Def:
2602 @@@@ContentType:
2603 lang:dis
2604 @@@@DISPerl:cloneCode:
2605 DOMCore:ManakaiDOMNode::ManakaiDOM:ManakaiDOMLatest.textContent.set
2606 ##IF:HTMLTitleElement
2607
2608 ET:
2609 @ETQName:
2610 xhtml1:meta
2611 @IFQName:
2612 @@@: HTMLMetaElement
2613 @ClsQName:
2614 @@@: ManakaiDOMHTMLMetaElement
2615 @ISAHTMLElement:
2616 @L1IF:
2617
2618 @ATTR:
2619 @@Name: content
2620 @@Get:
2621 @@@Type: DOMString
2622 @@Set:
2623 @@@Type: DOMString
2624 @ATTR:
2625 @@AName:
2626 @@@@: http-equiv
2627 @@DOMAName:
2628 @@@@: httpEquiv
2629 @@Get:
2630 @@@Type: DOMString
2631 @@Set:
2632 @@@Type: DOMString
2633 @ATTR:
2634 @@Name: name
2635 @@Get:
2636 @@@Type: DOMString
2637 @@Set:
2638 @@@Type: DOMString
2639 @ATTR:
2640 @@Name: scheme
2641 @@Get:
2642 @@@Type: DOMString
2643 @@Set:
2644 @@@Type: DOMString
2645
2646 ET:
2647 @ETQName:
2648 xhtml1:base
2649 @IFQName:
2650 @@@: HTMLBaseElement
2651 @ClsQName:
2652 @@@: ManakaiDOMHTMLBaseElement
2653 @ISAHTMLElement:
2654 @L1IF:
2655
2656 @ATTR:
2657 @@Name: href
2658 @@Get:
2659 @@@Type: DOMString
2660 @@Set:
2661 @@@Type: DOMString
2662 @ATTR:
2663 @@Name: target
2664 @@Get:
2665 @@@Type: DOMString
2666 @@Set:
2667 @@@Type: DOMString
2668
2669 ElementTypeBinding:
2670 @Name: ISAHTMLElement
2671 @ElementType:
2672 dis:ISA
2673 @ShadowContent:
2674 @@@: HTMLElement
2675 @@ForCheck:
2676 ManakaiDOM:ForIF
2677 @ShadowSibling:
2678 @@ISA:
2679 @@@@: ManakaiDOMHTMLElement
2680 @@@ForCheck:
2681 ManakaiDOM:ForClass
2682
2683 ET:
2684 @ETQName:
2685 xhtml1:isindex
2686 @IFQName:
2687 @@@: HTMLIsIndexElement
2688 @ClsQName:
2689 @@@: ManakaiDOMHTMLIsIndexElement
2690 @ISAHTMLElement:
2691 @L1IF:
2692
2693 @ForCheck: !ForXHTML11
2694
2695 @Attr:
2696 @@Name: form
2697 @@Description:
2698 @@@lang:en
2699 @@@@:
2700 The <HE:form> element containing this element.
2701 \
2702 {NOTE:: Although DOM has this attribute, the <HE:isindex>
2703 is independent from any <HE:form> by definition.
2704 \
2705 }
2706 @@Get:
2707 @@@Type:
2708 DOMHTML:HTMLFormElement
2709 @@@InCase:
2710 @@@@Value:
2711 @@@@@is-null:1
2712 @@@@Description:
2713 @@@@@lang:en
2714 @@@@@@:
2715 This element is not within the context of a form.
2716 @@@disDef:
2717 @@@@DISLang:nop:
2718 @ATTR:
2719 @@Name: prompt
2720 @@Deprecated:
2721 @@Get:
2722 @@@Type: DOMString
2723 @@Set:
2724 @@@Type: DOMString
2725
2726 ElementTypeBinding:
2727 @Name: disDef
2728 @ElementType:
2729 dis:Def
2730 @ShadowContent:
2731 @@ContentType:
2732 lang:dis
2733
2734 ElementTypeBinding:
2735 @Name: ETQName
2736 @ElementType:
2737 dis:AppName
2738 @ShadowContent:
2739 @@ForCheck:
2740 s:ForML
2741 @@ContentType:
2742 dis:TypeQName
2743
2744 ElementTypeBinding:
2745 @Name: IFQName
2746 @ElementType:
2747 dis:QName
2748 @ShadowContent:
2749 @@ForCheck:
2750 ManakaiDOM:ForIF
2751 ElementTypeBinding:
2752 @Name: ClsQName
2753 @ElementType:
2754 dis:QName
2755 @ShadowContent:
2756 @@ForCheck:
2757 ManakaiDOM:ForClass
2758
2759 ET:
2760 @ETQName:
2761 xhtml1:style
2762 @IFQName: HTMLStyleElement
2763 @ClsQName: ManakaiDOMHTMLStyleElement
2764 @ISAHTMLElement:
2765 @L1IF:
2766
2767 @Attr:
2768 @@Name: disabled
2769 @@Description:
2770 @@@lang:en
2771 @@@@:
2772 Whether the style sheet is enabled or not.
2773 @@Get:
2774 @@@Type:
2775 DOMMain:boolean
2776 @@@InCase:
2777 @@@@Value: true
2778 @@@@Description:
2779 @@@@@lang:en
2780 @@@@@@:The style sheet is disabled.
2781 @@@InCase:
2782 @@@@Value: false
2783 @@@@Description:
2784 @@@@@lang:en
2785 @@@@@@:The style sheet is enabled.
2786 @@@Def:
2787 @@@@ContentType:
2788 lang:dis
2789 @@@@GetProp:
2790 DOMHTML:disabled
2791 @@Set:
2792 @@@Type:
2793 DOMMain:boolean
2794 @@@InCase:
2795 @@@@Value: true
2796 @@@@Description:
2797 @@@@@lang:en
2798 @@@@@@:The style sheet is disabled.
2799 @@@InCase:
2800 @@@@Value: false
2801 @@@@Description:
2802 @@@@@lang:en
2803 @@@@@@:The style sheet is enabled.
2804 @@@Def:
2805 @@@@ContentType:
2806 lang:dis
2807 @@@@SetProp:
2808 DOMHTML:disabled
2809 @ATTR:
2810 @@Name: media
2811 @@Get:
2812 @@@Type: DOMString
2813 @@Set:
2814 @@@Type: DOMString
2815 @ATTR:
2816 @@Name: type
2817 @@Get:
2818 @@@Type: DOMString
2819 @@Set:
2820 @@@Type: DOMString
2821
2822 PropDef:
2823 @QName: disabled
2824 @enDesc:
2825 <A::.disabled>.
2826
2827 ElementTypeBinding:
2828 @Name: DOMAName
2829 @ElementType:
2830 dis:Name
2831 @ShadowContent:
2832 @@ForCheck:
2833 ManakaiDOM:DOM
2834 ElementTypeBinding:
2835 @Name: AName
2836 @ElementType:
2837 dis:Name
2838 @ShadowContent:
2839 @@ForCheck:
2840 s:ForML
2841
2842 ET:
2843 @ETQName:
2844 xhtml1:body
2845 @IFQName: HTMLBodyElement
2846 @ClsQName: ManakaiDOMHTMLBodyElement
2847 @ISAHTMLElement:
2848 @L1IF:
2849
2850 @ATTR:
2851 @@AName: alink
2852 @@DOMAName: aLink
2853 @@Deprecated:
2854 @@Get:
2855 @@@Type: DOMString
2856 @@Set:
2857 @@@Type: DOMString
2858 @ATTR:
2859 @@Name: background
2860 @@Deprecated:
2861 @@Get:
2862 @@@Type: DOMString
2863 @@Set:
2864 @@@Type: DOMString
2865 @ATTR:
2866 @@DOMAName: bgColor
2867 @@AName: bgcolor
2868 @@Deprecated:
2869 @@Get:
2870 @@@Type: DOMString
2871 @@Set:
2872 @@@Type: DOMString
2873 @ATTR:
2874 @@Name: link
2875 @@Deprecated:
2876 @@Get:
2877 @@@Type: DOMString
2878 @@Set:
2879 @@@Type: DOMString
2880 @ATTR:
2881 @@Name: text
2882 @@Deprecated:
2883 @@Get:
2884 @@@Type: DOMString
2885 @@Set:
2886 @@@Type: DOMString
2887 @Attr:
2888 @@DOMAName: vLink
2889 @@AName: vlink
2890 @@Deprecated:
2891 @@Get:
2892 @@@Type: DOMString
2893 @@Set:
2894 @@@Type: DOMString
2895 ##IF:HTMLBody
2896
2897 ImplNote:
2898 @@lang:en
2899 @@@:
2900 <IF:HTMLFormElement>, <IF:HTMLSelectElement>,
2901 <IF:HTMLOptionElement>, <IF:HTMLOptGroupElement>,
2902 <IF:HTMLInputElement>, <IF:HTMLTextAreaElement>,
2903 <IF:HTMLButtonElement>, <IF:HTMLFieldSetElement>,
2904 <IF:HTMLLegendElement>: See <Module:WebForms>.
2905
2906 ET:
2907 @ETQName:
2908 xhtml1:ul
2909 @IFQName: HTMLUListElement
2910 @ClsQName: ManakaiDOMHTMLUListElement
2911 @ISAHTMLElement:
2912 @L1IF:
2913
2914 @ATTR:
2915 @@Name: compact
2916 @@Deprecated:
2917 @@Get:
2918 @@@Type:
2919 DOMMain:boolean
2920 @@@InCase:
2921 @@@@Value: true
2922 @@@InCase:
2923 @@@@Value: false
2924 @@Set:
2925 @@@Type:
2926 DOMMain:boolean
2927 @@@InCase:
2928 @@@@Value: true
2929 @@@InCase:
2930 @@@@Value: false
2931 @ATTR:
2932 @@Name: type
2933 @@Deprecated:
2934 @@Get:
2935 @@@Type: DOMString
2936 @@Set:
2937 @@@Type: DOMString
2938
2939 ET:
2940 @ETQName:
2941 xhtml1:ol
2942 @IFQName: HTMLOListElement
2943 @ClsQName:ManakaiDOMHTMLOListElement
2944 @ISAHTMLElement:
2945 @L1IF:
2946
2947 @ATTR:
2948 @@Name: compact
2949 @@Deprecated:
2950 @@Get:
2951 @@@Type:
2952 DOMMain:boolean
2953 @@@InCase:
2954 @@@@Value: true
2955 @@@InCase:
2956 @@@@Value: false
2957 @@Set:
2958 @@@Type:
2959 DOMMain:boolean
2960 @@@InCase:
2961 @@@@Value: true
2962 @@@InCase:
2963 @@@@Value: false
2964 @ATTR:
2965 @@Name: start
2966 @@Deprecated:
2967 @@Get:
2968 @@@Type:
2969 DOMMain:long
2970 @@Set:
2971 @@@Type:
2972 DOMMain:long
2973 @Attr:
2974 @@Name: type
2975 @@Deprecated:
2976 @@Get:
2977 @@@Type: DOMString
2978 @@Set:
2979 @@@Type: DOMString
2980
2981 ET:
2982 @ETQName:
2983 xhtml1:dl
2984 @IFQName: HTMLDListElement
2985 @ClsQName: ManakaiDOMHTMLDListElement
2986 @ISAHTMLElement:
2987 @L1IF:
2988
2989 @ATTR:
2990 @@Name: compact
2991 @@Deprecated:
2992 @@Get:
2993 @@@Type:
2994 DOMMain:boolean
2995 @@@InCase:
2996 @@@@Value: true
2997 @@@InCase:
2998 @@@@Value: false
2999 @@Set:
3000 @@@Type:
3001 DOMMain:boolean
3002 @@@InCase:
3003 @@@@Value: true
3004 @@@InCase:
3005 @@@@Value: false
3006
3007 ET:
3008 @ETQName:
3009 xhtml1:dir
3010 @IFQName: HTMLDirectoryElement
3011 @ClsQName: ManakaiDOMHTMLDirectoryElement
3012 @ISAHTMLElement:
3013 @L1IF:
3014 @Deprecated:
3015
3016 @Attr:
3017 @@Name: compact
3018 @@Deprecated:
3019 @@Get:
3020 @@@Type:
3021 DOMMain:boolean
3022 @@@InCase:
3023 @@@@Value: true
3024 @@@InCase:
3025 @@@@Value: false
3026 @@Set:
3027 @@@Type:
3028 DOMMain:boolean
3029 @@@InCase:
3030 @@@@Value: true
3031 @@@InCase:
3032 @@@@Value: false
3033
3034 ET:
3035 @ETQName:
3036 xhtml1:menu
3037 @IFQName: HTMLMenuElement
3038 @ClsQName: ManakaiDOMHTMLMenuElement
3039 @ISAHTMLElement:
3040 @L1IF:
3041 @Deprecated:
3042
3043 @ATTR:
3044 @@Name: compact
3045 @@Deprecated:
3046 @@Get:
3047 @@@Type:
3048 DOMMain:boolean
3049 @@@InCase:
3050 @@@@Value: true
3051 @@@InCase:
3052 @@@@Value: false
3053 @@Set:
3054 @@@Type:
3055 DOMMain:boolean
3056 @@@InCase:
3057 @@@@Value: true
3058 @@@InCase:
3059 @@@@Value: false
3060
3061 ET:
3062 @ETQName:
3063 xhtml1:li
3064 @IFQName: HTMLLIElement
3065 @ClsQName: ManakaiDOMHTMLLIElement
3066 @ISAHTMLElement:
3067 @L1IF:
3068
3069 @ATTR:
3070 @@Name: type
3071 @@Deprecated:
3072 @@Get:
3073 @@@Type: DOMString
3074 @@Set:
3075 @@@Type: DOMString
3076 @Attr:
3077 @@Name: value
3078 @@Deprecated:
3079 @@Get:
3080 @@@Type:
3081 DOMMain:long
3082 @@Set:
3083 @@@Type:
3084 DOMMain:long
3085
3086 ET:
3087 @ETQName:
3088 xhtml1:div
3089 @IFQName: HTMLDivElement
3090 @ClsQName: ManakaiDOMHTMLDivElement
3091 @ISAHTMLElement:
3092 @L1IF:
3093
3094 @ATTR:
3095 @@Name: align
3096 @@Deprecated:
3097 @@Get:
3098 @@@Type: DOMString
3099 @@Set:
3100 @@@Type: DOMString
3101
3102 ET:
3103 @ETQName:
3104 xhtml1:p
3105 @IFQName: HTMLParagraphElement
3106 @ClsQName: ManakaiDOMHTMLParagraphElement
3107 @ISAHTMLElement:
3108 @L1IF:
3109
3110 @ATTR:
3111 @@Name: align
3112 @@Deprecated:
3113 @@Get:
3114 @@@Type: DOMString
3115 @@Set:
3116 @@@Type: DOMString
3117
3118 ForDef:
3119 @QName:
3120 DOMHTML:ForH1
3121 ForDef:
3122 @QName:
3123 DOMHTML:ForH2
3124 ForDef:
3125 @QName:
3126 DOMHTML:ForH3
3127 ForDef:
3128 @QName:
3129 DOMHTML:ForH4
3130 ForDef:
3131 @QName:
3132 DOMHTML:ForH5
3133 ForDef:
3134 @QName:
3135 DOMHTML:ForH6
3136
3137 IF:
3138 @For: ForHTML
3139 @rdf:type:
3140 @@@:
3141 dis:MultipleResource
3142 @@For: ForHTML
3143 @@ForCheck:
3144 !ManakaiDOM:ForIF !ManakaiDOM:ForClass
3145 !ForH1 !ForH2 !ForH3 !ForH4 !ForH5 !ForH6
3146 @resourceFor:
3147 @@@: ForH1
3148 @@For: ForHTML
3149 @resourceFor:
3150 @@@: ForH2
3151 @@For: ForHTML
3152 @resourceFor:
3153 @@@: ForH3
3154 @@For: ForHTML
3155 @resourceFor:
3156 @@@: ForH4
3157 @@For: ForHTML
3158 @resourceFor:
3159 @@@: ForH5
3160 @@For: ForHTML
3161 @resourceFor:
3162 @@@: ForH6
3163 @@For: ForHTML
3164 @rdf:type:
3165 @@@:
3166 s:ElementType
3167 @@For:ForHTML
3168
3169 @ETQName:
3170 @@@:
3171 xhtml1:h1
3172 @@ForCheck: ForH1
3173 @ETQName:
3174 @@@:
3175 xhtml1:h2
3176 @@ForCheck: ForH2
3177 @ETQName:
3178 @@@:
3179 xhtml1:h3
3180 @@ForCheck: ForH3
3181 @ETQName:
3182 @@@:
3183 xhtml1:h4
3184 @@ForCheck: ForH4
3185 @ETQName:
3186 @@@:
3187 xhtml1:h5
3188 @@ForCheck: ForH5
3189 @ETQName:
3190 @@@:
3191 xhtml1:h6
3192 @@ForCheck: ForH6
3193
3194 @s:elementType:
3195 @@@: ||ForHTML40SE||ForH1
3196 @@ForCheck: ManakaiDOM|DOM1 !ManakaiDOM|DOM2
3197 @@ContentType: DISCore|TFPQName
3198 @@DISCore:stopISARecursive:1
3199 @s:elementType:
3200 @@@: ||ForHTML401||ForH1
3201 @@ForCheck: ManakaiDOM|DOM2
3202 @@ContentType: DISCore|TFPQNames
3203 @@DISCore:stopISARecursive:1
3204 @s:elementType:
3205 @@@: ||ForXHTML10SE||ForH1
3206 @@ForCheck: ManakaiDOM|DOM2
3207 @@ContentType: DISCore|TFPQNames
3208 @@DISCore:stopISARecursive:1
3209 @s:elementType:
3210 @@@: ||ForHTML40SE||ForH2
3211 @@ForCheck: ManakaiDOM|DOM1 !ManakaiDOM|DOM2
3212 @@ContentType: DISCore|TFPQNames
3213 @s:elementType:
3214 @@@: ||ForHTML401||ForH2
3215 @@ForCheck: ManakaiDOM|DOM2
3216 @@ContentType: DISCore|TFPQNames
3217 @s:elementType:
3218 @@@: ||ForXHTML10SE||ForH2
3219 @@ForCheck: ManakaiDOM|DOM2
3220 @@ContentType: DISCore|TFPQNames
3221 @s:elementType:
3222 @@@: ||ForHTML40SE||ForH3
3223 @@ForCheck: ManakaiDOM|DOM1 !ManakaiDOM|DOM2
3224 @@ContentType: DISCore|TFPQNames
3225 @s:elementType:
3226 @@@: ||ForHTML401||ForH3
3227 @@ForCheck: ManakaiDOM|DOM2
3228 @@ContentType: DISCore|TFPQNames
3229 @s:elementType:
3230 @@@: ||ForXHTML10SE||ForH3
3231 @@ForCheck: ManakaiDOM|DOM2
3232 @@ContentType: DISCore|TFPQNames
3233 @s:elementType:
3234 @@@: ||ForHTML40SE||ForH4
3235 @@ForCheck: ManakaiDOM|DOM1 !ManakaiDOM|DOM2
3236 @@ContentType: DISCore|TFPQNames
3237 @s:elementType:
3238 @@@: ||ForHTML401||ForH4
3239 @@ForCheck: ManakaiDOM|DOM2
3240 @@ContentType: DISCore|TFPQNames
3241 @s:elementType:
3242 @@@: ||ForXHTML10SE||ForH4
3243 @@ForCheck: ManakaiDOM|DOM2
3244 @@ContentType: DISCore|TFPQNames
3245 @s:elementType:
3246 @@@: ||ForHTML40SE||ForH5
3247 @@ForCheck: ManakaiDOM|DOM1 !ManakaiDOM|DOM2
3248 @@ContentType: DISCore|TFPQNames
3249 @s:elementType:
3250 @@@: ||ForHTML401||ForH5
3251 @@ForCheck: ManakaiDOM|DOM2
3252 @@ContentType: DISCore|TFPQNames
3253 @s:elementType:
3254 @@@: ||ForXHTML10SE||ForH5
3255 @@ForCheck: ManakaiDOM|DOM2
3256 @@ContentType: DISCore|TFPQNames
3257 @s:elementType:
3258 @@@: ||ForHTML40SE||ForH6
3259 @@ForCheck: ManakaiDOM|DOM1 !ManakaiDOM|DOM2
3260 @@ContentType: DISCore|TFPQNames
3261 @s:elementType:
3262 @@@: ||ForHTML401||ForH6
3263 @@ForCheck: ManakaiDOM|DOM2
3264 @@ContentType: DISCore|TFPQNames
3265 @s:elementType:
3266 @@@: ||ForXHTML10SE||ForH6
3267 @@ForCheck: ManakaiDOM|DOM2
3268 @@ContentType: DISCore|TFPQNames
3269
3270 @IFQName: HTMLHeadingElement
3271 @ClsQName: ManakaiDOMHTMLHeadingElement
3272 @ISAHTMLElement:
3273 @L1IF:
3274
3275 @ATTR:
3276 @@Name: align
3277 @@Deprecated:
3278 @@Get:
3279 @@@Type: DOMString
3280 @@Set:
3281 @@@Type: DOMString
3282
3283 ElementTypeBinding:
3284 @Name: IFDef
3285 @ElementType:
3286 dis:ResourceDef
3287 @ShadowContent:
3288 @@rdf:type:
3289 ManakaiDOM:IF
3290 @@ISA:
3291 @@@@:
3292 ::ManakaiDOM:ManakaiDOM
3293 @@@For:
3294 ManakaiDOM:ManakaiDOM1
3295
3296 IFDef:
3297 @Name:HTMLBlockquoteElement
3298 @ISA:HTMLElement
3299 @Description:
3300 @@lang:en
3301 @@@:
3302 The <IF:HTMLBlockquoteElement> interface was contained
3303 in the DOM Level 1 First Edition by error. The
3304 <IF:HTMLQuoteElement> interface should must used instead.
3305 <SRC:DOM Level 1 Errata>
3306 @Attr:
3307 @@Name:cite
3308 @@Get:
3309 @@@Type:
3310 DOMMain:DOMString
3311 @@Set:
3312 @@@Type:
3313 DOMMain:DOMString
3314 @ForCheck:
3315 =ManakaiDOM:DOM1
3316
3317 ForDef:
3318 @QName:
3319 DOMHTML:ForBlockquote
3320 ForDef:
3321 @QName:
3322 DOMHTML:ForQ
3323
3324 IF:
3325 @For:ForHTML
3326 @rdf:type:
3327 @@@:
3328 dis:MultipleResource
3329 @@ForCheck: ForHTML
3330 @@ForCheck:
3331 !ManakaiDOM:ForIF !ManakaiDOM:ForClass
3332 !ForBlockquote !ForQ
3333 @resourceFor:
3334 @@@:ForBlockquote
3335 @@ForCheck:ForHTML
3336 @resourceFor:
3337 @@@:ForQ
3338 @@ForCheck:ForHTML
3339 @rdf:type:
3340 @@@:
3341 s:ElementType
3342 @@For:ForHTML
3343
3344 @ETQName:
3345 @@@:
3346 xhtml1:blockquote
3347 @@ForCheck:ForBlockquote
3348 @ETQName:
3349 @@@:
3350 xhtml1:q
3351 @@ForCheck:ForQ
3352
3353 @IFQName: HTMLQuoteElement
3354 @ClsQName: ManakaiDOMHTMLQuoteElement
3355 @ISAHTMLElement:
3356 @L1IF:
3357
3358 @s:elementType:
3359 @@@: ||ForHTML40SE||ForBlockquote
3360 @@ForCheck: ManakaiDOM|DOM1 !ManakaiDOM|DOM2
3361 @@ContentType: DISCore|TFPQNames
3362 @@DISCore:stopISARecursive:1
3363 @s:elementType:
3364 @@@: ||ForHTML401||ForBlockquote
3365 @@ForCheck: ManakaiDOM|DOM2
3366 @@ContentType: DISCore|TFPQNames
3367 @@DISCore:stopISARecursive:1
3368 @s:elementType:
3369 @@@: ||ForXHTML10SE||ForBlockquote
3370 @@ForCheck: ManakaiDOM|DOM2
3371 @@ContentType: DISCore|TFPQNames
3372 @@DISCore:stopISARecursive:1
3373
3374 @s:elementType:
3375 @@@: ||ForHTML40SE||ForQ
3376 @@ForCheck: ManakaiDOM|DOM1 !ManakaiDOM|DOM2
3377 @@ContentType: DISCore|TFPQNames
3378 @s:elementType:
3379 @@@: ||ForHTML401||ForQ
3380 @@ForCheck: ManakaiDOM|DOM2
3381 @@ContentType: DISCore|TFPQNames
3382 @s:elementType:
3383 @@@: ||ForXHTML10SE||ForQ
3384 @@ForCheck: ManakaiDOM|DOM2
3385 @@ContentType: DISCore|TFPQNames
3386
3387 @ATTR:
3388 @@Name: cite
3389 @@Get:
3390 @@@Type: DOMString
3391 @@Set:
3392 @@@Type: DOMString
3393
3394 ElementTypeBinding:
3395 @Name: elementType
3396 @ElementType:
3397 s:elementType
3398 @ShadowContent:
3399 @@DISCore:stopISARecursive:1
3400
3401 ET:
3402 @ETQName:
3403 xhtml1:pre
3404 @IFQName: HTMLPreElement
3405 @ClsQName: ManakaiDOMHTMLPreElement
3406 @ISAHTMLElement:
3407 @L1IF:
3408
3409 @ATTR:
3410 @@Name: width
3411 @@Deprecated:1
3412 @@Get:
3413 @@@Type:
3414 DOMMain:long
3415 @@Set:
3416 @@@Type:
3417 DOMMain:long
3418
3419 ET:
3420 @ETQName:
3421 xhtml1:br
3422 @IFQName: HTMLBRElement
3423 @ClsQName:ManakaiDOMHTMLBRElement
3424 @ISAHTMLElement:
3425 @L1IF:
3426
3427 @ATTR:
3428 @@Name: clear
3429 @@Deprecated:1
3430 @@Get:
3431 @@@Type: DOMString
3432 @@Set:
3433 @@@Type: DOMString
3434
3435 ET:
3436 @ETQName:
3437 xhtml1:basefont
3438 @IFQName: HTMLBaseFontElement
3439 @ClsQName:ManakaiDOMHTMLBaseFontElement
3440 @ISAHTMLElement:
3441 @L1IF:
3442 @Deprecated:
3443
3444 @ATTR:
3445 @@Name: color
3446 @@Deprecated:
3447 @@Get:
3448 @@@Type: DOMString
3449 @@Set:
3450 @@@Type: DOMString
3451 @ATTR:
3452 @@Name: face
3453 @@Deprecated:
3454 @@Get:
3455 @@@Type: DOMString
3456 @@Set:
3457 @@@Type: DOMString
3458 @ATTR:
3459 @@Name: size
3460 @@Description:
3461 @@@lang:en
3462 @@@@:Computed font size.
3463 @@@For:
3464 ManakaiDOM:DOM2
3465 @@Deprecated:
3466 @@Get:
3467 @@@Type:
3468 @@@@@:
3469 DOMMain:long
3470 @@@@For:
3471 ManakaiDOM:DOM2
3472 @@@Type:
3473 @@@@@:
3474 DOMMain:DOMString
3475 @@@@For:
3476 ManakaiDOM:DOM1 !ManakaiDOM:DOM2
3477 @@ImplNote:
3478 @@@lang:en
3479 @@@@:
3480 TODO: Computed value should be returned.
3481 In DOM Level 1, it was <EM:not> the computed value
3482 and the type was <TYPE:DOMString>.
3483 @@Set:
3484 @@@Type:
3485 DOMMain:long
3486 @@Level[list]:
3487 1
3488 2
3489 @@SpecLevel[list]:
3490 1
3491 2
3492
3493 ET:
3494 @ETQName:
3495 xhtml1:font
3496 @IFQName: HTMLFontElement
3497 @ClsQName:ManakaiDOMHTMLFontElement
3498 @ISAHTMLElement:
3499 @Deprecated:
3500 @L1IF:
3501
3502 @ATTR:
3503 @@Name: color
3504 @@Deprecated:
3505 @@Get:
3506 @@@Type: DOMString
3507 @@Set:
3508 @@@Type: DOMString
3509 @ATTR:
3510 @@Name: face
3511 @@Deprecated:
3512 @@Get:
3513 @@@Type: DOMString
3514 @@Set:
3515 @@@Type: DOMString
3516 @ATTR:
3517 @@Name: size
3518 @@Deprecated:
3519 @@ImplNote:
3520 @@@lang:en
3521 @@@@:
3522 This is <EM:not> the computed size.
3523 @@Get:
3524 @@@Type: DOMString
3525 @@Set:
3526 @@@Type: DOMString
3527
3528 ET:
3529 @ETQName:
3530 xhtml1:hr
3531 @IFQName: HTMLHRElement
3532 @ClsQName:ManakaiDOMHTMLHRElement
3533 @ISAHTMLElement:
3534 @L1IF:
3535
3536 @ATTR:
3537 @@Name: align
3538 @@Deprecated:
3539 @@Get:
3540 @@@Type: DOMString
3541 @@Set:
3542 @@@Type: DOMString
3543 @ATTR:
3544 @@AName:noshade
3545 @@DOMAName: noShade
3546 @@Deprecated:
3547 @@Get:
3548 @@@Type:
3549 DOMMain:boolean
3550 @@@InCase:
3551 @@@@Value: true
3552 @@@InCase:
3553 @@@@Value: false
3554 @@Set:
3555 @@@Type:
3556 DOMMain:boolean
3557 @@@InCase:
3558 @@@@Value: true
3559 @@@InCase:
3560 @@@@Value: false
3561 @ATTR:
3562 @@Name: size
3563 @@Deprecated:
3564 @@Get:
3565 @@@Type: DOMString
3566 @@Set:
3567 @@@Type: DOMString
3568 @ATTR:
3569 @@Name: width
3570 @@Deprecated:
3571 @@Get:
3572 @@@Type: DOMString
3573 @@Set:
3574 @@@Type: DOMString
3575
3576 ForDef:
3577 @QName:
3578 DOMHTML:ForIns
3579 ForDef:
3580 @QName:
3581 DOMHTML:ForDel
3582
3583 IF:
3584 @For:ForHTML
3585 @rdf:type:
3586 @@@:
3587 dis:MultipleResource
3588 @@ForCheck:
3589 !ManakaiDOM:ForIF !ManakaiDOM:ForClass
3590 !ForIns !ForDel
3591 @@For: ForHTML
3592 @resourceFor:
3593 @@@: ForIns
3594 @@For:ForHTML
3595 @resourceFor:
3596 @@@: ForDel
3597 @@For:ForHTML
3598 @rdf:type:
3599 @@@:
3600 s:ElementType
3601 @@For:ForHTML
3602
3603 @ETQName:
3604 @@@:
3605 xhtml1:ins
3606 @@ForCheck:ForIns
3607 @ETQName:
3608 @@@:
3609 xhtml1:del
3610 @@ForCheck:ForDel
3611
3612 @elementType:
3613 @@@: ||ForHTML40SE||ForIns
3614 @@ForCheck: ManakaiDOM|DOM1 !ManakaiDOM|DOM2
3615 @@ContentType: DISCore|TFPQNames
3616 @elementType:
3617 @@@: ||ForHTML401||ForIns
3618 @@ForCheck: ManakaiDOM|DOM2
3619 @@ContentType: DISCore|TFPQNames
3620 @elementType:
3621 @@@: ||ForXHTML10SE||ForIns
3622 @@ForCheck: ManakaiDOM|DOM2
3623 @@ContentType: DISCore|TFPQNames
3624
3625 @elementType:
3626 @@@: ||ForHTML40SE||ForDel
3627 @@ForCheck: ManakaiDOM|DOM1 !ManakaiDOM|DOM2
3628 @@ContentType: DISCore|TFPQNames
3629 @elementType:
3630 @@@: ||ForHTML401||ForDel
3631 @@ForCheck: ManakaiDOM|DOM2
3632 @@ContentType: DISCore|TFPQNames
3633 @elementType:
3634 @@@: ||ForXHTML10SE||ForDel
3635 @@ForCheck: ManakaiDOM|DOM2
3636 @@ContentType: DISCore|TFPQNames
3637
3638 @IFQName: HTMLModElement
3639 @ClsQName:ManakaiDOMHTMLModElement
3640 @ISAHTMLElement:
3641 @L1IF:
3642
3643 @ATTR:
3644 @@Name: cite
3645 @@Get:
3646 @@@Type: DOMString
3647 @@Set:
3648 @@@Type: DOMString
3649 @ATTR:
3650 @@AName: datetime
3651 @@DOMAName: dateTime
3652 @@Get:
3653 @@@Type: DOMString
3654 @@Set:
3655 @@@Type: DOMString
3656
3657 ET:
3658 @ETQName:
3659 xhtml1:a
3660 @IFQName: HTMLAnchorElement
3661 @ClsQName:ManakaiDOMHTMLAnchorElement
3662 @ISAHTMLElement:
3663 @L1IF:
3664
3665 @ATTR:
3666 @@AName:accesskey
3667 @@DOMAName: accessKey
3668 @@Get:
3669 @@@Type: DOMString
3670 @@Set:
3671 @@@Type: DOMString
3672 @ATTR:
3673 @@Name: charset
3674 @@Get:
3675 @@@Type: DOMString
3676 @@Set:
3677 @@@Type: DOMString
3678 @ATTR:
3679 @@Name: coords
3680 @@Get:
3681 @@@Type: DOMString
3682 @@Set:
3683 @@@Type: DOMString
3684 @ATTR:
3685 @@Name: href
3686 @@Get:
3687 @@@Type: DOMString
3688 @@Set:
3689 @@@Type: DOMString
3690 @ATTR:
3691 @@Name: hreflang
3692 @@Get:
3693 @@@Type: DOMString
3694 @@Set:
3695 @@@Type: DOMString
3696 @ATTR:
3697 @@Name: name
3698 @@Get:
3699 @@@Type: DOMString
3700 @@Set:
3701 @@@Type: DOMString
3702 @ATTR:
3703 @@Name: rel
3704 @@Get:
3705 @@@Type: DOMString
3706 @@Set:
3707 @@@Type: DOMString
3708 @ATTR:
3709 @@Name: rev
3710 @@Get:
3711 @@@Type: DOMString
3712 @@Set:
3713 @@@Type: DOMString
3714 @ATTR:
3715 @@Name: shape
3716 @@Get:
3717 @@@Type: DOMString
3718 @@Set:
3719 @@@Type: DOMString
3720 @ATTR:
3721 @@AName:tabindex
3722 @@DOMAName: tabIndex
3723 @@Get:
3724 @@@Type:
3725 DOMMain:long
3726 @@Set:
3727 @@@Type:
3728 DOMMain:long
3729 @ATTR:
3730 @@Name: target
3731 @@Get:
3732 @@@Type: DOMString
3733 @@Set:
3734 @@@Type: DOMString
3735 @ATTR:
3736 @@Name: type
3737 @@Get:
3738 @@@Type: DOMString
3739 @@Set:
3740 @@@Type: DOMString
3741 @Method:
3742 @@Name: blur
3743 @@Description:
3744 @@@lang:en
3745 @@@@:Remove the focus from this element.
3746 @@Return:
3747 @Method:
3748 @@Name: focus
3749 @@Description:
3750 @@@lang:en
3751 @@@@:Give the focus to this element.
3752 @@Return:
3753 ##IF:HTMLAnchorElement
3754
3755 ET:
3756 @ETQName:
3757 xhtml1:img
3758 @IFQName: HTMLImageElement
3759 @ClsQName:ManakaiDOMHTMLImageElement
3760 @ISAHTMLElement:
3761 @L1IF:
3762
3763 @Attr:
3764 @@Name: name
3765 @@Description:
3766 @@@lang:en
3767 @@@@:
3768 The name of the element.
3769 \
3770 {NOTE:: This attribute is provided for backwards compatibility.
3771 Whilst HTML 4.01 added the <HA:name> attribute
3772 for compatibility, the DOM HTML Specifications
3773 does not address this fact - i.e. HTML's and DOM's
3774 <CODE:name> attributes are not formally associated.
3775 \
3776 }
3777 @@DocAttr:
3778 @@@@:
3779 ::ForHTML401
3780 @@@For:
3781 ManakaiDOM:ManakaiDOMLatest
3782 @@DocAttr:
3783 @@@@:
3784 ::ForXHTML10SE
3785 @@@For:
3786 ManakaiDOM:ManakaiDOMLatest
3787 @@Get:
3788 @@@Type: DOMString
3789 @@Set:
3790 @@@Type: DOMString
3791 @ATTR:
3792 @@Name: align
3793 @@Deprecated:
3794 @@Get:
3795 @@@Type: DOMString
3796 @@Set:
3797 @@@Type: DOMString
3798 @ATTR:
3799 @@Name: alt
3800 @@Get:
3801 @@@Type: DOMString
3802 @@Set:
3803 @@@Type: DOMString
3804 @ATTR:
3805 @@Name: border
3806 @@Deprecated:
3807 @@Get:
3808 @@@Type: DOMString
3809 @@Set:
3810 @@@Type: DOMString
3811 @@ImplNote:
3812 @@@lang:en
3813 @@@@:
3814 The type is <TYPE:DOMString> in both DOM Levels 1 and 2.
3815 @ATTR:
3816 @@Name: height
3817 @@Deprecated:
3818 @@Type:
3819 @@@@:
3820 DOMMain:long
3821 @@@For:
3822 ManakaiDOM:DOM2
3823 @@Type:
3824 @@@@:
3825 DOMMain:DOMString
3826 @@@For:
3827 ManakaiDOM:DOM1 !ManakaiDOM:DOM2
3828 @@Get:
3829 @@@Type:
3830 DOMMain:long
3831 @@Set:
3832 @@@Type:
3833 DOMMain:long
3834 @@Level[list]:
3835 1
3836 2
3837 @@SpecLevel[list]:
3838 1
3839 2
3840 @ATTR:
3841 @@Name: hspace
3842 @@Deprecated:
3843 @@Get:
3844 @@@Type:
3845 @@@@@:
3846 DOMMain:long
3847 @@@@For:
3848 ManakaiDOM:DOM2
3849 @@@Type:
3850 @@@@@:
3851 DOMMain:DOMString
3852 @@@@For:
3853 ManakaiDOM:DOM1 !ManakaiDOM:DOM2
3854 @@Set:
3855 @@@Type:
3856 @@@@@:
3857 DOMMain:long
3858 @@@@For:
3859 ManakaiDOM:DOM2
3860 @@@Type:
3861 @@@@@:
3862 DOMMain:DOMString
3863 @@@@For:
3864 ManakaiDOM:DOM1 !ManakaiDOM:DOM2
3865 @@Level[list]:
3866 1
3867 2
3868 @@SpecLevel[list]:
3869 1
3870 2
3871 @ATTR:
3872 @@AName:ismap
3873 @@DOMAName: isMap
3874 @@Get:
3875 @@@Type:
3876 DOMMain:boolean
3877 @@@InCase:
3878 @@@@Value: true
3879 @@@InCase:
3880 @@@@Value: false
3881 @@Set:
3882 @@@Type:
3883 DOMMain:boolean
3884 @@@InCase:
3885 @@@@Value: true
3886 @@@InCase:
3887 @@@@Value: false
3888 @ATTR:
3889 @@AName:longdesc
3890 @@DOMAName: longDesc
3891 @@Get:
3892 @@@Type: DOMString
3893 @@Set:
3894 @@@Type: DOMString
3895 @ATTR:
3896 @@Name: src
3897 @@Get:
3898 @@@Type: DOMString
3899 @@Set:
3900 @@@Type: DOMString
3901 @ATTR:
3902 @@AName:usemap
3903 @@DOMAName: useMap
3904 @@Get:
3905 @@@Type: DOMString
3906 @@Set:
3907 @@@Type: DOMString
3908 @@ImplNote:
3909 @@@lang:en
3910 @@@@:
3911 The HTML 4 and XHTML 1.0 <HA:usemap> attribute value is
3912 of <SGML:%URI;>, while the XHTML m12n <HA:usemap> value
3913 is <XML:IDREF>.
3914 @ATTR:
3915 @@Name: vspace
3916 @@Deprecated:
3917 @@Type:
3918 @@@@:
3919 DOMMain:long
3920 @@@For:
3921 ManakaiDOM:DOM2
3922 @@Type:
3923 @@@@:
3924 DOMMain:DOMString
3925 @@@For:
3926 ManakaiDOM:DOM1 !ManakaiDOM:DOM2
3927 @@Get:
3928 @@Set:
3929 @@Level[list]:
3930 1
3931 2
3932 @@SpecLevel[list]:
3933 1
3934 2
3935 @Attr:
3936 @@Name: width
3937 @@Deprecated:
3938 @@Type:
3939 @@@@:
3940 DOMMain:long
3941 @@@For:
3942 ManakaiDOM:DOM2
3943 @@Type:
3944 @@@@:
3945 DOMMain:DOMString
3946 @@@For:
3947 ManakaiDOM:DOM1 !ManakaiDOM:DOM2
3948 @@Get:
3949 @@Set:
3950 @@Level[list]:
3951 1
3952 2
3953 @@SpecLevel[list]:
3954 1
3955 2
3956 ##IF:HTMLImageElement
3957
3958 ET:
3959 @ETQName:
3960 xhtml1:object
3961 @IFQName: HTMLObjectElement
3962 @ClsQName:ManakaiDOMHTMLObjectElement
3963 @ISAHTMLElement:
3964 @L1IF:
3965
3966 @ImplNote:
3967 @@lang:en
3968 @@@:
3969 In some environments some attributes may be read-only
3970 once the underlying object is instantiated.
3971 @Attr:
3972 @@Name: form
3973 @@Description:
3974 @@@lang:en
3975 @@@@:
3976 The <HE:form> element containing this control.
3977 @@Get:
3978 @@@Type:
3979 DOMHTML:HTMLFormElement
3980 @@@Description:
3981 @@@@lang:en
3982 @@@@@:
3983 This control is not within the context of a form.
3984 @Attr:
3985 @@Name: code
3986 @@Get:
3987 @@@Type: DOMString
3988 @@Set:
3989 @@@Type: DOMString
3990 @ATTR:
3991 @@Name: align
3992 @@Deprecated:
3993 @@Get:
3994 @@@Type: DOMString
3995 @@Set:
3996 @@@Type: DOMString
3997 @ATTR:
3998 @@Name: archive
3999 @@Get:
4000 @@@Type: DOMString
4001 @@Set:
4002 @@@Type: DOMString
4003 @ATTR:
4004 @@Name: border
4005 @@Deprecated:
4006 @@Get:
4007 @@@Type: DOMString
4008 @@Set:
4009 @@@Type: DOMString
4010 @ATTR:
4011 @@AName:codebase
4012 @@DOMAName: codeBase
4013 @@Get:
4014 @@@Type: DOMString
4015 @@Set:
4016 @@@Type: DOMString
4017 @ATTR:
4018 @@AName:codetype
4019 @@DOMAName: codeType
4020 @@Get:
4021 @@@Type: DOMString
4022 @@Set:
4023 @@@Type: DOMString
4024 @ATTR:
4025 @@Name: data
4026 @@Get:
4027 @@@Type: DOMString
4028 @@Set:
4029 @@@Type: DOMString
4030 @ATTR:
4031 @@Name: declare
4032 @@Get:
4033 @@@Type:
4034 DOMMain:boolean
4035 @@@InCase:
4036 @@@@Value: true
4037 @@@InCase:
4038 @@@@Value: false
4039 @@Set:
4040 @@@Type:
4041 DOMMain:boolean
4042 @@@InCase:
4043 @@@@Value: true
4044 @@@InCase:
4045 @@@@Value: false
4046 @ATTR:
4047 @@Name: height
4048 @@Deprecated:
4049 @@Get:
4050 @@@Type: DOMString
4051 @@Set:
4052 @@@Type: DOMString
4053 @ATTR:
4054 @@Name: hspace
4055 @@Deprecated:
4056 @@Get:
4057 @@@Type:
4058 DOMMain:long
4059 @@Set:
4060 @@@Type:
4061 DOMMain:long
4062 @ATTR:
4063 @@Name: name
4064 @@Get:
4065 @@@Type: DOMString
4066 @@Set:
4067 @@@Type: DOMString
4068 @ATTR:
4069 @@AName:standby
4070 @@DOMAName: standby
4071 @@Get:
4072 @@@Type: DOMString
4073 @@Set:
4074 @@@Type: DOMString
4075 @ATTR:
4076 @@AName:tabindex
4077 @@DOMAName: tabIndex
4078 @@Get:
4079 @@@Type:
4080 DOMMain:long
4081 @@Set:
4082 @@@Type:
4083 DOMMain:long
4084 @ATTR:
4085 @@Name: type
4086 @@Get:
4087 @@@Type: DOMString
4088 @@Set:
4089 @@@Type: DOMString
4090 @Attr:
4091 @@AName:usemap
4092 @@DOMAName: useMap
4093 @@Get:
4094 @@@Type: DOMString
4095 @@Set:
4096 @@@Type: DOMString
4097 @@ImplNote:
4098 @@@lang:en
4099 @@@@:
4100 In HTML 4 or XHTML 1.0, the <HA:usemap> attribute is
4101 a <SGML:%URI;>. In XHTML m12n, the <HA:usemap>
4102 is an <XML:IDREF>.
4103 @ATTR:
4104 @@Name: vspace
4105 @@Deprecated:
4106 @@Get:
4107 @@@Type:
4108 DOMMain:long
4109 @@Set:
4110 @@@Type:
4111 DOMMain:long
4112 @ATTR:
4113 @@Name: width
4114 @@Get:
4115 @@@Type: DOMString
4116 @@Set:
4117 @@@Type: DOMString
4118 @Attr:
4119 @@Name: contentDocument
4120 @@Description:
4121 @@@lang:en
4122 @@@@:
4123 The document this object contains, if any and available.
4124 @@Get:
4125 @@@Type: Document
4126 @@@InCase:
4127 @@@@Value:
4128 @@@@@is-null:1
4129 @@@@Description:
4130 @@@@@lang:en
4131 @@@@@@:
4132 There is no containing document or
4133 there is but it is not available.
4134 @@@Def:
4135 @@@@ContentType:
4136 lang:dis
4137 @@@@GetPropNode:
4138 DOMHTML:contentDocument
4139 @@Level[list]: 2
4140 @@SpecLevel[list]: 2
4141 @@L2:
4142 ##IF:HTMLObjectElement
4143
4144 PropDef:
4145 @QName: referrer
4146 @enDesc:
4147 <A::HTMLDocument.referrer>.
4148
4149 PropDef:
4150 @QName: contentDocument
4151 @Type:
4152 ManakaiDOMCore:ManakaiDOMNodeObjectNode::ManakaiDOM:ManakaiDOMCommon
4153 @Description:
4154 @@lang:en
4155 @@@:
4156 An (external) <IF::Document> node object referred from an element.
4157
4158 ET:
4159 @ETQName:
4160 xhtml1:param
4161 @IFQName: HTMLParamElement
4162 @ClsQName:ManakaiDOMHTMLParamElement
4163 @ISAHTMLElement:
4164 @L1IF:
4165
4166 @ATTR:
4167 @@Name: name
4168 @@Get:
4169 @@@Type: DOMString
4170 @@Set:
4171 @@@Type: DOMString
4172 @ATTR:
4173 @@Name: type
4174 @@Get:
4175 @@@Type: DOMString
4176 @@Set:
4177 @@@Type: DOMString
4178 @ATTR:
4179 @@Name: value
4180 @@Get:
4181 @@@Type: DOMString
4182 @@Set:
4183 @@@Type: DOMString
4184 @ATTR:
4185 @@AName:valuetype
4186 @@DOMAName: valueType
4187 @@Get:
4188 @@@Type: DOMString
4189 @@Set:
4190 @@@Type: DOMString
4191
4192 ET:
4193 @ETQName:
4194 xhtml1:applet
4195 @IFQName: HTMLAppletElement
4196 @ClsQName:ManakaiDOMHTMLAppletElement
4197 @ISAHTMLElement:
4198 @L1IF:
4199 @Deprecated:
4200
4201 @ATTR:
4202 @@Name: align
4203 @@Deprecated:
4204 @@Get:
4205 @@@Type: DOMString
4206 @@Set:
4207 @@@Type: DOMString
4208 @ATTR:
4209 @@Name: alt
4210 @@Deprecated:
4211 @@Get:
4212 @@@Type: DOMString
4213 @@Set:
4214 @@@Type: DOMString
4215 @ATTR:
4216 @@Name: archive
4217 @@Deprecated:
4218 @@Get:
4219 @@@Type: DOMString
4220 @@Set:
4221 @@@Type: DOMString
4222 @ATTR:
4223 @@Name: code
4224 @@Deprecated:
4225 @@Get:
4226 @@@Type: DOMString
4227 @@Set:
4228 @@@Type: DOMString
4229 @ATTR:
4230 @@AName:codebase
4231 @@DOMAName: codeBase
4232 @@Deprecated:
4233 @@Get:
4234 @@@Type: DOMString
4235 @@Set:
4236 @@@Type: DOMString
4237 @ATTR:
4238 @@Name: height
4239 @@Deprecated:
4240 @@Get:
4241 @@@Type: DOMString
4242 @@Set:
4243 @@@Type: DOMString
4244 @ATTR:
4245 @@Name: hspace
4246 @@Deprecated:
4247 @@Get:
4248 @@@Type:
4249 @@@@@:
4250 DOMMain:long
4251 @@@@For:
4252 ManakaiDOM:DOM2
4253 @@@Type:
4254 @@@@@:
4255 DOMMain:DOMString
4256 @@@@For:
4257 ManakaiDOM:DOM1 !ManakaiDOM:DOM2
4258 @@Set:
4259 @@@Type:
4260 @@@@@:
4261 DOMMain:long
4262 @@@@For:
4263 ManakaiDOM:DOM2
4264 @@@Type:
4265 @@@@@:
4266 DOMMain:DOMString
4267 @@@@For:
4268 ManakaiDOM:DOM1 !ManakaiDOM:DOM2
4269 @@Level[list]:
4270 1
4271 2
4272 @@SpecLevel[list]:
4273 1
4274 2
4275 @ATTR:
4276 @@Name: name
4277 @@Deprecated:
4278 @@Get:
4279 @@@Type: DOMString
4280 @@Set:
4281 @@@Type: DOMString
4282 @Attr:
4283 @@Name: object
4284 @@Deprecated:
4285 @@Get:
4286 @@@Type: DOMString
4287 @@Set:
4288 @@@Type: DOMString
4289 @@Level[list]:
4290 1
4291 @@SpecLevel[list]:
4292 1
4293 2
4294 @Attr:
4295 @@Name: vspace
4296 @@Deprecated:
4297 @@Type:
4298 @@@@:
4299 DOMMain:long
4300 @@@For:
4301 ManakaiDOM:DOM2
4302 @@Type:
4303 @@@@:
4304 DOMMain:DOMString
4305 @@@For:
4306 ManakaiDOM:DOM1 !ManakaiDOM:DOM2
4307 @@Get:
4308 @@Set:
4309 @@Level[list]:
4310 1
4311 2
4312 @@SpecLevel[list]:
4313 1
4314 2
4315 @Attr:
4316 @@Name: width
4317 @@Deprecated:
4318 @@Get:
4319 @@@Type: DOMString
4320 @@Set:
4321 @@@Type: DOMString
4322 ##IF:HTMLAppletElement
4323
4324 ResourceDef:
4325 @QName:
4326 DOMMain:long
4327 @AliasFor:
4328 DOMMain:long::ManakaiDOM:all
4329 @ForCheck:
4330 !=ManakaiDOM:all
4331
4332 ET:
4333 @ETQName:
4334 xhtml1:map
4335 @IFQName: HTMLMapElement
4336 @ClsQName:ManakaiDOMHTMLMapElement
4337 @ISAHTMLElement:
4338 @L1IF:
4339
4340 @Attr:
4341 @@Name: areas
4342 @@Description:
4343 @@@lang:en
4344 @@@@:
4345 The list of areas defined for this image map.
4346 @@Get:
4347 @@@Type: HTMLCollection
4348 @ATTR:
4349 @@Name: name
4350 @@Get:
4351 @@@Type: DOMString
4352 @@Set:
4353 @@@Type: DOMString
4354 ##IF:HTMLMapElement
4355
4356 ET:
4357 @ETQName:
4358 xhtml1:area
4359 @IFQName: HTMLAreaElement
4360 @ClsQName:ManakaiDOMAreaElement
4361 @ISAHTMLElement:
4362 @L1IF:
4363
4364 @ATTR:
4365 @@AName: accesskey
4366 @@DOMAName: accessKey
4367 @@Get:
4368 @@@Type: DOMString
4369 @@Set:
4370 @@@Type: DOMString
4371 @ATTR:
4372 @@Name: alt
4373 @@Get:
4374 @@@Type: DOMString
4375 @@Set:
4376 @@@Type: DOMString
4377 @ATTR:
4378 @@Name: coords
4379 @@Get:
4380 @@@Type: DOMString
4381 @@Set:
4382 @@@Type: DOMString
4383 @ATTR:
4384 @@Name: href
4385 @@Get:
4386 @@@Type: DOMString
4387 @@Set:
4388 @@@Type: DOMString
4389 @ATTR:
4390 @@AName:nohref
4391 @@DOMAName: noHref
4392 @@Get:
4393 @@@Type:
4394 DOMMain:boolean
4395 @@@InCase:
4396 @@@@Value: true
4397 @@@InCase:
4398 @@@@Value: false
4399 @@Set:
4400 @@@Type:
4401 DOMMain:boolean
4402 @@@InCase:
4403 @@@@Value: true
4404 @@@InCase:
4405 @@@@Value: false
4406 @ATTR:
4407 @@Name: shape
4408 @@Get:
4409 @@@Type: DOMString
4410 @@Set:
4411 @@@Type: DOMString
4412 @Attr:
4413 @@AName:tabindex
4414 @@DOMAName: tabIndex
4415 @@Get:
4416 @@@Type:
4417 DOMMain:long
4418 @@Set:
4419 @@@Type:
4420 DOMMain:long
4421 @ATTR:
4422 @@Name: target
4423 @@Get:
4424 @@@Type: DOMString
4425 @@Set:
4426 @@@Type: DOMString
4427 ##IF:HTMLAreaElement
4428
4429 ET:
4430 @ETQName:
4431 xhtml1:script
4432 @IFQName: HTMLScriptElement
4433 @ClsQName:ManakaiDOMHTMLScriptElement
4434 @ISAHTMLElement:
4435 @L1IF:
4436
4437 @Attr:
4438 @@Name: text
4439 @@Description:
4440 @@@lang:en
4441 @@@@:
4442 The script content of this element.
4443 @@ImplNote:
4444 @@@lang:en
4445 @@@@:
4446 ISSUE: How interact with <HA:src>?
4447 @@Get:
4448 @@@Type: DOMString
4449 @@Set:
4450 @@@Type: DOMString
4451 @Attr:
4452 @@DOMAName: htmlFor
4453 @@Description:
4454 @@@lang:en
4455 @@@@:
4456 {NOTE:: Reserved for future use by the DOM HTML Specifications.
4457 The HTML <HA:for> attribute is also reserved
4458 by the HTML 4 Specifications.
4459 \
4460 }
4461 @@Get:
4462 @@@Type: DOMString
4463 @@Set:
4464 @@@Type: DOMString
4465 @Attr:
4466 @@Name: event
4467 @@Description:
4468 @@@lang:en
4469 @@@@:
4470 {NOTE:: Reserved for future use by the DOM HTML Specifications.
4471 The HTML <HA:event> attribute is also reserved
4472 by the HTML 4 Specification.
4473 \
4474 }
4475 @@Get:
4476 @@@Type: DOMString
4477 @@Set:
4478 @@@Type: DOMString
4479 @ATTR:
4480 @@Name: charset
4481 @@Get:
4482 @@@Type: DOMString
4483 @@Set:
4484 @@@Type: DOMString
4485 @ATTR:
4486 @@Name: defer
4487 @@Get:
4488 @@@Type:
4489 DOMMain:boolean
4490 @@@InCase:
4491 @@@@Value: true
4492 @@@InCase:
4493 @@@@Value: false
4494 @@Set:
4495 @@@Type:
4496 DOMMain:boolean
4497 @@@InCase:
4498 @@@@Value: true
4499 @@@InCase:
4500 @@@@Value: false
4501 @ATTR:
4502 @@Name: src
4503 @@Get:
4504 @@@Type: DOMString
4505 @@Set:
4506 @@@Type: DOMString
4507 @ATTR:
4508 @@Name: type
4509 @@Get:
4510 @@@Type: DOMString
4511 @@Set:
4512 @@@Type: DOMString
4513 ##IF:HTMLScriptElement
4514
4515 ET:
4516 @ETQName:
4517 xhtml1:table
4518 @IFQName: HTMLTableElement
4519 @ClsQName:ManakaiDOMHTMLTableElement
4520 @ISAHTMLElement:
4521 @L1IF:
4522
4523 @Attr:
4524 @@Name: caption
4525 @@Description:
4526 @@@lang:en
4527 @@@@:
4528 The <HE:caption> of the table.
4529 @@Get:
4530 @@@Type: HTMLTableCaptionElement
4531 @@@InCase:
4532 @@@@Label:
4533 @@@@@lang:en
4534 @@@@@@:
4535 void (= <DOM:null>?)
4536 @@@@Description:
4537 @@@@@lang:en
4538 @@@@@@: There is no caption.
4539 @@Set:
4540 @@@Type: HTMLTableCaptionElement
4541 @@@Exception:
4542 @@@@@:
4543 ManakaiDOMHTML:MDOM_NOT_CAPTION
4544 @@@@Description:
4545 @@@@@lang:en
4546 @@@@@@:
4547 The given element is not a <HE:caption>.
4548 @@Level[list]:
4549 1
4550 @@SpecLevel[list]:
4551 1
4552 2
4553 @Attr:
4554 @@Name: tHead
4555 @@Description:
4556 @@@lang:en
4557 @@@@:
4558 The <HE:thead> of this table.
4559 @@Get:
4560 @@@Type: HTMLTableSectionElement
4561 @@@InCase:
4562 @@@@Value:
4563 @@@@@is-null:1
4564 @@@@Description:
4565 @@@@@lang:en
4566 @@@@@@:
4567 There is no <HE:thead>.
4568 @@Set:
4569 @@@Type: HTMLTableSectionElement
4570 @@@Exception:
4571 @@@@Name: HIERARCHY_REQUEST_ERR
4572 @@@@Type:
4573 DOMCore:DOMException
4574 @@@@SubType:
4575 ManakaiDOMHTML:MDOM_BAD_ELEMENT_TYPE
4576 @@@@Description:
4577 @@@@@lang:en
4578 @@@@@@:
4579 The given element is not a <HE:thead>.
4580 @@Level[list]:
4581 1
4582 @@SpecLevel[list]:
4583 1
4584 2
4585 @Attr:
4586 @@Name: tFoot
4587 @@Description:
4588 @@@lang:en
4589 @@@@:
4590 The <HE:tfoot> of this table.
4591 @@Get:
4592 @@@Type: HTMLTableSectionElement
4593 @@@InCase:
4594 @@@@Value:
4595 @@@@@is-null:1
4596 @@@@Description:
4597 @@@@@lang:en
4598 @@@@@@:
4599 There is no <HE:tfoot>.
4600 @@Set:
4601 @@@Type: HTMLTableSectionElement
4602 @@@Exception:
4603 @@@@Name: HIERARCHY_REQUEST_ERR
4604 @@@@Type:
4605 DOMCore:DOMException
4606 @@@@SubType:
4607 @@@@@QName:
4608 ManakaiDOMHTML:MDOM_NOT_TFOOT
4609 @@@@@Description:
4610 @@@@@@lang:en
4611 @@@@@@@:
4612 The given element is not a <HE:tfoot>.
4613 @@Level[list]:
4614 1
4615 @@SpecLevel[list]:
4616 1
4617 2
4618 @Attr:
4619 @@Name: rows
4620 @@Description:
4621 @@@lang:en
4622 @@@@:
4623 A collection of all the rows (child or grandchild
4624 <HE:tr> elements) in this table.
4625 @@Get:
4626 @@@Type: HTMLCollection
4627 @Attr:
4628 @@Name: tBodies
4629 @@Description:
4630 @@@lang:en
4631 @@@@:
4632 A collection of the table bodies.
4633 @@ImplNote:
4634 @@@lang:en
4635 @@@@:
4636 ISSUE: What is collected if simple table?
4637 @@Get:
4638 @@@Type: HTMLCollection
4639 @ATTR:
4640 @@Name: align
4641 @@Deprecated:
4642 @@Get:
4643 @@@Type: DOMString
4644 @@Set:
4645 @@@Type: DOMString
4646 @ATTR:
4647 @@AName:bgcolor
4648 @@DOMAName: bgColor
4649 @@Get:
4650 @@@Type: DOMString
4651 @@Set:
4652 @@@Type: DOMString
4653 @ATTR:
4654 @@Name: border
4655 @@Get:
4656 @@@Type: DOMString
4657 @@Set:
4658 @@@Type: DOMString
4659 @ATTR:
4660 @@AName:cellpadding
4661 @@DOMAName: cellPadding
4662 @@Get:
4663 @@@Type: DOMString
4664 @@Set:
4665 @@@Type: DOMString
4666 @ATTR:
4667 @@AName:cellspacing
4668 @@DOMAName: cellSpacing
4669 @@Get:
4670 @@@Type: DOMString
4671 @@Set:
4672 @@@Type: DOMString
4673 @ATTR:
4674 @@Name: frame
4675 @@Get:
4676 @@@Type: DOMString
4677 @@Set:
4678 @@@Type: DOMString
4679 @@ImplNote:
4680 @@@lang:en
4681 @@@@:
4682 How <HTML:border> is implemented in DOM Level 0?
4683 @ATTR:
4684 @@Name: rules
4685 @@Get:
4686 @@@Type: DOMString
4687 @@Set:
4688 @@@Type: DOMString
4689 @ATTR:
4690 @@Name: summary
4691 @@Get:
4692 @@@Type: DOMString
4693 @@Set:
4694 @@@Type: DOMString
4695 @ATTR:
4696 @@Name: width
4697 @@Get:
4698 @@@Type: DOMString
4699 @@Set:
4700 @@@Type: DOMString
4701 @Method:
4702 @@Name: createTHead
4703 @@Description:
4704 @@@lang:en
4705 @@@@:
4706 Create the <HE:thead> element (if it does not exist) and
4707 return it.
4708 @@Return:
4709 @@@Type: HTMLElement
4710 @@@Description:
4711 @@@@lang:en
4712 @@@@@:
4713 The <HE:thead> element.
4714 @Method:
4715 @@Name: deleteTHead
4716 @@Description:
4717 @@@lang:en
4718 @@@@:
4719 Delete the <HE:thead>, if any, from the table.
4720 @@Return:
4721 @Method:
4722 @@Name: createTFoot
4723 @@Description:
4724 @@@lang:en
4725 @@@@:
4726 Create the <HE:tfoot> element (if it does not exist) and
4727 return it.
4728 @@Return:
4729 @@@Type: HTMLElement
4730 @@@Description:
4731 @@@@lang:en
4732 @@@@@:
4733 The <HE:tfoot> element.
4734 @Method:
4735 @@Name: deleteTFoot
4736 @@Description:
4737 @@@lang:en
4738 @@@@:
4739 Delete the <HE:tfoot>, if any, from the table.
4740 @@Return:
4741 @Method:
4742 @@Name: createCaption
4743 @@Description:
4744 @@@lang:en
4745 @@@@:
4746 Create the table caption element (if it does not exist) and
4747 return it.
4748 @@Return:
4749 @@@Type: HTMLElement
4750 @@@Description:
4751 @@@@lang:en
4752 @@@@@: The table caption.
4753 @Method:
4754 @@Name: deleteCaption
4755 @@Description:
4756 @@@lang:en
4757 @@@@:
4758 Delete the table caption, if any.
4759 @@Return:
4760 @Method:
4761 @@Name: insertRow
4762 @@Description:
4763 @@@lang:en
4764 @@@@:
4765 Insert a new empty row in this table. If this table is
4766 empty, a <HE:tbody> is created and the new row is
4767 inserted into it.
4768 @@ImplNote:
4769 @@@lang:en
4770 @@@@:
4771 DOM HTML Specifications note that a table row
4772 cannot be empty according to HTML 4. But they do not
4773 require DOM implementations to add a table cell.
4774 @@Param:
4775 @@@Name: index
4776 @@@Type:
4777 DOMMain:long
4778 @@@Description:
4779 @@@@lang:en
4780 @@@@@:
4781 The ordinal index of the row where to insert a new row,
4782 starting from <DOM:0> and relative to the logical
4783 order (not the document order). The new row is
4784 inserted immediately before and in the same row group
4785 as the current <P:index>th row.
4786 @@@InCase:
4787 @@@@Value:-1
4788 @@@@Description:
4789 @@@@@lang:en
4790 @@@@@@:
4791 The new row is appended.
4792 @@@@SpecLevel:2
4793 @@@InCase:
4794 @@@@Label:
4795 @@@@@lang:en
4796 @@@@@@:
4797 The number of rows
4798 @@@@Description:
4799 @@@@@lang:en
4800 @@@@@@:
4801 The new row is appended.
4802 @@@@SpecLevel:2
4803 @@Return:
4804 @@@Type: HTMLElement
4805 @@@Description:
4806 @@@@lang:en
4807 @@@@@:The newly created row.
4808 @@@Exception:
4809 @@@@Name: INDEX_SIZE_ERR
4810 @@@@Type:
4811 DOMCore:DOMException
4812 @@@@SubType:
4813 @@@@@QName:
4814 TODO: What?
4815 @@@@@Description:
4816 @@@@@@lang:en
4817 @@@@@@@:
4818 The <P:index> is greater than the number of rows
4819 or less than <DOM:-1>.
4820 @@@@SpecLevel:2
4821 @@@@ImplNote:
4822 @@@@@lang:en
4823 @@@@@@:
4824 <SRC:DOM Level 1 Second Edition HTML, DOM Level 2 HTML>
4825 (<P:index> cannot <DOM:-1> in DOM Level 1.)
4826 @@Level[list]:
4827 1
4828 2
4829 @@SpecLevel[list]:
4830 1
4831 2
4832 @Method:
4833 @@Name: deleteRow
4834 @@Description:
4835 @@@lang:en
4836 @@@@:Delete a table row.
4837 @@Param:
4838 @@@Name: index
4839 @@@Type:
4840 DOMMain:long
4841 @@@Description:
4842 @@@@lang:en
4843 @@@@@:
4844 The ordinal index of the row to delete, starting from <DOM:0>
4845 and relative to the logical order (not document order).
4846 @@@InCase:
4847 @@@@Value:-1
4848 @@@@Description:
4849 @@@@@lang:en
4850 @@@@@@:
4851 The last row in the table is deleted.
4852 @@@@SpecLevel:2
4853 @@@ImplNote:
4854 @@@@lang:en
4855 @@@@@:
4856 In the order of <HE:thead> -> <HE:tbody>s -> <HE:tfoot>?
4857 @@Return:
4858 @@@Exception:
4859 @@@@Name: INDEX_SIZE_ERR
4860 @@@@Type:
4861 DOMCore:DOMException
4862 @@@@SubType:
4863 @@@@@QName:
4864 TODO: What?
4865 @@@@@Description:
4866 @@@@@@lang:en
4867 @@@@@@@:
4868 The <P:index> is greater than or equal to
4869 the number of rows or the <P:index> is
4870 less than <DOM:-1>.
4871 @@@@SpecLevel:2
4872 @@@@ImplNote:
4873 @@@@@lang:en
4874 @@@@@@:
4875 <SRC:DOM Level 1 Second Edition HTML, DOM Level 2 HTML>
4876 (<P:index> cannot <DOM:-1> in DOM Level 1.)
4877 @@Level[list]:
4878 1
4879 2
4880 @@SpecLevel[list]:
4881 1
4882 2
4883 ##IF:HTMLTableElement
4884
4885 ET:
4886 @ETQName:
4887 xhtml1:caption
4888 @IFQName: HTMLTableCaptionElement
4889 @ClsQName:ManakaiDOMHTMLTableCaptionElement
4890 @ISAHTMLElement:
4891 @L1IF:
4892
4893 @ATTR:
4894 @@Name: align
4895 @@Deprecated:
4896 @@Get:
4897 @@@Type: DOMString
4898 @@Set:
4899 @@@Type: DOMString
4900 ##IF:HTMLTableCaptionElement
4901
4902 ET:
4903 @ETQName:
4904 xhtml1:col
4905 @IFQName: HTMLTableColElement
4906 @ClsQName:ManakaiDOMHTMLTableColElement
4907 @ISAHTMLElement:
4908 @L1IF:
4909
4910 @ATTR:
4911 @@Name: align
4912 @@Get:
4913 @@@Type: DOMString
4914 @@Set:
4915 @@@Type: DOMString
4916 @ATTR:
4917 @@AName:char
4918 @@DOMAName: ch
4919 @@Get:
4920 @@@Type: DOMString
4921 @@Set:
4922 @@@Type: DOMString
4923 @ATTR:
4924 @@AName:charoff
4925 @@DOMAName: chOff
4926 @@Get:
4927 @@@Type: DOMString
4928 @@Set:
4929 @@@Type: DOMString
4930 @ATTR:
4931 @@Name: span
4932 @@Get:
4933 @@@Type:
4934 DOMMain:long
4935 @@Set:
4936 @@@Type:
4937 DOMMain:long
4938 @ATTR:
4939 @@AName:valign
4940 @@DOMAName: vAlign
4941 @@Get:
4942 @@@Type: DOMString
4943 @@Set:
4944 @@@Type: DOMString
4945 @ATTR:
4946 @@Name: width
4947 @@Get:
4948 @@@Type: DOMString
4949 @@Set:
4950 @@@Type: DOMString
4951 ##IF:HTMLTableColElement
4952
4953 ForDef:
4954 @QName:
4955 DOMHTML:ForTbody
4956 ForDef:
4957 @QName:
4958 DOMHTML:ForThead
4959 ForDef:
4960 @QName:
4961 DOMHTML:ForTfoot
4962
4963 IF:
4964 @For:ForHTML
4965 @rdf:type:
4966 @@@:
4967 dis:MultipleResource
4968 @@For:ForHTML
4969 @@ForCheck:
4970 !ManakaiDOM:ForIF !ManakaiDOM:ForClass
4971 !ForTbody !ForThead !ForTfoot
4972 @resourceFor:
4973 @@@: ForTbody
4974 @@ForCheck:ForHTML
4975 @resourceFor:
4976 @@@: ForThead
4977 @@ForCheck:ForHTML
4978 @resourceFor:
4979 @@@: ForTfoot
4980 @@ForCheck:ForHTML
4981 @rdf:type:
4982 @@@:
4983 s:ElementType
4984 @@For:ForHTML
4985
4986 @ETQName:
4987 @@@:
4988 xhtml1:tbody
4989 @@ForCheck:ForTbody
4990 @ETQName:
4991 @@@:
4992 xhtml1:thead
4993 @@ForCheck:ForThead
4994 @ETQName:
4995 @@@:
4996 xhtml1:tfoot
4997 @@ForCheck:ForTfoot
4998
4999 @elementType:
5000 @@@: ||ForHTML40SE||ForTfoot
5001 @@ForCheck: ManakaiDOM|DOM1 !ManakaiDOM|DOM2
5002 @@ContentType: DISCore|TFPQNames
5003 @elementType:
5004 @@@: ||ForHTML401||ForTfoot
5005 @@ForCheck: ManakaiDOM|DOM2
5006 @@ContentType: DISCore|TFPQNames
5007 @elementType:
5008 @@@: ||ForXHTML10SE||ForTfoot
5009 @@ForCheck: ManakaiDOM|DOM2
5010 @@ContentType: DISCore|TFPQNames
5011
5012
5013 @elementType:
5014 @@@: ||ForHTML40SE||ForTbody
5015 @@ForCheck: ManakaiDOM|DOM1 !ManakaiDOM|DOM2
5016 @@ContentType: DISCore|TFPQNames
5017 @elementType:
5018 @@@: ||ForHTML401||ForTbody
5019 @@ForCheck: ManakaiDOM|DOM2
5020 @@ContentType: DISCore|TFPQNames
5021 @elementType:
5022 @@@: ||ForXHTML10SE||ForTbody
5023 @@ForCheck: ManakaiDOM|DOM2
5024 @@ContentType: DISCore|TFPQNames
5025
5026
5027 @elementType:
5028 @@@: ||ForHTML40SE||ForThead
5029 @@ForCheck: ManakaiDOM|DOM1 !ManakaiDOM|DOM2
5030 @@ContentType: DISCore|TFPQNames
5031 @elementType:
5032 @@@: ||ForHTML401||ForThead
5033 @@ForCheck: ManakaiDOM|DOM2
5034 @@ContentType: DISCore|TFPQNames
5035 @elementType:
5036 @@@: ||ForXHTML10SE||ForThead
5037 @@ForCheck: ManakaiDOM|DOM2
5038 @@ContentType: DISCore|TFPQNames
5039
5040 @IFQName: HTMLTableSectionElement
5041 @ClsQName:ManakaiDOMHTMLTableSectionElement
5042 @ISAHTMLElement:
5043 @L1IF:
5044
5045 @ATTR:
5046 @@Name: align
5047 @@Get:
5048 @@@Type: DOMString
5049 @@Set:
5050 @@@Type: DOMString
5051 @ATTR:
5052 @@AName: char
5053 @@DOMAName: ch
5054 @@Get:
5055 @@@Type: DOMString
5056 @@Set:
5057 @@@Type: DOMString
5058 @ATTR:
5059 @@AName:charoff
5060 @@DOMAName: chOff
5061 @@Get:
5062 @@@Type: DOMString
5063 @@Set:
5064 @@@Type: DOMString
5065 @ATTR:
5066 @@AName:valign
5067 @@DOMAName: vAlign
5068 @@Get:
5069 @@@Type: DOMString
5070 @@Set:
5071 @@@Type: DOMString
5072 @Attr:
5073 @@Name: rows
5074 @@Description:
5075 @@@lang:en
5076 @@@@:
5077 A collection of rows in this table row group.
5078 @@Get:
5079 @@@Type: HTMLCollection
5080 @Method:
5081 @@Name: insertRow
5082 @@Description:
5083 @@@lang:en
5084 @@@@:
5085 Insert a table row into this row group.
5086 @@Param:
5087 @@@Name: index
5088 @@@Type:
5089 DOMMain:long
5090 @@@Description:
5091 @@@@lang:en
5092 @@@@@:
5093 The ordinal index of the row where to insert a new row,
5094 starting from <DOM:0> and relative only to the
5095 rows contained inside this row group. The new row
5096 is inserted immediately before the current <P:index>th
5097 row.
5098 @@@InCase:
5099 @@@@Value:-1
5100 @@@@Description:
5101 @@@@@lang:en
5102 @@@@@@:
5103 The new row is appended.
5104 @@@@SpecLevel:2
5105 @@@InCase:
5106 @@@@Label:
5107 @@@@@lang:en
5108 @@@@@@:The number of rows in this row group
5109 @@@@Description:
5110 @@@@@lang:en
5111 @@@@@@:
5112 The new row is appended.
5113 @@@@SpecLevel:2
5114 @@Return:
5115 @@@Type: HTMLElement
5116 @@@Description:
5117 @@@@lang:en
5118 @@@@@:The newly created table row.
5119 @@@Exception:
5120 @@@@Name: INDEX_SIZE_ERR
5121 @@@@Type:
5122 DOMCore:DOMException
5123 @@@@SubType:
5124 @@@@@QName:
5125 TODO: What?
5126 @@@@@Description:
5127 @@@@@@lang:en
5128 @@@@@@@:
5129 The <P:index> is greater than the number
5130 of rows or less than <DOM:-1>.
5131 @@@@SpecLevel:2
5132 @@@@ImplNote:
5133 @@@@@lang:en
5134 @@@@@@:
5135 <SRC:DOM Level 1 Second Edition HTML, DOM Level 2 HTML>
5136 (<P:index> cannot <DOM:-1> in DOM Level 1.)
5137 @@Level[list]:
5138 1
5139 2
5140 @@SpecLevel[list]:
5141 1
5142 2
5143 @Method:
5144 @@Name: deleteRow
5145 @@Description:
5146 @@@lang:en
5147 @@@@:
5148 Delete a table row from this table row group.
5149 @@Param:
5150 @@@Name: index
5151 @@@Type:
5152 DOMMain:long
5153 @@@Description:
5154 @@@@lang:en
5155 @@@@@:
5156 The ordinal index of the row to delete, starting
5157 from <DOM:0> and relative
5158 only to the rows contained inside this row group.
5159 @@@InCase:
5160 @@@@Value:-1
5161 @@@@Description:
5162 @@@@@lang:en
5163 @@@@@@:
5164 Delete the last row.
5165 @@@@SpecLevel:2
5166 @@Return:
5167 @@@Exception:
5168 @@@@Name: INDEX_SIZE_ERR
5169 @@@@Type:
5170 DOMCore:DOMException
5171 @@@@SubType:
5172 @@@@@QName:
5173 TODO: What?
5174 @@@@@Description:
5175 @@@@@@lang:en
5176 @@@@@@@:
5177 The <P:index> is greater than or equal to
5178 the number of rows or the <P:index> is less
5179 than <DOM:-1>.
5180 @@@@SpecLevel:2
5181 @@@@ImplNote:
5182 @@@@@lang:en
5183 @@@@@@:
5184 <SRC:DOM Level 1 Second Edition HTML, DOM Level 2 HTML>
5185 (<P:index> cannot <DOM:-1> in DOM Level 1.)
5186 @@Level[list]:
5187 1
5188 2
5189 @@SpecLevel[list]:
5190 1
5191 2
5192 ##IF:HTMLTableSectionElement
5193
5194 ET:
5195 @ETQName:
5196 xhtml1:tr
5197 @IFQName: HTMLTableRowElement
5198 @ClsQName:ManakaiDOMHTMLTableRowElement
5199 @ISAHTMLElement:
5200 @L1IF:
5201
5202 @Attr:
5203 @@Name: rowIndex
5204 @@Description:
5205 @@@lang:en
5206 @@@@:
5207 The ordinal index of the row, starting from <DOM:0>,
5208 in the logical order (not the document order).
5209 \
5210 {NOTE:: The logical order take row groups into account;
5211 placing <HE:thead> rows first, followed by
5212 <HE:tbody> rows, followed by <HE:tfoot> rows.
5213 \
5214 }
5215 @@Get:
5216 @@@Type:
5217 DOMMain:long
5218 @@ImplNote:
5219 @@@lang:en
5220 @@@@:
5221 Writable in DOM Level 1 FE, with no description -
5222 fixed in the Errata.
5223 @@Level[list]:
5224 1
5225 @@SpecLevel[list]:
5226 1
5227 2
5228 @Attr:
5229 @@Name: sectionRowIndex
5230 @@Description:
5231 @@@lang:en
5232 @@@@:
5233 The ordinal index of this row, starting from <DOM:0>
5234 and relative to this row group.
5235 @@Get:
5236 @@@Type:
5237 DOMMain:long
5238 @@ImplNote:
5239 @@@lang:en
5240 @@@@:
5241 Writable in DOM Level 1 FE, with no description.
5242 @@Level[list]:
5243 1
5244 @@SpecLevel[list]:
5245 1
5246 2
5247 @Attr:
5248 @@Name: cells
5249 @@Description:
5250 @@@lang:en
5251 @@@@:The collection of cells in this row.
5252 @@Get:
5253 @@@Type: HTMLCollection
5254 @@ImplNote:
5255 @@@lang:en
5256 @@@@:
5257 Writable in DOM Level 1 FE, with no description.
5258 @@Level[list]:
5259 1
5260 @@SpecLevel[list]:
5261 1
5262 2
5263 @ATTR:
5264 @@Name: align
5265 @@Get:
5266 @@@Type: DOMString
5267 @@Set:
5268 @@@Type: DOMString
5269 @ATTR:
5270 @@AName:bgcolor
5271 @@DOMAName: bgColor
5272 @@Deprecated:
5273 @@Get:
5274 @@@Type: DOMString
5275 @@Set:
5276 @@@Type: DOMString
5277 @ATTR:
5278 @@AName:char
5279 @@DOMAName: ch
5280 @@Get:
5281 @@@Type: DOMString
5282 @@Set:
5283 @@@Type: DOMString
5284 @ATTR:
5285 @@AName:charoff
5286 @@DOMAName: chOff
5287 @@Get:
5288 @@@Type: DOMString
5289 @@Set:
5290 @@@Type: DOMString
5291 @ATTR:
5292 @@AName:valign
5293 @@DOMAName: vAlign
5294 @@Get:
5295 @@@Type: DOMString
5296 @@Set:
5297 @@@Type: DOMString
5298 @Method:
5299 @@Name: insertCell
5300 @@Description:
5301 @@@lang:en
5302 @@@@:
5303 Insert an empty data cell (<HE:td>) into this row.
5304 @@Param:
5305 @@@Name: index
5306 @@@Type:
5307 DOMMain:long
5308 @@@Description:
5309 @@@@lang:en
5310 @@@@@:
5311 The index where the new cell is inserted, starting
5312 from <DOM:0>.
5313 @@@InCase:
5314 @@@@Value:-1
5315 @@@@Description:
5316 @@@@@lang:en
5317 @@@@@@:The new cell is appended.
5318 @@@@SpecLevel:2
5319 @@@InCase:
5320 @@@@Label:
5321 @@@@@lang:en
5322 @@@@@@:The number of cells
5323 @@@@Description:
5324 @@@@@lang:en
5325 @@@@@@:The new cell is appended.
5326 @@@@SpecLevel:2
5327 @@Return:
5328 @@@Type: HTMLElement
5329 @@@Description:
5330 @@@@lang:en
5331 @@@@@:The newly inserted cell.
5332 @@@Exception:
5333 @@@@Name: INDEX_SIZE_ERR
5334 @@@@Type:
5335 DOMCore:DOMException
5336 @@@@SubType:
5337 @@@@@QName:
5338 TODO: What?
5339 @@@@@Description:
5340 @@@@@@lang:en
5341 @@@@@@@:
5342 The <P:index> is greater than the number of
5343 cells or less than <DOM:-1>.
5344 @@@@SpecLevel:2
5345 @@@@ImplNote:
5346 @@@@@lang:en
5347 @@@@@@:
5348 <SRC:DOM Level 1 Second Edition HTML, DOM Level 2 HTML>
5349 (<P:index> cannot <DOM:-1> in DOM Level 1.)
5350 @@Level[list]:
5351 1
5352 2
5353 @@SpecLevel[list]:
5354 1
5355 2
5356 @Method:
5357 @@Name: deleteCell
5358 @@Description:
5359 @@@lang:en
5360 @@@@:Delete a cell from this row.
5361 @@Param:
5362 @@@Name: index
5363 @@@Type:
5364 DOMMain:long
5365 @@@Description:
5366 @@@@lang:en
5367 @@@@@:
5368 The index of the cell to delete, starting from <DOM:0>
5369 and in the document order.
5370 @@@InCase:
5371 @@@@Value:-1
5372 @@@@Description:
5373 @@@@@lang:en
5374 @@@@@@:
5375 The last cell is deleted.
5376 @@@@SpecLevel:2
5377 @@Return:
5378 @@@Exception:
5379 @@@@Name: INDEX_SIZE_ERR
5380 @@@@Type:
5381 DOMCore:DOMException
5382 @@@@SubType:
5383 @@@@@QName:
5384 TODO: What?
5385 @@@@@Description:
5386 @@@@@@lang:en
5387 @@@@@@@:
5388 THe <P:index> is greater than or equal to the number
5389 of the cells or less than <DOM:-1>.
5390 @@@@SpecLevel:2
5391 @@@@ImplNote:
5392 @@@@@lang:en
5393 @@@@@@:
5394 <SRC:DOM Level 1 Second Edition HTML, DOM Level 2 HTML>
5395 (<P:index> cannot <DOM:-1> in DOM Level 1.)
5396 @@Level[list]:
5397 1
5398 2
5399 @@SpecLevel[list]:
5400 1
5401 2
5402 ##IF:HTMLTableRowElement
5403
5404 ForDef:
5405 @QName:
5406 DOMHTML:ForTd
5407 ForDef:
5408 @QName:
5409 DOMHTML:ForTh
5410
5411 IF:
5412 @For:ForHTML
5413 @rdf:type:
5414 @@@:
5415 dis:MultipleResource
5416 @@For:ForHTML
5417 @@ForCheck:
5418 !ManakaiDOM:ForIF !ManakaiDOM:ForClass
5419 !ForTd !ForTh
5420 @resourceFor:
5421 @@@: ForTd
5422 @@For:ForHTML
5423 @resourceFor:
5424 @@@:ForTh
5425 @@For:ForHTML
5426 @rdf:type:
5427 @@@:
5428 s:ElementType
5429 @@For:ForHTML
5430
5431 @ETQName:
5432 @@@:
5433 xhtml1:td
5434 @@ForCheck:ForTd
5435 @ETQName:
5436 @@@:
5437 xhtml1:th
5438 @@ForCheck:ForTh
5439
5440 @elementType:
5441 @@@: ||ForHTML40SE||ForTh
5442 @@ForCheck: ManakaiDOM|DOM1 !ManakaiDOM|DOM2
5443 @@ContentType: DISCore|TFPQNames
5444 @elementType:
5445 @@@: ||ForHTML401||ForTh
5446 @@ForCheck: ManakaiDOM|DOM2
5447 @@ContentType: DISCore|TFPQNames
5448 @elementType:
5449 @@@: ||ForXHTML10SE||ForTh
5450 @@ForCheck: ManakaiDOM|DOM2
5451 @@ContentType: DISCore|TFPQNames
5452
5453 @elementType:
5454 @@@: ||ForHTML40SE||ForTd
5455 @@ForCheck: ManakaiDOM|DOM1 !ManakaiDOM|DOM2
5456 @@ContentType: DISCore|TFPQNames
5457 @elementType:
5458 @@@: ||ForHTML401||ForTd
5459 @@ForCheck: ManakaiDOM|DOM2
5460 @@ContentType: DISCore|TFPQNames
5461 @elementType:
5462 @@@: ||ForXHTML10SE||ForTd
5463 @@ForCheck: ManakaiDOM|DOM2
5464 @@ContentType: DISCore|TFPQNames
5465
5466 @IFQName: HTMLTableCellElement
5467 @ClsQName:ManakaiDOMHTMLTableCellElement
5468 @ISAHTMLElement:
5469 @L1IF:
5470
5471 @Attr:
5472 @@Name: cellIndex
5473 @@Description:
5474 @@@lang:en
5475 @@@@:
5476 The ordinal index of this cell in the row,
5477 starting from <DOM:0> and in the document order
5478 (not the display order).
5479 @@Get:
5480 @@@Type:
5481 DOMMain:long
5482 @@ImplNote:
5483 @@@lang:en
5484 @@@@:
5485 Writable in DOM Level 1 FE - fixed in the Errata.
5486 @ATTR:
5487 @@Name: abbr
5488 @@Get:
5489 @@@Type: DOMString
5490 @@Set:
5491 @@@Type: DOMString
5492 @ATTR:
5493 @@Name: align
5494 @@Get:
5495 @@@Type: DOMString
5496 @@Set:
5497 @@@Type: DOMString
5498 @ATTR:
5499 @@Name: axis
5500 @@Get:
5501 @@@Type: DOMString
5502 @@Set:
5503 @@@Type: DOMString
5504 @ATTR:
5505 @@AName:bgcolor
5506 @@DOMAName: bgColor
5507 @@Deprecated:
5508 @@Get:
5509 @@@Type: DOMString
5510 @@Set:
5511 @@@Type: DOMString
5512 @ATTR:
5513 @@AName:char
5514 @@DOMAName: ch
5515 @@Get:
5516 @@@Type: DOMString
5517 @@Set:
5518 @@@Type: DOMString
5519 @ATTR:
5520 @@AName:charoff
5521 @@DOMAName: chOff
5522 @@Get:
5523 @@@Type: DOMString
5524 @@Set:
5525 @@@Type: DOMString
5526 @ATTR:
5527 @@AName:colspan
5528 @@DOMAName: colSpan
5529 @@Get:
5530 @@@Type:
5531 DOMMain:long
5532 @@Set:
5533 @@@Type:
5534 DOMMain:long
5535 @ATTR:
5536 @@Name: headers
5537 @@Get:
5538 @@@Type: DOMString
5539 @@Set:
5540 @@@Type: DOMString
5541 @ATTR:
5542 @@Name: height
5543 @@Deprecated:
5544 @@Get:
5545 @@@Type: DOMString
5546 @@Set:
5547 @@@Type: DOMString
5548 @ATTR:
5549 @@AName:nowrap
5550 @@DOMAName: noWrap
5551 @@Deprecated:
5552 @@Get:
5553 @@@Type:
5554 DOMMain:boolean
5555 @@@InCase:
5556 @@@@Value: true
5557 @@@InCase:
5558 @@@@Value: false
5559 @@Set:
5560 @@@Type:
5561 DOMMain:boolean
5562 @@@InCase:
5563 @@@@Value: true
5564 @@@InCase:
5565 @@@@Value: false
5566 @ATTR:
5567 @@AName:rowspan
5568 @@DOMAName: rowSpan
5569 @@Get:
5570 @@@Type:
5571 DOMMain:long
5572 @@Set:
5573 @@@Type:
5574 DOMMain:long
5575 @ATTR:
5576 @@Name: scope
5577 @@Get:
5578 @@@Type: DOMString
5579 @@Set:
5580 @@@Type: DOMString
5581 @ATTR:
5582 @@AName:valign
5583 @@DOMAName: vAlign
5584 @@Get:
5585 @@@Type: DOMString
5586 @@Set:
5587 @@@Type: DOMString
5588 @ATTR:
5589 @@Name: width
5590 @@Deprecated:
5591 @@Get:
5592 @@@Type: DOMString
5593 @@Set:
5594 @@@Type: DOMString
5595 ##IF:HTMLTableCellElement
5596
5597 ET:
5598 @ETQName:
5599 xhtml1:frameset
5600 @IFQName: HTMLFrameSetElement
5601 @ClsQName:ManakaiDOMHTMLFrameSetElement
5602 @ISAHTMLElement:
5603 @L1IF:
5604
5605 @ForCheck: !ForXHTML11
5606
5607 @ATTR:
5608 @@Name: cols
5609 @@Get:
5610 @@@Type: DOMString
5611 @@Set:
5612 @@@Type: DOMString
5613 @ATTR:
5614 @@Name: rows
5615 @@Get:
5616 @@@Type: DOMString
5617 @@Set:
5618 @@@Type: DOMString
5619 ##IF:HTMLFrameSetElement
5620
5621 ET:
5622 @ETQName:
5623 xhtml1:frame
5624 @IFQName: HTMLFrameElement
5625 @ClsQName:ManakaiDOMHTMLFrameElement
5626 @ISAHTMLElement:
5627 @L1IF:
5628
5629 @ForCheck: !ForXHTML11
5630
5631 @ATTR:
5632 @@AName:frameborder
5633 @@DOMAName: frameBorder
5634 @@Get:
5635 @@@Type: DOMString
5636 @@Set:
5637 @@@Type: DOMString
5638 @ATTR:
5639 @@AName:longdesc
5640 @@DOMAName: longDesc
5641 @@Get:
5642 @@@Type: DOMString
5643 @@Set:
5644 @@@Type: DOMString
5645 @ATTR:
5646 @@AName:marginheight
5647 @@DOMAName: marginHeight
5648 @@Get:
5649 @@@Type: DOMString
5650 @@Set:
5651 @@@Type: DOMString
5652 @ATTR:
5653 @@AName:marginwidth
5654 @@DOMAName: marginWidth
5655 @@Get:
5656 @@@Type: DOMString
5657 @@Set:
5658 @@@Type: DOMString
5659 @ATTR:
5660 @@Name: name
5661 @@Get:
5662 @@@Type: DOMString
5663 @@Set:
5664 @@@Type: DOMString
5665 @ATTR:
5666 @@AName:noresize
5667 @@DOMAName: noResize
5668 @@Get:
5669 @@@Type:
5670 DOMMain:boolean
5671 @@@InCase:
5672 @@@@Value: true
5673 @@@InCase:
5674 @@@@Value: false
5675 @@Set:
5676 @@@Type:
5677 DOMMain:boolean
5678 @@@InCase:
5679 @@@@Value: true
5680 @@@InCase:
5681 @@@@Value: false
5682 @ATTR:
5683 @@Name: scrolling
5684 @@Get:
5685 @@@Type: DOMString
5686 @@Set:
5687 @@@Type: DOMString
5688 @ATTR:
5689 @@Name: src
5690 @@Get:
5691 @@@Type: DOMString
5692 @@Set:
5693 @@@Type: DOMString
5694 @Attr:
5695 @@Name: contentDocument
5696 @@Description:
5697 @@@lang:en
5698 @@@@:
5699 The document this frame contains, if any and available.
5700 @@Get:
5701 @@@Type: Document
5702 @@@InCase:
5703 @@@@Value:
5704 @@@@@is-null:1
5705 @@@@Description:
5706 @@@@@lang:en
5707 @@@@@@:
5708 There is no document or it is not available.
5709 @@@Def:
5710 @@@@ContentType:
5711 lang:dis
5712 @@@@GetPropNode:
5713 DOMHTML:contentDocument
5714 @@Level[list]: 2
5715 @@SpecLevel[list]: 2
5716 @@L2:
5717 ##IF:HTMLFrameElement
5718
5719 ET:
5720 @ETQName:
5721 xhtml1:iframe
5722 @IFQName: HTMLIFrameElement
5723 @ClsQName:ManakaiDOMHTMLIFrameElement
5724 @ISAHTMLElement:
5725 @L1IF:
5726
5727 @ForCheck: !ForXHTML11
5728
5729 @ATTR:
5730 @@Name: align
5731 @@Deprecated:
5732 @@Get:
5733 @@@Type: DOMString
5734 @@Set:
5735 @@@Type: DOMString
5736 @ATTR:
5737 @@AName:frameborder
5738 @@DOMAName: frameBorder
5739 @@Get:
5740 @@@Type: DOMString
5741 @@Set:
5742 @@@Type: DOMString
5743 @ATTR:
5744 @@Name: height
5745 @@Get:
5746 @@@Type: DOMString
5747 @@Set:
5748 @@@Type: DOMString
5749 @ATTR:
5750 @@AName:longdesc
5751 @@DOMAName: longDesc
5752 @@Get:
5753 @@@Type: DOMString
5754 @@Set:
5755 @@@Type: DOMString
5756 @ATTR:
5757 @@AName:marginheight
5758 @@DOMAName: marginHeight
5759 @@Get:
5760 @@@Type: DOMString
5761 @@Set:
5762 @@@Type: DOMString
5763 @ATTR:
5764 @@AName:marginwidth
5765 @@DOMAName: marginWidth
5766 @@Get:
5767 @@@Type: DOMString
5768 @@Set:
5769 @@@Type: DOMString
5770 @ATTR:
5771 @@Name: name
5772 @@Get:
5773 @@@Type: DOMString
5774 @@Set:
5775 @@@Type: DOMString
5776 @ATTR:
5777 @@Name: scrolling
5778 @@Get:
5779 @@@Type: DOMString
5780 @@Set:
5781 @@@Type: DOMString
5782 @ATTR:
5783 @@Name: src
5784 @@Get:
5785 @@@Type: DOMString
5786 @@Set:
5787 @@@Type: DOMString
5788 @ATTR:
5789 @@Name: width
5790 @@Get:
5791 @@@Type: DOMString
5792 @@Set:
5793 @@@Type: DOMString
5794 @Attr:
5795 @@Name: contentDocument
5796 @@Description:
5797 @@@lang:en
5798 @@@@:
5799 The document this frame contains, if any and available.
5800 @@Get:
5801 @@@Type: Document
5802 @@@Description:
5803 @@@@lang:en
5804 @@@@@:
5805 There is no document or it is not available.
5806 @@@Def:
5807 @@@@ContentType:
5808 lang:dis
5809 @@@@GetPropNode:
5810 DOMHTML:contentDocument
5811 @@Level[list]: 2
5812 @@SpecLevel[list]: 2
5813 @@L2:
5814 ##IF:HTMLIFrameElement
5815
5816 ## DOMHTML.dis ends here
5817

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24