/[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.5 - (hide annotations) (download)
Wed Jan 5 12:19:39 2005 UTC (19 years, 10 months ago) by wakaba
Branch: MAIN
Changes since 1.4: +106 -2 lines
Assertion in dis perl code implemented; DISPerl:raiseException implemented; Scripts updated for new dis format; NodeList perl array representation implemented

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24