Module: @QName: MDOM:DOMWebForms @Namespace: http://suika.fam.cx/~wakaba/archive/2004/dom/wf# @FullName: @@lang:en @@@: DOM Web Forms Module @Description: @@lang:en @@@: Interfaces to manipulate Web Forms elements or form controls. \ {NOTE:: Most interfaces are originally defined in DOM Levels 1 and 2 HTML Modules and later ammended by the Web Forms 2.0 Specification. These standards are based on DOM Level 0 implementations. \ } @DISCore:author: DISCore|Wakaba @License: license:Perl+MPL @Date: @@@: $Date: 2005/10/09 13:57:13 $ @@ContentType: dis:Date.RCS @DefaultFor: ManakaiDOM:ManakaiDOMLatest @Require: @@Module: @@@QName: MDOM|DOMHTML @@@WithFor: ManakaiDOM|ManakaiDOMLatest @@Module: @@@QName: MDOM|DOMWebForms @@@WithFor: ManakaiDOM|ManakaiDOM @@Module: @@@QName: MDOM|DOMWebForms @@@WithFor: ManakaiDOM|ManakaiDOM1 @@Module: @@@QName: MDOM|DOMWebForms @@@WithFor: ManakaiDOM|ManakaiDOM2 @@Module: @@@QName: MDOM|DOMWebForms @@@WithFor: ManakaiDOM|ManakaiDOMLatest @@Module: @@@QName: MDOM|DOMWebForms @@@WithFor: DOMHTML|ForHTML40SE @@Module: @@@QName: MDOM|DOMWebForms @@@WithFor: DOMHTML|ForHTML401 @@Module: @@@QName: MDOM|DOMWebForms @@@WithFor: DOMHTML|ForXHTML10SE Namespace: @dis: http://suika.fam.cx/~wakaba/archive/2004/8/18/lang#dis-- @dis2pm: http://suika.fam.cx/~wakaba/archive/2004/11/8/dis2pm# @DOMCore: http://suika.fam.cx/~wakaba/archive/2004/8/18/dom-core# @DOMHTML: http://suika.fam.cx/~wakaba/archive/2004/dom/html# @DOMMain: http://suika.fam.cx/~wakaba/archive/2004/dom/main# @ev: http://www.w3.org/2001/xml-events @lang: http://suika.fam.cx/~wakaba/archive/2004/8/18/lang# @license: http://suika.fam.cx/~wakaba/archive/2004/8/18/license# @ManakaiDOM: http://suika.fam.cx/~wakaba/archive/2004/8/18/manakai-dom# @ManakaiDOMCore: http://suika.fam.cx/~wakaba/archive/2004/mdom-core# @ManakaiDOMHTML: http://suika.fam.cx/~wakaba/archive/2004/mdom/html# @MDOM: http://suika.fam.cx/~wakaba/archive/2004/8/18/manakai-dom#ManakaiDOM. @MDOMX: http://suika.fam.cx/~wakaba/archive/2004/8/4/manakai-dom-exception# @null: http://suika.fam.cx/~wakaba/-temp/2003/09/27/null @Perl: http://suika.fam.cx/~wakaba/archive/2004/8/18/lang#Perl-- @rdf: http://www.w3.org/1999/02/22-rdf-syntax-ns# @rdfs: http://www.w3.org/2000/01/rdf-schema# @s: http://suika.fam.cx/~wakaba/archive/2004/dis/Markup# @xhtml1: http://www.w3.org/1999/xhtml ElementTypeBinding: @Name: L2 @ElementType: DOMMain:implementFeature @ShadowContent: @@@: DOMHTML:HTMLFeature20 @@For: ManakaiDOM:DOM2 ElementTypeBinding: @Name: PerlDef @ElementType: dis:Def @ShadowContent: @@ContentType: lang:Perl @@ForCheck: ManakaiDOM|ForClass ElementTypeBinding: @Name: PerlCDef @ElementType: dis:Def @ShadowContent: @@ContentType: lang:Perl ElementTypeBinding: @Name: IfCls2Def @ElementType: dis:ResourceDef @ShadowContent: @@rdf:type: @@@@: dis|MultipleResource @@@ForCheck: !ManakaiDOM|ForIF !ManakaiDOM|ForClass @@resourceFor: ManakaiDOM|ForIF @@resourceFor: @@@@: ManakaiDOM|ForClass @@@ForCheck: ManakaiDOM|ManakaiDOM !=ManakaiDOM|ManakaiDOM @@For: ManakaiDOM|DOM2 @@For: =ManakaiDOM|ManakaiDOM @@rdf:type: @@@@: DISLang|Interface @@@ForCheck: ManakaiDOM|ForIF @@rdf:type: @@@@: DISLang|Class @@@ForCheck: ManakaiDOM|ForClass @@Implement: @@@@: ||ManakaiDOM|ManakaiDOM||ManakaiDOM|ForIF @@@ContentType: DISCore|TFPQNames @@@ForCheck: ManakaiDOM|ForClass ManakaiDOM|ManakaiDOM @@Implement: @@@@: ||ManakaiDOM|ManakaiDOM2||ManakaiDOM|ForIF @@@ContentType: DISCore|TFPQNames @@@ForCheck: ManakaiDOM|ForClass ManakaiDOM|ManakaiDOM2 @@Implement: @@@@: ||ManakaiDOM|ManakaiDOMLatest||ManakaiDOM|ForIF @@@ContentType: DISCore|TFPQNames @@@ForCheck: ManakaiDOM|ForClass ManakaiDOM|ManakaiDOMLatest @@DOMMain:implementFeature: @@@@: DOMHTML|HTMLFeature20 @@@For: ManakaiDOM|DOM2 ElementTypeBinding: @Name: IfCls1ETDef @ElementType: dis:ResourceDef @ShadowContent: @@rdf:type: @@@@: dis|MultipleResource @@@ForCheck: !ManakaiDOM|ForIF !ManakaiDOM|ForClass !DOMHTML|ForHTML @@resourceFor: ManakaiDOM|ForIF @@resourceFor: @@@@: ManakaiDOM|ForClass @@@ForCheck: ManakaiDOM|ManakaiDOM !=ManakaiDOM|ManakaiDOM @@For: ManakaiDOM|DOM1 @@For: =ManakaiDOM|ManakaiDOM @@For: DOMHTML|ForHTML @@rdf:type: @@@@: DISLang|Interface @@@ForCheck: ManakaiDOM|ForIF @@rdf:type: @@@@: DISLang|Class @@@ForCheck: ManakaiDOM|ForClass @@Implement: @@@@: ||ManakaiDOM|ManakaiDOM||ManakaiDOM|ForIF @@@ContentType: DISCore|TFPQNames @@@ForCheck: ManakaiDOM|ForClass ManakaiDOM|ManakaiDOM @@Implement: @@@@: ||ManakaiDOM|ManakaiDOM1||ManakaiDOM|ForIF @@@ContentType: DISCore|TFPQNames @@@ForCheck: ManakaiDOM|ForClass ManakaiDOM|ManakaiDOM1 @@Implement: @@@@: ||ManakaiDOM|ManakaiDOM2||ManakaiDOM|ForIF @@@ContentType: DISCore|TFPQNames @@@ForCheck: ManakaiDOM|ForClass ManakaiDOM|ManakaiDOM2 @@Implement: @@@@: ||ManakaiDOM|ManakaiDOMLatest||ManakaiDOM|ForIF @@@ContentType: DISCore|TFPQNames @@@ForCheck: ManakaiDOM|ForClass ManakaiDOM|ManakaiDOMLatest @@DOMMain:implementFeature: @@@@: DOMHTML|HTMLFeature10 @@@For: ManakaiDOM|DOM1 @@DOMMain:implementFeature: @@@@: DOMHTML|HTMLFeature20 @@@For: ManakaiDOM|DOM2 @@rdf:type: @@@@: s|ElementType @@@ForCheck: DOMHTML|ForHTML @@s:elementType: @@@@: ||DOMHTML|ForHTML40SE @@@ForCheck: ManakaiDOM|DOM1 !ManakaiDOM|DOM2 @@@ImplNote: @@@@lang:en @@@@@: DOM Level 1 First Edition refers the latest version of HTML 4.0 while Second Edition refers the second edition of HTML 4.0. @@@DISCore:stopISARecursive:1 @@s:elementType: @@@@: ||DOMHTML|ForHTML401 @@@ForCheck: ManakaiDOM|DOM2 @@s:elementType: @@@@: ||DOMHTML|ForXHTML10SE @@@ForCheck: ManakaiDOM|DOM2 @@@DISCore:stopISARecursive:1 ElementTypeBinding: @Name: Method @ElementType: dis:ResourceDef @ShadowContent: @@rdf:type: DISLang|Method @@ForCheck: ManakaiDOM|DOM !=ManakaiDOM|ManakaiDOM ElementTypeBinding: @Name: IntMethod @ElementType: dis:ResourceDef @ShadowContent: @@rdf:type: DISLang|Method @@ForCheck: ManakaiDOM|ForClass @@ManakaiDOM:isForInternal: 1 ElementTypeBinding: @Name: ReMethod @ElementType: dis:ResourceDef @ShadowContent: @@rdf:type: DISLang|Method @@ForCheck: ManakaiDOM|ForClass ElementTypeBinding: @Name: Param @ElementType: dis:ResourceDef @ShadowContent: @@rdf:type: DISLang|MethodParameter ElementTypeBinding: @Name: Exception @ElementType: ManakaiDOM:raises @ShadowContent: @@ForCheck: !ManakaiDOM|all ElementTypeBinding: @Name: Return @ElementType: dis:ResourceDef @ShadowContent: @@rdf:type: DISLang|MethodReturn ElementTypeBinding: @Name: Attr @ElementType: dis:ResourceDef @ShadowContent: @@rdf:type: DISLang|Attribute @@ForCheck: ManakaiDOM|DOM !=ManakaiDOM|ManakaiDOM ElementTypeBinding: @Name: ATTR @ElementType: dis:ResourceDef @ShadowContent: @@rdf:type: @@@@: DISLang|Attribute @@@ForCheck: ManakaiDOM|DOM @@rdf:type: @@@@: s|Attribute @@@ForCheck: DOMHTML|ForHTML @@DocAttr: @@@@: ||DOMHTML|ForHTML40SE @@@ForCheck: ManakaiDOM|DOM1 !ManakaiDOM|DOM2 @@@ImplNote: @@@@lang:en @@@@@: DOM Level 1 First Edition refers the latest version of HTML 4.0 while Second Edition refers the second edition of HTML 4.0. @@DocAttr: @@@@: ||DOMHTML|ForHTML401 @@@ForCheck: ManakaiDOM|DOM2 @@DocAttr: @@@@: ||DOMHTML|ForXHTML10SE @@@ForCheck: ManakaiDOM|DOM2 ElementTypeBinding: @Name: ReAttr @ElementType: dis:ResourceDef @ShadowContent: @@rdf:type: DISLang|Attribute @@ForCheck: ManakaiDOM|ForClass ElementTypeBinding: @Name: Get @ElementType: dis:ResourceDef @ShadowContent: @@rdf:type: DISLang|AttributeGet @@For: ManakaiDOM|DOM ElementTypeBinding: @Name: Set @ElementType: dis:ResourceDef @ShadowContent: @@rdf:type: DISLang|AttributeSet @@For: ManakaiDOM|DOM ElementTypeBinding: @Name: InCase @ElementType: dis:ResourceDef @ShadowContent: @@rdf:type: ManakaiDOM:InCase ElementTypeBinding: @Name: ConstGroup @ElementType: dis:ResourceDef @ShadowContent: @@rdf:type: DISLang|ConstGroup @@ForCheck: ManakaiDOM|DOM !=ManakaiDOM|ManakaiDOM ElementTypeBinding: @Name: Const @ElementType: dis:ResourceDef @ShadowContent: @@rdf:type: DISLang|Const ElementTypeBinding: @Name: Deprecated @ElementType: DOMHTML:isDeprecatedByHTML4 @ShadowContent: 1 @ShadowSibling: @@ForCheck: !DOMHTML:ForXHTML11 ElementTypeBinding: @Name: PropDef @ElementType: dis:ResourceDef @ShadowContent: @@rdf:type: rdf:Property @@For: =ManakaiDOM|all ElementTypeBinding: @Name: ISAHTMLElement @ElementType: dis:ISA @ShadowContent: @@@: DOMHTML:HTMLElement @@ForCheck: ManakaiDOM:ForIF @ShadowSibling: @@ISA: @@@@: DOMHTML:ManakaiDOMHTMLElement @@@ForCheck: ManakaiDOM:ForClass ElementTypeBinding: @Name: ETQName @ElementType: dis:AppName @ShadowContent: @@ForCheck: s|ForML @@ContentType: DISCore|QName ElementTypeBinding: @Name: IFQName @ElementType: dis:QName @ShadowContent: @@ForCheck: ManakaiDOM:ForIF ElementTypeBinding: @Name: ClsQName @ElementType: dis:QName @ShadowContent: @@ForCheck: ManakaiDOM:ForClass ElementTypeBinding: @Name: DOMAName @ElementType: dis:Name @ShadowContent: @@ForCheck: ManakaiDOM:DOM ElementTypeBinding: @Name: AName @ElementType: dis:Name @ShadowContent: @@ForCheck: DOMHTML:ForHTML ElementTypeBinding: @Name: plAName @ElementType: DISPerl:methodName @ShadowContent: @@ForCheck: ManakaiDOM|Perl @@ContentType: lang|Perl IfCls2Def: @IFQName: DOMHTML:HTMLOptionsCollection @ClsQName:ManakaiDOMHTMLOptionsCollection @Description: @@lang:en @@@: A list of nodes representing HTML elements. An individual node may be accessed by either ordinal index or the or of the node. \ objects are ; they are automatically updated when the underlying document is changed. \ {NOTE:: In DOM Level 1, interface was used in place of . \ } @Attr: @@Name: length @@Description: @@@lang:en @@@@: The length of the list. @@Get: @@@Type: DOMMain:unsigned-long @@Set: @@@Type: DOMMain:unsigned-long @@@Exception: @@@@Name: NOT_SUPPORTED_ERR @@@@Type: DOMCore:DOMException @@@@SubType: @@@@@QName: ManakaiDOMHTML:MDOMHTML_IMPL_NOSUPPORT_SET_OPTION_LENGTH @@@@@Description: @@@@@@lang:en @@@@@@@: Setting the length is not allowed by the DOM implementation. @Method: @@Name: item @@Description: @@@lang:en @@@@: Retrieve a node specified by ordinal index. @@Param: @@@Name: index @@@Type: DOMMain:unsigned-long @@@Description: @@@@lang:en @@@@@: Ordinal index of the node to retrieve, in the document order. The index origin is . @@Return: @@@Type: DOMCore:Node @@@Description: @@@@lang:en @@@@@: The th node. @@@InCase: @@@@Value: @@@@@is-null:1 @@@@Description: @@@@@lang:en @@@@@@: The is out of range. @Method: @@Name: namedItem @@Description: @@@lang:en @@@@: Retrieve a node using a name. \ It first searches for a with a matching attributes. If it does not find one, it searches for a (that are allowed to specify a attribute). with a matching attribute. @@Param: @@@Name: name @@@Type: DOMString @@@Description: @@@@lang:en @@@@@: The name of the node to retrieve. The matching is case-insensitive in HTML documents and case-sensitve in XHTML documents. @@Return: @@@Type: DOMCore:Node @@@Description: @@@@lang:en @@@@@: The with a or whose value matches with . @@@InCase: @@@@Value: @@@@@is-null:1 @@@@Description: @@@@@lang:en @@@@@@: There is no node with such a . ##HTMLOptionCollection IfCls1ETDef: @ETQName: xhtml1:form @IFQName: DOMHTML:HTMLFormElement @ClsQName:ManakaiDOMHTMLFormElement @ISAHTMLElement: @Description: @@lang:en @@@: This interface encompasses behavior similar to a collection and an element. It provides direct access to the contained form controls as well as attributes of the form element. @Attr: @@Name: elements @@Description: @@@lang:en @@@@: A collection of all form controls in this form. @@Get: @@@Type: DOMHTML:HTMLCollection @Attr: @@Name: length @@Description: @@@lang:en @@@@: The number of form controls in this form. @@Get: @@@Type: DOMMain:long @Attr: @@Name: name @@Description: @@@lang:en @@@@: The name of the form. \ {NOTE:: The DOM HTML Specifications does not mention to the HTML 4.01 attribute, which is added for backward compatibility with DOM Level 0. \ } @@rcdata: @@Get: @@Set: @ATTR: @@AName:accept-charset @@DOMAName: acceptCharset @@rcdata: @@Get: @@Set: @ATTR: @@Name: action @@ruri: @@Get: @@Set: @ATTR: @@Name: enctype @@rcdata: @@Get: @@Set: @ATTR: @@Name: method @@renum: @@Get: @@Set: @ATTR: @@Name: target @@rcdata: @@Get: @@Set: @Method: @@Name: submit @@Description: @@@lang:en @@@@: Submit the form, as the activation of submit buttons do. \ {NOTE:: The or event handler is not guaranteed to be triggered when invoking this method for historical reasons. DOM Level 3 event is defined not to triggered on this method. \ } @@Return: @Method: @@Name: reset @@Description: @@@lang:en @@@@: Restore current values of form controls to initial values, as the activation of reset buttons do. @@Return: ##HTMLFormElement IfCls1ETDef: @ETQName: xhtml1:select @IFQName: DOMHTML:HTMLSelectElement @ClsQName: ManakaiDOMHTMLSelectElement @ISAHTMLElement: @Attr: @@Name: type @@Description: @@@lang:en @@@@: The type of this form control. @@Type: DOMMain:DOMString @@Get: @@@InCase: @@@@Value:select-one @@@@Description: @@@@@lang:en @@@@@@: is . @@@InCase: @@@@Value:select-multiple @@@@Description: @@@@@lang:en @@@@@@: is . @@@ImplNote: @@@@lang:en @@@@@: Values were not defined in DOM Level 1 First Edition; they were added in the DOM Level 1 Errata. @@@PerlDef: __DEEP{ $r = $self-> ? "select-multiple" : "select-one"; }__; @Attr: @@Name: selectedIndex @@Description: @@@lang:en @@@@: The ordinal index of the selected option. @@Get: @@@Type: DOMMain:long @@@Description: @@@@lang:en @@@@@: The ordinal index of the selected option, starging from . If multiple options are selected, the index of the first selected option is returned. @@@InCase: @@@@Value:-1 @@@@Description: @@@@@lang:en @@@@@@: No option is selected. @@Set: @@@Type: DOMMain:long @Attr: @@Name: value @@Description: @@@lang:en @@@@: The current control value (i.e. the value of the currently selected option). If multiple options are selected, the value of the first selected option. @@Get: @@@Type: DOMString @@Set: @@@Type: DOMString @Attr: @@Name: length @@Description: @@@lang:en @@@@: The number of options in this menu control. @@Get: @@@Type: @@@@@: DOMMain:unsigned-long @@@@ImplNote: @@@@@lang:en @@@@@@: The type was in DOM Level 1. @@Set: @@@Type: DOMMain:unsigned-long @@@Exception: @@@@Name: NOT_SUPPORTED_ERR @@@@Type: DOMCore:DOMException @@@@SubType: @@@@@QName: DOMHTML:MDOMHTML_IMPL_NOSUPPORT_SET_SELECT_LENGTH @@@@@Description: @@@@@@lang:en @@@@@@@: Setting the length is not allowed by the DOM implementation. @@@SpecLevel:2 @@@Level:2 @@@For: ManakaiDOM:DOM2 @@Level[list]: 1 2 @@SpecLevel[list]: 1 2 @Attr: @@Name: form @@Description: @@@lang:en @@@@: The element containing this control. @@Get: @@@Type: DOMHTML:HTMLFormElement @@@InCase: @@@@Value: @@@@@is-null:1 @@@@Description: @@@@@lang:en @@@@@@: This control is not within the context of a form. @Attr: @@Name: options @@Description: @@@lang:en @@@@: The collection of elements contained by this element. @@Get: @@@Type: @@@@@: DOMHTML:HTMLOptionsCollection @@@@For: ManakaiDOM:DOM2 @@@Type: @@@@@: DOMHTML:HTMLCollection @@@@For: ManakaiDOM:DOM1 !ManakaiDOM:DOM2 @ATTR: @@Name: disabled @@rbool: @@Get: @@@InCase: @@@@Value: true @@@InCase: @@@@Value: false @@Set: @@@InCase: @@@@Value: true @@@InCase: @@@@Value: false @ATTR: @@Name: multiple @@rbool: @@Get: @@@InCase: @@@@Value: true @@@InCase: @@@@Value: false @@Set: @@@InCase: @@@@Value: true @@@InCase: @@@@Value: false @ATTR: @@Name: name @@rcdata: @@Get: @@Set: @ATTR: @@Name: size @@rlong: @@Get: @@Set: @ATTR: @@AName:tabindex @@DOMAName: tabIndex @@plAName: tabindex @@rlong: @@Get: @@Set: @Method: @@Name: add @@Description: @@@lang:en @@@@: Add a new element to the collection of elements. @@Param: @@@Name: element @@@Type: DOMHTML:HTMLElement @@@Description: @@@@lang:en @@@@@: The element to add. @@@InCase: @@@@Type: DOMHTML:HTMLOptionElement @@@@Description: @@@@@lang:en @@@@@@: The option to add. @@@InCase: @@@@Type: DOMHTML:HTMLOptGroupElement @@@@Description: @@@@@lang:en @@@@@@: The option group to add. @@@InCase: @@@@Label: @@@@@lang:en @@@@@@:Otherwise @@@@Description: @@@@@lang:en @@@@@@: This method has no effect. @@Param: @@@Name: before @@@Type: DOMHTML:HTMLElement @@@Description: @@@@lang:en @@@@@: This method is the equivalent of the method on the parent of . @@@InCase: @@@@Value: @@@@@is-null:1 @@@@Description: @@@@@lang:en @@@@@@: This method is the equivalent of the method. @@@@ImplNote: @@@@@lang:en @@@@@@: It was defined to prepend in DOM Level 1 First Edition - fixed in DOM Level 1 Errata. @@Return: @@@Exception: @@@@Name: NOT_FOUND_ERR @@@@Type: DOMCore:DOMException @@@@Description: @@@@@lang:en @@@@@@: The node is not a descendant of this element. @Method: @@Name: remove @@Description: @@@lang:en @@@@: Remove an element from the collection of elements. @@Param: @@@Name: index @@@Type: DOMMain:long @@@Description: @@@@lang:en @@@@@: The ordinal index of the item to remove, starting from . If no element has the given index, this method has no effect. @@Return: @Method: @@Name: blur @@Description: @@@lang:en @@@@: Remove forcus from this element. @@Return: @Method: @@Name: focus @@Description: @@@lang:en @@@@:Give forcus to this element. @@Return: ##HTMLSelectElement IfCls1ETDef: @ETQName: xhtml1:optgroup @IFQName: DOMHTML:HTMLOptGroupElement @ClsQName:ManakaiDOMHTMLOptGroupElement @ISAHTMLElement: @ATTR: @@Name: disabled @@rbool: @@Get: @@@InCase: @@@@Value: true @@@InCase: @@@@Value: false @@Set: @@@InCase: @@@@Value: true @@@InCase: @@@@Value: false @ATTR: @@Name: label @@rcdata: @@Get: @@Set: ##HTMLOptGroupElement IfCls1ETDef: @ETQName: xhtml1:option @IFQName: DOMHTML:HTMLOptionElement @ClsQName: ManakaiDOMHTMLOptionElement @ISAHTMLElement: @Attr: @@Name: form @@Description: @@@lang:en @@@@: The element containing this control. @@Get: @@@Type: DOMHTML:HTMLFormElement @@@InCase: @@@@Value: @@@@@is-null:1 @@@@Description: @@@@@lang:en @@@@@@: This control is not within the context of a form. @ATTR: @@AName:selected @@DOMAName: defaultSelected @@Description: @@@lang:en @@@@: Whether the option is initially selected or not. The value of this attribute does not change if the state of the corresponding form control changes. @@rbool: @@Get: @@@InCase: @@@@Value: true @@@InCase: @@@@Value: false @@Set: @@@InCase: @@@@Value: true @@@InCase: @@@@Value: false @@Level[list]: 1 @@SpecLevel[list]: 1 2 @Attr: @@Name: text @@Description: @@@lang:en @@@@: The text contained within the element. @@Get: @@@Type: DOMString @@@Def: @@@@ContentType: lang:dis @@@@DISPerl:cloneCode: DOMCore:ManakaiDOMNode.textContent.get @Attr: @@Name: index @@Description: @@@lang:en @@@@: The index of this in its parent , starting from . @@ImplNote: @@@lang:en @@@@: Should be , not ? @@Get: @@@Type: DOMMain:long @@ImplNote: @@@lang:en @@@@: It was writable in DOM Level 1, without description. It was ammended in DOM Level 1 Errata. @@Level[list]: 1 @@SpecLevel[list]: 1 2 @ATTR: @@Name: disabled @@rbool: @@Get: @@@InCase: @@@@Value: true @@@InCase: @@@@Value: false @@Set: @@@InCase: @@@@Value: true @@@InCase: @@@@Value: false @ATTR: @@Name: label @@rcdata: @@Get: @@Set: @Attr: @@Name: selected @@Description: @@@lang:en @@@@: The current state of the corresponding form control. Changing this attribute changes the state of the form control, but does not change the value of the HTML attribute. @@Get: @@@Type: DOMMain:boolean @@@InCase: @@@@Value: true @@@InCase: @@@@Value: false @@@Def: @@@@ContentType: lang:dis @@@@GetProp: DOMHTML:selected @@Set: @@@Type: DOMMain:boolean @@@InCase: @@@@Value: true @@@InCase: @@@@Value: false @@@Def: @@@@ContentType: lang:dis @@@@SetProp: DOMHTML:selected @@@ImplNote: @@@@lang:en @@@@@: Marked as read-only attribute in DOM Level 1 First Edition. It was ammended in DOM Level 1 Errata. @ATTR: @@Name: value @@rcdata: @@Get: @@Set: ##HTMLOptionElement PropDef: @QName: DOMHTML:selected @Description: @@lang:en @@@: Whether a subject option element is selected or not. IfCls1ETDef: @ETQName: xhtml1:input @IFQName: DOMHTML:HTMLInputElement @ClsQName:ManakaiDOMHTMLInputElement @ISAHTMLElement: @ATTR: @@AName:value @@DOMAName: defaultValue @@Description: @@@lang:en @@@@: The initial value of the , or control. @@rcdata: @@Get: @@Set: @ATTR: @@AName:checked @@DOMAName: defaultChecked @@Description: @@@lang:en @@@@: The initial state of the or button control. @@rbool: @@Get: @@@InCase: @@@@Value: true @@@InCase: @@@@Value: false @@Set: @@@InCase: @@@@Value: true @@@InCase: @@@@Value: false @Attr: @@Name: form @@Description: @@@lang:en @@@@: The element containing this control. @@Get: @@@Type: DOMHTML:HTMLFormElement @@@InCase: @@@@Value: @@@@@is-null:1 @@@@Description: @@@@@lang:en @@@@@@: This control is not within the context of a form. @ATTR: @@Name: accept @@rcdata: @@Get: @@Set: @ATTR: @@AName:accesskey @@DOMAName: accessKey @@plAName: accesskey @@rcdata: @@Get: @@Set: @ATTR: @@Name: align @@Deprecated: @@renum: @@Get: @@Set: @ATTR: @@Name: alt @@rcdata: @@Get: @@Set: @Attr: @@Name: checked @@Description: @@@lang:en @@@@: The current state of the form control. Changes to this attribute change the state of the control, but do not change the value of the HTML attribute. (When the is either or .) \ {NOTE:: During the handling of a event, some DOM implementations may change the status before the event is being dispatched. If the default action of the event is canceled, the state is changed back to the original value. In other word, the value of this attribute during the handling of (or e.g. ) events is implementation dependent. \ } @@Get: @@@Type: DOMMain:boolean @@@InCase: @@@@Value: true @@@InCase: @@@@Value: false @@Set: @@@Type: DOMMain:boolean @@@InCase: @@@@Value: true @@@InCase: @@@@Value: false @ATTR: @@Name: disabled @@rbool: @@Get: @@@InCase: @@@@Value: true @@@InCase: @@@@Value: false @@Set: @@@InCase: @@@@Value: true @@@InCase: @@@@Value: false @ATTR: @@AName:maxlength @@DOMAName: maxLength @@plAName: maxlength @@rlong: @@Get: @@Set: @ATTR: @@Name: name @@rcdata: @@Get: @@Set: @ATTR: @@AName:readonly @@DOMAName: readOnly @@plAName: readonly @@rbool: @@Get: @@@InCase: @@@@Value: true @@@InCase: @@@@Value: false @@Set: @@@InCase: @@@@Value: true @@@InCase: @@@@Value: false @ATTR: @@Name: size @@Type: @@@@: DOMMain|unsigned-long||ManakaiDOM|all @@@ForCheck: ManakaiDOM|DOM2 @@actualType: @@@@: DOMHTML|UnsignedNumeric @@@ForCheck: ManakaiDOM|DOM2 @@Type: @@@@: DOMString @@@ForCheck: !ManakaiDOM|DOM2 @@actualType: @@@@: DOMHTML|CDATADOMString @@@ForCheck: !ManakaiDOM|DOM2 @@Get: @@Set: @@Level[list]: 1 @@SpecLevel[list]: 1 2 @ATTR: @@Name: src @@ruri: @@Get: @@Set: @ATTR: @@AName:tabindex @@DOMAName: tabIndex @@rlong: @@Get: @@Set: @ATTR: @@Name: type @@rcdata: @@Get: @@Set: @@@SpecLevel:2 @@@Level:2 @@@L2: @@Level[list]: 1 2 @@SpecLevel[list]: 1 2 @ATTR: @@AName:usemap @@DOMAName: useMap @@plAName: usemap @@ruri: @@Get: @@Set: @@ImplNote: @@@lang:en @@@@: The HTML 4 and XHTML 1.0 attribute value is defined as , while the XHTML m12n value is . @Attr: @@Name: value @@Description: @@@lang:en @@@@: The current value of the , or control. Changing this attribute changes the contents of the form control, but does not change the value of the HTML attribute. \ For the , , , , , or control, this attribute represents the HTML attribute. \ {NOTE:: The DOM Level 1 First Edition described that this attribute is applied to or controls. It is ammended by the DOM Level 1 First Edition Errata. \ } @@Get: @@@Type: DOMString @@@Description: @@@@lang:en @@@@@: {NOTE:: The actual value may be masked to prevent unauthorized use for the input control. \ } @@@ImplNote: @@@@lang:en @@@@@: ISSUE: Some mechanism to mask password required? @@@PerlDef: my $type; __DEEP{ $type = $self->; }__; if ({text => 1, password => 1, file => 1}->{$type}) { ## TODO: # __ DISCODE{ # GetProp: # \ DOMHTML:value # }__; } else { ## TODO: #__ DISDODE{ # get-attribute-value: # \ value #}__; } @@Set: @@@Type: DOMMain:DOMString @@@Description: @@@@lang:en @@@@@: {NOTE:: The may be read-only for the file upload control. \ } @@@ImplNote: @@@@lang:en @@@@@: TODO: Switch to make file value unchangable required. @@@PerlDef: my $type; __DEEP{ $type = $self->; }__; if ({text => 1, password => 1, file => 1}->{$type}) { ## TODO: #__ DISCODE{ # SetProp: #\ DOMHTML:value #}__; } else { #__ DISDODE{ # set-attribute-value: # \ value #}__; } @Method: @@Name: blur @@Description: @@@lang:en @@@@: Remove focus from this element. @@Return: @Method: @@Name: focus @@Description: @@@lang:en @@@@: Give focus to this element. @@Return: @Method: @@Name: select @@Description: @@@lang:en @@@@: Select the contents of the text area. (For the , or control). @@Return: @Method: @@Name: click @@Description: @@@lang:en @@@@: Simulate a mouse click. (For the , , , or control. @@Return: ##HTMLInputElement IfCls1ETDef: @ETQName: xhtml1:textarea @IFQName: DOMHTML:HTMLTextAreaElement @ClsQName:ManakaiDOMHTMLTextAreaElement @ISAHTMLElement: @Attr: @@Name: defaultValue @@Description: @@@lang:en @@@@: The initial value of the control, i.e. the contents of the element. The value of this attribute does not change if the contents of the corresponding form control. @@Get: @@@Type: DOMMain:DOMString @@@Def: @@@@ContentType: lang:dis @@@@DISPerl:cloneCode: DOMCore:ManakaiDOMNode.textContent.get @@Set: @@@Type: DOMMain:DOMString @@@Def: @@@@ContentType: lang:dis @@@@DISPerl:cloneCode: DOMCore:ManakaiDOMNode.textContent.set @@Level[list]: 1 @@SpecLevel[list]: 1 2 @Attr: @@Name: form @@Description: @@@lang:en @@@@: The element containing this control. @@Get: @@@Type: DOMHTML:HTMLFormElement @@@InCase: @@@@Value: @@@@@is-null:1 @@@@Description: @@@@@lang:en @@@@@@: This control is not within the context of a form. @ATTR: @@AName:accesskey @@DOMAName: accessKey @@plAName: accesskey @@rcdata: @@Get: @@Set: @ATTR: @@Name: cols @@rlong: @@Get: @@Set: @ATTR: @@Name: disabled @@rbool: @@Get: @@@InCase: @@@@Value: true @@@InCase: @@@@Value: false @@Set: @@@InCase: @@@@Value: true @@@InCase: @@@@Value: false @ATTR: @@Name: name @@rcdata: @@Get: @@Set: @ATTR: @@AName:readonly @@DOMAName: readOnly @@plAName: readonly @@rbool: @@Get: @@@InCase: @@@@Value: true @@@InCase: @@@@Value: false @@Set: @@@InCase: @@@@Value: true @@@InCase: @@@@Value: false @ATTR: @@Name: rows @@rlong: @@Get: @@Set: @ATTR: @@AName:tabindex @@DOMAName: tabIndex @@plAName: tabindex @@rlong: @@Get: @@Set: @Attr: @@Name: type @@Description: @@@lang:en @@@@: The type of this form control. @@Get: @@@Type: DOMString @@@InCase: @@@@Value:textarea @@@@Description: @@@@@lang:en @@@@@@: Always this value. @@@@ImplNote: @@@@@lang:en @@@@@@: Not defined in DOM Level 1 FE - added in Errata. @@@DefaultValue:textarea @@@Def: @@@@ContentType: lang:dis @@@@DISLang:nop: @Attr: @@Name: value @@Description: @@@lang:en @@@@: The current value of the corresponding form control. Changing this attribute changes the contents of the form control, but does not changes the contents of the element. @@Get: @@@Type: DOMString @@@Description: @@@@lang:en @@@@@: The current value. If the entirely of the data cannot fit into a single , the DOM implementation may truncate the data. @@@Def: @@@@ContentType: lang:dis @@@@GetProp: DOMHTML:value @@Set: @@@Type: DOMString @@@Def: @@@@ContentType: lang:dis @@@@SetProp: DOMHTML:value @Method: @@Name: blur @@Description: @@@lang:en @@@@: Remove focus from this element. @@Return: @Method: @@Name: focus @@Description: @@@lang:en @@@@: Give focus to this element. @@Return: @Method: @@Name: select @@Description: @@@lang:en @@@@: Select the contents of the . @@Return: ##DOMHTMLTextAreaElement PropDef: @QName: DOMHTML:value @Description: @@lang:en @@@: The current value of a subject form control. IfCls1ETDef: @ETQName: xhtml1:button @IFQName: DOMHTML:HTMLButtonElement @ClsQName:ManakaiDOMHTMLButtonElement @ISAHTMLElement: @Attr: @@Name: form @@Description: @@@lang:en @@@@: The element containing this control. @@Get: @@@Type: DOMHTML:HTMLFormElement @@@InCase: @@@@Value: @@@@@is-null:1 @@@@Description: @@@@@lang:en @@@@@@: This control is not within the context of a form. @ATTR: @@AName:accesskey @@DOMAName: accessKey @@plAName: accesskey @@rcdata: @@Get: @@Set: @ATTR: @@Name: disabled @@rbool: @@Get: @@@InCase: @@@@Value: true @@@InCase: @@@@Value: false @@Set: @@@InCase: @@@@Value: true @@@InCase: @@@@Value: false @ATTR: @@Name: name @@rcdata: @@Get: @@Set: @ATTR: @@AName:tabindex @@DOMAName: tabIndex @@plAName: tabindex @@rlong: @@Get: @@Set: @ATTR: @@Name: type @@renum: @@Get: @ATTR: @@Name: value @@rcdata: @@Get: @@Set: ##HTMLButtonElement ResourceDef: @QName: DOMString @AliasFor: DOMMain:DOMString @ForCheck: ManakaiDOM:ManakaiDOM IfCls1ETDef: @ETQName: xhtml1:label @IFQName: DOMHTML:HTMLLabelElement @ClsQName: ManakaiDOMHTMLLabelElement @ISAHTMLElement: @Attr: @@Name: form @@Description: @@@lang:en @@@@: The element containing this control. @@Get: @@@Type: DOMHTML:HTMLFormElement @@@InCase: @@@@Value: @@@@@is-null:1 @@@@Description: @@@@@lang:en @@@@@@: This control is not within the context of a form. @ATTR: @@AName:accesskey @@DOMAName: accessKey @@plAName: accesskey @@rcdata: @@Get: @@Set: @ATTR: @@AName:for @@DOMAName: htmlFor @@rcdata: @@Get: @@Set: ##HTMLLabelElement IfCls1ETDef: @ETQName: xhtml1:fieldset @IFQName: DOMHTML:HTMLFieldSetElement @ClsQName:ManakaiDOMHTMLFieldSetElement @ISAHTMLElement: @Attr: @@Name: form @@Description: @@@lang:en @@@@: The element containing this control. @@Get: @@@Type: DOMHTML:HTMLFormElement @@@InCase: @@@@Value: @@@@@is-null:1 @@@@Description: @@@@@lang:en @@@@@@: This control is not within the context of a form. ##HTMLFieldSetElement IfCls1ETDef: @ETQName: xhtml1:legend @IFQName: DOMHTML:HTMLLegendElement @ClsQName: ManakaiDOMHTMLLegendElement @ISAHTMLElement: @Attr: @@Name: form @@Description: @@@lang:en @@@@: The element containing this control. @@Get: @@@Type: DOMHTML:HTMLFormElement @@@InCase: @@@@Value: @@@@@is-null:1 @@@@Description: @@@@@lang:en @@@@@@: This control is not within the context of a form. @ATTR: @@AName:accesskey @@DOMAName: accessKey @@plAName: accesskey @@rcdata: @@Get: @@Set: @ATTR: @@Name: align @@Deprecated: @@renum: @@Get: @@Set: ##HTMLLegendElement ElementTypeBinding: @Name: rcdata @ElementType: dis:Type @ShadowContent: DOMString @ShadowSibling: @@actualType: DOMHTML|CDATADOMString ElementTypeBinding: @Name: ruri @ElementType: dis:Type @ShadowContent: DOMString @ShadowSibling: @@actualType: DOMHTML|URIDOMString ElementTypeBinding: @Name: renum @ElementType: dis:Type @ShadowContent: DOMString @ShadowSibling: @@actualType: DOMHTML|EnumDOMString ElementTypeBinding: @Name: rbool @ElementType: dis:Type @ShadowContent: DOMMain|boolean||ManakaiDOM|all @ShadowSibling: @@actualType: DOMHTML|Boolean ElementTypeBinding: @Name: rlong @ElementType: dis:Type @ShadowContent: DOMMain|long||ManakaiDOM|all @ShadowSibling: @@actualType: DOMHTML|Numeric