/[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.8 - (hide annotations) (download)
Sun May 8 14:18:01 2005 UTC (19 years, 6 months ago) by wakaba
Branch: MAIN
Changes since 1.7: +240 -22 lines
Element-type specialized class implemented; interface association bug fixed

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24