/[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.9 - (hide annotations) (download)
Mon May 9 11:59:32 2005 UTC (19 years, 6 months ago) by wakaba
Branch: MAIN
Changes since 1.8: +31 -19 lines
Specialized Document interface implemented

1 wakaba 1.1 Module:
2 wakaba 1.4 @QName:
3     MDOM:DOMHTML
4 wakaba 1.1 @Namespace:
5 wakaba 1.2 http://suika.fam.cx/~wakaba/archive/2004/dom/html#
6 wakaba 1.7
7 wakaba 1.4 @AppName:
8 wakaba 1.1 @@@: html
9 wakaba 1.4 @@ContentType:
10 wakaba 1.1 lang:IDL-DOM
11     @@prefix: dom.w3c.org
12 wakaba 1.4 @@For:
13     ManakaiDOM:IDL ManakaiDOM:DOM1
14     @AppName:
15 wakaba 1.1 @@@: html2
16 wakaba 1.4 @@ContentType:
17 wakaba 1.1 lang:IDL-DOM
18     @@prefix: dom.w3c.org
19 wakaba 1.4 @@For:
20     ManakaiDOM:IDL ManakaiDOM:DOM2
21 wakaba 1.7
22 wakaba 1.1 @FullName:
23     @@lang:en
24     @@@: DOM HTML Module
25 wakaba 1.4
26 wakaba 1.1 @Description:
27     @@lang:en
28     @@@:
29     The DOM HTML Module provides objects and methods specific
30 wakaba 1.7 to HTML 4 documents and XHTML 1.0 documents. The HTML
31 wakaba 1.1 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 wakaba 1.7 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 wakaba 1.1
40     @Author:
41     @@FullName: Wakaba
42     @@Mail: w@suika.fam.cx
43     @License:
44     license:Perl+MPL
45 wakaba 1.4 @Date:
46     @@@:
47 wakaba 1.9 $Date: 2005/05/08 14:18:01 $
48 wakaba 1.4 @@ContentType:
49     dis:Date.RCS
50    
51     @DefaultFor:
52     ManakaiDOM:ManakaiDOMLatest
53    
54     @Require:
55     @@Module:
56 wakaba 1.7 @@@QName:
57     DISlib:DISMarkup
58     @@@WithFor:
59     ManakaiDOM:all
60 wakaba 1.4 @@Module:
61     @@@Name: DOMXML
62 wakaba 1.7 @@@WithFor:
63     ManakaiDOM:ManakaiDOMLatest
64 wakaba 1.4 @@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 wakaba 1.7 @DISlib:
101     http://suika.fam.cx/~wakaba/archive/2004/dis/
102 wakaba 1.4 @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 wakaba 1.7 @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 wakaba 1.4
149     ## -- "For HTML"
150    
151     ForDef:
152     @QName:
153     DOMHTML:ForHTML
154     @ISA:
155     s:ForML
156     @FullName:
157     @@lang:en
158     @@@:
159 wakaba 1.7 For Hypertext Markup Language (HTML), any version
160 wakaba 1.4
161     ForDef:
162     @QName:
163     DOMHTML:ForClassicHTML
164     @ISA:
165     DOMHTML:ForHTML
166     @FullName:
167     @@lang:en
168     @@@:
169 wakaba 1.7 For non-XML-based HTML, any version
170 wakaba 1.4
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 wakaba 1.7 For XHTML, compatible with W3C XHTML 1, any version
227 wakaba 1.4
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 wakaba 1.1
289 wakaba 1.4 ElementTypeBinding:
290     @Name: FeatureDef
291     @ElementType:
292     dis:ResourceDef
293     @ShadowContent:
294     @@rdf:type:
295     DOMMain:DOMFeature
296 wakaba 1.7 @@ForCheck:
297     ManakaiDOM:all
298    
299 wakaba 1.4 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 wakaba 1.1 @@Version:1.0
320 wakaba 1.4 @@QName: HTMLFeature10
321 wakaba 1.7 @@DOMMetaImpl:instanceFeatureOf: HTMLFeature
322     @@FullName:
323     @@@@: DOM Level 1 HTML
324     @@@lang:en
325 wakaba 1.1 @@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 wakaba 1.4 @@DOMMain:requireFeature:
332     DOMCore:CoreFeature10
333     @FeatureVerDef:
334 wakaba 1.1 @@Version:2.0
335 wakaba 1.4 @@QName: HTMLFeature20
336 wakaba 1.7 @@DOMMetaImpl:instanceFeatureOf: HTMLFeature
337     @@FullName:
338     @@@@: DOM Level 2 HTML
339     @@@lang:en
340 wakaba 1.4 @@DOMMain:requireFeature:
341     DOMCore:CoreFeature20
342    
343     FeatureDef:
344     @featureName: XHTML
345     @QName: XHTMLFeature
346     @FeatureVerDef:
347 wakaba 1.1 @@Version:2.0
348 wakaba 1.7 @@FullName:
349     @@@@: DOM Level 2 HTML (with XHTML support)
350     @@@lang:en
351 wakaba 1.4 @@QName: XHTMLFeature20
352 wakaba 1.7 @@DOMMetaImpl:instanceFeatureOf: XHTMLFeature
353     @@DOMMain:extendFeature: HTMLFeature20
354     @@DOMMain:extendFeature:
355 wakaba 1.4 DOMXML:XMLFeature20
356     @@Description:
357 wakaba 1.1 @@@lang:en
358     @@@@:
359 wakaba 1.4 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 wakaba 1.1
373     DataTypeAlias:
374     @Name: DOMString
375 wakaba 1.4 @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 wakaba 1.7
388 wakaba 1.1 DataTypeAlias:
389     @Name: Node
390 wakaba 1.4 @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 wakaba 1.7
403 wakaba 1.1 DataTypeAlias:
404     @Name: Document
405 wakaba 1.4 @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 wakaba 1.7
418 wakaba 1.1 DataTypeAlias:
419     @Name: NodeList
420 wakaba 1.4 @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 wakaba 1.7
433 wakaba 1.1 DataTypeAlias:
434     @Name: Element
435 wakaba 1.4 @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 wakaba 1.1
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 wakaba 1.4 @@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 wakaba 1.7 @@For: ForHTML
494 wakaba 1.9 @@ISA:
495     @@@@: ||ManakaiDOM|ManakaiDOM2||ManakaiDOM|ForIF
496     @@@ForCheck: ManakaiDOM|ForIF ManakaiDOM|ManakaiDOMLatest
497     @@@ContentType: DISCore|TFPQNames
498 wakaba 1.8 ## NOTE: A Level 2 interface is not always upward-compatible with Level 1 i.f.
499 wakaba 1.4
500     ElementTypeBinding:
501     @Name: L2
502     @ElementType:
503     DOMMain:implementFeature
504     @ShadowContent:
505     @@@: HTMLFeature20
506     @@For:
507     ManakaiDOM:DOM2
508    
509     ElementTypeBinding:
510 wakaba 1.8 @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 wakaba 1.4 @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 wakaba 1.7 @@For: ForHTML
532 wakaba 1.4
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 wakaba 1.8 ::ManakaiDOM:ManakaiDOM||ManakaiDOM:ForIF
583 wakaba 1.4 @@@ForCheck:
584 wakaba 1.7 ManakaiDOM:ForIF ManakaiDOM:ManakaiDOM1
585 wakaba 1.8 @@@ContentType: DISCore|TFPQNames
586     @@Implement:
587     @@@@: ||+||ManakaiDOM|ForIF
588     @@@ForCheck: ManakaiDOM|ForClass ManakaiDOM|ManakaiDOM1
589     @@@ContentType: DISCore|TFPQNames
590 wakaba 1.4
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 wakaba 1.8 ::ManakaiDOM:ManakaiDOM||ManakaiDOM:ForIF
635 wakaba 1.4 @@@ForCheck:
636 wakaba 1.7 ManakaiDOM:ForIF ManakaiDOM:ManakaiDOM1
637 wakaba 1.8 @@@ContentType: DISCore|TFPQNames
638     @@Implement:
639     @@@@: ||+||ManakaiDOM|ForIF
640     @@@ForCheck: ManakaiDOM|ForClass ManakaiDOM|ManakaiDOM1
641     @@@ContentType: DISCore|TFPQNames
642    
643 wakaba 1.4 @@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 wakaba 1.7 @@@DISCore:stopISARecursive:1
655 wakaba 1.4 @@DISMarkup:elementType:
656     @@@@:
657     ::ForHTML401
658     @@@ForCheck:
659     ManakaiDOM:DOM2
660     @@DISMarkup:elementType:
661     @@@@:
662     ::ForXHTML10SE
663     @@@ForCheck:
664     ManakaiDOM:DOM2
665 wakaba 1.7 @@@DISCore:stopISARecursive:1
666 wakaba 1.4
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 wakaba 1.1
838     IF:
839 wakaba 1.4 @Name:
840     @@@: HTMLCollection
841     @@ForCheck:
842     ManakaiDOM:ForIF
843    
844     @QName:
845     @@@: ManakaiDOMHTMLCollection
846     @@ForCheck:
847     ManakaiDOM:ForClass
848 wakaba 1.6 @ISA:
849     @@@:
850 wakaba 1.7 ManakaiDOM:ManakaiDOMNodeReference::ManakaiDOM:Perl
851 wakaba 1.6 @@ForCheck:
852     ManakaiDOM:ForClass
853 wakaba 1.9 @L2ISAL1:
854 wakaba 1.4
855 wakaba 1.1 @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 wakaba 1.4 @L1IF:
867 wakaba 1.1
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 wakaba 1.4 @@@PerlDef:
877     my $l = $self->{<Q::TreeCore:node>}
878     -><M::ManakaiDOMCore:ManakaiDOMNodeObjectNode
879     .getElementsBy>
880     ($self->{<Q::ManakaiDOMCore:nodeMatch>});
881     $r = @$l;
882 wakaba 1.1 @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 wakaba 1.4 @@@Type:
899     DOMCore:Node
900 wakaba 1.1 @@@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 wakaba 1.4 @@@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 wakaba 1.1 @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 wakaba 1.4 @@ImplNote:
937     @@@lang:en
938     @@@@:
939     XHTML <HA::id> local attributes? XML <XML::ID> attributes?
940     Any local <XA::id> attributes?
941 wakaba 1.1 @@Param:
942     @@@Name: name
943 wakaba 1.4 @@@Type:
944     DOMMain:DOMString
945 wakaba 1.1 @@@Description:
946     @@@@lang:en
947     @@@@@:
948     The name of the <IF:Node> to retrieve.
949     @@Return:
950 wakaba 1.4 @@@Type:
951     DOMCore:Node
952 wakaba 1.1 @@@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 wakaba 1.4 @@@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 wakaba 1.7 \#line 1 "DOMHTML.ManakaiDOMHTMLCollection.namedItem.#1"
975 wakaba 1.4 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 wakaba 1.7 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 wakaba 1.4 }
1001     }
1002     return false;
1003 wakaba 1.7 \#line 1 "DOMHTML.ManakaiDOMHTMLCollection.namedItem.#2"
1004 wakaba 1.4 }, \$index);
1005     }
1006     $index = 0;
1007     $r ||= $self->{<Q::TreeCore:node>}
1008     -><M::ManakaiDOMCore:ManakaiDOMNodeObjectNode
1009     .getElementBy>
1010     (sub ($) {
1011 wakaba 1.7 \#line 1 "DOMHTML.ManakaiDOMHTMLCollection.namedItem.#3"
1012 wakaba 1.4 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 wakaba 1.7 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 wakaba 1.4 }
1038     }
1039     return false;
1040 wakaba 1.7 \#line 1 "DOMHTML.ManakaiDOMHTMLCollection.namedItem.#4"
1041 wakaba 1.4 }, \$index);
1042     if (defined $r) {
1043     $r = <ClassM::DOMCore:ManakaiDOMNode.getNodeReference> ($r, $self);
1044     }
1045 wakaba 1.1
1046 wakaba 1.2 ImplNote:
1047     @@lang:en
1048     @@@:
1049     <IF:HTMLOptionCollection>: See <Module:DOMWebForms>.
1050 wakaba 1.1
1051     IF:
1052 wakaba 1.4 @Name:
1053 wakaba 1.7 @@@: ManakaiDOMHTMLDOMImplementationIF
1054 wakaba 1.5 @@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 wakaba 1.7 @DOMMetaImpl:provideFeature: HTMLFeature20
1079    
1080 wakaba 1.5 @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 wakaba 1.8 my $node = <ClassM::DOMCore:ManakaiDOMDocument.newObject>;
1135 wakaba 1.5 $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 wakaba 1.9 my $cls = <ClassName::DOMCore:ManakaiDOMDocument>;
1140     $r = <Code::getWeakRef:: $object = $node, $class = $cls>;
1141 wakaba 1.5 $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 wakaba 1.9 $r = <ClassM::DOMCore:ManakaiDOMNode.getNodeReference> ($node);
1158 wakaba 1.5
1159 wakaba 1.7
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 wakaba 1.8 my $node = <ClassM::DOMCore:ManakaiDOMDocument.newObject>;
1195 wakaba 1.7 $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 wakaba 1.9 my $cls = <ClassName::DOMCore:ManakaiDOMDocument>;
1201     $r = <Code::getWeakRef:: $object = $node, $class = $cls>;
1202 wakaba 1.7 $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 wakaba 1.9 $r = <ClassM::DOMCore:ManakaiDOMNode.getNodeReference> ($node);
1221 wakaba 1.7 }__;
1222    
1223 wakaba 1.9 ResourceDef:
1224     @QName: getWeakRef
1225     @AliasFor:
1226     ManakaiNode:getWeakRef::ManakaiDOM:Perl
1227    
1228 wakaba 1.5 IF:
1229     @Name:
1230 wakaba 1.4 @@@: 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 wakaba 1.1 @Description:
1252     @@lang:en
1253     @@@:
1254     The root of the HTML document and holds the entire content.
1255    
1256 wakaba 1.9 @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 wakaba 1.4 @ImplNote:
1267 wakaba 1.1 @@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 wakaba 1.4 mediatype : text/html, text/x-html
1291    
1292 wakaba 1.1 @Attr:
1293     @@Name: title
1294     @@Description:
1295     @@@lang:en
1296     @@@@:
1297 wakaba 1.7 The title of a document, as specified by the <HE::title> element.
1298 wakaba 1.1 @@Get:
1299     @@@Type: DOMString
1300 wakaba 1.7 @@@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 wakaba 1.1 @@Set:
1331 wakaba 1.7 @@@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 wakaba 1.1 @@@Type: DOMString
1357 wakaba 1.7 @@@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 wakaba 1.1 @Attr:
1411     @@Name: referrer
1412     @@Description:
1413     @@@lang:en
1414     @@@@:
1415     The page that linked to this page.
1416 wakaba 1.4 @@Type:
1417     DOMMain:DOMString
1418     @@actualType:
1419     DOMMain:RFC2396URI
1420 wakaba 1.1 @@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 wakaba 1.4 @@@@ContentType:
1434 wakaba 1.1 lang:dis
1435     @@@@GetProp:
1436 wakaba 1.4 DOMHTML:referrer
1437 wakaba 1.1 @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 wakaba 1.4 @@@PerlDef:
1459 wakaba 1.1 $r = null;
1460 wakaba 1.4 if (defined $self->{<Q::TreeCore:node>}
1461     ->{<Q::DOMCore:documentURI>}) {
1462 wakaba 1.1 require URI;
1463 wakaba 1.4 my $uri = URI->new ($self->{<Q::TreeCore:node>}
1464     ->{<Q::DOMCore:documentURI>});
1465 wakaba 1.1 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 wakaba 1.4 @@@actualType:
1481     DOMMain:RFC2396AbsoluteURI
1482 wakaba 1.1 @@@Def:
1483 wakaba 1.4 @@@@ContentType:
1484 wakaba 1.1 lang:dis
1485     @@@@GetProp:
1486 wakaba 1.4 DOMCore:documentURI
1487 wakaba 1.1 @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 wakaba 1.7 @@@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 wakaba 1.1 @@Set:
1531     @@@Type: HTMLElement
1532     @@@ImplNote:
1533     @@@@lang:en
1534     @@@@@:
1535     ISSUE: Why this attribute is writable? No exception?
1536 wakaba 1.7 @@@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 wakaba 1.8 $body = $child;
1592     last;
1593     }
1594 wakaba 1.7 }
1595     }
1596     if ($body) {
1597     $html-><M::DOMCore:Node.replaceChild> ($body => $given);
1598     } else {
1599     $html-><M::DOMCore:Node.appendChild> ($given);
1600     }
1601     }__;
1602 wakaba 1.1 @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 wakaba 1.4 @@@actualType:
1616     ManakaiDOMHTMLCollection
1617     @@@PerlDef:
1618     my $chk;
1619     $chk = sub {
1620 wakaba 1.7 \#line 1 "DOMHTML.ManakaiDOMHTMLElement.getImages.#1"
1621 wakaba 1.4 my ($self) = @_;
1622 wakaba 1.7 if (<Code::isHTMLElemento:: $elementNodeo = $self,
1623     $elementType = 'img'>) {
1624     return true;
1625 wakaba 1.4 } else {
1626 wakaba 1.7 return false;
1627 wakaba 1.4 }
1628 wakaba 1.7 \#line 1 "DOMHTML.ManakaiDOMHTMLElement.getImages.#2"
1629 wakaba 1.4 };
1630     __DEEP{
1631 wakaba 1.7 $r = $self->{<Q::TreeCore:node>}
1632     -><M::ManakaiDOM:ManakaiDOMNodeObject
1633     ::ManakaiDOM:Perl.newReference>
1634 wakaba 1.4 (<ClassName::ManakaiDOMHTMLCollection>);
1635     }__;
1636     $r->{<Q::ManakaiDOMCore:nodeMatch>} = $chk;
1637    
1638 wakaba 1.1 @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 wakaba 1.4 @@@actualType:
1655     ManakaiDOMHTMLCollection
1656     @@@PerlDef:
1657     my $chk;
1658 wakaba 1.7 $chk = sub {
1659     \#line 1 "DOMHTML.ManakaiDOMHTMLElement.getApplets.#1"
1660 wakaba 1.4 my ($self) = @_;
1661 wakaba 1.7 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 wakaba 1.4 } else {
1669 wakaba 1.7 return false;
1670 wakaba 1.4 }
1671 wakaba 1.7 \#line 1 "DOMHTML.ManakaiDOMHTMLElement.getApplets.#2"
1672     };
1673 wakaba 1.4 __DEEP{
1674 wakaba 1.7 $r = $self->{<Q::TreeCore:node>}
1675     -><M::ManakaiDOM:ManakaiDOMNodeObject
1676     ::ManakaiDOM:Perl.newReference>
1677 wakaba 1.4 (<ClassName::ManakaiDOMHTMLCollection>);
1678     }__;
1679     $r->{<Q::ManakaiDOMCore:nodeMatch>} = $chk;
1680 wakaba 1.7
1681 wakaba 1.1 @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 wakaba 1.4 @@@actualType:
1691     ManakaiDOMHTMLCollection
1692     @@@PerlDef:
1693     my $chk;
1694 wakaba 1.7 $chk = sub {
1695     \#line 1 "DOMHTML.ManakaiDOMHTMLElement.getLinks.#1"
1696 wakaba 1.4 my ($self) = @_;
1697 wakaba 1.7 if (<Code::isHTMLElemento:: $elementNodeo = $self,
1698     $elementType = 'a'>) {
1699     return true
1700 wakaba 1.4 if $self->{<Q::infoset:attributes>}
1701     ->{<Q::null:>}->{href} or
1702     $self->{<Q::infoset:attributes>}
1703     ->{<Q::ManakaiDOM:noNS>}->{href};
1704 wakaba 1.7 } elsif (<Code::isHTMLElemento:: $elementNodeo = $self,
1705     $elementType = 'area'>) {
1706     return true
1707 wakaba 1.4 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 wakaba 1.7 \#line 1 "DOMHTML.ManakaiDOMHTMLElement.getLinks.#2"
1714     };
1715 wakaba 1.4 __DEEP{
1716 wakaba 1.7 $r = $self->{<Q::TreeCore:node>}
1717     -><M::ManakaiDOM:ManakaiDOMNodeObject
1718     ::ManakaiDOM:Perl.newReference>
1719 wakaba 1.4 (<ClassName::ManakaiDOMHTMLCollection>);
1720     }__;
1721     $r->{<Q::ManakaiDOMCore:nodeMatch>} = $chk;
1722 wakaba 1.7
1723 wakaba 1.1 @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 wakaba 1.4 @@@actualType:
1738     ManakaiDOMHTMLCollection
1739     @@@PerlDef:
1740     my $chk;
1741 wakaba 1.7 $chk = sub {
1742     \#line 1 "DOMHTML.ManakaiDOMHTMLElement.getForms.#1"
1743 wakaba 1.4 my ($self) = @_;
1744 wakaba 1.7 if (<Code::isHTMLElemento:: $elementNodeo = $self,
1745     $elementType = 'form'>) {
1746     return true;
1747 wakaba 1.4 } else {
1748 wakaba 1.7 return false;
1749 wakaba 1.4 }
1750 wakaba 1.7 \#line 1 "DOMHTML.ManakaiDOMHTMLElement.getForms.#2"
1751     };
1752 wakaba 1.4 __DEEP{
1753 wakaba 1.7 $r = $self->{<Q::TreeCore:node>}
1754     -><M::ManakaiDOM:ManakaiDOMNodeObject
1755     ::ManakaiDOM:Perl.newReference>
1756 wakaba 1.4 (<ClassName::ManakaiDOMHTMLCollection>);
1757     }__;
1758     $r->{<Q::ManakaiDOMCore:nodeMatch>} = $chk;
1759 wakaba 1.1 @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 wakaba 1.4 @@@actualType:
1777     ManakaiDOMHTMLCollection
1778     @@@PerlDef:
1779     my $chk;
1780 wakaba 1.7 $chk = sub {
1781     \#line 1 "DOMHTML.ManakaiDOMHTMLElement.getAnchors.#1"
1782 wakaba 1.4 my ($self) = @_;
1783 wakaba 1.7 if (<Code::isHTMLElemento:: $elementNodeo = $self,
1784     $elementType = 'a'>) {
1785     return true
1786 wakaba 1.4 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 wakaba 1.7 \#line 1 "DOMHTML.ManakaiDOMHTMLElement.getAnchors.#2"
1793     };
1794 wakaba 1.4 __DEEP{
1795 wakaba 1.7 $r = $self->{<Q::TreeCore:node>}
1796     -><M::ManakaiDOM:ManakaiDOMNodeObject
1797     ::ManakaiDOM:Perl.newReference>
1798 wakaba 1.4 (<ClassName::ManakaiDOMHTMLCollection>);
1799     }__;
1800     $r->{<Q::ManakaiDOMCore:nodeMatch>} = $chk;
1801 wakaba 1.7
1802 wakaba 1.1 @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 wakaba 1.4 @@@actualType: RFC2965Cookies
1817 wakaba 1.1 @@@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 wakaba 1.4 @@@actualType: RFC2965Cookie
1835 wakaba 1.1 @@@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 wakaba 1.4 @@@@@:
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 wakaba 1.1 @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 wakaba 1.4 @@Description:
1903 wakaba 1.1 @@@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 wakaba 1.3 @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 wakaba 1.7 @@@disDef:
1970     @@@@DISPerl:cloneCode:
1971     DOMCore:ManakaiDOMElement::ManakaiDOM:ManakaiDOMLatest.getElementById
1972 wakaba 1.4 @@DOMMain:implementFeature:
1973     HTMLFeature10
1974     @@For:
1975     ManakaiDOM:DOM1 !ManakaiDOM:DOM2
1976 wakaba 1.1 @ImplNote:
1977     @@lang:en
1978     @@@:
1979 wakaba 1.3 {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 wakaba 1.9 ##HTMLDocument
1997 wakaba 1.1
1998 wakaba 1.4 ElementTypeBinding:
1999     @Name: PropDef
2000     @ElementType:
2001     dis:ResourceDef
2002     @ShadowContent:
2003     @@rdf:type:
2004 wakaba 1.5 rdf:Property
2005 wakaba 1.4 @@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 wakaba 1.1 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 wakaba 1.4 @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 wakaba 1.1 @Description:
2104     @@lang:en
2105     @@@:
2106     An HTML element. All specific HTML element interfaces
2107     are derived from this interface.
2108    
2109 wakaba 1.7 @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 wakaba 1.3 @@QName:
2127     xhtml1:sub
2128     \##TODO: rewrite this
2129 wakaba 1.1 @@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 wakaba 1.7
2157 wakaba 1.3 @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 wakaba 1.1
2164     @Attr:
2165     @@Name: id
2166 wakaba 1.7 @@DocAttr1:
2167     id::HTML40SE
2168     @@DocAttr2S:
2169     id::HTML401
2170     @@DocAttr2X:
2171     id::XHTML10SE
2172 wakaba 1.1 @@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 wakaba 1.7 @@DocAttr1:
2183     title::HTML40SE
2184     @@DocAttr2S:
2185     title::HTML401
2186     @@DocAttr2X:
2187     title::XHTML10SE
2188 wakaba 1.1 @@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 wakaba 1.7 @@DocAttr1:
2199     lang::HTML40SE
2200     @@DocAttr2S:
2201     lang::HTML401
2202     @@DocAttr2X:
2203     lang::XHTML10SE
2204 wakaba 1.1 @@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 wakaba 1.7 @@DocAttr1:
2215     dir::HTML40SE
2216     @@DocAttr2S:
2217     dir::HTML401
2218     @@DocAttr2X:
2219     dir::XHTML10SE
2220 wakaba 1.1 @@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 wakaba 1.7 @@DocAttr1:
2231     class::HTML40SE
2232     @@DocAttr2S:
2233     class::HTML401
2234     @@DocAttr2X:
2235     class::XHTML10SE
2236 wakaba 1.1 @@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 wakaba 1.3
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 wakaba 1.1 ##IF:HTMLElement
2251    
2252 wakaba 1.7 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>}->{<Q::DOMCore:hasFeature>}
2338     ->{HTML})) {
2339     $elementType eq $__ln ? true : false;
2340     } else {
2341     false;
2342     }
2343     } elsif ($elementNode->{<Q::TreeCore:node>}->{<Q::DOMCore:hasFeature>}
2344     ->{HTML}) {
2345     if ($elementNode->{<Q::TreeCore:node>}->{<Q::DOMCore:hasFeature>}
2346     ->{XML}) {
2347     $elementType eq $elementNode-><AG::DOMCore:Node.nodeName>
2348     ? true : false;
2349     } else {
2350     $elementType eq lc ($elementNode-><AG::DOMCore:Node.nodeName>)
2351     ? true : false;
2352     }
2353     } else {
2354     false;
2355     }
2356     }
2357    
2358     ResourceDef:
2359     @QName: isHTMLElemento
2360     @rdf:type:
2361     dis2pm:InlineCode
2362     @enDesc:
2363     Tests whether this is an HTML element of the given type or not.
2364     @Param:
2365     @@Name: elementNodeo
2366     @@Type:
2367     ManakaiDOM:ManakaiDOMNodeObject::ManakaiDOM:Perl
2368     @@enDesc:
2369     The element node to test.
2370     @Param:
2371     @@Name: elementType
2372     @@Type:
2373     DOMMain:DOMString
2374     @@enDesc:
2375     The element type name to test.
2376     @PerlDef:
2377     do {
2378     my $__ln = $elementNodeo->{<Q::infoset:localName>};
2379     if (defined $__ln) { ## Namespace-aware node
2380     my $__ns = $elementNodeo->{<Q::infoset:namespaceName>};
2381     if ($__ns eq <Q::xhtml1:> or
2382     (not defined $__ns and
2383     $elementNodeo->{<Q::DOMCore:hasFeature>}
2384     ->{HTML})) {
2385     $elementType eq $__ln ? true : false;
2386     } else {
2387     false;
2388     }
2389     } elsif ($elementNodeo->{<Q::DOMCore:hasFeature>}
2390     ->{HTML}) {
2391     my $elClass = <ClassName::DOMCore:ManakaiDOMElement>;
2392     my $elementNode = <Code::ManakaiNode:getWeakRef
2393     ||ManakaiDOM:Perl::
2394     $object = $elementNodeo,
2395     $class = $elClass,
2396     >;
2397     if ($elementNodeo->{<Q::DOMCore:hasFeature>}
2398     ->{XML}) {
2399     $elementType eq $elementNode-><AG::DOMCore:Node.nodeName>
2400     ? true : false;
2401     } else {
2402     $elementType eq lc ($elementNode-><AG::DOMCore:Node.nodeName>)
2403     ? true : false;
2404     }
2405     } else {
2406     false;
2407     }
2408     }
2409    
2410    
2411     ElementTypeBinding:
2412     @Name: enDesc
2413     @ElementType:
2414     dis:Description
2415     @ShadowContent:
2416     @@lang:en
2417    
2418 wakaba 1.4 ET:
2419     @ETQName:
2420     xhtml1:html
2421 wakaba 1.9 @QName:
2422     @@@: html
2423     @@ForCheck: s|ForML
2424 wakaba 1.4
2425     @IFQName:
2426     @@@: HTMLHtmlElement
2427     @ClsQName:
2428     @@@: ManakaiDOMHTMLHtmlElement
2429     @ISAHTMLElement:
2430     @L1IF:
2431 wakaba 1.1
2432 wakaba 1.4 @ATTR:
2433 wakaba 1.1 @@Name: version
2434 wakaba 1.4 @@Deprecated:
2435 wakaba 1.1 @@Get:
2436     @@@Type: DOMString
2437     @@Set:
2438     @@@Type: DOMString
2439    
2440 wakaba 1.4 ET:
2441     @ETQName:
2442     xhtml1:head
2443     @IFQName:
2444     @@@: HTMLHeadElement
2445     @ClsQName:
2446     @@@: ManakaiDOMHTMLHeadElement
2447     @ISAHTMLElement:
2448     @L1IF:
2449 wakaba 1.1
2450 wakaba 1.4 @ATTR:
2451 wakaba 1.1 @@Name: profile
2452     @@Get:
2453     @@@Type: DOMString
2454     @@Set:
2455     @@@Type: DOMString
2456    
2457 wakaba 1.4 ET:
2458     @ETQName:
2459     xhtml1:link
2460     @IFQName:
2461     @@@: HTMLLinkElement
2462     @ClsQName:
2463     @@@: ManakaiDOMHTMLLinkElement
2464     @ISAHTMLElement:
2465     @L1IF:
2466 wakaba 1.1
2467     @Attr:
2468     @@Name: disabled
2469     @@Description:
2470     @@@lang:en
2471     @@@@:
2472     Whether the link is enabled or not. This is currently
2473     only used for style sheet links and may be used to
2474     activate or deactivate the style sheet.
2475     @@Get:
2476     @@@Type:
2477     DOMMain:boolean
2478     @@@InCase:
2479     @@@@Value: true
2480     @@@@Description:
2481     @@@@@lang:en
2482     @@@@@@:
2483     The link is disabled.
2484     @@@InCase:
2485     @@@@Value: false
2486     @@@@Description:
2487     @@@@@lang:en
2488     @@@@@@:
2489     The link is enabled.
2490     @@@Def:
2491 wakaba 1.4 @@@@ContentType:
2492 wakaba 1.1 lang:dis
2493     @@@@GetProp:
2494     DOMHTML:disabled
2495     @@Set:
2496     @@@Type:
2497     DOMMain:boolean
2498     @@@InCase:
2499     @@@@Value: true
2500     @@@@Description:
2501     @@@@@lang:en
2502     @@@@@@:
2503     The link is disabled.
2504     @@@InCase:
2505     @@@@Value: false
2506     @@@@Description:
2507     @@@@@lang:en
2508     @@@@@@:
2509     The link is enabled.
2510     @@@Def:
2511 wakaba 1.4 @@@@ContentType:
2512 wakaba 1.1 lang:dis
2513     @@@@SetProp:
2514     DOMHTML:disabled
2515 wakaba 1.4 @@ImplNote:
2516     @@@lang:en
2517     @@@@:
2518     A version of WinIE 3 has a <HA::disable> attribute by mistake.
2519     @ATTR:
2520 wakaba 1.1 @@Name: charset
2521     @@Get:
2522     @@@Type: DOMString
2523     @@Set:
2524     @@@Type: DOMString
2525 wakaba 1.4 @ATTR:
2526 wakaba 1.1 @@Name: href
2527     @@Get:
2528     @@@Type: DOMString
2529     @@Set:
2530     @@@Type: DOMString
2531 wakaba 1.4 @ATTR:
2532 wakaba 1.1 @@Name: hreflang
2533     @@Get:
2534     @@@Type: DOMString
2535     @@Set:
2536     @@@Type: DOMString
2537 wakaba 1.4 @ATTR:
2538 wakaba 1.1 @@Name: media
2539     @@Get:
2540     @@@Type: DOMString
2541     @@Set:
2542     @@@Type: DOMString
2543 wakaba 1.4 @ATTR:
2544 wakaba 1.1 @@Name: rel
2545     @@Get:
2546     @@@Type: DOMString
2547     @@Set:
2548     @@@Type: DOMString
2549 wakaba 1.4 @ATTR:
2550 wakaba 1.1 @@Name: rev
2551     @@Get:
2552     @@@Type: DOMString
2553     @@Set:
2554     @@@Type: DOMString
2555 wakaba 1.4 @ATTR:
2556 wakaba 1.1 @@Name: target
2557     @@Get:
2558     @@@Type: DOMString
2559     @@Set:
2560     @@@Type: DOMString
2561 wakaba 1.4 @ATTR:
2562 wakaba 1.1 @@Name: type
2563     @@Get:
2564     @@@Type: DOMString
2565     @@Set:
2566     @@@Type: DOMString
2567     ##IF:HTMLLinkElement
2568    
2569 wakaba 1.4 ET:
2570     @ETQName:
2571     xhtml1:title
2572     @IFQName:
2573     @@@: HTMLTitleElement
2574     @ClsQName:
2575     @@@: ManakaiDOMHTMLTitleElement
2576     @ISAHTMLElement:
2577     @L1IF:
2578    
2579 wakaba 1.1 @Attr:
2580     @@Name: text
2581     @@Description:
2582     @@@lang:en
2583     @@@@:
2584     The title.
2585     @@Get:
2586     @@@Type: DOMString
2587     @@@Def:
2588 wakaba 1.4 @@@@ContentType:
2589     lang:dis
2590     @@@@DISPerl:cloneCode:
2591 wakaba 1.7 DOMCore:ManakaiDOMNode::ManakaiDOM:ManakaiDOMLatest.textContent.get
2592 wakaba 1.1 @@Set:
2593     @@@Type: DOMString
2594     @@@Def:
2595 wakaba 1.4 @@@@ContentType:
2596     lang:dis
2597     @@@@DISPerl:cloneCode:
2598 wakaba 1.7 DOMCore:ManakaiDOMNode::ManakaiDOM:ManakaiDOMLatest.textContent.set
2599 wakaba 1.1 ##IF:HTMLTitleElement
2600    
2601 wakaba 1.4 ET:
2602     @ETQName:
2603     xhtml1:meta
2604     @IFQName:
2605     @@@: HTMLMetaElement
2606     @ClsQName:
2607     @@@: ManakaiDOMHTMLMetaElement
2608     @ISAHTMLElement:
2609     @L1IF:
2610    
2611     @ATTR:
2612 wakaba 1.1 @@Name: content
2613     @@Get:
2614     @@@Type: DOMString
2615     @@Set:
2616     @@@Type: DOMString
2617 wakaba 1.4 @ATTR:
2618     @@AName:
2619     @@@@: http-equiv
2620     @@DOMAName:
2621     @@@@: httpEquiv
2622 wakaba 1.1 @@Get:
2623     @@@Type: DOMString
2624     @@Set:
2625     @@@Type: DOMString
2626 wakaba 1.4 @ATTR:
2627 wakaba 1.1 @@Name: name
2628     @@Get:
2629     @@@Type: DOMString
2630     @@Set:
2631     @@@Type: DOMString
2632 wakaba 1.4 @ATTR:
2633 wakaba 1.1 @@Name: scheme
2634     @@Get:
2635     @@@Type: DOMString
2636     @@Set:
2637     @@@Type: DOMString
2638    
2639 wakaba 1.4 ET:
2640     @ETQName:
2641     xhtml1:base
2642     @IFQName:
2643     @@@: HTMLBaseElement
2644     @ClsQName:
2645     @@@: ManakaiDOMHTMLBaseElement
2646     @ISAHTMLElement:
2647     @L1IF:
2648    
2649     @ATTR:
2650 wakaba 1.1 @@Name: href
2651     @@Get:
2652     @@@Type: DOMString
2653     @@Set:
2654     @@@Type: DOMString
2655 wakaba 1.4 @ATTR:
2656 wakaba 1.1 @@Name: target
2657     @@Get:
2658     @@@Type: DOMString
2659     @@Set:
2660     @@@Type: DOMString
2661    
2662 wakaba 1.4 ElementTypeBinding:
2663     @Name: ISAHTMLElement
2664 wakaba 1.1 @ElementType:
2665 wakaba 1.4 dis:ISA
2666     @ShadowContent:
2667     @@@: HTMLElement
2668     @@ForCheck:
2669     ManakaiDOM:ForIF
2670     @ShadowSibling:
2671     @@ISA:
2672     @@@@: ManakaiDOMHTMLElement
2673     @@@ForCheck:
2674     ManakaiDOM:ForClass
2675    
2676     ET:
2677     @ETQName:
2678     xhtml1:isindex
2679     @IFQName:
2680     @@@: HTMLIsIndexElement
2681     @ClsQName:
2682     @@@: ManakaiDOMHTMLIsIndexElement
2683     @ISAHTMLElement:
2684     @L1IF:
2685    
2686     @ForCheck: !ForXHTML11
2687    
2688 wakaba 1.1 @Attr:
2689     @@Name: form
2690     @@Description:
2691     @@@lang:en
2692     @@@@:
2693     The <HE:form> element containing this element.
2694     \
2695     {NOTE:: Although DOM has this attribute, the <HE:isindex>
2696     is independent from any <HE:form> by definition.
2697     \
2698     }
2699     @@Get:
2700 wakaba 1.2 @@@Type:
2701 wakaba 1.4 DOMHTML:HTMLFormElement
2702 wakaba 1.1 @@@InCase:
2703     @@@@Value:
2704     @@@@@is-null:1
2705     @@@@Description:
2706     @@@@@lang:en
2707     @@@@@@:
2708     This element is not within the context of a form.
2709 wakaba 1.7 @@@disDef:
2710     @@@@DISLang:nop:
2711 wakaba 1.4 @ATTR:
2712 wakaba 1.1 @@Name: prompt
2713 wakaba 1.4 @@Deprecated:
2714 wakaba 1.1 @@Get:
2715     @@@Type: DOMString
2716     @@Set:
2717     @@@Type: DOMString
2718    
2719 wakaba 1.4 ElementTypeBinding:
2720 wakaba 1.7 @Name: disDef
2721     @ElementType:
2722     dis:Def
2723     @ShadowContent:
2724     @@ContentType:
2725     lang:dis
2726    
2727     ElementTypeBinding:
2728 wakaba 1.4 @Name: ETQName
2729     @ElementType:
2730 wakaba 1.7 dis:AppName
2731 wakaba 1.4 @ShadowContent:
2732     @@ForCheck:
2733     s:ForML
2734 wakaba 1.7 @@ContentType:
2735     dis:TypeQName
2736    
2737 wakaba 1.4 ElementTypeBinding:
2738     @Name: IFQName
2739     @ElementType:
2740     dis:QName
2741     @ShadowContent:
2742     @@ForCheck:
2743     ManakaiDOM:ForIF
2744     ElementTypeBinding:
2745     @Name: ClsQName
2746 wakaba 1.1 @ElementType:
2747 wakaba 1.4 dis:QName
2748     @ShadowContent:
2749     @@ForCheck:
2750     ManakaiDOM:ForClass
2751    
2752     ET:
2753     @ETQName:
2754     xhtml1:style
2755     @IFQName: HTMLStyleElement
2756     @ClsQName: ManakaiDOMHTMLStyleElement
2757     @ISAHTMLElement:
2758     @L1IF:
2759    
2760 wakaba 1.1 @Attr:
2761     @@Name: disabled
2762     @@Description:
2763     @@@lang:en
2764     @@@@:
2765     Whether the style sheet is enabled or not.
2766     @@Get:
2767     @@@Type:
2768     DOMMain:boolean
2769     @@@InCase:
2770     @@@@Value: true
2771     @@@@Description:
2772     @@@@@lang:en
2773     @@@@@@:The style sheet is disabled.
2774     @@@InCase:
2775     @@@@Value: false
2776     @@@@Description:
2777     @@@@@lang:en
2778     @@@@@@:The style sheet is enabled.
2779     @@@Def:
2780 wakaba 1.4 @@@@ContentType:
2781 wakaba 1.1 lang:dis
2782     @@@@GetProp:
2783     DOMHTML:disabled
2784     @@Set:
2785     @@@Type:
2786     DOMMain:boolean
2787     @@@InCase:
2788     @@@@Value: true
2789     @@@@Description:
2790     @@@@@lang:en
2791     @@@@@@:The style sheet is disabled.
2792     @@@InCase:
2793     @@@@Value: false
2794     @@@@Description:
2795     @@@@@lang:en
2796     @@@@@@:The style sheet is enabled.
2797     @@@Def:
2798 wakaba 1.4 @@@@ContentType:
2799 wakaba 1.1 lang:dis
2800     @@@@SetProp:
2801     DOMHTML:disabled
2802 wakaba 1.4 @ATTR:
2803 wakaba 1.1 @@Name: media
2804     @@Get:
2805     @@@Type: DOMString
2806     @@Set:
2807     @@@Type: DOMString
2808 wakaba 1.4 @ATTR:
2809 wakaba 1.1 @@Name: type
2810     @@Get:
2811     @@@Type: DOMString
2812     @@Set:
2813     @@@Type: DOMString
2814    
2815 wakaba 1.7 PropDef:
2816     @QName: disabled
2817     @enDesc:
2818     <A::.disabled>.
2819    
2820 wakaba 1.4 ElementTypeBinding:
2821     @Name: DOMAName
2822 wakaba 1.1 @ElementType:
2823 wakaba 1.4 dis:Name
2824     @ShadowContent:
2825     @@ForCheck:
2826     ManakaiDOM:DOM
2827     ElementTypeBinding:
2828     @Name: AName
2829     @ElementType:
2830     dis:Name
2831     @ShadowContent:
2832     @@ForCheck:
2833     s:ForML
2834    
2835     ET:
2836     @ETQName:
2837     xhtml1:body
2838     @IFQName: HTMLBodyElement
2839     @ClsQName: ManakaiDOMHTMLBodyElement
2840     @ISAHTMLElement:
2841     @L1IF:
2842    
2843     @ATTR:
2844     @@AName: alink
2845     @@DOMAName: aLink
2846     @@Deprecated:
2847 wakaba 1.1 @@Get:
2848     @@@Type: DOMString
2849     @@Set:
2850     @@@Type: DOMString
2851 wakaba 1.4 @ATTR:
2852 wakaba 1.1 @@Name: background
2853 wakaba 1.4 @@Deprecated:
2854 wakaba 1.1 @@Get:
2855     @@@Type: DOMString
2856     @@Set:
2857     @@@Type: DOMString
2858 wakaba 1.4 @ATTR:
2859     @@DOMAName: bgColor
2860     @@AName: bgcolor
2861     @@Deprecated:
2862 wakaba 1.1 @@Get:
2863     @@@Type: DOMString
2864     @@Set:
2865     @@@Type: DOMString
2866 wakaba 1.4 @ATTR:
2867 wakaba 1.1 @@Name: link
2868 wakaba 1.4 @@Deprecated:
2869 wakaba 1.1 @@Get:
2870     @@@Type: DOMString
2871     @@Set:
2872     @@@Type: DOMString
2873 wakaba 1.4 @ATTR:
2874 wakaba 1.1 @@Name: text
2875 wakaba 1.4 @@Deprecated:
2876 wakaba 1.1 @@Get:
2877     @@@Type: DOMString
2878     @@Set:
2879     @@@Type: DOMString
2880     @Attr:
2881 wakaba 1.4 @@DOMAName: vLink
2882     @@AName: vlink
2883     @@Deprecated:
2884 wakaba 1.1 @@Get:
2885     @@@Type: DOMString
2886     @@Set:
2887     @@@Type: DOMString
2888     ##IF:HTMLBody
2889    
2890 wakaba 1.2 ImplNote:
2891     @@lang:en
2892     @@@:
2893     <IF:HTMLFormElement>, <IF:HTMLSelectElement>,
2894     <IF:HTMLOptionElement>, <IF:HTMLOptGroupElement>,
2895     <IF:HTMLInputElement>, <IF:HTMLTextAreaElement>,
2896     <IF:HTMLButtonElement>, <IF:HTMLFieldSetElement>,
2897     <IF:HTMLLegendElement>: See <Module:WebForms>.
2898    
2899 wakaba 1.4 ET:
2900     @ETQName:
2901     xhtml1:ul
2902     @IFQName: HTMLUListElement
2903     @ClsQName: ManakaiDOMHTMLUListElement
2904     @ISAHTMLElement:
2905     @L1IF:
2906    
2907     @ATTR:
2908 wakaba 1.2 @@Name: compact
2909 wakaba 1.4 @@Deprecated:
2910 wakaba 1.1 @@Get:
2911     @@@Type:
2912 wakaba 1.2 DOMMain:boolean
2913     @@@InCase:
2914     @@@@Value: true
2915     @@@InCase:
2916     @@@@Value: false
2917     @@Set:
2918     @@@Type:
2919     DOMMain:boolean
2920     @@@InCase:
2921     @@@@Value: true
2922     @@@InCase:
2923     @@@@Value: false
2924 wakaba 1.4 @ATTR:
2925 wakaba 1.2 @@Name: type
2926 wakaba 1.4 @@Deprecated:
2927 wakaba 1.1 @@Get:
2928     @@@Type: DOMString
2929     @@Set:
2930     @@@Type: DOMString
2931 wakaba 1.2
2932 wakaba 1.4 ET:
2933     @ETQName:
2934     xhtml1:ol
2935     @IFQName: HTMLOListElement
2936     @ClsQName:ManakaiDOMHTMLOListElement
2937     @ISAHTMLElement:
2938     @L1IF:
2939    
2940     @ATTR:
2941 wakaba 1.2 @@Name: compact
2942 wakaba 1.4 @@Deprecated:
2943 wakaba 1.1 @@Get:
2944 wakaba 1.2 @@@Type:
2945     DOMMain:boolean
2946     @@@InCase:
2947     @@@@Value: true
2948     @@@InCase:
2949     @@@@Value: false
2950 wakaba 1.1 @@Set:
2951 wakaba 1.2 @@@Type:
2952     DOMMain:boolean
2953     @@@InCase:
2954     @@@@Value: true
2955     @@@InCase:
2956     @@@@Value: false
2957 wakaba 1.4 @ATTR:
2958 wakaba 1.2 @@Name: start
2959 wakaba 1.4 @@Deprecated:
2960 wakaba 1.1 @@Get:
2961 wakaba 1.2 @@@Type:
2962     DOMMain:long
2963 wakaba 1.1 @@Set:
2964 wakaba 1.2 @@@Type:
2965     DOMMain:long
2966 wakaba 1.1 @Attr:
2967 wakaba 1.2 @@Name: type
2968 wakaba 1.4 @@Deprecated:
2969 wakaba 1.1 @@Get:
2970     @@@Type: DOMString
2971     @@Set:
2972     @@@Type: DOMString
2973 wakaba 1.2
2974 wakaba 1.4 ET:
2975     @ETQName:
2976     xhtml1:dl
2977     @IFQName: HTMLDListElement
2978     @ClsQName: ManakaiDOMHTMLDListElement
2979     @ISAHTMLElement:
2980     @L1IF:
2981    
2982     @ATTR:
2983 wakaba 1.2 @@Name: compact
2984 wakaba 1.4 @@Deprecated:
2985 wakaba 1.1 @@Get:
2986 wakaba 1.2 @@@Type:
2987     DOMMain:boolean
2988     @@@InCase:
2989     @@@@Value: true
2990     @@@InCase:
2991     @@@@Value: false
2992 wakaba 1.1 @@Set:
2993 wakaba 1.2 @@@Type:
2994     DOMMain:boolean
2995     @@@InCase:
2996     @@@@Value: true
2997     @@@InCase:
2998     @@@@Value: false
2999    
3000 wakaba 1.4 ET:
3001     @ETQName:
3002     xhtml1:dir
3003     @IFQName: HTMLDirectoryElement
3004     @ClsQName: ManakaiDOMHTMLDirectoryElement
3005     @ISAHTMLElement:
3006     @L1IF:
3007     @Deprecated:
3008    
3009 wakaba 1.1 @Attr:
3010 wakaba 1.2 @@Name: compact
3011 wakaba 1.4 @@Deprecated:
3012 wakaba 1.1 @@Get:
3013 wakaba 1.2 @@@Type:
3014     DOMMain:boolean
3015     @@@InCase:
3016     @@@@Value: true
3017     @@@InCase:
3018     @@@@Value: false
3019 wakaba 1.1 @@Set:
3020 wakaba 1.2 @@@Type:
3021     DOMMain:boolean
3022     @@@InCase:
3023     @@@@Value: true
3024     @@@InCase:
3025     @@@@Value: false
3026 wakaba 1.1
3027 wakaba 1.4 ET:
3028     @ETQName:
3029     xhtml1:menu
3030     @IFQName: HTMLMenuElement
3031     @ClsQName: ManakaiDOMHTMLMenuElement
3032     @ISAHTMLElement:
3033     @L1IF:
3034     @Deprecated:
3035    
3036     @ATTR:
3037 wakaba 1.2 @@Name: compact
3038 wakaba 1.4 @@Deprecated:
3039 wakaba 1.1 @@Get:
3040 wakaba 1.2 @@@Type:
3041     DOMMain:boolean
3042 wakaba 1.1 @@@InCase:
3043 wakaba 1.2 @@@@Value: true
3044 wakaba 1.1 @@@InCase:
3045 wakaba 1.2 @@@@Value: false
3046     @@Set:
3047 wakaba 1.1 @@@Type:
3048     DOMMain:boolean
3049     @@@InCase:
3050     @@@@Value: true
3051     @@@InCase:
3052     @@@@Value: false
3053 wakaba 1.2
3054 wakaba 1.4 ET:
3055     @ETQName:
3056     xhtml1:li
3057     @IFQName: HTMLLIElement
3058     @ClsQName: ManakaiDOMHTMLLIElement
3059     @ISAHTMLElement:
3060     @L1IF:
3061    
3062     @ATTR:
3063 wakaba 1.1 @@Name: type
3064 wakaba 1.4 @@Deprecated:
3065 wakaba 1.1 @@Get:
3066     @@@Type: DOMString
3067     @@Set:
3068     @@@Type: DOMString
3069     @Attr:
3070     @@Name: value
3071 wakaba 1.4 @@Deprecated:
3072 wakaba 1.1 @@Get:
3073     @@@Type:
3074     DOMMain:long
3075     @@Set:
3076     @@@Type:
3077     DOMMain:long
3078 wakaba 1.2
3079 wakaba 1.4 ET:
3080     @ETQName:
3081     xhtml1:div
3082     @IFQName: HTMLDivElement
3083     @ClsQName: ManakaiDOMHTMLDivElement
3084     @ISAHTMLElement:
3085     @L1IF:
3086    
3087     @ATTR:
3088 wakaba 1.1 @@Name: align
3089 wakaba 1.4 @@Deprecated:
3090 wakaba 1.1 @@Get:
3091     @@@Type: DOMString
3092     @@Set:
3093     @@@Type: DOMString
3094 wakaba 1.2
3095 wakaba 1.4 ET:
3096     @ETQName:
3097     xhtml1:p
3098     @IFQName: HTMLParagraphElement
3099     @ClsQName: ManakaiDOMHTMLParagraphElement
3100     @ISAHTMLElement:
3101     @L1IF:
3102    
3103     @ATTR:
3104 wakaba 1.1 @@Name: align
3105 wakaba 1.4 @@Deprecated:
3106 wakaba 1.1 @@Get:
3107     @@@Type: DOMString
3108     @@Set:
3109     @@@Type: DOMString
3110 wakaba 1.2
3111 wakaba 1.4 ForDef:
3112     @QName:
3113     DOMHTML:ForH1
3114     ForDef:
3115     @QName:
3116     DOMHTML:ForH2
3117     ForDef:
3118     @QName:
3119     DOMHTML:ForH3
3120     ForDef:
3121     @QName:
3122     DOMHTML:ForH4
3123     ForDef:
3124     @QName:
3125     DOMHTML:ForH5
3126     ForDef:
3127     @QName:
3128     DOMHTML:ForH6
3129    
3130 wakaba 1.1 IF:
3131 wakaba 1.4 @For: ForHTML
3132     @rdf:type:
3133     @@@:
3134     dis:MultipleResource
3135     @@For: ForHTML
3136     @@ForCheck:
3137     !ManakaiDOM:ForIF !ManakaiDOM:ForClass
3138     !ForH1 !ForH2 !ForH3 !ForH4 !ForH5 !ForH6
3139     @resourceFor:
3140     @@@: ForH1
3141     @@For: ForHTML
3142     @resourceFor:
3143     @@@: ForH2
3144     @@For: ForHTML
3145     @resourceFor:
3146     @@@: ForH3
3147     @@For: ForHTML
3148     @resourceFor:
3149     @@@: ForH4
3150     @@For: ForHTML
3151     @resourceFor:
3152     @@@: ForH5
3153     @@For: ForHTML
3154     @resourceFor:
3155     @@@: ForH6
3156     @@For: ForHTML
3157     @rdf:type:
3158     @@@:
3159     s:ElementType
3160     @@For:ForHTML
3161    
3162 wakaba 1.8 @ETQName:
3163 wakaba 1.4 @@@:
3164 wakaba 1.2 xhtml1:h1
3165 wakaba 1.4 @@ForCheck: ForH1
3166 wakaba 1.8 @ETQName:
3167 wakaba 1.4 @@@:
3168 wakaba 1.2 xhtml1:h2
3169 wakaba 1.4 @@ForCheck: ForH2
3170 wakaba 1.8 @ETQName:
3171 wakaba 1.4 @@@:
3172 wakaba 1.2 xhtml1:h3
3173 wakaba 1.4 @@ForCheck: ForH3
3174 wakaba 1.8 @ETQName:
3175 wakaba 1.4 @@@:
3176 wakaba 1.2 xhtml1:h4
3177 wakaba 1.4 @@ForCheck: ForH4
3178 wakaba 1.8 @ETQName:
3179 wakaba 1.4 @@@:
3180 wakaba 1.2 xhtml1:h5
3181 wakaba 1.4 @@ForCheck: ForH5
3182 wakaba 1.8 @ETQName:
3183 wakaba 1.4 @@@:
3184 wakaba 1.2 xhtml1:h6
3185 wakaba 1.4 @@ForCheck: ForH6
3186 wakaba 1.8
3187     @s:elementType:
3188     @@@: ||ForHTML40SE||ForH1
3189     @@ForCheck: ManakaiDOM|DOM1 !ManakaiDOM|DOM2
3190     @@ContentType: DISCore|TFPQName
3191     @@DISCore:stopISARecursive:1
3192     @s:elementType:
3193     @@@: ||ForHTML401||ForH1
3194     @@ForCheck: ManakaiDOM|DOM2
3195     @@ContentType: DISCore|TFPQNames
3196     @@DISCore:stopISARecursive:1
3197     @s:elementType:
3198     @@@: ||ForXHTML10SE||ForH1
3199     @@ForCheck: ManakaiDOM|DOM2
3200     @@ContentType: DISCore|TFPQNames
3201     @@DISCore:stopISARecursive:1
3202     @s:elementType:
3203     @@@: ||ForHTML40SE||ForH2
3204     @@ForCheck: ManakaiDOM|DOM1 !ManakaiDOM|DOM2
3205     @@ContentType: DISCore|TFPQNames
3206     @s:elementType:
3207     @@@: ||ForHTML401||ForH2
3208     @@ForCheck: ManakaiDOM|DOM2
3209     @@ContentType: DISCore|TFPQNames
3210     @s:elementType:
3211     @@@: ||ForXHTML10SE||ForH2
3212     @@ForCheck: ManakaiDOM|DOM2
3213     @@ContentType: DISCore|TFPQNames
3214     @s:elementType:
3215     @@@: ||ForHTML40SE||ForH3
3216     @@ForCheck: ManakaiDOM|DOM1 !ManakaiDOM|DOM2
3217     @@ContentType: DISCore|TFPQNames
3218     @s:elementType:
3219     @@@: ||ForHTML401||ForH3
3220     @@ForCheck: ManakaiDOM|DOM2
3221     @@ContentType: DISCore|TFPQNames
3222     @s:elementType:
3223     @@@: ||ForXHTML10SE||ForH3
3224     @@ForCheck: ManakaiDOM|DOM2
3225     @@ContentType: DISCore|TFPQNames
3226     @s:elementType:
3227     @@@: ||ForHTML40SE||ForH4
3228     @@ForCheck: ManakaiDOM|DOM1 !ManakaiDOM|DOM2
3229     @@ContentType: DISCore|TFPQNames
3230     @s:elementType:
3231     @@@: ||ForHTML401||ForH4
3232     @@ForCheck: ManakaiDOM|DOM2
3233     @@ContentType: DISCore|TFPQNames
3234     @s:elementType:
3235     @@@: ||ForXHTML10SE||ForH4
3236     @@ForCheck: ManakaiDOM|DOM2
3237     @@ContentType: DISCore|TFPQNames
3238     @s:elementType:
3239     @@@: ||ForHTML40SE||ForH5
3240     @@ForCheck: ManakaiDOM|DOM1 !ManakaiDOM|DOM2
3241     @@ContentType: DISCore|TFPQNames
3242     @s:elementType:
3243     @@@: ||ForHTML401||ForH5
3244     @@ForCheck: ManakaiDOM|DOM2
3245     @@ContentType: DISCore|TFPQNames
3246     @s:elementType:
3247     @@@: ||ForXHTML10SE||ForH5
3248     @@ForCheck: ManakaiDOM|DOM2
3249     @@ContentType: DISCore|TFPQNames
3250     @s:elementType:
3251     @@@: ||ForHTML40SE||ForH6
3252     @@ForCheck: ManakaiDOM|DOM1 !ManakaiDOM|DOM2
3253     @@ContentType: DISCore|TFPQNames
3254     @s:elementType:
3255     @@@: ||ForHTML401||ForH6
3256     @@ForCheck: ManakaiDOM|DOM2
3257     @@ContentType: DISCore|TFPQNames
3258     @s:elementType:
3259     @@@: ||ForXHTML10SE||ForH6
3260     @@ForCheck: ManakaiDOM|DOM2
3261     @@ContentType: DISCore|TFPQNames
3262 wakaba 1.4
3263     @IFQName: HTMLHeadingElement
3264     @ClsQName: ManakaiDOMHTMLHeadingElement
3265     @ISAHTMLElement:
3266     @L1IF:
3267    
3268     @ATTR:
3269 wakaba 1.1 @@Name: align
3270 wakaba 1.4 @@Deprecated:
3271 wakaba 1.1 @@Get:
3272     @@@Type: DOMString
3273     @@Set:
3274     @@@Type: DOMString
3275 wakaba 1.2
3276 wakaba 1.4 ElementTypeBinding:
3277     @Name: IFDef
3278     @ElementType:
3279     dis:ResourceDef
3280     @ShadowContent:
3281     @@rdf:type:
3282     ManakaiDOM:IF
3283     @@ISA:
3284     @@@@:
3285     ::ManakaiDOM:ManakaiDOM
3286     @@@For:
3287     ManakaiDOM:ManakaiDOM1
3288    
3289     IFDef:
3290 wakaba 1.3 @Name:HTMLBlockquoteElement
3291     @ISA:HTMLElement
3292     @Description:
3293     @@lang:en
3294     @@@:
3295     The <IF:HTMLBlockquoteElement> interface was contained
3296     in the DOM Level 1 First Edition by error. The
3297     <IF:HTMLQuoteElement> interface should must used instead.
3298     <SRC:DOM Level 1 Errata>
3299     @Attr:
3300     @@Name:cite
3301     @@Get:
3302     @@@Type:
3303     DOMMain:DOMString
3304     @@Set:
3305     @@@Type:
3306     DOMMain:DOMString
3307 wakaba 1.4 @ForCheck:
3308     =ManakaiDOM:DOM1
3309    
3310     ForDef:
3311     @QName:
3312     DOMHTML:ForBlockquote
3313     ForDef:
3314     @QName:
3315     DOMHTML:ForQ
3316 wakaba 1.3
3317     IF:
3318 wakaba 1.4 @For:ForHTML
3319     @rdf:type:
3320     @@@:
3321     dis:MultipleResource
3322     @@ForCheck: ForHTML
3323     @@ForCheck:
3324     !ManakaiDOM:ForIF !ManakaiDOM:ForClass
3325     !ForBlockquote !ForQ
3326     @resourceFor:
3327     @@@:ForBlockquote
3328     @@ForCheck:ForHTML
3329     @resourceFor:
3330     @@@:ForQ
3331     @@ForCheck:ForHTML
3332     @rdf:type:
3333     @@@:
3334     s:ElementType
3335     @@For:ForHTML
3336    
3337     @ETQName:
3338     @@@:
3339 wakaba 1.2 xhtml1:blockquote
3340 wakaba 1.4 @@ForCheck:ForBlockquote
3341     @ETQName:
3342     @@@:
3343 wakaba 1.2 xhtml1:q
3344 wakaba 1.4 @@ForCheck:ForQ
3345    
3346     @IFQName: HTMLQuoteElement
3347     @ClsQName: ManakaiDOMHTMLQuoteElement
3348     @ISAHTMLElement:
3349     @L1IF:
3350    
3351 wakaba 1.8 @s:elementType:
3352     @@@: ||ForHTML40SE||ForBlockquote
3353     @@ForCheck: ManakaiDOM|DOM1 !ManakaiDOM|DOM2
3354     @@ContentType: DISCore|TFPQNames
3355     @@DISCore:stopISARecursive:1
3356     @s:elementType:
3357     @@@: ||ForHTML401||ForBlockquote
3358     @@ForCheck: ManakaiDOM|DOM2
3359     @@ContentType: DISCore|TFPQNames
3360     @@DISCore:stopISARecursive:1
3361     @s:elementType:
3362     @@@: ||ForXHTML10SE||ForBlockquote
3363     @@ForCheck: ManakaiDOM|DOM2
3364     @@ContentType: DISCore|TFPQNames
3365     @@DISCore:stopISARecursive:1
3366    
3367     @s:elementType:
3368     @@@: ||ForHTML40SE||ForQ
3369     @@ForCheck: ManakaiDOM|DOM1 !ManakaiDOM|DOM2
3370     @@ContentType: DISCore|TFPQNames
3371     @s:elementType:
3372     @@@: ||ForHTML401||ForQ
3373     @@ForCheck: ManakaiDOM|DOM2
3374     @@ContentType: DISCore|TFPQNames
3375     @s:elementType:
3376     @@@: ||ForXHTML10SE||ForQ
3377     @@ForCheck: ManakaiDOM|DOM2
3378     @@ContentType: DISCore|TFPQNames
3379    
3380 wakaba 1.4 @ATTR:
3381 wakaba 1.1 @@Name: cite
3382     @@Get:
3383     @@@Type: DOMString
3384     @@Set:
3385     @@@Type: DOMString
3386 wakaba 1.2
3387 wakaba 1.8 ElementTypeBinding:
3388     @Name: elementType
3389     @ElementType:
3390     s:elementType
3391     @ShadowContent:
3392     @@DISCore:stopISARecursive:1
3393    
3394 wakaba 1.4 ET:
3395     @ETQName:
3396     xhtml1:pre
3397     @IFQName: HTMLPreElement
3398     @ClsQName: ManakaiDOMHTMLPreElement
3399     @ISAHTMLElement:
3400     @L1IF:
3401    
3402     @ATTR:
3403 wakaba 1.1 @@Name: width
3404 wakaba 1.4 @@Deprecated:1
3405 wakaba 1.1 @@Get:
3406     @@@Type:
3407     DOMMain:long
3408     @@Set:
3409     @@@Type:
3410     DOMMain:long
3411 wakaba 1.2
3412 wakaba 1.4 ET:
3413     @ETQName:
3414     xhtml1:br
3415     @IFQName: HTMLBRElement
3416     @ClsQName:ManakaiDOMHTMLBRElement
3417     @ISAHTMLElement:
3418     @L1IF:
3419    
3420     @ATTR:
3421 wakaba 1.1 @@Name: clear
3422 wakaba 1.4 @@Deprecated:1
3423 wakaba 1.1 @@Get:
3424     @@@Type: DOMString
3425     @@Set:
3426     @@@Type: DOMString
3427 wakaba 1.2
3428 wakaba 1.4 ET:
3429     @ETQName:
3430     xhtml1:basefont
3431     @IFQName: HTMLBaseFontElement
3432     @ClsQName:ManakaiDOMHTMLBaseFontElement
3433     @ISAHTMLElement:
3434     @L1IF:
3435     @Deprecated:
3436    
3437     @ATTR:
3438 wakaba 1.1 @@Name: color
3439 wakaba 1.4 @@Deprecated:
3440 wakaba 1.1 @@Get:
3441     @@@Type: DOMString
3442     @@Set:
3443     @@@Type: DOMString
3444 wakaba 1.7 @ATTR:
3445 wakaba 1.1 @@Name: face
3446 wakaba 1.4 @@Deprecated:
3447 wakaba 1.1 @@Get:
3448     @@@Type: DOMString
3449     @@Set:
3450     @@@Type: DOMString
3451 wakaba 1.4 @ATTR:
3452 wakaba 1.1 @@Name: size
3453 wakaba 1.2 @@Description:
3454     @@@lang:en
3455     @@@@:Computed font size.
3456 wakaba 1.4 @@@For:
3457     ManakaiDOM:DOM2
3458     @@Deprecated:
3459 wakaba 1.1 @@Get:
3460     @@@Type:
3461 wakaba 1.4 @@@@@:
3462     DOMMain:long
3463     @@@@For:
3464     ManakaiDOM:DOM2
3465     @@@Type:
3466     @@@@@:
3467     DOMMain:DOMString
3468     @@@@For:
3469     ManakaiDOM:DOM1 !ManakaiDOM:DOM2
3470 wakaba 1.2 @@ImplNote:
3471     @@@lang:en
3472     @@@@:
3473 wakaba 1.3 TODO: Computed value should be returned.
3474     In DOM Level 1, it was <EM:not> the computed value
3475     and the type was <TYPE:DOMString>.
3476 wakaba 1.1 @@Set:
3477     @@@Type:
3478     DOMMain:long
3479     @@Level[list]:
3480 wakaba 1.2 1
3481 wakaba 1.1 2
3482     @@SpecLevel[list]:
3483 wakaba 1.2 1
3484 wakaba 1.1 2
3485 wakaba 1.2
3486 wakaba 1.4 ET:
3487     @ETQName:
3488     xhtml1:font
3489     @IFQName: HTMLFontElement
3490     @ClsQName:ManakaiDOMHTMLFontElement
3491     @ISAHTMLElement:
3492     @Deprecated:
3493     @L1IF:
3494    
3495     @ATTR:
3496 wakaba 1.1 @@Name: color
3497 wakaba 1.4 @@Deprecated:
3498 wakaba 1.1 @@Get:
3499     @@@Type: DOMString
3500     @@Set:
3501     @@@Type: DOMString
3502 wakaba 1.7 @ATTR:
3503 wakaba 1.1 @@Name: face
3504 wakaba 1.4 @@Deprecated:
3505 wakaba 1.1 @@Get:
3506     @@@Type: DOMString
3507     @@Set:
3508     @@@Type: DOMString
3509 wakaba 1.7 @ATTR:
3510 wakaba 1.1 @@Name: size
3511 wakaba 1.4 @@Deprecated:
3512 wakaba 1.2 @@ImplNote:
3513     @@@lang:en
3514     @@@@:
3515     This is <EM:not> the computed size.
3516 wakaba 1.1 @@Get:
3517     @@@Type: DOMString
3518     @@Set:
3519     @@@Type: DOMString
3520 wakaba 1.2
3521 wakaba 1.4 ET:
3522     @ETQName:
3523     xhtml1:hr
3524     @IFQName: HTMLHRElement
3525     @ClsQName:ManakaiDOMHTMLHRElement
3526     @ISAHTMLElement:
3527     @L1IF:
3528    
3529     @ATTR:
3530 wakaba 1.1 @@Name: align
3531 wakaba 1.4 @@Deprecated:
3532 wakaba 1.1 @@Get:
3533     @@@Type: DOMString
3534     @@Set:
3535     @@@Type: DOMString
3536 wakaba 1.4 @ATTR:
3537     @@AName:noshade
3538     @@DOMAName: noShade
3539     @@Deprecated:
3540 wakaba 1.1 @@Get:
3541     @@@Type:
3542     DOMMain:boolean
3543     @@@InCase:
3544     @@@@Value: true
3545     @@@InCase:
3546     @@@@Value: false
3547     @@Set:
3548     @@@Type:
3549     DOMMain:boolean
3550     @@@InCase:
3551     @@@@Value: true
3552     @@@InCase:
3553     @@@@Value: false
3554 wakaba 1.4 @ATTR:
3555 wakaba 1.1 @@Name: size
3556 wakaba 1.4 @@Deprecated:
3557 wakaba 1.1 @@Get:
3558     @@@Type: DOMString
3559     @@Set:
3560     @@@Type: DOMString
3561 wakaba 1.4 @ATTR:
3562 wakaba 1.1 @@Name: width
3563 wakaba 1.4 @@Deprecated:
3564 wakaba 1.1 @@Get:
3565     @@@Type: DOMString
3566     @@Set:
3567     @@@Type: DOMString
3568 wakaba 1.2
3569 wakaba 1.4 ForDef:
3570     @QName:
3571     DOMHTML:ForIns
3572     ForDef:
3573     @QName:
3574     DOMHTML:ForDel
3575    
3576     IF:
3577     @For:ForHTML
3578     @rdf:type:
3579     @@@:
3580     dis:MultipleResource
3581     @@ForCheck:
3582     !ManakaiDOM:ForIF !ManakaiDOM:ForClass
3583     !ForIns !ForDel
3584     @@For: ForHTML
3585     @resourceFor:
3586     @@@: ForIns
3587     @@For:ForHTML
3588     @resourceFor:
3589     @@@: ForDel
3590     @@For:ForHTML
3591     @rdf:type:
3592     @@@:
3593     s:ElementType
3594     @@For:ForHTML
3595    
3596     @ETQName:
3597     @@@:
3598 wakaba 1.2 xhtml1:ins
3599 wakaba 1.4 @@ForCheck:ForIns
3600     @ETQName:
3601     @@@:
3602 wakaba 1.2 xhtml1:del
3603 wakaba 1.4 @@ForCheck:ForDel
3604    
3605 wakaba 1.8 @elementType:
3606     @@@: ||ForHTML40SE||ForIns
3607     @@ForCheck: ManakaiDOM|DOM1 !ManakaiDOM|DOM2
3608     @@ContentType: DISCore|TFPQNames
3609     @elementType:
3610     @@@: ||ForHTML401||ForIns
3611     @@ForCheck: ManakaiDOM|DOM2
3612     @@ContentType: DISCore|TFPQNames
3613     @elementType:
3614     @@@: ||ForXHTML10SE||ForIns
3615     @@ForCheck: ManakaiDOM|DOM2
3616     @@ContentType: DISCore|TFPQNames
3617    
3618     @elementType:
3619     @@@: ||ForHTML40SE||ForDel
3620     @@ForCheck: ManakaiDOM|DOM1 !ManakaiDOM|DOM2
3621     @@ContentType: DISCore|TFPQNames
3622     @elementType:
3623     @@@: ||ForHTML401||ForDel
3624     @@ForCheck: ManakaiDOM|DOM2
3625     @@ContentType: DISCore|TFPQNames
3626     @elementType:
3627     @@@: ||ForXHTML10SE||ForDel
3628     @@ForCheck: ManakaiDOM|DOM2
3629     @@ContentType: DISCore|TFPQNames
3630    
3631 wakaba 1.4 @IFQName: HTMLModElement
3632     @ClsQName:ManakaiDOMHTMLModElement
3633     @ISAHTMLElement:
3634     @L1IF:
3635    
3636     @ATTR:
3637 wakaba 1.1 @@Name: cite
3638     @@Get:
3639     @@@Type: DOMString
3640     @@Set:
3641     @@@Type: DOMString
3642 wakaba 1.4 @ATTR:
3643     @@AName: datetime
3644     @@DOMAName: dateTime
3645 wakaba 1.1 @@Get:
3646     @@@Type: DOMString
3647     @@Set:
3648     @@@Type: DOMString
3649 wakaba 1.2
3650 wakaba 1.4 ET:
3651     @ETQName:
3652     xhtml1:a
3653     @IFQName: HTMLAnchorElement
3654     @ClsQName:ManakaiDOMHTMLAnchorElement
3655     @ISAHTMLElement:
3656     @L1IF:
3657    
3658     @ATTR:
3659     @@AName:accesskey
3660     @@DOMAName: accessKey
3661 wakaba 1.1 @@Get:
3662     @@@Type: DOMString
3663     @@Set:
3664     @@@Type: DOMString
3665 wakaba 1.4 @ATTR:
3666 wakaba 1.1 @@Name: charset
3667     @@Get:
3668     @@@Type: DOMString
3669     @@Set:
3670     @@@Type: DOMString
3671 wakaba 1.4 @ATTR:
3672 wakaba 1.1 @@Name: coords
3673     @@Get:
3674     @@@Type: DOMString
3675     @@Set:
3676     @@@Type: DOMString
3677 wakaba 1.4 @ATTR:
3678 wakaba 1.1 @@Name: href
3679     @@Get:
3680     @@@Type: DOMString
3681     @@Set:
3682     @@@Type: DOMString
3683 wakaba 1.4 @ATTR:
3684 wakaba 1.1 @@Name: hreflang
3685     @@Get:
3686     @@@Type: DOMString
3687     @@Set:
3688     @@@Type: DOMString
3689 wakaba 1.4 @ATTR:
3690 wakaba 1.1 @@Name: name
3691     @@Get:
3692     @@@Type: DOMString
3693     @@Set:
3694     @@@Type: DOMString
3695 wakaba 1.4 @ATTR:
3696 wakaba 1.1 @@Name: rel
3697     @@Get:
3698     @@@Type: DOMString
3699     @@Set:
3700     @@@Type: DOMString
3701 wakaba 1.4 @ATTR:
3702 wakaba 1.1 @@Name: rev
3703     @@Get:
3704     @@@Type: DOMString
3705     @@Set:
3706     @@@Type: DOMString
3707 wakaba 1.4 @ATTR:
3708 wakaba 1.1 @@Name: shape
3709     @@Get:
3710     @@@Type: DOMString
3711     @@Set:
3712     @@@Type: DOMString
3713 wakaba 1.4 @ATTR:
3714     @@AName:tabindex
3715     @@DOMAName: tabIndex
3716 wakaba 1.1 @@Get:
3717     @@@Type:
3718     DOMMain:long
3719     @@Set:
3720     @@@Type:
3721     DOMMain:long
3722 wakaba 1.4 @ATTR:
3723 wakaba 1.1 @@Name: target
3724     @@Get:
3725     @@@Type: DOMString
3726     @@Set:
3727     @@@Type: DOMString
3728 wakaba 1.4 @ATTR:
3729 wakaba 1.1 @@Name: type
3730     @@Get:
3731     @@@Type: DOMString
3732     @@Set:
3733     @@@Type: DOMString
3734     @Method:
3735     @@Name: blur
3736 wakaba 1.4 @@Description:
3737 wakaba 1.2 @@@lang:en
3738     @@@@:Remove the focus from this element.
3739     @@Return:
3740 wakaba 1.1 @Method:
3741     @@Name: focus
3742 wakaba 1.2 @@Description:
3743     @@@lang:en
3744     @@@@:Give the focus to this element.
3745     @@Return:
3746     ##IF:HTMLAnchorElement
3747    
3748 wakaba 1.4 ET:
3749     @ETQName:
3750     xhtml1:img
3751     @IFQName: HTMLImageElement
3752     @ClsQName:ManakaiDOMHTMLImageElement
3753     @ISAHTMLElement:
3754     @L1IF:
3755    
3756 wakaba 1.1 @Attr:
3757     @@Name: name
3758 wakaba 1.2 @@Description:
3759     @@@lang:en
3760     @@@@:
3761     The name of the element.
3762     \
3763     {NOTE:: This attribute is provided for backwards compatibility.
3764     Whilst HTML 4.01 added the <HA:name> attribute
3765     for compatibility, the DOM HTML Specifications
3766     does not address this fact - i.e. HTML's and DOM's
3767     <CODE:name> attributes are not formally associated.
3768     \
3769     }
3770     @@DocAttr:
3771 wakaba 1.4 @@@@:
3772     ::ForHTML401
3773     @@@For:
3774     ManakaiDOM:ManakaiDOMLatest
3775     @@DocAttr:
3776     @@@@:
3777     ::ForXHTML10SE
3778     @@@For:
3779     ManakaiDOM:ManakaiDOMLatest
3780 wakaba 1.1 @@Get:
3781     @@@Type: DOMString
3782     @@Set:
3783     @@@Type: DOMString
3784 wakaba 1.4 @ATTR:
3785 wakaba 1.1 @@Name: align
3786 wakaba 1.4 @@Deprecated:
3787 wakaba 1.1 @@Get:
3788     @@@Type: DOMString
3789     @@Set:
3790     @@@Type: DOMString
3791 wakaba 1.4 @ATTR:
3792 wakaba 1.1 @@Name: alt
3793     @@Get:
3794     @@@Type: DOMString
3795     @@Set:
3796     @@@Type: DOMString
3797 wakaba 1.4 @ATTR:
3798 wakaba 1.1 @@Name: border
3799 wakaba 1.4 @@Deprecated:
3800 wakaba 1.1 @@Get:
3801     @@@Type: DOMString
3802     @@Set:
3803     @@@Type: DOMString
3804 wakaba 1.2 @@ImplNote:
3805     @@@lang:en
3806     @@@@:
3807     The type is <TYPE:DOMString> in both DOM Levels 1 and 2.
3808 wakaba 1.4 @ATTR:
3809 wakaba 1.1 @@Name: height
3810 wakaba 1.4 @@Deprecated:
3811     @@Type:
3812     @@@@:
3813     DOMMain:long
3814     @@@For:
3815     ManakaiDOM:DOM2
3816     @@Type:
3817     @@@@:
3818     DOMMain:DOMString
3819     @@@For:
3820     ManakaiDOM:DOM1 !ManakaiDOM:DOM2
3821 wakaba 1.1 @@Get:
3822     @@@Type:
3823     DOMMain:long
3824     @@Set:
3825     @@@Type:
3826     DOMMain:long
3827     @@Level[list]:
3828 wakaba 1.2 1
3829 wakaba 1.1 2
3830     @@SpecLevel[list]:
3831 wakaba 1.2 1
3832 wakaba 1.1 2
3833 wakaba 1.4 @ATTR:
3834 wakaba 1.1 @@Name: hspace
3835 wakaba 1.4 @@Deprecated:
3836 wakaba 1.1 @@Get:
3837 wakaba 1.4 @@@Type:
3838     @@@@@:
3839 wakaba 1.1 DOMMain:long
3840 wakaba 1.4 @@@@For:
3841     ManakaiDOM:DOM2
3842     @@@Type:
3843     @@@@@:
3844     DOMMain:DOMString
3845     @@@@For:
3846     ManakaiDOM:DOM1 !ManakaiDOM:DOM2
3847     @@Set:
3848     @@@Type:
3849     @@@@@:
3850     DOMMain:long
3851     @@@@For:
3852     ManakaiDOM:DOM2
3853     @@@Type:
3854     @@@@@:
3855     DOMMain:DOMString
3856     @@@@For:
3857     ManakaiDOM:DOM1 !ManakaiDOM:DOM2
3858 wakaba 1.1 @@Level[list]:
3859 wakaba 1.2 1
3860 wakaba 1.1 2
3861     @@SpecLevel[list]:
3862 wakaba 1.2 1
3863 wakaba 1.1 2
3864 wakaba 1.4 @ATTR:
3865     @@AName:ismap
3866     @@DOMAName: isMap
3867 wakaba 1.1 @@Get:
3868     @@@Type:
3869     DOMMain:boolean
3870     @@@InCase:
3871     @@@@Value: true
3872     @@@InCase:
3873     @@@@Value: false
3874     @@Set:
3875     @@@Type:
3876     DOMMain:boolean
3877     @@@InCase:
3878     @@@@Value: true
3879     @@@InCase:
3880     @@@@Value: false
3881 wakaba 1.4 @ATTR:
3882     @@AName:longdesc
3883     @@DOMAName: longDesc
3884 wakaba 1.1 @@Get:
3885     @@@Type: DOMString
3886     @@Set:
3887     @@@Type: DOMString
3888 wakaba 1.4 @ATTR:
3889 wakaba 1.1 @@Name: src
3890     @@Get:
3891     @@@Type: DOMString
3892     @@Set:
3893     @@@Type: DOMString
3894 wakaba 1.4 @ATTR:
3895     @@AName:usemap
3896     @@DOMAName: useMap
3897 wakaba 1.1 @@Get:
3898     @@@Type: DOMString
3899     @@Set:
3900     @@@Type: DOMString
3901 wakaba 1.2 @@ImplNote:
3902     @@@lang:en
3903     @@@@:
3904     The HTML 4 and XHTML 1.0 <HA:usemap> attribute value is
3905     of <SGML:%URI;>, while the XHTML m12n <HA:usemap> value
3906     is <XML:IDREF>.
3907 wakaba 1.4 @ATTR:
3908 wakaba 1.1 @@Name: vspace
3909 wakaba 1.4 @@Deprecated:
3910     @@Type:
3911     @@@@:
3912     DOMMain:long
3913     @@@For:
3914     ManakaiDOM:DOM2
3915     @@Type:
3916     @@@@:
3917     DOMMain:DOMString
3918     @@@For:
3919     ManakaiDOM:DOM1 !ManakaiDOM:DOM2
3920 wakaba 1.1 @@Get:
3921     @@Set:
3922     @@Level[list]:
3923 wakaba 1.2 1
3924 wakaba 1.1 2
3925     @@SpecLevel[list]:
3926 wakaba 1.2 1
3927 wakaba 1.1 2
3928     @Attr:
3929     @@Name: width
3930 wakaba 1.4 @@Deprecated:
3931     @@Type:
3932     @@@@:
3933     DOMMain:long
3934     @@@For:
3935     ManakaiDOM:DOM2
3936     @@Type:
3937     @@@@:
3938     DOMMain:DOMString
3939     @@@For:
3940     ManakaiDOM:DOM1 !ManakaiDOM:DOM2
3941 wakaba 1.1 @@Get:
3942     @@Set:
3943     @@Level[list]:
3944 wakaba 1.2 1
3945 wakaba 1.1 2
3946     @@SpecLevel[list]:
3947 wakaba 1.2 1
3948 wakaba 1.1 2
3949 wakaba 1.2 ##IF:HTMLImageElement
3950    
3951 wakaba 1.4 ET:
3952     @ETQName:
3953     xhtml1:object
3954     @IFQName: HTMLObjectElement
3955     @ClsQName:ManakaiDOMHTMLObjectElement
3956     @ISAHTMLElement:
3957     @L1IF:
3958    
3959 wakaba 1.2 @ImplNote:
3960     @@lang:en
3961     @@@:
3962     In some environments some attributes may be read-only
3963     once the underlying object is instantiated.
3964 wakaba 1.1 @Attr:
3965     @@Name: form
3966 wakaba 1.2 @@Description:
3967     @@@lang:en
3968     @@@@:
3969     The <HE:form> element containing this control.
3970 wakaba 1.1 @@Get:
3971 wakaba 1.2 @@@Type:
3972 wakaba 1.4 DOMHTML:HTMLFormElement
3973 wakaba 1.2 @@@Description:
3974     @@@@lang:en
3975     @@@@@:
3976     This control is not within the context of a form.
3977 wakaba 1.1 @Attr:
3978     @@Name: code
3979     @@Get:
3980     @@@Type: DOMString
3981     @@Set:
3982     @@@Type: DOMString
3983 wakaba 1.4 @ATTR:
3984 wakaba 1.1 @@Name: align
3985 wakaba 1.4 @@Deprecated:
3986 wakaba 1.1 @@Get:
3987     @@@Type: DOMString
3988     @@Set:
3989     @@@Type: DOMString
3990 wakaba 1.4 @ATTR:
3991 wakaba 1.1 @@Name: archive
3992     @@Get:
3993     @@@Type: DOMString
3994     @@Set:
3995     @@@Type: DOMString
3996 wakaba 1.4 @ATTR:
3997 wakaba 1.1 @@Name: border
3998 wakaba 1.4 @@Deprecated:
3999 wakaba 1.1 @@Get:
4000     @@@Type: DOMString
4001     @@Set:
4002     @@@Type: DOMString
4003 wakaba 1.4 @ATTR:
4004     @@AName:codebase
4005     @@DOMAName: codeBase
4006 wakaba 1.1 @@Get:
4007     @@@Type: DOMString
4008     @@Set:
4009     @@@Type: DOMString
4010 wakaba 1.4 @ATTR:
4011     @@AName:codetype
4012     @@DOMAName: codeType
4013 wakaba 1.1 @@Get:
4014     @@@Type: DOMString
4015     @@Set:
4016     @@@Type: DOMString
4017 wakaba 1.4 @ATTR:
4018 wakaba 1.1 @@Name: data
4019     @@Get:
4020     @@@Type: DOMString
4021     @@Set:
4022     @@@Type: DOMString
4023 wakaba 1.4 @ATTR:
4024 wakaba 1.1 @@Name: declare
4025     @@Get:
4026     @@@Type:
4027     DOMMain:boolean
4028     @@@InCase:
4029     @@@@Value: true
4030     @@@InCase:
4031     @@@@Value: false
4032     @@Set:
4033     @@@Type:
4034     DOMMain:boolean
4035     @@@InCase:
4036     @@@@Value: true
4037     @@@InCase:
4038     @@@@Value: false
4039 wakaba 1.4 @ATTR:
4040 wakaba 1.1 @@Name: height
4041 wakaba 1.4 @@Deprecated:
4042 wakaba 1.1 @@Get:
4043     @@@Type: DOMString
4044     @@Set:
4045     @@@Type: DOMString
4046 wakaba 1.4 @ATTR:
4047 wakaba 1.1 @@Name: hspace
4048 wakaba 1.4 @@Deprecated:
4049 wakaba 1.1 @@Get:
4050     @@@Type:
4051     DOMMain:long
4052     @@Set:
4053     @@@Type:
4054     DOMMain:long
4055 wakaba 1.4 @ATTR:
4056 wakaba 1.1 @@Name: name
4057     @@Get:
4058     @@@Type: DOMString
4059     @@Set:
4060     @@@Type: DOMString
4061 wakaba 1.4 @ATTR:
4062     @@AName:standby
4063     @@DOMAName: standby
4064 wakaba 1.1 @@Get:
4065     @@@Type: DOMString
4066     @@Set:
4067     @@@Type: DOMString
4068 wakaba 1.4 @ATTR:
4069     @@AName:tabindex
4070     @@DOMAName: tabIndex
4071 wakaba 1.1 @@Get:
4072     @@@Type:
4073     DOMMain:long
4074     @@Set:
4075     @@@Type:
4076     DOMMain:long
4077 wakaba 1.4 @ATTR:
4078 wakaba 1.1 @@Name: type
4079     @@Get:
4080     @@@Type: DOMString
4081     @@Set:
4082     @@@Type: DOMString
4083     @Attr:
4084 wakaba 1.4 @@AName:usemap
4085     @@DOMAName: useMap
4086 wakaba 1.1 @@Get:
4087     @@@Type: DOMString
4088     @@Set:
4089     @@@Type: DOMString
4090 wakaba 1.2 @@ImplNote:
4091     @@@lang:en
4092     @@@@:
4093     In HTML 4 or XHTML 1.0, the <HA:usemap> attribute is
4094     a <SGML:%URI;>. In XHTML m12n, the <HA:usemap>
4095     is an <XML:IDREF>.
4096 wakaba 1.4 @ATTR:
4097 wakaba 1.1 @@Name: vspace
4098 wakaba 1.4 @@Deprecated:
4099 wakaba 1.1 @@Get:
4100     @@@Type:
4101     DOMMain:long
4102     @@Set:
4103     @@@Type:
4104     DOMMain:long
4105 wakaba 1.4 @ATTR:
4106 wakaba 1.1 @@Name: width
4107     @@Get:
4108     @@@Type: DOMString
4109     @@Set:
4110     @@@Type: DOMString
4111     @Attr:
4112     @@Name: contentDocument
4113 wakaba 1.2 @@Description:
4114     @@@lang:en
4115     @@@@:
4116     The document this object contains, if any and available.
4117 wakaba 1.1 @@Get:
4118     @@@Type: Document
4119 wakaba 1.2 @@@InCase:
4120     @@@@Value:
4121     @@@@@is-null:1
4122     @@@@Description:
4123     @@@@@lang:en
4124     @@@@@@:
4125     There is no containing document or
4126     there is but it is not available.
4127 wakaba 1.4 @@@Def:
4128     @@@@ContentType:
4129     lang:dis
4130     @@@@GetPropNode:
4131     DOMHTML:contentDocument
4132 wakaba 1.1 @@Level[list]: 2
4133     @@SpecLevel[list]: 2
4134 wakaba 1.4 @@L2:
4135 wakaba 1.2 ##IF:HTMLObjectElement
4136    
4137 wakaba 1.4 PropDef:
4138 wakaba 1.7 @QName: referrer
4139     @enDesc:
4140     <A::HTMLDocument.referrer>.
4141    
4142     PropDef:
4143 wakaba 1.4 @QName: contentDocument
4144     @Type:
4145     ManakaiDOMCore:ManakaiDOMNodeObjectNode::ManakaiDOM:ManakaiDOMCommon
4146     @Description:
4147     @@lang:en
4148     @@@:
4149     An (external) <IF::Document> node object referred from an element.
4150    
4151     ET:
4152     @ETQName:
4153     xhtml1:param
4154     @IFQName: HTMLParamElement
4155     @ClsQName:ManakaiDOMHTMLParamElement
4156     @ISAHTMLElement:
4157     @L1IF:
4158    
4159     @ATTR:
4160 wakaba 1.1 @@Name: name
4161     @@Get:
4162     @@@Type: DOMString
4163     @@Set:
4164     @@@Type: DOMString
4165 wakaba 1.4 @ATTR:
4166 wakaba 1.1 @@Name: type
4167     @@Get:
4168     @@@Type: DOMString
4169     @@Set:
4170     @@@Type: DOMString
4171 wakaba 1.4 @ATTR:
4172 wakaba 1.1 @@Name: value
4173     @@Get:
4174     @@@Type: DOMString
4175     @@Set:
4176     @@@Type: DOMString
4177 wakaba 1.4 @ATTR:
4178     @@AName:valuetype
4179     @@DOMAName: valueType
4180 wakaba 1.1 @@Get:
4181     @@@Type: DOMString
4182     @@Set:
4183     @@@Type: DOMString
4184 wakaba 1.2
4185 wakaba 1.4 ET:
4186     @ETQName:
4187     xhtml1:applet
4188     @IFQName: HTMLAppletElement
4189     @ClsQName:ManakaiDOMHTMLAppletElement
4190     @ISAHTMLElement:
4191     @L1IF:
4192     @Deprecated:
4193    
4194     @ATTR:
4195 wakaba 1.1 @@Name: align
4196 wakaba 1.4 @@Deprecated:
4197 wakaba 1.1 @@Get:
4198     @@@Type: DOMString
4199     @@Set:
4200     @@@Type: DOMString
4201 wakaba 1.4 @ATTR:
4202 wakaba 1.1 @@Name: alt
4203 wakaba 1.4 @@Deprecated:
4204 wakaba 1.1 @@Get:
4205     @@@Type: DOMString
4206     @@Set:
4207     @@@Type: DOMString
4208 wakaba 1.4 @ATTR:
4209 wakaba 1.1 @@Name: archive
4210 wakaba 1.4 @@Deprecated:
4211 wakaba 1.1 @@Get:
4212     @@@Type: DOMString
4213     @@Set:
4214     @@@Type: DOMString
4215 wakaba 1.4 @ATTR:
4216 wakaba 1.1 @@Name: code
4217 wakaba 1.4 @@Deprecated:
4218 wakaba 1.1 @@Get:
4219     @@@Type: DOMString
4220     @@Set:
4221     @@@Type: DOMString
4222 wakaba 1.4 @ATTR:
4223     @@AName:codebase
4224     @@DOMAName: codeBase
4225     @@Deprecated:
4226 wakaba 1.1 @@Get:
4227     @@@Type: DOMString
4228     @@Set:
4229     @@@Type: DOMString
4230 wakaba 1.4 @ATTR:
4231 wakaba 1.2 @@Name: height
4232 wakaba 1.4 @@Deprecated:
4233 wakaba 1.2 @@Get:
4234 wakaba 1.1 @@@Type: DOMString
4235     @@Set:
4236     @@@Type: DOMString
4237 wakaba 1.4 @ATTR:
4238 wakaba 1.1 @@Name: hspace
4239 wakaba 1.4 @@Deprecated:
4240 wakaba 1.1 @@Get:
4241 wakaba 1.4 @@@Type:
4242     @@@@@:
4243 wakaba 1.1 DOMMain:long
4244 wakaba 1.4 @@@@For:
4245     ManakaiDOM:DOM2
4246     @@@Type:
4247     @@@@@:
4248     DOMMain:DOMString
4249     @@@@For:
4250     ManakaiDOM:DOM1 !ManakaiDOM:DOM2
4251     @@Set:
4252     @@@Type:
4253     @@@@@:
4254     DOMMain:long
4255     @@@@For:
4256     ManakaiDOM:DOM2
4257     @@@Type:
4258     @@@@@:
4259     DOMMain:DOMString
4260     @@@@For:
4261     ManakaiDOM:DOM1 !ManakaiDOM:DOM2
4262 wakaba 1.1 @@Level[list]:
4263 wakaba 1.2 1
4264 wakaba 1.1 2
4265     @@SpecLevel[list]:
4266 wakaba 1.2 1
4267 wakaba 1.1 2
4268 wakaba 1.4 @ATTR:
4269 wakaba 1.1 @@Name: name
4270 wakaba 1.4 @@Deprecated:
4271 wakaba 1.1 @@Get:
4272     @@@Type: DOMString
4273     @@Set:
4274     @@@Type: DOMString
4275     @Attr:
4276     @@Name: object
4277 wakaba 1.4 @@Deprecated:
4278 wakaba 1.1 @@Get:
4279     @@@Type: DOMString
4280     @@Set:
4281     @@@Type: DOMString
4282     @@Level[list]:
4283 wakaba 1.2 1
4284 wakaba 1.1 @@SpecLevel[list]:
4285 wakaba 1.2 1
4286 wakaba 1.1 2
4287     @Attr:
4288     @@Name: vspace
4289 wakaba 1.4 @@Deprecated:
4290     @@Type:
4291     @@@@:
4292     DOMMain:long
4293     @@@For:
4294     ManakaiDOM:DOM2
4295     @@Type:
4296     @@@@:
4297     DOMMain:DOMString
4298     @@@For:
4299     ManakaiDOM:DOM1 !ManakaiDOM:DOM2
4300 wakaba 1.1 @@Get:
4301     @@Set:
4302     @@Level[list]:
4303 wakaba 1.2 1
4304 wakaba 1.1 2
4305     @@SpecLevel[list]:
4306 wakaba 1.2 1
4307 wakaba 1.1 2
4308     @Attr:
4309     @@Name: width
4310 wakaba 1.4 @@Deprecated:
4311 wakaba 1.1 @@Get:
4312     @@@Type: DOMString
4313     @@Set:
4314     @@@Type: DOMString
4315 wakaba 1.2 ##IF:HTMLAppletElement
4316 wakaba 1.7
4317     ResourceDef:
4318     @QName:
4319     DOMMain:long
4320     @AliasFor:
4321     DOMMain:long::ManakaiDOM:all
4322     @ForCheck:
4323     !=ManakaiDOM:all
4324 wakaba 1.2
4325 wakaba 1.4 ET:
4326     @ETQName:
4327     xhtml1:map
4328     @IFQName: HTMLMapElement
4329     @ClsQName:ManakaiDOMHTMLMapElement
4330     @ISAHTMLElement:
4331     @L1IF:
4332    
4333 wakaba 1.1 @Attr:
4334     @@Name: areas
4335 wakaba 1.2 @@Description:
4336     @@@lang:en
4337     @@@@:
4338     The list of areas defined for this image map.
4339 wakaba 1.1 @@Get:
4340     @@@Type: HTMLCollection
4341 wakaba 1.4 @ATTR:
4342 wakaba 1.1 @@Name: name
4343     @@Get:
4344     @@@Type: DOMString
4345     @@Set:
4346     @@@Type: DOMString
4347 wakaba 1.2 ##IF:HTMLMapElement
4348    
4349 wakaba 1.4 ET:
4350     @ETQName:
4351     xhtml1:area
4352     @IFQName: HTMLAreaElement
4353     @ClsQName:ManakaiDOMAreaElement
4354     @ISAHTMLElement:
4355     @L1IF:
4356    
4357     @ATTR:
4358     @@AName: accesskey
4359     @@DOMAName: accessKey
4360 wakaba 1.1 @@Get:
4361     @@@Type: DOMString
4362     @@Set:
4363     @@@Type: DOMString
4364 wakaba 1.4 @ATTR:
4365 wakaba 1.1 @@Name: alt
4366     @@Get:
4367     @@@Type: DOMString
4368     @@Set:
4369     @@@Type: DOMString
4370 wakaba 1.4 @ATTR:
4371 wakaba 1.1 @@Name: coords
4372     @@Get:
4373     @@@Type: DOMString
4374     @@Set:
4375     @@@Type: DOMString
4376 wakaba 1.4 @ATTR:
4377 wakaba 1.1 @@Name: href
4378     @@Get:
4379     @@@Type: DOMString
4380     @@Set:
4381     @@@Type: DOMString
4382 wakaba 1.4 @ATTR:
4383     @@AName:nohref
4384     @@DOMAName: noHref
4385 wakaba 1.1 @@Get:
4386     @@@Type:
4387     DOMMain:boolean
4388     @@@InCase:
4389     @@@@Value: true
4390     @@@InCase:
4391     @@@@Value: false
4392     @@Set:
4393     @@@Type:
4394     DOMMain:boolean
4395     @@@InCase:
4396     @@@@Value: true
4397     @@@InCase:
4398     @@@@Value: false
4399 wakaba 1.4 @ATTR:
4400 wakaba 1.1 @@Name: shape
4401     @@Get:
4402     @@@Type: DOMString
4403     @@Set:
4404     @@@Type: DOMString
4405     @Attr:
4406 wakaba 1.4 @@AName:tabindex
4407     @@DOMAName: tabIndex
4408 wakaba 1.1 @@Get:
4409     @@@Type:
4410     DOMMain:long
4411     @@Set:
4412     @@@Type:
4413     DOMMain:long
4414 wakaba 1.4 @ATTR:
4415 wakaba 1.1 @@Name: target
4416     @@Get:
4417     @@@Type: DOMString
4418     @@Set:
4419     @@@Type: DOMString
4420 wakaba 1.2 ##IF:HTMLAreaElement
4421    
4422 wakaba 1.4 ET:
4423     @ETQName:
4424     xhtml1:script
4425     @IFQName: HTMLScriptElement
4426     @ClsQName:ManakaiDOMHTMLScriptElement
4427     @ISAHTMLElement:
4428     @L1IF:
4429    
4430 wakaba 1.1 @Attr:
4431     @@Name: text
4432 wakaba 1.2 @@Description:
4433     @@@lang:en
4434     @@@@:
4435     The script content of this element.
4436     @@ImplNote:
4437     @@@lang:en
4438     @@@@:
4439     ISSUE: How interact with <HA:src>?
4440 wakaba 1.1 @@Get:
4441     @@@Type: DOMString
4442     @@Set:
4443     @@@Type: DOMString
4444     @Attr:
4445 wakaba 1.4 @@DOMAName: htmlFor
4446 wakaba 1.2 @@Description:
4447     @@@lang:en
4448     @@@@:
4449     {NOTE:: Reserved for future use by the DOM HTML Specifications.
4450     The HTML <HA:for> attribute is also reserved
4451     by the HTML 4 Specifications.
4452     \
4453     }
4454 wakaba 1.1 @@Get:
4455     @@@Type: DOMString
4456     @@Set:
4457     @@@Type: DOMString
4458     @Attr:
4459     @@Name: event
4460 wakaba 1.2 @@Description:
4461     @@@lang:en
4462     @@@@:
4463     {NOTE:: Reserved for future use by the DOM HTML Specifications.
4464     The HTML <HA:event> attribute is also reserved
4465     by the HTML 4 Specification.
4466     \
4467     }
4468 wakaba 1.1 @@Get:
4469     @@@Type: DOMString
4470     @@Set:
4471     @@@Type: DOMString
4472 wakaba 1.4 @ATTR:
4473 wakaba 1.1 @@Name: charset
4474     @@Get:
4475     @@@Type: DOMString
4476     @@Set:
4477     @@@Type: DOMString
4478 wakaba 1.4 @ATTR:
4479 wakaba 1.1 @@Name: defer
4480     @@Get:
4481     @@@Type:
4482     DOMMain:boolean
4483     @@@InCase:
4484     @@@@Value: true
4485     @@@InCase:
4486     @@@@Value: false
4487     @@Set:
4488     @@@Type:
4489     DOMMain:boolean
4490     @@@InCase:
4491     @@@@Value: true
4492     @@@InCase:
4493     @@@@Value: false
4494 wakaba 1.4 @ATTR:
4495 wakaba 1.1 @@Name: src
4496     @@Get:
4497     @@@Type: DOMString
4498     @@Set:
4499     @@@Type: DOMString
4500 wakaba 1.4 @ATTR:
4501 wakaba 1.1 @@Name: type
4502     @@Get:
4503     @@@Type: DOMString
4504     @@Set:
4505     @@@Type: DOMString
4506 wakaba 1.2 ##IF:HTMLScriptElement
4507    
4508 wakaba 1.4 ET:
4509     @ETQName:
4510     xhtml1:table
4511     @IFQName: HTMLTableElement
4512     @ClsQName:ManakaiDOMHTMLTableElement
4513     @ISAHTMLElement:
4514     @L1IF:
4515    
4516 wakaba 1.1 @Attr:
4517     @@Name: caption
4518 wakaba 1.2 @@Description:
4519     @@@lang:en
4520     @@@@:
4521     The <HE:caption> of the table.
4522 wakaba 1.1 @@Get:
4523     @@@Type: HTMLTableCaptionElement
4524 wakaba 1.2 @@@InCase:
4525     @@@@Label:
4526     @@@@@lang:en
4527     @@@@@@:
4528     void (= <DOM:null>?)
4529     @@@@Description:
4530     @@@@@lang:en
4531     @@@@@@: There is no caption.
4532 wakaba 1.1 @@Set:
4533     @@@Type: HTMLTableCaptionElement
4534     @@@Exception:
4535 wakaba 1.4 @@@@@:
4536     ManakaiDOMHTML:MDOM_NOT_CAPTION
4537     @@@@Description:
4538     @@@@@lang:en
4539     @@@@@@:
4540     The given element is not a <HE:caption>.
4541 wakaba 1.1 @@Level[list]:
4542 wakaba 1.2 1
4543 wakaba 1.1 @@SpecLevel[list]:
4544 wakaba 1.2 1
4545 wakaba 1.1 2
4546     @Attr:
4547     @@Name: tHead
4548 wakaba 1.2 @@Description:
4549     @@@lang:en
4550     @@@@:
4551     The <HE:thead> of this table.
4552 wakaba 1.1 @@Get:
4553     @@@Type: HTMLTableSectionElement
4554 wakaba 1.2 @@@InCase:
4555     @@@@Value:
4556     @@@@@is-null:1
4557     @@@@Description:
4558     @@@@@lang:en
4559     @@@@@@:
4560     There is no <HE:thead>.
4561 wakaba 1.1 @@Set:
4562     @@@Type: HTMLTableSectionElement
4563     @@@Exception:
4564 wakaba 1.2 @@@@Name: HIERARCHY_REQUEST_ERR
4565 wakaba 1.1 @@@@Type:
4566     DOMCore:DOMException
4567 wakaba 1.2 @@@@SubType:
4568     ManakaiDOMHTML:MDOM_BAD_ELEMENT_TYPE
4569     @@@@Description:
4570     @@@@@lang:en
4571     @@@@@@:
4572     The given element is not a <HE:thead>.
4573 wakaba 1.1 @@Level[list]:
4574     1
4575     @@SpecLevel[list]:
4576     1
4577     2
4578     @Attr:
4579     @@Name: tFoot
4580 wakaba 1.2 @@Description:
4581     @@@lang:en
4582     @@@@:
4583     The <HE:tfoot> of this table.
4584 wakaba 1.1 @@Get:
4585     @@@Type: HTMLTableSectionElement
4586 wakaba 1.2 @@@InCase:
4587     @@@@Value:
4588     @@@@@is-null:1
4589     @@@@Description:
4590     @@@@@lang:en
4591     @@@@@@:
4592     There is no <HE:tfoot>.
4593 wakaba 1.1 @@Set:
4594     @@@Type: HTMLTableSectionElement
4595     @@@Exception:
4596 wakaba 1.2 @@@@Name: HIERARCHY_REQUEST_ERR
4597 wakaba 1.1 @@@@Type:
4598     DOMCore:DOMException
4599 wakaba 1.2 @@@@SubType:
4600     @@@@@QName:
4601     ManakaiDOMHTML:MDOM_NOT_TFOOT
4602     @@@@@Description:
4603     @@@@@@lang:en
4604     @@@@@@@:
4605     The given element is not a <HE:tfoot>.
4606 wakaba 1.1 @@Level[list]:
4607     1
4608     @@SpecLevel[list]:
4609     1
4610     2
4611     @Attr:
4612     @@Name: rows
4613 wakaba 1.2 @@Description:
4614     @@@lang:en
4615     @@@@:
4616     A collection of all the rows (child or grandchild
4617     <HE:tr> elements) in this table.
4618 wakaba 1.1 @@Get:
4619     @@@Type: HTMLCollection
4620     @Attr:
4621     @@Name: tBodies
4622 wakaba 1.2 @@Description:
4623     @@@lang:en
4624     @@@@:
4625     A collection of the table bodies.
4626     @@ImplNote:
4627     @@@lang:en
4628     @@@@:
4629     ISSUE: What is collected if simple table?
4630 wakaba 1.1 @@Get:
4631     @@@Type: HTMLCollection
4632 wakaba 1.4 @ATTR:
4633 wakaba 1.1 @@Name: align
4634 wakaba 1.4 @@Deprecated:
4635 wakaba 1.1 @@Get:
4636     @@@Type: DOMString
4637     @@Set:
4638     @@@Type: DOMString
4639 wakaba 1.4 @ATTR:
4640     @@AName:bgcolor
4641     @@DOMAName: bgColor
4642 wakaba 1.1 @@Get:
4643     @@@Type: DOMString
4644     @@Set:
4645     @@@Type: DOMString
4646 wakaba 1.4 @ATTR:
4647 wakaba 1.1 @@Name: border
4648     @@Get:
4649     @@@Type: DOMString
4650     @@Set:
4651     @@@Type: DOMString
4652 wakaba 1.4 @ATTR:
4653     @@AName:cellpadding
4654     @@DOMAName: cellPadding
4655 wakaba 1.1 @@Get:
4656     @@@Type: DOMString
4657     @@Set:
4658     @@@Type: DOMString
4659 wakaba 1.4 @ATTR:
4660     @@AName:cellspacing
4661     @@DOMAName: cellSpacing
4662 wakaba 1.1 @@Get:
4663     @@@Type: DOMString
4664     @@Set:
4665     @@@Type: DOMString
4666 wakaba 1.4 @ATTR:
4667 wakaba 1.1 @@Name: frame
4668     @@Get:
4669     @@@Type: DOMString
4670     @@Set:
4671     @@@Type: DOMString
4672 wakaba 1.2 @@ImplNote:
4673     @@@lang:en
4674     @@@@:
4675     How <HTML:border> is implemented in DOM Level 0?
4676 wakaba 1.4 @ATTR:
4677 wakaba 1.1 @@Name: rules
4678     @@Get:
4679     @@@Type: DOMString
4680     @@Set:
4681     @@@Type: DOMString
4682 wakaba 1.4 @ATTR:
4683 wakaba 1.1 @@Name: summary
4684     @@Get:
4685     @@@Type: DOMString
4686     @@Set:
4687     @@@Type: DOMString
4688 wakaba 1.4 @ATTR:
4689 wakaba 1.1 @@Name: width
4690     @@Get:
4691     @@@Type: DOMString
4692     @@Set:
4693     @@@Type: DOMString
4694     @Method:
4695     @@Name: createTHead
4696 wakaba 1.2 @@Description:
4697     @@@lang:en
4698     @@@@:
4699     Create the <HE:thead> element (if it does not exist) and
4700     return it.
4701 wakaba 1.1 @@Return:
4702     @@@Type: HTMLElement
4703 wakaba 1.2 @@@Description:
4704     @@@@lang:en
4705     @@@@@:
4706     The <HE:thead> element.
4707 wakaba 1.1 @Method:
4708     @@Name: deleteTHead
4709 wakaba 1.2 @@Description:
4710     @@@lang:en
4711     @@@@:
4712     Delete the <HE:thead>, if any, from the table.
4713     @@Return:
4714 wakaba 1.1 @Method:
4715     @@Name: createTFoot
4716 wakaba 1.2 @@Description:
4717     @@@lang:en
4718     @@@@:
4719     Create the <HE:tfoot> element (if it does not exist) and
4720     return it.
4721 wakaba 1.1 @@Return:
4722     @@@Type: HTMLElement
4723 wakaba 1.2 @@@Description:
4724     @@@@lang:en
4725     @@@@@:
4726     The <HE:tfoot> element.
4727 wakaba 1.1 @Method:
4728     @@Name: deleteTFoot
4729 wakaba 1.2 @@Description:
4730     @@@lang:en
4731     @@@@:
4732     Delete the <HE:tfoot>, if any, from the table.
4733     @@Return:
4734 wakaba 1.1 @Method:
4735     @@Name: createCaption
4736 wakaba 1.2 @@Description:
4737     @@@lang:en
4738     @@@@:
4739     Create the table caption element (if it does not exist) and
4740     return it.
4741 wakaba 1.1 @@Return:
4742     @@@Type: HTMLElement
4743 wakaba 1.2 @@@Description:
4744     @@@@lang:en
4745     @@@@@: The table caption.
4746     @Method:
4747     @@Name: deleteCaption
4748     @@Description:
4749     @@@lang:en
4750     @@@@:
4751     Delete the table caption, if any.
4752     @@Return:
4753     @Method:
4754     @@Name: insertRow
4755     @@Description:
4756     @@@lang:en
4757     @@@@:
4758     Insert a new empty row in this table. If this table is
4759     empty, a <HE:tbody> is created and the new row is
4760     inserted into it.
4761     @@ImplNote:
4762     @@@lang:en
4763     @@@@:
4764     DOM HTML Specifications note that a table row
4765     cannot be empty according to HTML 4. But they do not
4766     require DOM implementations to add a table cell.
4767     @@Param:
4768     @@@Name: index
4769     @@@Type:
4770     DOMMain:long
4771     @@@Description:
4772     @@@@lang:en
4773     @@@@@:
4774     The ordinal index of the row where to insert a new row,
4775     starting from <DOM:0> and relative to the logical
4776     order (not the document order). The new row is
4777     inserted immediately before and in the same row group
4778     as the current <P:index>th row.
4779     @@@InCase:
4780     @@@@Value:-1
4781     @@@@Description:
4782     @@@@@lang:en
4783     @@@@@@:
4784     The new row is appended.
4785 wakaba 1.3 @@@@SpecLevel:2
4786 wakaba 1.2 @@@InCase:
4787     @@@@Label:
4788     @@@@@lang:en
4789     @@@@@@:
4790     The number of rows
4791     @@@@Description:
4792     @@@@@lang:en
4793     @@@@@@:
4794     The new row is appended.
4795 wakaba 1.3 @@@@SpecLevel:2
4796 wakaba 1.1 @@Return:
4797     @@@Type: HTMLElement
4798 wakaba 1.2 @@@Description:
4799     @@@@lang:en
4800     @@@@@:The newly created row.
4801 wakaba 1.1 @@@Exception:
4802 wakaba 1.2 @@@@Name: INDEX_SIZE_ERR
4803 wakaba 1.1 @@@@Type:
4804     DOMCore:DOMException
4805 wakaba 1.2 @@@@SubType:
4806     @@@@@QName:
4807     TODO: What?
4808     @@@@@Description:
4809     @@@@@@lang:en
4810     @@@@@@@:
4811     The <P:index> is greater than the number of rows
4812     or less than <DOM:-1>.
4813 wakaba 1.3 @@@@SpecLevel:2
4814     @@@@ImplNote:
4815     @@@@@lang:en
4816     @@@@@@:
4817     <SRC:DOM Level 1 Second Edition HTML, DOM Level 2 HTML>
4818     (<P:index> cannot <DOM:-1> in DOM Level 1.)
4819 wakaba 1.1 @@Level[list]:
4820     1
4821     2
4822     @@SpecLevel[list]:
4823     1
4824     2
4825     @Method:
4826     @@Name: deleteRow
4827 wakaba 1.2 @@Description:
4828     @@@lang:en
4829     @@@@:Delete a table row.
4830 wakaba 1.1 @@Param:
4831     @@@Name: index
4832     @@@Type:
4833     DOMMain:long
4834 wakaba 1.2 @@@Description:
4835     @@@@lang:en
4836     @@@@@:
4837     The ordinal index of the row to delete, starting from <DOM:0>
4838     and relative to the logical order (not document order).
4839     @@@InCase:
4840     @@@@Value:-1
4841     @@@@Description:
4842     @@@@@lang:en
4843     @@@@@@:
4844     The last row in the table is deleted.
4845 wakaba 1.3 @@@@SpecLevel:2
4846 wakaba 1.2 @@@ImplNote:
4847     @@@@lang:en
4848     @@@@@:
4849     In the order of <HE:thead> -> <HE:tbody>s -> <HE:tfoot>?
4850 wakaba 1.1 @@Return:
4851     @@@Exception:
4852 wakaba 1.2 @@@@Name: INDEX_SIZE_ERR
4853 wakaba 1.1 @@@@Type:
4854     DOMCore:DOMException
4855 wakaba 1.2 @@@@SubType:
4856     @@@@@QName:
4857     TODO: What?
4858     @@@@@Description:
4859     @@@@@@lang:en
4860     @@@@@@@:
4861     The <P:index> is greater than or equal to
4862     the number of rows or the <P:index> is
4863     less than <DOM:-1>.
4864 wakaba 1.3 @@@@SpecLevel:2
4865     @@@@ImplNote:
4866     @@@@@lang:en
4867     @@@@@@:
4868     <SRC:DOM Level 1 Second Edition HTML, DOM Level 2 HTML>
4869     (<P:index> cannot <DOM:-1> in DOM Level 1.)
4870 wakaba 1.1 @@Level[list]:
4871     1
4872     2
4873     @@SpecLevel[list]:
4874     1
4875     2
4876 wakaba 1.2 ##IF:HTMLTableElement
4877    
4878 wakaba 1.4 ET:
4879     @ETQName:
4880     xhtml1:caption
4881     @IFQName: HTMLTableCaptionElement
4882     @ClsQName:ManakaiDOMHTMLTableCaptionElement
4883     @ISAHTMLElement:
4884     @L1IF:
4885    
4886     @ATTR:
4887 wakaba 1.1 @@Name: align
4888 wakaba 1.4 @@Deprecated:
4889 wakaba 1.1 @@Get:
4890     @@@Type: DOMString
4891     @@Set:
4892     @@@Type: DOMString
4893 wakaba 1.2 ##IF:HTMLTableCaptionElement
4894    
4895 wakaba 1.4 ET:
4896     @ETQName:
4897     xhtml1:col
4898     @IFQName: HTMLTableColElement
4899     @ClsQName:ManakaiDOMHTMLTableColElement
4900     @ISAHTMLElement:
4901     @L1IF:
4902    
4903     @ATTR:
4904 wakaba 1.1 @@Name: align
4905     @@Get:
4906     @@@Type: DOMString
4907     @@Set:
4908     @@@Type: DOMString
4909 wakaba 1.4 @ATTR:
4910     @@AName:char
4911     @@DOMAName: ch
4912 wakaba 1.1 @@Get:
4913     @@@Type: DOMString
4914     @@Set:
4915     @@@Type: DOMString
4916 wakaba 1.4 @ATTR:
4917     @@AName:charoff
4918     @@DOMAName: chOff
4919 wakaba 1.1 @@Get:
4920     @@@Type: DOMString
4921     @@Set:
4922     @@@Type: DOMString
4923 wakaba 1.4 @ATTR:
4924 wakaba 1.1 @@Name: span
4925     @@Get:
4926     @@@Type:
4927     DOMMain:long
4928     @@Set:
4929     @@@Type:
4930     DOMMain:long
4931 wakaba 1.4 @ATTR:
4932     @@AName:valign
4933     @@DOMAName: vAlign
4934 wakaba 1.1 @@Get:
4935     @@@Type: DOMString
4936     @@Set:
4937     @@@Type: DOMString
4938 wakaba 1.4 @ATTR:
4939 wakaba 1.1 @@Name: width
4940     @@Get:
4941     @@@Type: DOMString
4942     @@Set:
4943     @@@Type: DOMString
4944 wakaba 1.2 ##IF:HTMLTableColElement
4945    
4946 wakaba 1.4 ForDef:
4947     @QName:
4948     DOMHTML:ForTbody
4949     ForDef:
4950     @QName:
4951     DOMHTML:ForThead
4952     ForDef:
4953     @QName:
4954     DOMHTML:ForTfoot
4955    
4956 wakaba 1.1 IF:
4957 wakaba 1.4 @For:ForHTML
4958     @rdf:type:
4959     @@@:
4960     dis:MultipleResource
4961     @@For:ForHTML
4962     @@ForCheck:
4963     !ManakaiDOM:ForIF !ManakaiDOM:ForClass
4964     !ForTbody !ForThead !ForTfoot
4965     @resourceFor:
4966     @@@: ForTbody
4967     @@ForCheck:ForHTML
4968     @resourceFor:
4969     @@@: ForThead
4970     @@ForCheck:ForHTML
4971     @resourceFor:
4972     @@@: ForTfoot
4973     @@ForCheck:ForHTML
4974     @rdf:type:
4975     @@@:
4976     s:ElementType
4977     @@For:ForHTML
4978    
4979     @ETQName:
4980     @@@:
4981 wakaba 1.2 xhtml1:tbody
4982 wakaba 1.4 @@ForCheck:ForTbody
4983     @ETQName:
4984     @@@:
4985 wakaba 1.2 xhtml1:thead
4986 wakaba 1.4 @@ForCheck:ForThead
4987     @ETQName:
4988     @@@:
4989 wakaba 1.2 xhtml1:tfoot
4990 wakaba 1.4 @@ForCheck:ForTfoot
4991    
4992 wakaba 1.8 @elementType:
4993     @@@: ||ForHTML40SE||ForTfoot
4994     @@ForCheck: ManakaiDOM|DOM1 !ManakaiDOM|DOM2
4995     @@ContentType: DISCore|TFPQNames
4996     @elementType:
4997     @@@: ||ForHTML401||ForTfoot
4998     @@ForCheck: ManakaiDOM|DOM2
4999     @@ContentType: DISCore|TFPQNames
5000     @elementType:
5001     @@@: ||ForXHTML10SE||ForTfoot
5002     @@ForCheck: ManakaiDOM|DOM2
5003     @@ContentType: DISCore|TFPQNames
5004    
5005    
5006     @elementType:
5007     @@@: ||ForHTML40SE||ForTbody
5008     @@ForCheck: ManakaiDOM|DOM1 !ManakaiDOM|DOM2
5009     @@ContentType: DISCore|TFPQNames
5010     @elementType:
5011     @@@: ||ForHTML401||ForTbody
5012     @@ForCheck: ManakaiDOM|DOM2
5013     @@ContentType: DISCore|TFPQNames
5014     @elementType:
5015     @@@: ||ForXHTML10SE||ForTbody
5016     @@ForCheck: ManakaiDOM|DOM2
5017     @@ContentType: DISCore|TFPQNames
5018    
5019    
5020     @elementType:
5021     @@@: ||ForHTML40SE||ForThead
5022     @@ForCheck: ManakaiDOM|DOM1 !ManakaiDOM|DOM2
5023     @@ContentType: DISCore|TFPQNames
5024     @elementType:
5025     @@@: ||ForHTML401||ForThead
5026     @@ForCheck: ManakaiDOM|DOM2
5027     @@ContentType: DISCore|TFPQNames
5028     @elementType:
5029     @@@: ||ForXHTML10SE||ForThead
5030     @@ForCheck: ManakaiDOM|DOM2
5031     @@ContentType: DISCore|TFPQNames
5032    
5033 wakaba 1.4 @IFQName: HTMLTableSectionElement
5034     @ClsQName:ManakaiDOMHTMLTableSectionElement
5035     @ISAHTMLElement:
5036     @L1IF:
5037    
5038     @ATTR:
5039 wakaba 1.1 @@Name: align
5040     @@Get:
5041     @@@Type: DOMString
5042     @@Set:
5043     @@@Type: DOMString
5044 wakaba 1.4 @ATTR:
5045     @@AName: char
5046     @@DOMAName: ch
5047 wakaba 1.1 @@Get:
5048     @@@Type: DOMString
5049     @@Set:
5050     @@@Type: DOMString
5051 wakaba 1.4 @ATTR:
5052     @@AName:charoff
5053     @@DOMAName: chOff
5054 wakaba 1.1 @@Get:
5055     @@@Type: DOMString
5056     @@Set:
5057     @@@Type: DOMString
5058 wakaba 1.4 @ATTR:
5059     @@AName:valign
5060     @@DOMAName: vAlign
5061 wakaba 1.1 @@Get:
5062     @@@Type: DOMString
5063     @@Set:
5064     @@@Type: DOMString
5065     @Attr:
5066     @@Name: rows
5067 wakaba 1.2 @@Description:
5068     @@@lang:en
5069     @@@@:
5070     A collection of rows in this table row group.
5071 wakaba 1.1 @@Get:
5072     @@@Type: HTMLCollection
5073     @Method:
5074     @@Name: insertRow
5075 wakaba 1.2 @@Description:
5076     @@@lang:en
5077     @@@@:
5078     Insert a table row into this row group.
5079 wakaba 1.1 @@Param:
5080     @@@Name: index
5081     @@@Type:
5082     DOMMain:long
5083 wakaba 1.2 @@@Description:
5084     @@@@lang:en
5085     @@@@@:
5086     The ordinal index of the row where to insert a new row,
5087     starting from <DOM:0> and relative only to the
5088     rows contained inside this row group. The new row
5089     is inserted immediately before the current <P:index>th
5090     row.
5091     @@@InCase:
5092     @@@@Value:-1
5093     @@@@Description:
5094     @@@@@lang:en
5095     @@@@@@:
5096     The new row is appended.
5097 wakaba 1.3 @@@@SpecLevel:2
5098 wakaba 1.2 @@@InCase:
5099     @@@@Label:
5100     @@@@@lang:en
5101     @@@@@@:The number of rows in this row group
5102     @@@@Description:
5103     @@@@@lang:en
5104     @@@@@@:
5105     The new row is appended.
5106 wakaba 1.3 @@@@SpecLevel:2
5107 wakaba 1.1 @@Return:
5108     @@@Type: HTMLElement
5109 wakaba 1.2 @@@Description:
5110     @@@@lang:en
5111     @@@@@:The newly created table row.
5112 wakaba 1.1 @@@Exception:
5113 wakaba 1.2 @@@@Name: INDEX_SIZE_ERR
5114 wakaba 1.1 @@@@Type:
5115     DOMCore:DOMException
5116 wakaba 1.2 @@@@SubType:
5117     @@@@@QName:
5118     TODO: What?
5119     @@@@@Description:
5120     @@@@@@lang:en
5121     @@@@@@@:
5122     The <P:index> is greater than the number
5123     of rows or less than <DOM:-1>.
5124 wakaba 1.3 @@@@SpecLevel:2
5125     @@@@ImplNote:
5126     @@@@@lang:en
5127     @@@@@@:
5128     <SRC:DOM Level 1 Second Edition HTML, DOM Level 2 HTML>
5129     (<P:index> cannot <DOM:-1> in DOM Level 1.)
5130 wakaba 1.1 @@Level[list]:
5131     1
5132     2
5133     @@SpecLevel[list]:
5134     1
5135     2
5136     @Method:
5137     @@Name: deleteRow
5138 wakaba 1.2 @@Description:
5139     @@@lang:en
5140     @@@@:
5141     Delete a table row from this table row group.
5142 wakaba 1.1 @@Param:
5143     @@@Name: index
5144     @@@Type:
5145     DOMMain:long
5146 wakaba 1.2 @@@Description:
5147     @@@@lang:en
5148     @@@@@:
5149     The ordinal index of the row to delete, starting
5150     from <DOM:0> and relative
5151     only to the rows contained inside this row group.
5152     @@@InCase:
5153     @@@@Value:-1
5154     @@@@Description:
5155     @@@@@lang:en
5156     @@@@@@:
5157     Delete the last row.
5158 wakaba 1.3 @@@@SpecLevel:2
5159 wakaba 1.1 @@Return:
5160     @@@Exception:
5161 wakaba 1.2 @@@@Name: INDEX_SIZE_ERR
5162 wakaba 1.1 @@@@Type:
5163     DOMCore:DOMException
5164 wakaba 1.2 @@@@SubType:
5165     @@@@@QName:
5166     TODO: What?
5167     @@@@@Description:
5168     @@@@@@lang:en
5169     @@@@@@@:
5170     The <P:index> is greater than or equal to
5171     the number of rows or the <P:index> is less
5172     than <DOM:-1>.
5173 wakaba 1.3 @@@@SpecLevel:2
5174     @@@@ImplNote:
5175     @@@@@lang:en
5176     @@@@@@:
5177     <SRC:DOM Level 1 Second Edition HTML, DOM Level 2 HTML>
5178     (<P:index> cannot <DOM:-1> in DOM Level 1.)
5179 wakaba 1.1 @@Level[list]:
5180     1
5181     2
5182     @@SpecLevel[list]:
5183     1
5184     2
5185 wakaba 1.2 ##IF:HTMLTableSectionElement
5186    
5187 wakaba 1.4 ET:
5188     @ETQName:
5189     xhtml1:tr
5190     @IFQName: HTMLTableRowElement
5191     @ClsQName:ManakaiDOMHTMLTableRowElement
5192     @ISAHTMLElement:
5193     @L1IF:
5194    
5195 wakaba 1.1 @Attr:
5196     @@Name: rowIndex
5197 wakaba 1.2 @@Description:
5198     @@@lang:en
5199     @@@@:
5200     The ordinal index of the row, starting from <DOM:0>,
5201     in the logical order (not the document order).
5202     \
5203     {NOTE:: The logical order take row groups into account;
5204     placing <HE:thead> rows first, followed by
5205     <HE:tbody> rows, followed by <HE:tfoot> rows.
5206     \
5207     }
5208 wakaba 1.1 @@Get:
5209     @@@Type:
5210     DOMMain:long
5211 wakaba 1.3 @@ImplNote:
5212     @@@lang:en
5213     @@@@:
5214     Writable in DOM Level 1 FE, with no description -
5215     fixed in the Errata.
5216 wakaba 1.1 @@Level[list]:
5217 wakaba 1.2 1
5218 wakaba 1.1 @@SpecLevel[list]:
5219 wakaba 1.2 1
5220 wakaba 1.1 2
5221     @Attr:
5222     @@Name: sectionRowIndex
5223 wakaba 1.2 @@Description:
5224     @@@lang:en
5225     @@@@:
5226     The ordinal index of this row, starting from <DOM:0>
5227     and relative to this row group.
5228 wakaba 1.1 @@Get:
5229     @@@Type:
5230     DOMMain:long
5231 wakaba 1.3 @@ImplNote:
5232     @@@lang:en
5233     @@@@:
5234     Writable in DOM Level 1 FE, with no description.
5235 wakaba 1.1 @@Level[list]:
5236 wakaba 1.2 1
5237 wakaba 1.1 @@SpecLevel[list]:
5238 wakaba 1.2 1
5239 wakaba 1.1 2
5240     @Attr:
5241     @@Name: cells
5242 wakaba 1.2 @@Description:
5243     @@@lang:en
5244     @@@@:The collection of cells in this row.
5245 wakaba 1.1 @@Get:
5246     @@@Type: HTMLCollection
5247 wakaba 1.3 @@ImplNote:
5248     @@@lang:en
5249     @@@@:
5250     Writable in DOM Level 1 FE, with no description.
5251 wakaba 1.1 @@Level[list]:
5252 wakaba 1.2 1
5253 wakaba 1.1 @@SpecLevel[list]:
5254 wakaba 1.2 1
5255 wakaba 1.1 2
5256 wakaba 1.4 @ATTR:
5257 wakaba 1.1 @@Name: align
5258     @@Get:
5259     @@@Type: DOMString
5260     @@Set:
5261     @@@Type: DOMString
5262 wakaba 1.4 @ATTR:
5263     @@AName:bgcolor
5264     @@DOMAName: bgColor
5265     @@Deprecated:
5266 wakaba 1.1 @@Get:
5267     @@@Type: DOMString
5268     @@Set:
5269     @@@Type: DOMString
5270 wakaba 1.4 @ATTR:
5271     @@AName:char
5272     @@DOMAName: ch
5273 wakaba 1.1 @@Get:
5274     @@@Type: DOMString
5275     @@Set:
5276     @@@Type: DOMString
5277 wakaba 1.4 @ATTR:
5278     @@AName:charoff
5279     @@DOMAName: chOff
5280 wakaba 1.1 @@Get:
5281     @@@Type: DOMString
5282     @@Set:
5283     @@@Type: DOMString
5284 wakaba 1.4 @ATTR:
5285     @@AName:valign
5286     @@DOMAName: vAlign
5287 wakaba 1.1 @@Get:
5288     @@@Type: DOMString
5289     @@Set:
5290     @@@Type: DOMString
5291     @Method:
5292     @@Name: insertCell
5293 wakaba 1.2 @@Description:
5294     @@@lang:en
5295     @@@@:
5296     Insert an empty data cell (<HE:td>) into this row.
5297 wakaba 1.1 @@Param:
5298     @@@Name: index
5299     @@@Type:
5300     DOMMain:long
5301 wakaba 1.2 @@@Description:
5302     @@@@lang:en
5303     @@@@@:
5304     The index where the new cell is inserted, starting
5305     from <DOM:0>.
5306     @@@InCase:
5307     @@@@Value:-1
5308     @@@@Description:
5309     @@@@@lang:en
5310     @@@@@@:The new cell is appended.
5311 wakaba 1.3 @@@@SpecLevel:2
5312 wakaba 1.2 @@@InCase:
5313     @@@@Label:
5314     @@@@@lang:en
5315     @@@@@@:The number of cells
5316     @@@@Description:
5317     @@@@@lang:en
5318     @@@@@@:The new cell is appended.
5319 wakaba 1.3 @@@@SpecLevel:2
5320 wakaba 1.1 @@Return:
5321     @@@Type: HTMLElement
5322 wakaba 1.2 @@@Description:
5323     @@@@lang:en
5324     @@@@@:The newly inserted cell.
5325 wakaba 1.1 @@@Exception:
5326 wakaba 1.2 @@@@Name: INDEX_SIZE_ERR
5327 wakaba 1.1 @@@@Type:
5328     DOMCore:DOMException
5329 wakaba 1.2 @@@@SubType:
5330     @@@@@QName:
5331     TODO: What?
5332     @@@@@Description:
5333     @@@@@@lang:en
5334     @@@@@@@:
5335     The <P:index> is greater than the number of
5336     cells or less than <DOM:-1>.
5337 wakaba 1.3 @@@@SpecLevel:2
5338     @@@@ImplNote:
5339     @@@@@lang:en
5340     @@@@@@:
5341     <SRC:DOM Level 1 Second Edition HTML, DOM Level 2 HTML>
5342     (<P:index> cannot <DOM:-1> in DOM Level 1.)
5343 wakaba 1.1 @@Level[list]:
5344     1
5345     2
5346     @@SpecLevel[list]:
5347     1
5348     2
5349     @Method:
5350     @@Name: deleteCell
5351 wakaba 1.2 @@Description:
5352     @@@lang:en
5353     @@@@:Delete a cell from this row.
5354 wakaba 1.1 @@Param:
5355     @@@Name: index
5356     @@@Type:
5357     DOMMain:long
5358 wakaba 1.2 @@@Description:
5359     @@@@lang:en
5360     @@@@@:
5361     The index of the cell to delete, starting from <DOM:0>
5362     and in the document order.
5363     @@@InCase:
5364     @@@@Value:-1
5365     @@@@Description:
5366     @@@@@lang:en
5367     @@@@@@:
5368     The last cell is deleted.
5369 wakaba 1.3 @@@@SpecLevel:2
5370 wakaba 1.1 @@Return:
5371     @@@Exception:
5372 wakaba 1.2 @@@@Name: INDEX_SIZE_ERR
5373 wakaba 1.1 @@@@Type:
5374     DOMCore:DOMException
5375 wakaba 1.2 @@@@SubType:
5376     @@@@@QName:
5377     TODO: What?
5378     @@@@@Description:
5379     @@@@@@lang:en
5380     @@@@@@@:
5381     THe <P:index> is greater than or equal to the number
5382     of the cells or less than <DOM:-1>.
5383 wakaba 1.3 @@@@SpecLevel:2
5384     @@@@ImplNote:
5385     @@@@@lang:en
5386     @@@@@@:
5387     <SRC:DOM Level 1 Second Edition HTML, DOM Level 2 HTML>
5388     (<P:index> cannot <DOM:-1> in DOM Level 1.)
5389 wakaba 1.1 @@Level[list]:
5390     1
5391     2
5392     @@SpecLevel[list]:
5393     1
5394     2
5395 wakaba 1.2 ##IF:HTMLTableRowElement
5396    
5397 wakaba 1.4 ForDef:
5398     @QName:
5399     DOMHTML:ForTd
5400     ForDef:
5401     @QName:
5402     DOMHTML:ForTh
5403    
5404 wakaba 1.1 IF:
5405 wakaba 1.4 @For:ForHTML
5406     @rdf:type:
5407     @@@:
5408     dis:MultipleResource
5409     @@For:ForHTML
5410     @@ForCheck:
5411     !ManakaiDOM:ForIF !ManakaiDOM:ForClass
5412     !ForTd !ForTh
5413     @resourceFor:
5414     @@@: ForTd
5415     @@For:ForHTML
5416     @resourceFor:
5417     @@@:ForTh
5418     @@For:ForHTML
5419     @rdf:type:
5420     @@@:
5421     s:ElementType
5422     @@For:ForHTML
5423    
5424     @ETQName:
5425     @@@:
5426     xhtml1:td
5427     @@ForCheck:ForTd
5428     @ETQName:
5429     @@@:
5430 wakaba 1.2 xhtml1:th
5431 wakaba 1.4 @@ForCheck:ForTh
5432 wakaba 1.8
5433     @elementType:
5434     @@@: ||ForHTML40SE||ForTh
5435     @@ForCheck: ManakaiDOM|DOM1 !ManakaiDOM|DOM2
5436     @@ContentType: DISCore|TFPQNames
5437     @elementType:
5438     @@@: ||ForHTML401||ForTh
5439     @@ForCheck: ManakaiDOM|DOM2
5440     @@ContentType: DISCore|TFPQNames
5441     @elementType:
5442     @@@: ||ForXHTML10SE||ForTh
5443     @@ForCheck: ManakaiDOM|DOM2
5444     @@ContentType: DISCore|TFPQNames
5445    
5446     @elementType:
5447     @@@: ||ForHTML40SE||ForTd
5448     @@ForCheck: ManakaiDOM|DOM1 !ManakaiDOM|DOM2
5449     @@ContentType: DISCore|TFPQNames
5450     @elementType:
5451     @@@: ||ForHTML401||ForTd
5452     @@ForCheck: ManakaiDOM|DOM2
5453     @@ContentType: DISCore|TFPQNames
5454     @elementType:
5455     @@@: ||ForXHTML10SE||ForTd
5456     @@ForCheck: ManakaiDOM|DOM2
5457     @@ContentType: DISCore|TFPQNames
5458 wakaba 1.4
5459     @IFQName: HTMLTableCellElement
5460     @ClsQName:ManakaiDOMHTMLTableCellElement
5461     @ISAHTMLElement:
5462     @L1IF:
5463    
5464 wakaba 1.1 @Attr:
5465     @@Name: cellIndex
5466 wakaba 1.2 @@Description:
5467     @@@lang:en
5468     @@@@:
5469     The ordinal index of this cell in the row,
5470     starting from <DOM:0> and in the document order
5471     (not the display order).
5472 wakaba 1.1 @@Get:
5473     @@@Type:
5474     DOMMain:long
5475 wakaba 1.3 @@ImplNote:
5476     @@@lang:en
5477     @@@@:
5478     Writable in DOM Level 1 FE - fixed in the Errata.
5479 wakaba 1.4 @ATTR:
5480 wakaba 1.1 @@Name: abbr
5481     @@Get:
5482     @@@Type: DOMString
5483     @@Set:
5484     @@@Type: DOMString
5485 wakaba 1.4 @ATTR:
5486 wakaba 1.1 @@Name: align
5487     @@Get:
5488     @@@Type: DOMString
5489     @@Set:
5490     @@@Type: DOMString
5491 wakaba 1.4 @ATTR:
5492 wakaba 1.1 @@Name: axis
5493     @@Get:
5494     @@@Type: DOMString
5495     @@Set:
5496     @@@Type: DOMString
5497 wakaba 1.4 @ATTR:
5498     @@AName:bgcolor
5499     @@DOMAName: bgColor
5500     @@Deprecated:
5501 wakaba 1.1 @@Get:
5502     @@@Type: DOMString
5503     @@Set:
5504     @@@Type: DOMString
5505 wakaba 1.4 @ATTR:
5506     @@AName:char
5507     @@DOMAName: ch
5508 wakaba 1.1 @@Get:
5509     @@@Type: DOMString
5510     @@Set:
5511     @@@Type: DOMString
5512 wakaba 1.4 @ATTR:
5513     @@AName:charoff
5514     @@DOMAName: chOff
5515 wakaba 1.1 @@Get:
5516     @@@Type: DOMString
5517     @@Set:
5518     @@@Type: DOMString
5519 wakaba 1.4 @ATTR:
5520     @@AName:colspan
5521     @@DOMAName: colSpan
5522 wakaba 1.1 @@Get:
5523     @@@Type:
5524     DOMMain:long
5525     @@Set:
5526     @@@Type:
5527     DOMMain:long
5528 wakaba 1.4 @ATTR:
5529 wakaba 1.1 @@Name: headers
5530     @@Get:
5531     @@@Type: DOMString
5532     @@Set:
5533     @@@Type: DOMString
5534 wakaba 1.4 @ATTR:
5535 wakaba 1.1 @@Name: height
5536 wakaba 1.4 @@Deprecated:
5537 wakaba 1.1 @@Get:
5538     @@@Type: DOMString
5539     @@Set:
5540     @@@Type: DOMString
5541 wakaba 1.4 @ATTR:
5542     @@AName:nowrap
5543     @@DOMAName: noWrap
5544     @@Deprecated:
5545 wakaba 1.1 @@Get:
5546     @@@Type:
5547     DOMMain:boolean
5548     @@@InCase:
5549     @@@@Value: true
5550     @@@InCase:
5551     @@@@Value: false
5552     @@Set:
5553     @@@Type:
5554     DOMMain:boolean
5555     @@@InCase:
5556     @@@@Value: true
5557     @@@InCase:
5558     @@@@Value: false
5559 wakaba 1.4 @ATTR:
5560     @@AName:rowspan
5561     @@DOMAName: rowSpan
5562 wakaba 1.1 @@Get:
5563     @@@Type:
5564     DOMMain:long
5565     @@Set:
5566     @@@Type:
5567     DOMMain:long
5568 wakaba 1.4 @ATTR:
5569 wakaba 1.1 @@Name: scope
5570     @@Get:
5571     @@@Type: DOMString
5572     @@Set:
5573     @@@Type: DOMString
5574 wakaba 1.4 @ATTR:
5575     @@AName:valign
5576     @@DOMAName: vAlign
5577 wakaba 1.1 @@Get:
5578     @@@Type: DOMString
5579     @@Set:
5580     @@@Type: DOMString
5581 wakaba 1.4 @ATTR:
5582 wakaba 1.1 @@Name: width
5583 wakaba 1.4 @@Deprecated:
5584 wakaba 1.1 @@Get:
5585     @@@Type: DOMString
5586     @@Set:
5587     @@@Type: DOMString
5588 wakaba 1.2 ##IF:HTMLTableCellElement
5589    
5590 wakaba 1.4 ET:
5591     @ETQName:
5592     xhtml1:frameset
5593     @IFQName: HTMLFrameSetElement
5594     @ClsQName:ManakaiDOMHTMLFrameSetElement
5595     @ISAHTMLElement:
5596     @L1IF:
5597    
5598     @ForCheck: !ForXHTML11
5599    
5600     @ATTR:
5601 wakaba 1.1 @@Name: cols
5602     @@Get:
5603     @@@Type: DOMString
5604     @@Set:
5605     @@@Type: DOMString
5606 wakaba 1.4 @ATTR:
5607 wakaba 1.1 @@Name: rows
5608     @@Get:
5609     @@@Type: DOMString
5610     @@Set:
5611     @@@Type: DOMString
5612 wakaba 1.2 ##IF:HTMLFrameSetElement
5613    
5614 wakaba 1.4 ET:
5615     @ETQName:
5616     xhtml1:frame
5617     @IFQName: HTMLFrameElement
5618     @ClsQName:ManakaiDOMHTMLFrameElement
5619     @ISAHTMLElement:
5620     @L1IF:
5621    
5622     @ForCheck: !ForXHTML11
5623    
5624     @ATTR:
5625     @@AName:frameborder
5626     @@DOMAName: frameBorder
5627 wakaba 1.1 @@Get:
5628     @@@Type: DOMString
5629     @@Set:
5630     @@@Type: DOMString
5631 wakaba 1.4 @ATTR:
5632     @@AName:longdesc
5633     @@DOMAName: longDesc
5634 wakaba 1.1 @@Get:
5635     @@@Type: DOMString
5636     @@Set:
5637     @@@Type: DOMString
5638 wakaba 1.4 @ATTR:
5639     @@AName:marginheight
5640     @@DOMAName: marginHeight
5641 wakaba 1.1 @@Get:
5642     @@@Type: DOMString
5643     @@Set:
5644     @@@Type: DOMString
5645 wakaba 1.4 @ATTR:
5646     @@AName:marginwidth
5647     @@DOMAName: marginWidth
5648 wakaba 1.1 @@Get:
5649     @@@Type: DOMString
5650     @@Set:
5651     @@@Type: DOMString
5652 wakaba 1.4 @ATTR:
5653 wakaba 1.1 @@Name: name
5654     @@Get:
5655     @@@Type: DOMString
5656     @@Set:
5657     @@@Type: DOMString
5658 wakaba 1.4 @ATTR:
5659     @@AName:noresize
5660     @@DOMAName: noResize
5661 wakaba 1.1 @@Get:
5662     @@@Type:
5663     DOMMain:boolean
5664     @@@InCase:
5665     @@@@Value: true
5666     @@@InCase:
5667     @@@@Value: false
5668     @@Set:
5669     @@@Type:
5670     DOMMain:boolean
5671     @@@InCase:
5672     @@@@Value: true
5673     @@@InCase:
5674     @@@@Value: false
5675 wakaba 1.4 @ATTR:
5676 wakaba 1.1 @@Name: scrolling
5677     @@Get:
5678     @@@Type: DOMString
5679     @@Set:
5680     @@@Type: DOMString
5681 wakaba 1.4 @ATTR:
5682 wakaba 1.1 @@Name: src
5683     @@Get:
5684     @@@Type: DOMString
5685     @@Set:
5686     @@@Type: DOMString
5687     @Attr:
5688     @@Name: contentDocument
5689 wakaba 1.2 @@Description:
5690     @@@lang:en
5691     @@@@:
5692     The document this frame contains, if any and available.
5693 wakaba 1.1 @@Get:
5694     @@@Type: Document
5695 wakaba 1.2 @@@InCase:
5696     @@@@Value:
5697     @@@@@is-null:1
5698     @@@@Description:
5699     @@@@@lang:en
5700     @@@@@@:
5701     There is no document or it is not available.
5702 wakaba 1.4 @@@Def:
5703     @@@@ContentType:
5704     lang:dis
5705     @@@@GetPropNode:
5706     DOMHTML:contentDocument
5707 wakaba 1.1 @@Level[list]: 2
5708     @@SpecLevel[list]: 2
5709 wakaba 1.4 @@L2:
5710 wakaba 1.2 ##IF:HTMLFrameElement
5711    
5712 wakaba 1.4 ET:
5713     @ETQName:
5714     xhtml1:iframe
5715     @IFQName: HTMLIFrameElement
5716     @ClsQName:ManakaiDOMHTMLIFrameElement
5717     @ISAHTMLElement:
5718     @L1IF:
5719    
5720     @ForCheck: !ForXHTML11
5721    
5722     @ATTR:
5723 wakaba 1.1 @@Name: align
5724 wakaba 1.4 @@Deprecated:
5725 wakaba 1.1 @@Get:
5726     @@@Type: DOMString
5727     @@Set:
5728     @@@Type: DOMString
5729 wakaba 1.4 @ATTR:
5730     @@AName:frameborder
5731     @@DOMAName: frameBorder
5732 wakaba 1.1 @@Get:
5733     @@@Type: DOMString
5734     @@Set:
5735     @@@Type: DOMString
5736 wakaba 1.4 @ATTR:
5737 wakaba 1.1 @@Name: height
5738     @@Get:
5739     @@@Type: DOMString
5740     @@Set:
5741     @@@Type: DOMString
5742 wakaba 1.4 @ATTR:
5743     @@AName:longdesc
5744     @@DOMAName: longDesc
5745 wakaba 1.1 @@Get:
5746     @@@Type: DOMString
5747     @@Set:
5748     @@@Type: DOMString
5749 wakaba 1.4 @ATTR:
5750     @@AName:marginheight
5751     @@DOMAName: marginHeight
5752 wakaba 1.1 @@Get:
5753     @@@Type: DOMString
5754     @@Set:
5755     @@@Type: DOMString
5756 wakaba 1.4 @ATTR:
5757     @@AName:marginwidth
5758     @@DOMAName: marginWidth
5759 wakaba 1.1 @@Get:
5760     @@@Type: DOMString
5761     @@Set:
5762     @@@Type: DOMString
5763 wakaba 1.4 @ATTR:
5764 wakaba 1.1 @@Name: name
5765     @@Get:
5766     @@@Type: DOMString
5767     @@Set:
5768     @@@Type: DOMString
5769 wakaba 1.4 @ATTR:
5770 wakaba 1.1 @@Name: scrolling
5771     @@Get:
5772     @@@Type: DOMString
5773     @@Set:
5774     @@@Type: DOMString
5775 wakaba 1.4 @ATTR:
5776 wakaba 1.1 @@Name: src
5777     @@Get:
5778     @@@Type: DOMString
5779     @@Set:
5780     @@@Type: DOMString
5781 wakaba 1.4 @ATTR:
5782 wakaba 1.1 @@Name: width
5783     @@Get:
5784     @@@Type: DOMString
5785     @@Set:
5786     @@@Type: DOMString
5787     @Attr:
5788     @@Name: contentDocument
5789 wakaba 1.2 @@Description:
5790     @@@lang:en
5791     @@@@:
5792     The document this frame contains, if any and available.
5793 wakaba 1.1 @@Get:
5794     @@@Type: Document
5795 wakaba 1.2 @@@Description:
5796     @@@@lang:en
5797     @@@@@:
5798     There is no document or it is not available.
5799 wakaba 1.4 @@@Def:
5800     @@@@ContentType:
5801     lang:dis
5802     @@@@GetPropNode:
5803     DOMHTML:contentDocument
5804 wakaba 1.1 @@Level[list]: 2
5805     @@SpecLevel[list]: 2
5806 wakaba 1.4 @@L2:
5807 wakaba 1.2 ##IF:HTMLIFrameElement
5808    
5809     ## DOMHTML.dis ends here
5810    

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24