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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.10 - (hide annotations) (download)
Wed Aug 31 13:02:46 2005 UTC (20 years, 10 months ago) by wakaba
Branch: MAIN
Changes since 1.9: +74 -74 lines
mkdisdump.pl: Outputs referenced resources in another modules

1 wakaba 1.1 Module:
2 wakaba 1.4 @QName:
3     MDOM:DOMWebForms
4 wakaba 1.1 @Namespace:
5 wakaba 1.4 http://suika.fam.cx/~wakaba/archive/2004/dom/wf#
6 wakaba 1.1 @FullName:
7     @@lang:en
8     @@@: DOM Web Forms Module
9 wakaba 1.4
10 wakaba 1.1 @Description:
11     @@lang:en
12     @@@:
13     Interfaces to manipulate Web Forms elements or form controls.
14     \
15     {NOTE:: Most interfaces are originally defined in DOM
16     Levels 1 and 2 HTML Modules and later ammended
17     by the Web Forms 2.0 Specification. These
18     standards are based on DOM Level 0 implementations.
19     \
20     }
21    
22     @Author:
23     @@FullName: Wakaba
24     @@Mail: [email protected]
25     @License:
26     license:Perl+MPL
27 wakaba 1.4 @Date:
28     @@@:
29 wakaba 1.10 $Date: 2005/05/23 13:26:55 $
30 wakaba 1.4 @@ContentType:
31     dis:Date.RCS
32    
33     @DefaultFor:
34     ManakaiDOM:ManakaiDOMLatest
35 wakaba 1.1
36     @Require:
37     @@Module:
38     @@@Name: DOMHTML
39 wakaba 1.4 @@Module:
40     @@@Name: DOMWebForms
41     @@@WithFor:
42     ManakaiDOM:ManakaiDOM
43     @@Module:
44     @@@Name: DOMWebForms
45     @@@WithFor:
46     ManakaiDOM:ManakaiDOM1
47     @@Module:
48     @@@Name: DOMWebForms
49     @@@WithFor:
50     ManakaiDOM:ManakaiDOM2
51     @@Module:
52     @@@Name: DOMWebForms
53     @@@WithFor:
54     ManakaiDOM:ManakaiDOMLatest
55 wakaba 1.1
56 wakaba 1.4 Namespace:
57     @dis:
58     http://suika.fam.cx/~wakaba/archive/2004/8/18/lang#dis--
59     @dis2pm:
60     http://suika.fam.cx/~wakaba/archive/2004/11/8/dis2pm#
61     @DOMCore:
62     http://suika.fam.cx/~wakaba/archive/2004/8/18/dom-core#
63     @DOMHTML:
64     http://suika.fam.cx/~wakaba/archive/2004/dom/html#
65     @DOMMain:
66     http://suika.fam.cx/~wakaba/archive/2004/dom/main#
67     @ev:
68     http://www.w3.org/2001/xml-events
69     @lang:
70     http://suika.fam.cx/~wakaba/archive/2004/8/18/lang#
71     @license:
72     http://suika.fam.cx/~wakaba/archive/2004/8/18/license#
73     @ManakaiDOM:
74     http://suika.fam.cx/~wakaba/archive/2004/8/18/manakai-dom#
75     @ManakaiDOMCore:
76     http://suika.fam.cx/~wakaba/archive/2004/mdom-core#
77     @ManakaiDOMHTML:
78     http://suika.fam.cx/~wakaba/archive/2004/mdom/html#
79     @MDOM:
80     http://suika.fam.cx/~wakaba/archive/2004/8/18/manakai-dom#ManakaiDOM.
81     @MDOMX:
82     http://suika.fam.cx/~wakaba/archive/2004/8/4/manakai-dom-exception#
83     @null:
84     http://suika.fam.cx/~wakaba/-temp/2003/09/27/null
85     @Perl:
86     http://suika.fam.cx/~wakaba/archive/2004/8/18/lang#Perl--
87     @rdf:
88     http://www.w3.org/1999/02/22-rdf-syntax-ns#
89     @rdfs:
90     http://www.w3.org/2000/01/rdf-schema#
91     @s:
92     http://suika.fam.cx/~wakaba/archive/2004/dis/Markup#
93     @TreeCore:\
94     @xhtml1:
95     http://www.w3.org/1999/xhtml
96    
97     ElementTypeBinding:
98     @Name: L1
99     @ElementType:
100     DOMMain:implementFeature
101     @ShadowContent:
102     @@@:
103     DOMHTML:HTMLFeature10
104     @@For:
105     ManakaiDOM:DOM1 !ManakaiDOM:DOM2
106     @ShadowSibling:
107     @@DOMMain:implementFeature:
108     @@@@:
109     DOMHTML:HTMLFeature20
110     @@@For:
111     ManakaiDOM:DOM2
112    
113     ElementTypeBinding:
114     @Name: L1IF
115     @ElementType:
116     DOMMain:implementFeature
117     @ShadowContent:
118     @@@:
119     DOMHTML:HTMLFeature10
120     @@For:
121     ManakaiDOM:DOM1 !ManakaiDOM:DOM2
122     @ShadowSibling:
123     @@DOMMain:implementFeature:
124     @@@@:
125     DOMHTML:HTMLFeature20
126     @@@For:
127     ManakaiDOM:DOM2
128     @@ISA:
129     @@@@:
130 wakaba 1.7 ::ManakaiDOM:ManakaiDOM1||ManakaiDOM|ForIF
131 wakaba 1.4 @@@ForCheck:
132     ManakaiDOM:ForIF
133     @@@For:
134     ManakaiDOM:ManakaiDOM2
135 wakaba 1.7 @@@ContentType: DISCore|TFPQNames
136 wakaba 1.4 @@For:
137     ManakaiDOM:DOM1
138     @@For:
139     =ManakaiDOM:ManakaiDOM
140 wakaba 1.6 @@For:
141     DOMHTML:ForHTML
142 wakaba 1.4
143     ElementTypeBinding:
144     @Name: L2
145     @ElementType:
146     DOMMain:implementFeature
147     @ShadowContent:
148     @@@:
149     DOMHTML:HTMLFeature20
150     @@For:
151     ManakaiDOM:DOM2
152    
153     ElementTypeBinding:
154     @Name: L2IF
155     @ElementType:
156     DOMMain:implementFeature
157     @ShadowContent:
158     @@@:
159     DOMHTML:HTMLFeature20
160     @@For:
161     ManakaiDOM:DOM2
162     @ShadowSibling:
163     @@For:
164     ManakaiDOM:DOM2
165     @@For:
166     =ManakaiDOM:ManakaiDOM
167 wakaba 1.6 @@For:
168     DOMHTML:ForHTML
169 wakaba 1.4
170     ElementTypeBinding:
171     @Name: PerlDef
172     @ElementType:
173     dis:Def
174     @ShadowContent:
175     @@ContentType:
176     lang:Perl
177    
178     ElementTypeBinding:
179     @Name: IF
180     @ElementType:
181     dis:ResourceDef
182     @ShadowContent:
183     @@rdf:type:
184     @@@@:
185     dis:MultipleResource
186     @@@ForCheck:
187     !ManakaiDOM:ForClass !ManakaiDOM:ForIF !DOMHTML:ForHTML
188     @@rdf:type:
189     @@@@:
190     ManakaiDOM:IF
191     @@@ForCheck:
192     ManakaiDOM:ForIF
193     @@rdf:type:
194     @@@@:
195     ManakaiDOM:Class
196     @@@ForCheck:
197     ManakaiDOM:ForClass
198     @@resourceFor:
199     @@@@:
200     ManakaiDOM:ForIF
201     @@@For:
202     =ManakaiDOM:ManakaiDOM
203     @@@For:
204     ManakaiDOM:DOMHTMLFeature
205     @@@ForCheck:
206     !DOMHTML:ForHTML
207     @@resourceFor:
208     @@@@:
209     ManakaiDOM:ForClass
210     @@@ForCheck:
211     ManakaiDOM:ManakaiDOM !=ManakaiDOM:ManakaiDOM ManakaiDOM:DOMHTMLFeature
212     !DOMHTML:ForHTML
213     @@ISA:
214     @@@@:
215     ManakaiDOM:ManakaiDOMObject
216     @@@ForCheck:
217     ManakaiDOM:ForClass
218     @@ISA:
219     @@@@:
220 wakaba 1.7 ::ManakaiDOM:ManakaiDOM||ManakaiDOM|ForIF
221 wakaba 1.4 @@@ForCheck:
222     ManakaiDOM:ForIF
223     @@@For:
224     ManakaiDOM:ManakaiDOM2
225 wakaba 1.7 @@@ContentType: DISCore|TFPQNames
226     @@Implement:
227     @@@@: ||+||ManakaiDOM|ForIF
228     @@@ForCheck: ManakaiDOM|ForClass ManakaiDOM|ManakaiDOM1
229     @@@ContentType: DISCore|TFPQNames
230 wakaba 1.4
231     ElementTypeBinding:
232     @Name: ET
233     @ElementType:
234     dis:ResourceDef
235     @ShadowContent:
236     @@rdf:type:
237     @@@@:
238     dis:MultipleResource
239     @@@ForCheck:
240     !ManakaiDOM:ForClass !ManakaiDOM:ForIF !DOMHTML:ForHTML
241     @@rdf:type:
242     @@@@:
243     ManakaiDOM:IF
244     @@@ForCheck:
245     ManakaiDOM:ForIF
246     @@rdf:type:
247     @@@@:
248     ManakaiDOM:Class
249     @@@ForCheck:
250     ManakaiDOM:ForClass
251     @@resourceFor:
252     @@@@:
253     ManakaiDOM:ForIF
254     @@@ForCheck:
255     ManakaiDOM:DOM
256     @@@For:
257     =ManakaiDOM:ManakaiDOM
258     @@@For:
259     ManakaiDOM:DOMHTMLFeature
260     @@resourceFor:
261     @@@@:
262     ManakaiDOM:ForClass
263     @@@ForCheck:
264     ManakaiDOM:ManakaiDOM !=ManakaiDOM:ManakaiDOM
265     ManakaiDOM:DOMHTMLFeature
266    
267     @@rdf:type:
268     @@@@:
269     s:ElementType
270     @@@ForCheck:
271     DOMHTML:ForHTML
272    
273     @@ISA:
274     @@@@:
275     ManakaiDOM:ManakaiDOMObject
276     @@@ForCheck:
277     ManakaiDOM:ForClass
278     @@ISA:
279     @@@@:
280 wakaba 1.7 ::ManakaiDOM:ManakaiDOM||ManakaiDOM|ForIF
281 wakaba 1.4 @@@ForCheck:
282     ManakaiDOM:ForIF
283     @@@For:
284     ManakaiDOM:ManakaiDOM2
285 wakaba 1.7 @@@ContentType: DISCore|TFPQNames
286     @@Implement:
287     @@@@: ||+||ManakaiDOM|ForIF
288     @@@ForCheck: ManakaiDOM|ForClass ManakaiDOM|ManakaiDOM1
289     @@@ContentType: DISCore|TFPQNames
290    
291 wakaba 1.4 @@DISMarkup:elementType:
292     @@@@:
293     ::DOMHTML:ForHTML40SE
294     @@@ForCheck:
295     ManakaiDOM:DOM1 !ManakaiDOM:DOM2
296     @@@ImplNote:
297     @@@@lang:en
298     @@@@@:
299     DOM Level 1 First Edition refers the latest version of
300     HTML 4.0 while Second Edition refers the second edition of
301     HTML 4.0.
302 wakaba 1.6 @@@DISCore:stopISARecursive:1
303 wakaba 1.4 @@DISMarkup:elementType:
304     @@@@:
305     ::DOMHTML:ForHTML401
306     @@@ForCheck:
307     ManakaiDOM:DOM2
308 wakaba 1.6 @@@DISCore:stopISARecursive:1
309 wakaba 1.4 @@DISMarkup:elementType:
310     @@@@:
311     ::DOMHTML:ForXHTML10SE
312     @@@ForCheck:
313     ManakaiDOM:DOM2
314 wakaba 1.6 @@@DISCore:stopISARecursive:1
315 wakaba 1.4
316     ElementTypeBinding:
317     @Name: Method
318     @ElementType:
319     dis:ResourceDef
320     @ShadowContent:
321     @@rdf:type:
322     ManakaiDOM:DOMMethod
323     @@ForCheck:
324     ManakaiDOM:DOM !=ManakaiDOM:ManakaiDOM
325     ElementTypeBinding:
326     @Name: IntMethod
327     @ElementType:
328     dis:ResourceDef
329     @ShadowContent:
330     @@rdf:type:
331     ManakaiDOM:DOMMethod
332     @@ForCheck:
333     ManakaiDOM:ManakaiDOM !=ManakaiDOM:ManakaiDOM
334     @@ManakaiDOM:isForInternal: 1
335     ElementTypeBinding:
336     @Name: ReMethod
337     @ElementType:
338     dis:ResourceDef
339     @ShadowContent:
340     @@rdf:type:
341     ManakaiDOM:DOMMethod
342     @@ForCheck:
343     ManakaiDOM:ManakaiDOM !=ManakaiDOM:ManakaiDOM
344     @@ManakaiDOM:isRedefining: 1
345     ElementTypeBinding:
346     @Name: Param
347     @ElementType:
348     dis:ResourceDef
349     @ShadowContent:
350     @@rdf:type:
351     ManakaiDOM:DOMMethodParameter
352     ElementTypeBinding:
353     @Name: Exception
354     @ElementType:
355     ManakaiDOM:raises
356    
357     ElementTypeBinding:
358     @Name: Return
359     @ElementType:
360     dis:ResourceDef
361     @ShadowContent:
362     @@rdf:type:
363     ManakaiDOM:DOMMethodReturn
364    
365     ElementTypeBinding:
366     @Name: Attr
367     @ElementType:
368     dis:ResourceDef
369     @ShadowContent:
370     @@rdf:type:
371     ManakaiDOM:DOMAttribute
372     @@ForCheck:
373     ManakaiDOM:DOM !=ManakaiDOM:ManakaiDOM
374    
375     ElementTypeBinding:
376     @Name: ATTR
377     @ElementType:
378     dis:ResourceDef
379     @ShadowContent:
380     @@rdf:type:
381     @@@@:
382     ManakaiDOM:DOMAttribute
383     @@@ForCheck:
384     ManakaiDOM:DOM
385     @@rdf:type:
386     @@@@:
387     s:Attribute
388     @@@ForCheck:
389     DOMHTML:ForHTML
390     @@DocAttr:
391     @@@@:
392     ::DOMHTML:ForHTML40SE
393     @@@ForCheck:
394     ManakaiDOM:DOM1 !ManakaiDOM:DOM2
395     @@@ImplNote:
396     @@@@lang:en
397     @@@@@:
398     DOM Level 1 First Edition refers the latest version of
399     HTML 4.0 while Second Edition refers the second edition of
400     HTML 4.0.
401     @@DocAttr:
402     @@@@:
403     ::DOMHTML:ForHTML401
404     @@@ForCheck:
405     ManakaiDOM:DOM2
406     @@DocAttr:
407     @@@@:
408     ::DOMHTML:ForXHTML10SE
409     @@@ForCheck:
410     ManakaiDOM:DOM2
411    
412     ElementTypeBinding:
413     @Name: ReAttr
414     @ElementType:
415     dis:ResourceDef
416     @ShadowContent:
417     @@rdf:type:
418     ManakaiDOM:DOMAttribute
419     @@ForCheck:
420     ManakaiDOM:ManakaiDOM !=ManakaiDOM:ManakaiDOM
421     @@ManakaiDOM:isRedefining: 1
422     ElementTypeBinding:
423     @Name: Get
424     @ElementType:
425     dis:ResourceDef
426     @ShadowContent:
427     @@rdf:type:
428     ManakaiDOM:DOMAttrGet
429     @@ForCheck:
430     ManakaiDOM:DOM
431     ElementTypeBinding:
432     @Name: Set
433     @ElementType:
434     dis:ResourceDef
435     @ShadowContent:
436     @@rdf:type:
437     ManakaiDOM:DOMAttrSet
438     @@ForCheck:
439     ManakaiDOM:DOM
440     ElementTypeBinding:
441     @Name: InCase
442     @ElementType:
443     dis:ResourceDef
444     @ShadowContent:
445     @@rdf:type:
446     ManakaiDOM:InCase
447    
448     ElementTypeBinding:
449     @Name: ConstGroup
450     @ElementType:
451     dis:ResourceDef
452     @ShadowContent:
453     @@rdf:type:
454     ManakaiDOM:ConstGroup
455     @@ForCheck:
456     ManakaiDOM:DOM !=ManakaiDOM:ManakaiDOM
457    
458     ElementTypeBinding:
459     @Name: Const
460     @ElementType:
461     dis:ResourceDef
462     @ShadowContent:
463     @@rdf:type:
464     ManakaiDOM:Const
465     @@ForCheck:
466     ManakaiDOM:DOM !=ManakaiDOM:ManakaiDOM
467    
468     ElementTypeBinding:
469     @Name: Deprecated
470     @ElementType:
471     DOMHTML:isDeprecatedByHTML4
472     @ShadowContent: 1
473     @ShadowSibling:
474     @@ForCheck:
475     !DOMHTML:ForXHTML11
476    
477     ElementTypeBinding:
478     @Name: PropDef
479     @ElementType:
480     dis:ResourceDef
481     @ShadowContent:
482     @@rdf:type:
483 wakaba 1.5 rdf:Property
484 wakaba 1.4 @@AliasFor:
485     @@@@:
486     ::ManakaiDOM:all
487     @@@For:
488     !=ManakaiDOM:all
489    
490     ElementTypeBinding:
491     @Name: ISAHTMLElement
492     @ElementType:
493     dis:ISA
494     @ShadowContent:
495     @@@:
496     DOMHTML:HTMLElement
497     @@ForCheck:
498     ManakaiDOM:ForIF
499     @ShadowSibling:
500     @@ISA:
501     @@@@:
502     DOMHTML:ManakaiDOMHTMLElement
503     @@@ForCheck:
504     ManakaiDOM:ForClass
505    
506     ElementTypeBinding:
507     @Name: ETQName
508     @ElementType:
509 wakaba 1.9 dis:AppName
510 wakaba 1.4 @ShadowContent:
511     @@ForCheck:
512     s:ForML
513 wakaba 1.9 @@ContentType: dis|TypeQName
514 wakaba 1.4 ElementTypeBinding:
515     @Name: IFQName
516     @ElementType:
517     dis:QName
518     @ShadowContent:
519     @@ForCheck:
520     ManakaiDOM:ForIF
521     ElementTypeBinding:
522     @Name: ClsQName
523     @ElementType:
524     dis:QName
525     @ShadowContent:
526     @@ForCheck:
527     ManakaiDOM:ForClass
528    
529     ElementTypeBinding:
530     @Name: DOMAName
531     @ElementType:
532     dis:Name
533     @ShadowContent:
534     @@ForCheck:
535     ManakaiDOM:DOM
536     ElementTypeBinding:
537     @Name: AName
538     @ElementType:
539     dis:Name
540     @ShadowContent:
541     @@ForCheck:
542     DOMHTML:ForHTML
543 wakaba 1.1
544     IF:
545 wakaba 1.4 @IFQName:
546     DOMHTML:HTMLOptionsCollection
547     @ClsQName:ManakaiDOMHTMLOptionsCollection
548 wakaba 1.1 @Description:
549     @@lang:en
550     @@@:
551 wakaba 1.10 A list of nodes representing HTML <HE::option> elements.
552 wakaba 1.1 An individual node may be accessed by either ordinal index
553 wakaba 1.10 or the <HA::name> or <HA::id> of the node.
554 wakaba 1.1 \
555 wakaba 1.10 <IF::HTMLOptionCollection> objects are <EM::live>; they are
556 wakaba 1.1 automatically updated when the underlying document
557     is changed.
558 wakaba 1.2 \
559 wakaba 1.10 {NOTE:: In DOM Level 1, <IF::HTMLCollection> interface
560     was used in place of <IF::HTMLOptionsCollection>.
561 wakaba 1.2 \
562     }
563 wakaba 1.1
564     @Level[list]: 2
565     @SpecLevel[list]: 2
566 wakaba 1.4 @L2IF:
567    
568 wakaba 1.1 @Attr:
569     @@Name: length
570     @@Description:
571     @@@lang:en
572     @@@@:
573     The length of the list.
574     @@Get:
575     @@@Type:
576     DOMMain:unsigned-long
577     @@Set:
578     @@@Type:
579     DOMMain:unsigned-long
580     @@@Exception:
581     @@@@Name: NOT_SUPPORTED_ERR
582     @@@@Type:
583     DOMCore:DOMException
584     @@@@SubType:
585     @@@@@QName:
586     ManakaiDOMHTML:MDOMHTML_IMPL_NOSUPPORT_SET_OPTION_LENGTH
587     @@@@@Description:
588     @@@@@@lang:en
589     @@@@@@@:
590     Setting the length is not allowed by the DOM
591     implementation.
592     @Method:
593     @@Name: item
594     @@Description:
595     @@@lang:en
596     @@@@:
597     Retrieve a node specified by ordinal index.
598     @@Param:
599     @@@Name: index
600     @@@Type:
601     DOMMain:unsigned-long
602     @@@Description:
603     @@@@lang:en
604     @@@@@:
605     Ordinal index of the node to retrieve, in the
606 wakaba 1.10 document order. The index origin is <DOM::0>.
607 wakaba 1.1 @@Return:
608 wakaba 1.4 @@@Type:
609     DOMCore:Node
610 wakaba 1.1 @@@Description:
611     @@@@lang:en
612     @@@@@:
613 wakaba 1.10 The <P::index>th node.
614 wakaba 1.1 @@@InCase:
615     @@@@Value:
616     @@@@@is-null:1
617     @@@@Description:
618     @@@@@lang:en
619     @@@@@@:
620 wakaba 1.10 The <P::index> is out of range.
621 wakaba 1.1 @Method:
622     @@Name: namedItem
623     @@Description:
624     @@@lang:en
625     @@@@:
626     Retrieve a node using a name.
627     \
628 wakaba 1.10 It first searches for a <IF::DOMCore:Node> with a matching <HA::id>
629 wakaba 1.1 attributes. If it does not find one, it searches for a
630 wakaba 1.10 <IF::DOMCore:Node> (that are allowed to specify a <HA::name> attribute).
631     with a matching <HA::name> attribute.
632 wakaba 1.1 @@Param:
633     @@@Name: name
634     @@@Type: DOMString
635     @@@Description:
636     @@@@lang:en
637     @@@@@:
638     The name of the node to retrieve. The matching is
639     case-insensitive in HTML documents and case-sensitve
640     in XHTML documents.
641     @@Return:
642     @@@Type:
643     DOMCore:Node
644     @@@Description:
645     @@@@lang:en
646     @@@@@:
647 wakaba 1.10 The <IF::DOMCore:Node> with a <HA::name> or <HA::id> whose
648     value matches with <P::name>.
649 wakaba 1.1 @@@InCase:
650     @@@@Value:
651     @@@@@is-null:1
652     @@@@Description:
653     @@@@@lang:en
654     @@@@@@:
655 wakaba 1.10 There is no node with such a <P::name>.
656 wakaba 1.1 ##IF:HTMLOptionCollection
657    
658 wakaba 1.4 ET:
659     @ETQName:
660     xhtml1:form
661     @IFQName:
662     DOMHTML:HTMLFormElement
663     @ClsQName:ManakaiDOMHTMLFormElement
664     @ISAHTMLElement:
665     @L1IF:
666    
667 wakaba 1.1 @Description:
668     @@lang:en
669     @@@:
670     This interface encompasses behavior similar to a collection
671     and an element. It provides direct access to the contained
672     form controls as well as attributes of the form element.
673 wakaba 1.4
674 wakaba 1.1 @Attr:
675     @@Name: elements
676     @@Description:
677     @@@lang:en
678     @@@@:
679     A collection of all form controls in this form.
680     @@Get:
681     @@@Type:
682     DOMHTML:HTMLCollection
683     @Attr:
684     @@Name: length
685     @@Description:
686     @@@lang:en
687     @@@@:
688     The number of form controls in this form.
689     @@Get:
690     @@@Type:
691     DOMMain:long
692     @Attr:
693     @@Name: name
694     @@Description:
695     @@@lang:en
696     @@@@:
697     The name of the form.
698     \
699     {NOTE:: The DOM HTML Specifications does not mention
700 wakaba 1.10 to the HTML 4.01 <HA::name> attribute, which is
701 wakaba 1.1 added for backward compatibility with DOM Level 0.
702     \
703     }
704 wakaba 1.8 @@rcdata:
705 wakaba 1.1 @@Get:
706     @@Set:
707 wakaba 1.4 @ATTR:
708     @@AName:accept-charset
709     @@DOMAName: acceptCharset
710 wakaba 1.8 @@rcdata:
711 wakaba 1.1 @@Get:
712     @@Set:
713 wakaba 1.4 @ATTR:
714 wakaba 1.1 @@Name: action
715 wakaba 1.8 @@ruri:
716 wakaba 1.1 @@Get:
717     @@Set:
718 wakaba 1.4 @ATTR:
719 wakaba 1.1 @@Name: enctype
720 wakaba 1.8 @@rcdata:
721 wakaba 1.1 @@Get:
722     @@Set:
723 wakaba 1.4 @ATTR:
724 wakaba 1.1 @@Name: method
725 wakaba 1.8 @@renum:
726 wakaba 1.1 @@Get:
727     @@Set:
728 wakaba 1.4 @ATTR:
729 wakaba 1.1 @@Name: target
730 wakaba 1.8 @@rcdata:
731 wakaba 1.1 @@Get:
732     @@Set:
733     @Method:
734     @@Name: submit
735     @@Description:
736     @@@lang:en
737     @@@@:
738     Submit the form, as the activation of submit buttons do.
739     \
740 wakaba 1.10 {NOTE:: The <HA::onsubmit> or <EV::submit> event handler is not
741 wakaba 1.1 guaranteed to be triggered when invoking this method
742 wakaba 1.10 for historical reasons. DOM Level 3 <EV::ev:submit>
743 wakaba 1.1 event is defined not to triggered on this method.
744     \
745     }
746     @@Return:
747     @Method:
748     @@Name: reset
749     @@Description:
750     @@@lang:en
751     @@@@:
752     Restore current values of form controls to initial values,
753     as the activation of reset buttons do.
754     @@Return:
755     ##IF:HTMLFormElement
756    
757 wakaba 1.4 ET:
758     @ETQName:
759     xhtml1:select
760     @IFQName:
761     DOMHTML:HTMLSelectElement
762     @ClsQName: ManakaiDOMHTMLSelectElement
763     @ISAHTMLElement:
764     @L1IF:
765    
766 wakaba 1.1 @Attr:
767     @@Name: type
768     @@Description:
769     @@@lang:en
770     @@@@:
771     The type of this form control.
772 wakaba 1.4 @@Type:
773     DOMMain:DOMString
774 wakaba 1.1 @@Get:
775     @@@InCase:
776     @@@@Value:select-one
777     @@@@Description:
778     @@@@@lang:en
779     @@@@@@:
780 wakaba 1.10 <A::DOMHTML:HTMLSelectElement.multiple> is <DOM::false>.
781 wakaba 1.1 @@@InCase:
782     @@@@Value:select-multiple
783     @@@@Description:
784     @@@@@lang:en
785     @@@@@@:
786 wakaba 1.10 <A::DOMHTML:HTMLSelectElement.multiple> is <DOM::true>.
787 wakaba 1.2 @@@ImplNote:
788     @@@@lang:en
789     @@@@@:
790     Values were not defined in DOM Level 1 First Edition;
791     they were added in the DOM Level 1 Errata.
792 wakaba 1.4 @@@PerlDef:
793 wakaba 1.1 __DEEP{
794 wakaba 1.6 $r = $self-><AG::DOMHTML:HTMLSelectElement.multiple>
795 wakaba 1.4 ? "select-multiple" : "select-one";
796 wakaba 1.1 }__;
797     @Attr:
798     @@Name: selectedIndex
799     @@Description:
800     @@@lang:en
801     @@@@:
802     The ordinal index of the selected option.
803     @@Get:
804     @@@Type:
805     DOMMain:long
806     @@@Description:
807     @@@@lang:en
808     @@@@@:
809     The ordinal index of the selected option, starging
810 wakaba 1.10 from <DOM::0>. If multiple options are selected,
811 wakaba 1.1 the index of the first selected option is returned.
812     @@@InCase:
813     @@@@Value:-1
814     @@@@Description:
815     @@@@@lang:en
816     @@@@@@:
817     No option is selected.
818     @@Set:
819     @@@Type:
820     DOMMain:long
821     @Attr:
822     @@Name: value
823     @@Description:
824     @@@lang:en
825     @@@@:
826     The current control value (i.e. the value of the
827     currently selected option). If multiple options are
828     selected, the value of the first selected option.
829     @@Get:
830     @@@Type: DOMString
831     @@Set:
832     @@@Type: DOMString
833     @Attr:
834     @@Name: length
835     @@Description:
836     @@@lang:en
837     @@@@:
838     The number of options in this menu control.
839     @@Get:
840     @@@Type:
841 wakaba 1.2 @@@@@:
842     DOMMain:unsigned-long
843     @@@@ImplNote:
844     @@@@@lang:en
845     @@@@@@:
846 wakaba 1.10 The type was <TYPE::DOMMain:long> in DOM Level 1.
847 wakaba 1.1 @@Set:
848     @@@Type:
849     DOMMain:unsigned-long
850     @@@Exception:
851     @@@@Name: NOT_SUPPORTED_ERR
852     @@@@Type:
853     DOMCore:DOMException
854     @@@@SubType:
855     @@@@@QName:
856     DOMHTML:MDOMHTML_IMPL_NOSUPPORT_SET_SELECT_LENGTH
857     @@@@@Description:
858     @@@@@@lang:en
859     @@@@@@@:
860     Setting the length is not allowed by the
861     DOM implementation.
862 wakaba 1.2 @@@SpecLevel:2
863     @@@Level:2
864 wakaba 1.4 @@@For:
865     ManakaiDOM:DOM2
866 wakaba 1.1 @@Level[list]:
867     1
868     2
869     @@SpecLevel[list]:
870     1
871     2
872     @Attr:
873     @@Name: form
874     @@Description:
875     @@@lang:en
876     @@@@:
877 wakaba 1.10 The <HE::form> element containing this control.
878 wakaba 1.1 @@Get:
879 wakaba 1.4 @@@Type:
880     DOMHTML:HTMLFormElement
881 wakaba 1.1 @@@InCase:
882     @@@@Value:
883     @@@@@is-null:1
884     @@@@Description:
885     @@@@@lang:en
886     @@@@@@:
887     This control is not within the context of a form.
888     @Attr:
889     @@Name: options
890     @@Description:
891     @@@lang:en
892     @@@@:
893 wakaba 1.10 The collection of <HE::option> elements contained
894 wakaba 1.1 by this element.
895     @@Get:
896 wakaba 1.2 @@@Type:
897 wakaba 1.4 @@@@@:
898     DOMHTML:HTMLOptionsCollection
899     @@@@For:
900     ManakaiDOM:DOM2
901     @@@Type:
902     @@@@@:
903     DOMHTML:HTMLCollection
904     @@@@For:
905     ManakaiDOM:DOM1 !ManakaiDOM:DOM2
906     @ATTR:
907 wakaba 1.1 @@Name: disabled
908 wakaba 1.8 @@rbool:
909 wakaba 1.1 @@Get:
910     @@@InCase:
911     @@@@Value: true
912     @@@InCase:
913     @@@@Value: false
914     @@Set:
915     @@@InCase:
916     @@@@Value: true
917     @@@InCase:
918     @@@@Value: false
919 wakaba 1.4 @ATTR:
920 wakaba 1.1 @@Name: multiple
921 wakaba 1.8 @@rbool:
922 wakaba 1.1 @@Get:
923     @@@InCase:
924     @@@@Value: true
925     @@@InCase:
926     @@@@Value: false
927     @@Set:
928     @@@InCase:
929     @@@@Value: true
930     @@@InCase:
931     @@@@Value: false
932 wakaba 1.4 @ATTR:
933 wakaba 1.1 @@Name: name
934 wakaba 1.8 @@rcdata:
935 wakaba 1.1 @@Get:
936     @@Set:
937 wakaba 1.4 @ATTR:
938 wakaba 1.1 @@Name: size
939 wakaba 1.8 @@rlong:
940 wakaba 1.1 @@Get:
941     @@Set:
942 wakaba 1.4 @ATTR:
943     @@AName:tabindex
944     @@DOMAName: tabIndex
945 wakaba 1.8 @@rlong:
946 wakaba 1.1 @@Get:
947     @@Set:
948     @Method:
949     @@Name: add
950     @@Description:
951     @@@lang:en
952     @@@@:
953 wakaba 1.10 Add a new element to the collection of <HE::option>
954 wakaba 1.1 elements.
955     @@Param:
956     @@@Name: element
957     @@@Type:
958     DOMHTML:HTMLElement
959     @@@Description:
960     @@@@lang:en
961     @@@@@:
962     The element to add.
963     @@@InCase:
964 wakaba 1.4 @@@@Type:
965     DOMHTML:HTMLOptionElement
966 wakaba 1.1 @@@@Description:
967     @@@@@lang:en
968     @@@@@@:
969     The option to add.
970     @@@InCase:
971 wakaba 1.4 @@@@Type:
972     DOMHTML:HTMLOptGroupElement
973 wakaba 1.1 @@@@Description:
974     @@@@@lang:en
975     @@@@@@:
976     The option group to add.
977     @@@InCase:
978     @@@@Label:
979     @@@@@lang:en
980     @@@@@@:Otherwise
981     @@@@Description:
982     @@@@@lang:en
983     @@@@@@:
984     This method has no effect.
985     @@Param:
986     @@@Name: before
987     @@@Type:
988     DOMHTML:HTMLElement
989     @@@Description:
990     @@@@lang:en
991     @@@@@:
992     This method is the equivalent of the
993 wakaba 1.10 <M::DOMCore:Node.insertBefore> method on the parent of
994     <P::before>.
995 wakaba 1.1 @@@InCase:
996     @@@@Value:
997     @@@@@is-null:1
998     @@@@Description:
999     @@@@@lang:en
1000     @@@@@@:
1001     This method is the equivalent of the
1002 wakaba 1.10 <M::DOMCore:Node.appendChild> method.
1003 wakaba 1.2 @@@@ImplNote:
1004     @@@@@lang:en
1005     @@@@@@:
1006     It was defined to prepend in DOM Level 1 First Edition -
1007     fixed in DOM Level 1 Errata.
1008 wakaba 1.1 @@Return:
1009     @@@Exception:
1010     @@@@Name: NOT_FOUND_ERR
1011     @@@@Type:
1012     DOMCore:DOMException
1013     @@@@Description:
1014     @@@@@lang:en
1015     @@@@@@:
1016 wakaba 1.10 The <P::before> node is not a descendant of this element.
1017 wakaba 1.1 @Method:
1018     @@Name: remove
1019     @@Description:
1020     @@@lang:en
1021     @@@@:
1022 wakaba 1.10 Remove an element from the collection of <HE::option> elements.
1023 wakaba 1.1 @@Param:
1024     @@@Name: index
1025     @@@Type:
1026     DOMMain:long
1027     @@@Description:
1028     @@@@lang:en
1029     @@@@@:
1030     The ordinal index of the item to remove, starting from
1031 wakaba 1.10 <DOM::0>. If no element has the given index,
1032 wakaba 1.1 this method has no effect.
1033     @@Return:
1034     @Method:
1035     @@Name: blur
1036     @@Description:
1037     @@@lang:en
1038     @@@@: Remove forcus from this element.
1039     @@Return:
1040     @Method:
1041     @@Name: focus
1042     @@Description:
1043     @@@lang:en
1044     @@@@:Give forcus to this element.
1045     @@Return:
1046     ##IF:HTMLSelectElement
1047    
1048 wakaba 1.4 ET:
1049     @ETQName:
1050     xhtml1:optgroup
1051     @IFQName:
1052     DOMHTML:HTMLOptGroupElement
1053     @ClsQName:ManakaiDOMHTMLOptGroupElement
1054     @ISAHTMLElement:
1055     @L1IF:
1056    
1057     @ATTR:
1058 wakaba 1.1 @@Name: disabled
1059 wakaba 1.8 @@rbool:
1060 wakaba 1.1 @@Get:
1061     @@@InCase:
1062     @@@@Value: true
1063     @@@InCase:
1064     @@@@Value: false
1065     @@Set:
1066     @@@InCase:
1067     @@@@Value: true
1068     @@@InCase:
1069     @@@@Value: false
1070 wakaba 1.4 @ATTR:
1071 wakaba 1.1 @@Name: label
1072 wakaba 1.8 @@rcdata:
1073 wakaba 1.1 @@Get:
1074     @@Set:
1075     ##IF:HTMLOptGroupElement
1076    
1077 wakaba 1.4 ET:
1078     @ETQName:
1079     xhtml1:option
1080     @IFQName:
1081     DOMHTML:HTMLOptionElement
1082     @ClsQName:
1083     ManakaiDOMHTMLOptionElement
1084     @ISAHTMLElement:
1085     @L1IF:
1086    
1087 wakaba 1.1 @Attr:
1088     @@Name: form
1089     @@Description:
1090     @@@lang:en
1091     @@@@:
1092 wakaba 1.10 The <HE::form> element containing this control.
1093 wakaba 1.1 @@Get:
1094 wakaba 1.4 @@@Type:
1095     DOMHTML:HTMLFormElement
1096 wakaba 1.1 @@@InCase:
1097     @@@@Value:
1098     @@@@@is-null:1
1099     @@@@Description:
1100     @@@@@lang:en
1101     @@@@@@:
1102     This control is not within the context of a form.
1103 wakaba 1.4 @ATTR:
1104     @@AName:selected
1105     @@DOMAName: defaultSelected
1106 wakaba 1.1 @@Description:
1107     @@@lang:en
1108     @@@@:
1109     Whether the option is initially selected or not.
1110     The value of this attribute does not change
1111     if the state of the corresponding form control changes.
1112 wakaba 1.8 @@rbool:
1113 wakaba 1.1 @@Get:
1114     @@@InCase:
1115     @@@@Value: true
1116     @@@InCase:
1117     @@@@Value: false
1118     @@Set:
1119     @@@InCase:
1120     @@@@Value: true
1121     @@@InCase:
1122     @@@@Value: false
1123     @@Level[list]:
1124     1
1125     @@SpecLevel[list]:
1126     1
1127     2
1128     @Attr:
1129     @@Name: text
1130     @@Description:
1131     @@@lang:en
1132     @@@@:
1133 wakaba 1.10 The text contained within the <HE::option> element.
1134 wakaba 1.1 @@Get:
1135     @@@Type: DOMString
1136     @@@Def:
1137 wakaba 1.4 @@@@ContentType:
1138     lang:dis
1139     @@@@DISPerl:cloneCode:
1140 wakaba 1.6 DOMCore:ManakaiDOMNode.textContent.get
1141 wakaba 1.1 @Attr:
1142     @@Name: index
1143     @@Description:
1144     @@@lang:en
1145     @@@@:
1146 wakaba 1.10 The index of this <HE::option> in its parent
1147     <HE::select>, starting from <DOM::0>.
1148 wakaba 1.1 @@ImplNote:
1149     @@@lang:en
1150     @@@@:
1151 wakaba 1.10 Should be <QUOTE::ancestor>, not <QUOTE::parent>?
1152 wakaba 1.1 @@Get:
1153     @@@Type:
1154     DOMMain:long
1155 wakaba 1.2 @@ImplNote:
1156     @@@lang:en
1157     @@@@:
1158     It was writable in DOM Level 1, without description.
1159     It was ammended in DOM Level 1 Errata.
1160 wakaba 1.1 @@Level[list]:
1161     1
1162     @@SpecLevel[list]:
1163     1
1164     2
1165 wakaba 1.4 @ATTR:
1166 wakaba 1.1 @@Name: disabled
1167 wakaba 1.8 @@rbool:
1168 wakaba 1.1 @@Get:
1169     @@@InCase:
1170     @@@@Value: true
1171     @@@InCase:
1172     @@@@Value: false
1173     @@Set:
1174     @@@InCase:
1175     @@@@Value: true
1176     @@@InCase:
1177     @@@@Value: false
1178 wakaba 1.4 @ATTR:
1179 wakaba 1.1 @@Name: label
1180 wakaba 1.8 @@rcdata:
1181 wakaba 1.1 @@Get:
1182     @@Set:
1183     @Attr:
1184     @@Name: selected
1185     @@Description:
1186     @@@lang:en
1187     @@@@:
1188     The current state of the corresponding form control.
1189     Changing this attribute changes the state of the form
1190     control, but does not change the value of the HTML
1191 wakaba 1.10 <HA::selected> attribute.
1192 wakaba 1.1 @@Get:
1193     @@@Type:
1194     DOMMain:boolean
1195     @@@InCase:
1196     @@@@Value: true
1197     @@@InCase:
1198     @@@@Value: false
1199     @@@Def:
1200 wakaba 1.4 @@@@ContentType:
1201 wakaba 1.1 lang:dis
1202     @@@@GetProp:
1203     DOMHTML:selected
1204     @@Set:
1205     @@@Type:
1206     DOMMain:boolean
1207     @@@InCase:
1208     @@@@Value: true
1209     @@@InCase:
1210     @@@@Value: false
1211     @@@Def:
1212 wakaba 1.4 @@@@ContentType:
1213 wakaba 1.1 lang:dis
1214     @@@@SetProp:
1215     DOMHTML:selected
1216 wakaba 1.2 @@@ImplNote:
1217     @@@@lang:en
1218     @@@@@:
1219     Marked as read-only attribute in DOM Level 1 First Edition.
1220     It was ammended in DOM Level 1 Errata.
1221 wakaba 1.4 @ATTR:
1222 wakaba 1.1 @@Name: value
1223 wakaba 1.8 @@rcdata:
1224 wakaba 1.1 @@Get:
1225     @@Set:
1226     ##IF:HTMLOptionElement
1227    
1228 wakaba 1.4 PropDef:
1229     @QName:
1230     DOMHTML:selected
1231     @Description:
1232     @@lang:en
1233     @@@:
1234     Whether a subject option element is selected or not.
1235    
1236     ET:
1237     @ETQName:
1238     xhtml1:input
1239     @IFQName:
1240     DOMHTML:HTMLInputElement
1241     @ClsQName:ManakaiDOMHTMLInputElement
1242     @ISAHTMLElement:
1243     @L1IF:
1244    
1245     @ATTR:
1246     @@AName:value
1247     @@DOMAName: defaultValue
1248 wakaba 1.1 @@Description:
1249     @@@lang:en
1250     @@@@:
1251 wakaba 1.10 The initial value of the <HTML::text>, <HTML::file> or
1252     <HTML::password> control.
1253 wakaba 1.8 @@rcdata:
1254 wakaba 1.1 @@Get:
1255     @@Set:
1256 wakaba 1.4 @ATTR:
1257     @@AName:checked
1258     @@DOMAName: defaultChecked
1259 wakaba 1.1 @@Description:
1260     @@@lang:en
1261     @@@@:
1262 wakaba 1.10 The initial state of the <HTML::checkbox> or <HTML::radio>
1263 wakaba 1.1 button control.
1264 wakaba 1.8 @@rbool:
1265 wakaba 1.1 @@Get:
1266     @@@InCase:
1267     @@@@Value: true
1268     @@@InCase:
1269     @@@@Value: false
1270     @@Set:
1271     @@@InCase:
1272     @@@@Value: true
1273     @@@InCase:
1274     @@@@Value: false
1275     @Attr:
1276     @@Name: form
1277     @@Description:
1278     @@@lang:en
1279     @@@@:
1280 wakaba 1.10 The <HE::form> element containing this control.
1281 wakaba 1.1 @@Get:
1282 wakaba 1.4 @@@Type:
1283     DOMHTML:HTMLFormElement
1284 wakaba 1.1 @@@InCase:
1285     @@@@Value:
1286     @@@@@is-null:1
1287     @@@@Description:
1288     @@@@@lang:en
1289     @@@@@@:
1290     This control is not within the context of a form.
1291 wakaba 1.4 @ATTR:
1292 wakaba 1.1 @@Name: accept
1293 wakaba 1.8 @@rcdata:
1294 wakaba 1.1 @@Get:
1295     @@Set:
1296 wakaba 1.4 @ATTR:
1297     @@AName:accesskey
1298     @@DOMAName: accessKey
1299 wakaba 1.8 @@rcdata:
1300 wakaba 1.1 @@Get:
1301     @@Set:
1302 wakaba 1.4 @ATTR:
1303 wakaba 1.1 @@Name: align
1304 wakaba 1.4 @@Deprecated:
1305 wakaba 1.8 @@renum:
1306 wakaba 1.1 @@Get:
1307     @@Set:
1308 wakaba 1.4 @ATTR:
1309 wakaba 1.1 @@Name: alt
1310 wakaba 1.8 @@rcdata:
1311 wakaba 1.1 @@Get:
1312     @@Set:
1313     @Attr:
1314     @@Name: checked
1315     @@Description:
1316     @@@lang:en
1317     @@@@:
1318     The current state of the form control. Changes
1319     to this attribute change the state of the control,
1320 wakaba 1.10 but do not change the value of the HTML <HA::checke>
1321     attribute. (When the <HA::type> is either <HTML::radio>
1322     or <HTML::checkbox>.)
1323 wakaba 1.1 \
1324 wakaba 1.10 {NOTE:: During the handling of a <EV::ev:click>
1325 wakaba 1.1 event, some DOM implementations may change
1326 wakaba 1.10 the <A::checked> status before the event
1327 wakaba 1.1 is being dispatched. If the default action
1328 wakaba 1.10 of the event is canceled, the <A::.checked>
1329 wakaba 1.1 state is changed back to the original value.
1330     In other word, the value of this attribute
1331 wakaba 1.10 during the handling of <EV::ev:click> (or
1332     e.g. <EV::ev:DOMActivate>) events
1333 wakaba 1.1 is implementation dependent.
1334     \
1335     }
1336     @@Get:
1337     @@@Type:
1338     DOMMain:boolean
1339     @@@InCase:
1340     @@@@Value: true
1341     @@@InCase:
1342     @@@@Value: false
1343     @@Set:
1344     @@@Type:
1345     DOMMain:boolean
1346     @@@InCase:
1347     @@@@Value: true
1348     @@@InCase:
1349     @@@@Value: false
1350 wakaba 1.4 @ATTR:
1351 wakaba 1.1 @@Name: disabled
1352 wakaba 1.8 @@rbool:
1353 wakaba 1.1 @@Get:
1354     @@@InCase:
1355     @@@@Value: true
1356     @@@InCase:
1357     @@@@Value: false
1358     @@Set:
1359     @@@InCase:
1360     @@@@Value: true
1361     @@@InCase:
1362     @@@@Value: false
1363 wakaba 1.4 @ATTR:
1364     @@AName:maxlength
1365     @@DOMAName: maxLength
1366 wakaba 1.8 @@rlong:
1367 wakaba 1.1 @@Get:
1368     @@Set:
1369 wakaba 1.4 @ATTR:
1370 wakaba 1.1 @@Name: name
1371 wakaba 1.8 @@rcdata:
1372 wakaba 1.1 @@Get:
1373     @@Set:
1374 wakaba 1.4 @ATTR:
1375     @@AName:readonly
1376     @@DOMAName: readOnly
1377 wakaba 1.8 @@rbool:
1378 wakaba 1.1 @@Get:
1379     @@@InCase:
1380     @@@@Value: true
1381     @@@InCase:
1382     @@@@Value: false
1383     @@Set:
1384     @@@InCase:
1385     @@@@Value: true
1386     @@@InCase:
1387     @@@@Value: false
1388 wakaba 1.4 @ATTR:
1389 wakaba 1.1 @@Name: size
1390 wakaba 1.8 @@Type:
1391     @@@@: DOMMain|unsigned-long||ManakaiDOM|all
1392     @@@ForCheck: ManakaiDOM|DOM2
1393     @@actualType:
1394     @@@@: DOMHTML|UnsignedNumeric
1395     @@@ForCheck: ManakaiDOM|DOM2
1396     @@Type:
1397     @@@@: DOMString
1398     @@@ForCheck: !ManakaiDOM|DOM2
1399     @@actualType:
1400     @@@@: DOMHTML|CDATADOMString
1401     @@@ForCheck: !ManakaiDOM|DOM2
1402 wakaba 1.1 @@Get:
1403     @@Set:
1404     @@Level[list]:
1405     1
1406     @@SpecLevel[list]:
1407     1
1408     2
1409 wakaba 1.4 @ATTR:
1410 wakaba 1.1 @@Name: src
1411 wakaba 1.8 @@ruri:
1412 wakaba 1.1 @@Get:
1413     @@Set:
1414 wakaba 1.4 @ATTR:
1415     @@AName:tabindex
1416     @@DOMAName: tabIndex
1417 wakaba 1.8 @@rlong:
1418 wakaba 1.1 @@Get:
1419     @@Set:
1420 wakaba 1.4 @ATTR:
1421 wakaba 1.1 @@Name: type
1422 wakaba 1.8 @@rcdata:
1423 wakaba 1.1 @@Get:
1424     @@Set:
1425 wakaba 1.2 @@@SpecLevel:2
1426     @@@Level:2
1427 wakaba 1.4 @@@L2:
1428 wakaba 1.1 @@Level[list]:
1429     1
1430     2
1431     @@SpecLevel[list]:
1432     1
1433     2
1434 wakaba 1.4 @ATTR:
1435     @@AName:usemap
1436     @@DOMAName: useMap
1437 wakaba 1.8 @@ruri:
1438 wakaba 1.1 @@Get:
1439     @@Set:
1440     @@ImplNote:
1441     @@@lang:en
1442     @@@@:
1443 wakaba 1.10 The HTML 4 and XHTML 1.0 <HA::usemap> attribute value
1444     is defined as <SGML::%URI;>, while the XHTML m12n
1445     <HA::usemap> value is <XML::IDREF>.
1446 wakaba 1.1 @Attr:
1447     @@Name: value
1448     @@Description:
1449     @@@lang:en
1450     @@@@:
1451 wakaba 1.10 The current value of the <HTML::text>, <HTML::file> or
1452     <HTML::password> control. Changing this attribute
1453 wakaba 1.1 changes the contents of the form control, but does
1454 wakaba 1.10 not change the value of the HTML <HA::value>
1455 wakaba 1.1 attribute.
1456     \
1457 wakaba 1.10 For the <HTML::button>, <HTML::hidden>, <HTML::submit>,
1458     <HTML::reset>, <HTML::image>, <HTML::checkbox> or
1459     <HTML::radio> control, this attribute represents
1460     the HTML <HA::value> attribute.
1461 wakaba 1.2 \
1462     {NOTE:: The DOM Level 1 First Edition described that
1463 wakaba 1.10 this attribute is applied to <HTML::checkbox>
1464     or <HTML::radio> controls. It is ammended
1465 wakaba 1.2 by the DOM Level 1 First Edition Errata.
1466     \
1467     }
1468 wakaba 1.1 @@Get:
1469     @@@Type: DOMString
1470     @@@Description:
1471     @@@@lang:en
1472     @@@@@:
1473     {NOTE:: The actual value may be masked to
1474 wakaba 1.10 prevent unauthorized use for the <HTML::password>
1475 wakaba 1.1 input control.
1476     \
1477     }
1478     @@@ImplNote:
1479     @@@@lang:en
1480     @@@@@:
1481     ISSUE: Some mechanism to mask password required?
1482 wakaba 1.4 @@@PerlDef:
1483 wakaba 1.1 my $type;
1484     __DEEP{
1485 wakaba 1.7 $type = $self-><AG::DOMHTML:HTMLInputElement.type>;
1486 wakaba 1.1 }__;
1487     if ({text => 1, password => 1, file => 1}->{$type}) {
1488 wakaba 1.4 ## TODO:
1489 wakaba 1.6 # __ DISCODE{
1490 wakaba 1.4 # GetProp:
1491     # \ DOMHTML:value
1492     # }__;
1493 wakaba 1.1 } else {
1494 wakaba 1.4 ## TODO:
1495 wakaba 1.6 #__ DISDODE{
1496 wakaba 1.4 # get-attribute-value:
1497     # \ value
1498     #}__;
1499 wakaba 1.1 }
1500     @@Set:
1501 wakaba 1.4 @@@Type:
1502     DOMMain:DOMString
1503 wakaba 1.1 @@@Description:
1504     @@@@lang:en
1505     @@@@@:
1506 wakaba 1.10 {NOTE:: The <A::.value> may be read-only for
1507 wakaba 1.1 the file upload control.
1508     \
1509     }
1510     @@@ImplNote:
1511     @@@@lang:en
1512     @@@@@:
1513     TODO: Switch to make file value unchangable required.
1514 wakaba 1.4 @@@PerlDef:
1515 wakaba 1.1 my $type;
1516     __DEEP{
1517 wakaba 1.4 $type = $self-><AG::DOMHTML:HTMLInputElement.type>;
1518 wakaba 1.1 }__;
1519     if ({text => 1, password => 1, file => 1}->{$type}) {
1520 wakaba 1.4 ## TODO:
1521 wakaba 1.6 #__ DISCODE{
1522 wakaba 1.4 # SetProp:
1523     #\ DOMHTML:value
1524     #}__;
1525 wakaba 1.1 } else {
1526 wakaba 1.6 #__ DISDODE{
1527 wakaba 1.4 # set-attribute-value:
1528     # \ value
1529     #}__;
1530 wakaba 1.1 }
1531     @Method:
1532     @@Name: blur
1533     @@Description:
1534     @@@lang:en
1535     @@@@:
1536     Remove focus from this element.
1537     @@Return:
1538     @Method:
1539     @@Name: focus
1540     @@Description:
1541     @@@lang:en
1542     @@@@:
1543     Give focus to this element.
1544     @@Return:
1545     @Method:
1546     @@Name: select
1547     @@Description:
1548     @@@lang:en
1549     @@@@:
1550     Select the contents of the text area. (For the
1551 wakaba 1.10 <HTML::text>, <HTML::file> or <HTML::password> control).
1552 wakaba 1.1 @@Return:
1553     @Method:
1554     @@Name: click
1555     @@Description:
1556     @@@lang:en
1557     @@@@:
1558 wakaba 1.10 Simulate a mouse click. (For the <HTML::button>,
1559     <HTML::checkbox>, <HTML::radio>, <HTML::reset> or
1560     <HTML::submit> control.
1561 wakaba 1.1 @@Return:
1562     ##IF:HTMLInputElement
1563    
1564 wakaba 1.4 ET:
1565     @ETQName:
1566     xhtml1:textarea
1567     @IFQName:
1568     DOMHTML:HTMLTextAreaElement
1569     @ClsQName:ManakaiDOMHTMLTextAreaElement
1570     @ISAHTMLElement:
1571     @L1IF:
1572    
1573 wakaba 1.1 @Attr:
1574     @@Name: defaultValue
1575     @@Description:
1576     @@@lang:en
1577     @@@@:
1578     The initial value of the control, i.e. the contents
1579     of the element. The value of this attribute does
1580     not change if the contents of the corresponding
1581     form control.
1582     @@Get:
1583 wakaba 1.4 @@@Type:
1584     DOMMain:DOMString
1585 wakaba 1.1 @@@Def:
1586 wakaba 1.4 @@@@ContentType:
1587     lang:dis
1588     @@@@DISPerl:cloneCode:
1589 wakaba 1.6 DOMCore:ManakaiDOMNode.textContent.get
1590 wakaba 1.1 @@Set:
1591 wakaba 1.4 @@@Type:
1592     DOMMain:DOMString
1593 wakaba 1.1 @@@Def:
1594 wakaba 1.4 @@@@ContentType:
1595     lang:dis
1596     @@@@DISPerl:cloneCode:
1597 wakaba 1.6 DOMCore:ManakaiDOMNode.textContent.set
1598 wakaba 1.1 @@Level[list]:
1599     1
1600     @@SpecLevel[list]:
1601     1
1602     2
1603     @Attr:
1604     @@Name: form
1605     @@Description:
1606     @@@lang:en
1607     @@@@:
1608 wakaba 1.10 The <HE::form> element containing this control.
1609 wakaba 1.1 @@Get:
1610 wakaba 1.4 @@@Type:
1611     DOMHTML:HTMLFormElement
1612 wakaba 1.1 @@@InCase:
1613     @@@@Value:
1614     @@@@@is-null:1
1615     @@@@Description:
1616     @@@@@lang:en
1617     @@@@@@:
1618     This control is not within the context of a form.
1619 wakaba 1.4 @ATTR:
1620     @@AName:accesskey
1621     @@DOMAName: accessKey
1622 wakaba 1.8 @@rcdata:
1623 wakaba 1.1 @@Get:
1624     @@Set:
1625 wakaba 1.4 @ATTR:
1626 wakaba 1.1 @@Name: cols
1627 wakaba 1.8 @@rlong:
1628 wakaba 1.1 @@Get:
1629     @@Set:
1630 wakaba 1.4 @ATTR:
1631 wakaba 1.1 @@Name: disabled
1632 wakaba 1.8 @@rbool:
1633 wakaba 1.1 @@Get:
1634     @@@InCase:
1635     @@@@Value: true
1636     @@@InCase:
1637     @@@@Value: false
1638     @@Set:
1639     @@@InCase:
1640     @@@@Value: true
1641     @@@InCase:
1642     @@@@Value: false
1643 wakaba 1.4 @ATTR:
1644 wakaba 1.1 @@Name: name
1645 wakaba 1.8 @@rcdata:
1646 wakaba 1.1 @@Get:
1647     @@Set:
1648 wakaba 1.4 @ATTR:
1649     @@AName:readonly
1650     @@DOMAName: readOnly
1651 wakaba 1.8 @@rbool:
1652 wakaba 1.1 @@Get:
1653     @@@InCase:
1654     @@@@Value: true
1655     @@@InCase:
1656     @@@@Value: false
1657     @@Set:
1658     @@@InCase:
1659     @@@@Value: true
1660     @@@InCase:
1661     @@@@Value: false
1662 wakaba 1.4 @ATTR:
1663 wakaba 1.1 @@Name: rows
1664 wakaba 1.8 @@rlong:
1665 wakaba 1.1 @@Get:
1666     @@Set:
1667 wakaba 1.4 @ATTR:
1668     @@AName:tabindex
1669     @@DOMAName: tabIndex
1670 wakaba 1.8 @@rlong:
1671 wakaba 1.1 @@Get:
1672     @@Set:
1673     @Attr:
1674     @@Name: type
1675     @@Description:
1676     @@@lang:en
1677     @@@@:
1678     The type of this form control.
1679     @@Get:
1680     @@@Type: DOMString
1681     @@@InCase:
1682     @@@@Value:textarea
1683     @@@@Description:
1684     @@@@@lang:en
1685     @@@@@@:
1686     Always this value.
1687 wakaba 1.2 @@@@ImplNote:
1688     @@@@@lang:en
1689     @@@@@@:
1690     Not defined in DOM Level 1 FE - added in Errata.
1691 wakaba 1.1 @@@DefaultValue:textarea
1692 wakaba 1.4 @@@Def:
1693     @@@@ContentType:
1694     lang:dis
1695     @@@@DISLang:nop:
1696 wakaba 1.1 @Attr:
1697     @@Name: value
1698     @@Description:
1699     @@@lang:en
1700     @@@@:
1701     The current value of the corresponding form control.
1702     Changing this attribute changes the contents of
1703     the form control, but does not changes the contents
1704     of the element.
1705     @@Get:
1706     @@@Type: DOMString
1707     @@@Description:
1708     @@@@lang:en
1709     @@@@@:
1710     The current value. If the entirely of the data
1711 wakaba 1.10 cannot fit into a single <TYPE::DOMstring>,
1712 wakaba 1.1 the DOM implementation may truncate the data.
1713     @@@Def:
1714 wakaba 1.4 @@@@ContentType:
1715 wakaba 1.1 lang:dis
1716     @@@@GetProp:
1717     DOMHTML:value
1718     @@Set:
1719     @@@Type: DOMString
1720     @@@Def:
1721 wakaba 1.4 @@@@ContentType:
1722 wakaba 1.1 lang:dis
1723     @@@@SetProp:
1724     DOMHTML:value
1725     @Method:
1726     @@Name: blur
1727     @@Description:
1728     @@@lang:en
1729     @@@@:
1730     Remove focus from this element.
1731     @@Return:
1732     @Method:
1733     @@Name: focus
1734     @@Description:
1735     @@@lang:en
1736     @@@@:
1737     Give focus to this element.
1738     @@Return:
1739     @Method:
1740     @@Name: select
1741     @@Description:
1742     @@@lang:en
1743     @@@@:
1744 wakaba 1.10 Select the contents of the <HE::textarea>.
1745 wakaba 1.1 @@Return:
1746     ##IF:DOMHTMLTextAreaElement
1747    
1748 wakaba 1.4 PropDef:
1749 wakaba 1.7 @QName:
1750     DOMHTML:value
1751 wakaba 1.4 @Description:
1752     @@lang:en
1753     @@@:
1754     The current value of a subject form control.
1755    
1756     ET:
1757     @ETQName:
1758     xhtml1:button
1759     @IFQName:
1760     DOMHTML:HTMLButtonElement
1761     @ClsQName:ManakaiDOMHTMLButtonElement
1762     @ISAHTMLElement:
1763     @L1IF:
1764    
1765 wakaba 1.1 @Attr:
1766     @@Name: form
1767     @@Description:
1768     @@@lang:en
1769     @@@@:
1770 wakaba 1.10 The <HE::form> element containing this control.
1771 wakaba 1.1 @@Get:
1772 wakaba 1.4 @@@Type:
1773     DOMHTML:HTMLFormElement
1774 wakaba 1.1 @@@InCase:
1775     @@@@Value:
1776     @@@@@is-null:1
1777     @@@@Description:
1778     @@@@@lang:en
1779     @@@@@@:
1780     This control is not within the context of a form.
1781 wakaba 1.4 @ATTR:
1782     @@AName:accesskey
1783     @@DOMAName: accessKey
1784 wakaba 1.8 @@rcdata:
1785 wakaba 1.1 @@Get:
1786     @@Set:
1787 wakaba 1.4 @ATTR:
1788 wakaba 1.1 @@Name: disabled
1789 wakaba 1.8 @@rbool:
1790 wakaba 1.1 @@Get:
1791     @@@InCase:
1792     @@@@Value: true
1793     @@@InCase:
1794     @@@@Value: false
1795     @@Set:
1796     @@@InCase:
1797     @@@@Value: true
1798     @@@InCase:
1799     @@@@Value: false
1800 wakaba 1.4 @ATTR:
1801 wakaba 1.1 @@Name: name
1802 wakaba 1.8 @@rcdata:
1803 wakaba 1.1 @@Get:
1804     @@Set:
1805 wakaba 1.4 @ATTR:
1806     @@AName:tabindex
1807     @@DOMAName: tabIndex
1808 wakaba 1.8 @@rlong:
1809 wakaba 1.1 @@Get:
1810     @@Set:
1811 wakaba 1.4 @ATTR:
1812 wakaba 1.1 @@Name: type
1813 wakaba 1.8 @@renum:
1814 wakaba 1.1 @@Get:
1815 wakaba 1.4 @ATTR:
1816 wakaba 1.1 @@Name: value
1817 wakaba 1.8 @@rcdata:
1818 wakaba 1.1 @@Get:
1819     @@Set:
1820     ##IF:HTMLButtonElement
1821 wakaba 1.6
1822     ResourceDef:
1823     @QName: DOMString
1824     @AliasFor:
1825     DOMMain:DOMString
1826     @ForCheck:
1827     ManakaiDOM:ManakaiDOM
1828 wakaba 1.1
1829 wakaba 1.4 ET:
1830     @ETQName:
1831     xhtml1:label
1832     @IFQName:
1833     DOMHTML:HTMLLabelElement
1834     @ClsQName:
1835     ManakaiDOMHTMLLabelElement
1836     @ISAHTMLElement:
1837     @L1IF:
1838    
1839 wakaba 1.1 @Attr:
1840     @@Name: form
1841     @@Description:
1842     @@@lang:en
1843     @@@@:
1844 wakaba 1.10 The <HE::form> element containing this control.
1845 wakaba 1.1 @@Get:
1846 wakaba 1.4 @@@Type:
1847     DOMHTML:HTMLFormElement
1848 wakaba 1.1 @@@InCase:
1849     @@@@Value:
1850     @@@@@is-null:1
1851     @@@@Description:
1852     @@@@@lang:en
1853     @@@@@@:
1854     This control is not within the context of a form.
1855 wakaba 1.4 @ATTR:
1856     @@AName:accesskey
1857     @@DOMAName: accessKey
1858 wakaba 1.8 @@rcdata:
1859 wakaba 1.1 @@Get:
1860     @@Set:
1861 wakaba 1.4 @ATTR:
1862     @@AName:for
1863     @@DOMAName: htmlFor
1864 wakaba 1.8 @@rcdata:
1865 wakaba 1.1 @@Get:
1866     @@Set:
1867     ##IF:HTMLLabelElement
1868    
1869 wakaba 1.4 ET:
1870     @ETQName:
1871     xhtml1:fieldset
1872     @IFQName:
1873     DOMHTML:HTMLFieldSetElement
1874     @ClsQName:ManakaiDOMHTMLFieldSetElement
1875     @ISAHTMLElement:
1876     @L1IF:
1877    
1878 wakaba 1.1 @Attr:
1879     @@Name: form
1880     @@Description:
1881     @@@lang:en
1882     @@@@:
1883 wakaba 1.10 The <HE::form> element containing this control.
1884 wakaba 1.1 @@Get:
1885 wakaba 1.4 @@@Type:
1886     DOMHTML:HTMLFormElement
1887 wakaba 1.1 @@@InCase:
1888     @@@@Value:
1889     @@@@@is-null:1
1890     @@@@Description:
1891     @@@@@lang:en
1892     @@@@@@:
1893     This control is not within the context of a form.
1894     ##IF:HTMLFieldSetElement
1895    
1896 wakaba 1.4 ET:
1897     @ETQName:
1898     xhtml1:legend
1899     @IFQName:
1900     DOMHTML:HTMLLegendElement
1901     @ClsQName: ManakaiDOMHTMLLegendElement
1902     @ISAHTMLElement:
1903     @L1IF:
1904    
1905 wakaba 1.1 @Attr:
1906     @@Name: form
1907     @@Description:
1908     @@@lang:en
1909     @@@@:
1910 wakaba 1.10 The <HE::form> element containing this control.
1911 wakaba 1.1 @@Get:
1912 wakaba 1.4 @@@Type:
1913     DOMHTML:HTMLFormElement
1914 wakaba 1.1 @@@InCase:
1915     @@@@Value:
1916     @@@@@is-null:1
1917     @@@@Description:
1918     @@@@@lang:en
1919     @@@@@@:
1920     This control is not within the context of a form.
1921 wakaba 1.4 @ATTR:
1922     @@AName:accesskey
1923     @@DOMAName: accessKey
1924 wakaba 1.8 @@rcdata:
1925 wakaba 1.1 @@Get:
1926     @@Set:
1927 wakaba 1.4 @ATTR:
1928 wakaba 1.1 @@Name: align
1929 wakaba 1.4 @@Deprecated:
1930 wakaba 1.8 @@renum:
1931 wakaba 1.1 @@Get:
1932     @@Set:
1933     ##IF:HTMLLegendElement
1934    
1935 wakaba 1.8 ElementTypeBinding:
1936     @Name: rcdata
1937     @ElementType:
1938     dis:Type
1939     @ShadowContent: DOMString
1940     @ShadowSibling:
1941     @@actualType: DOMHTML|CDATADOMString
1942    
1943     ElementTypeBinding:
1944     @Name: ruri
1945     @ElementType:
1946     dis:Type
1947     @ShadowContent: DOMString
1948     @ShadowSibling:
1949     @@actualType: DOMHTML|URIDOMString
1950    
1951     ElementTypeBinding:
1952     @Name: renum
1953     @ElementType:
1954     dis:Type
1955     @ShadowContent: DOMString
1956     @ShadowSibling:
1957     @@actualType: DOMHTML|EnumDOMString
1958    
1959     ElementTypeBinding:
1960     @Name: rbool
1961     @ElementType:
1962     dis:Type
1963     @ShadowContent: DOMMain|boolean||ManakaiDOM|all
1964     @ShadowSibling:
1965     @@actualType: DOMHTML|Boolean
1966    
1967     ElementTypeBinding:
1968     @Name: rlong
1969     @ElementType:
1970     dis:Type
1971     @ShadowContent: DOMMain|long||ManakaiDOM|all
1972     @ShadowSibling:
1973     @@actualType: DOMHTML|Numeric
1974 wakaba 1.1
1975     ## DOMWebForms.dis ends here

[email protected]
ViewVC Help
Powered by ViewVC 1.1.24