1 |
Module: |
2 |
@QName: |
3 |
MDOM:DOMHTML |
4 |
@Namespace: |
5 |
http://suika.fam.cx/~wakaba/archive/2004/dom/html# |
6 |
|
7 |
@AppName: |
8 |
@@@: html |
9 |
@@ContentType: |
10 |
lang:IDL-DOM |
11 |
@@prefix: dom.w3c.org |
12 |
@@For: |
13 |
ManakaiDOM:IDL ManakaiDOM:DOM1 !ManakaiDOM|DOM2 |
14 |
@AppName: |
15 |
@@@: html2 |
16 |
@@ContentType: |
17 |
lang:IDL-DOM |
18 |
@@prefix: dom.w3c.org |
19 |
@@For: |
20 |
ManakaiDOM:IDL ManakaiDOM:DOM2 |
21 |
|
22 |
@FullName: |
23 |
@@lang:en |
24 |
@@@: DOM HTML Module |
25 |
|
26 |
@Description: |
27 |
@@lang:en |
28 |
@@@: |
29 |
The DOM HTML Module provides objects and methods specific |
30 |
to HTML 4 documents and XHTML 1.0 documents. The HTML |
31 |
DOM exposes a number of convinience methods and attributes |
32 |
that are more appropriate to script writers. These |
33 |
enhancements rely on transitional or frameset DTDs |
34 |
of HTML 4.0 <SRC::DOM Level 1 HTML> or HTML 4.01 |
35 |
<SRC::DOM Level 2 HTML> and XHTML 1.0 <SRC::DOM Level 2 HTML>. |
36 |
\ |
37 |
Form related interfaces are provided by a separate |
38 |
module, <Module::MDOM:DOMWebForms>. |
39 |
|
40 |
@DISCore:author: DISCore|Wakaba |
41 |
@License: |
42 |
license:Perl+MPL |
43 |
@Date: |
44 |
@@@: |
45 |
$Date: 2005/09/25 14:53:03 $ |
46 |
@@ContentType: |
47 |
dis:Date.RCS |
48 |
|
49 |
@DefaultFor: |
50 |
ManakaiDOM:ManakaiDOMLatest |
51 |
|
52 |
@Require: |
53 |
@@Module: |
54 |
@@@QName: |
55 |
DISlib:DISMarkup |
56 |
@@@WithFor: |
57 |
ManakaiDOM:all |
58 |
@@Module: |
59 |
@@@QName: MDOM|DOMXML |
60 |
@@@WithFor: ManakaiDOM|ManakaiDOMLatest |
61 |
@@Module: |
62 |
@@@QName: MDOM|DOMWebForms |
63 |
@@@WithFor: ManakaiDOM|ManakaiDOMLatest |
64 |
@@Module: |
65 |
@@@QName: MDOM|DOMHTML |
66 |
@@@WithFor: ManakaiDOM|ManakaiDOM |
67 |
@@Module: |
68 |
@@@QName: MDOM|DOMHTML |
69 |
@@@WithFor: ManakaiDOM|ManakaiDOM1 |
70 |
@@Module: |
71 |
@@@QName: MDOM|DOMHTML |
72 |
@@@WithFor: ManakaiDOM|ManakaiDOM2 |
73 |
@@Module: |
74 |
@@@QName: MDOM|DOMHTML |
75 |
@@@WithFor: ManakaiDOM|ManakaiDOMLatest |
76 |
@@Module: |
77 |
@@@QName: MDOM|DOMHTML |
78 |
@@@WithFor: DOMHTML|ForHTML40SE |
79 |
@@Module: |
80 |
@@@QName: MDOM|DOMHTML |
81 |
@@@WithFor: DOMHTML|ForHTML401 |
82 |
@@Module: |
83 |
@@@QName: MDOM|DOMHTML |
84 |
@@@WithFor: DOMHTML|ForXHTML10SE |
85 |
|
86 |
Namespace: |
87 |
@dis: |
88 |
http://suika.fam.cx/~wakaba/archive/2004/8/18/lang#dis-- |
89 |
@dis2pm: |
90 |
http://suika.fam.cx/~wakaba/archive/2004/11/8/dis2pm# |
91 |
@DISlib: |
92 |
http://suika.fam.cx/~wakaba/archive/2004/dis/ |
93 |
@DOMHTML: |
94 |
http://suika.fam.cx/~wakaba/archive/2004/dom/html# |
95 |
@DOMMain: |
96 |
http://suika.fam.cx/~wakaba/archive/2004/dom/main# |
97 |
@DOMMetaImpl: |
98 |
http://suika.fam.cx/~wakaba/archive/2004/dom/meta# |
99 |
@f: |
100 |
http://suika.fam.cx/~wakaba/archive/2004/dom/feature# |
101 |
@html5: |
102 |
http://www.w3.org/1999/xhtml |
103 |
@infoset: |
104 |
http://www.w3.org/2001/04/infoset# |
105 |
@kwd: |
106 |
http://suika.fam.cx/~wakaba/archive/2005/rfc2119/ |
107 |
@lang: |
108 |
http://suika.fam.cx/~wakaba/archive/2004/8/18/lang# |
109 |
@license: |
110 |
http://suika.fam.cx/~wakaba/archive/2004/8/18/license# |
111 |
@ManakaiDOM: |
112 |
http://suika.fam.cx/~wakaba/archive/2004/8/18/manakai-dom# |
113 |
@ManakaiDOMCore: |
114 |
http://suika.fam.cx/~wakaba/archive/2004/mdom-core# |
115 |
@ManakaiDOMHTML: |
116 |
http://suika.fam.cx/~wakaba/archive/2004/mdom/html# |
117 |
@MDOM: |
118 |
http://suika.fam.cx/~wakaba/archive/2004/8/18/manakai-dom#ManakaiDOM. |
119 |
@MDOMX: |
120 |
http://suika.fam.cx/~wakaba/archive/2004/8/4/manakai-dom-exception# |
121 |
@null: |
122 |
http://suika.fam.cx/~wakaba/-temp/2003/09/27/null |
123 |
@rdf: |
124 |
http://www.w3.org/1999/02/22-rdf-syntax-ns# |
125 |
@rdfs: |
126 |
http://www.w3.org/2000/01/rdf-schema# |
127 |
@s: |
128 |
http://suika.fam.cx/~wakaba/archive/2004/dis/Markup# |
129 |
@TreeCore:\ |
130 |
@xhtml1: |
131 |
http://www.w3.org/1999/xhtml |
132 |
@xml: |
133 |
http://www.w3.org/XML/1998/namespace |
134 |
@xmlns: |
135 |
http://www.w3.org/2000/xmlns/ |
136 |
|
137 |
ImplNote: |
138 |
@lang:en |
139 |
@@: |
140 |
{TODO:: Lowercase'ize Perl method/attribute names. |
141 |
\ |
142 |
ISSUE: Should createTHead be createThead? |
143 |
\ |
144 |
} |
145 |
|
146 |
## -- "For HTML" |
147 |
|
148 |
ForDef: |
149 |
@QName: |
150 |
DOMHTML:ForHTML |
151 |
@ISA: |
152 |
s:ForML |
153 |
@FullName: |
154 |
@@lang:en |
155 |
@@@: |
156 |
For Hypertext Markup Language (HTML), any version |
157 |
|
158 |
ForDef: |
159 |
@QName: |
160 |
DOMHTML:ForClassicHTML |
161 |
@ISA: |
162 |
DOMHTML:ForHTML |
163 |
@FullName: |
164 |
@@lang:en |
165 |
@@@: |
166 |
For non-XML-based HTML, any version |
167 |
|
168 |
ForDef: |
169 |
@QName: DOMHTML|ForSGMLHTML |
170 |
@ISA: DOMHTML|ForClassicHTML |
171 |
@enFN: For SGML-based HTML, any version |
172 |
|
173 |
ElementTypeBinding: |
174 |
@Name: enFN |
175 |
@ElementType: |
176 |
dis:FullName |
177 |
@ShadowContent: |
178 |
@@lang:en |
179 |
|
180 |
ForDef: |
181 |
@QName: |
182 |
DOMHTML:ForHTML4 |
183 |
@ISA: DOMHTML|ForSGMLHTML |
184 |
@FullName: |
185 |
@@lang:en |
186 |
@@@: For HTML 4 |
187 |
|
188 |
ForDef: |
189 |
@QName: |
190 |
DOMHTML:ForHTML40 |
191 |
@ISA: |
192 |
DOMHTML:ForHTML4 |
193 |
@FullName: |
194 |
@@lang:en |
195 |
@@@: For HTML 4.0 |
196 |
|
197 |
ForDef: |
198 |
@QName: |
199 |
DOMHTML:ForHTML40FE |
200 |
@ISA: |
201 |
DOMHTML:ForHTML40 |
202 |
@FullName: |
203 |
@@lang:en |
204 |
@@@: For HTML 4.0 first edition |
205 |
|
206 |
ForDef: |
207 |
@QName: |
208 |
DOMHTML:ForHTML40SE |
209 |
@ISA: |
210 |
DOMHTML:ForHTML40 |
211 |
@FullName: |
212 |
@@lang:en |
213 |
@@@: |
214 |
For HTML 4.0 second edition |
215 |
|
216 |
ForDef: |
217 |
@QName: |
218 |
DOMHTML:ForHTML401 |
219 |
@ISA: |
220 |
DOMHTML:ForHTML4 |
221 |
@FullName: |
222 |
@@lang:en |
223 |
@@@: |
224 |
For HTML 4.01 |
225 |
|
226 |
ForDef: |
227 |
@QName: |
228 |
DOMHTML:ForXHTML |
229 |
@ISA: |
230 |
DOMHTML:ForHTML |
231 |
@FullName: |
232 |
@@lang:en |
233 |
@@@: |
234 |
For XHTML, compatible with W3C XHTML 1, any version |
235 |
|
236 |
ForDef: |
237 |
@QName: |
238 |
DOMHTML:ForXHTML1 |
239 |
@ISA: |
240 |
DOMHTML:ForXHTML |
241 |
@FullName: |
242 |
@@lang:en |
243 |
@@@: |
244 |
For XHTML 1 |
245 |
|
246 |
ForDef: |
247 |
@QName: |
248 |
DOMHTML:ForXHTML10 |
249 |
@ISA: |
250 |
DOMHTML:ForXHTML1 |
251 |
@FullName: |
252 |
@@lang:en |
253 |
@@@: |
254 |
For XHTML 1.0 |
255 |
|
256 |
ForDef: |
257 |
@QName: |
258 |
DOMHTML:ForXHTML10FE |
259 |
@ISA: |
260 |
DOMHTML:ForXHTML10 |
261 |
@FullName: |
262 |
@@lang:en |
263 |
@@@: For XHTML 1.0 First Edition |
264 |
|
265 |
ForDef: |
266 |
@QName: |
267 |
DOMHTML:ForXHTML10SE |
268 |
@ISA: |
269 |
DOMHTML:ForXHTML10 |
270 |
@FullName: |
271 |
@@lang:en |
272 |
@@@: For XHTML 1.0 Second Edition |
273 |
|
274 |
ForDef: |
275 |
@QName: |
276 |
DOMHTML:ForXHTML1m12n |
277 |
@ISA: |
278 |
DOMHTML:ForXHTML1 |
279 |
@FullName: |
280 |
@@lang:en |
281 |
@@@: |
282 |
For modularized XHTML 1 |
283 |
|
284 |
## TODO: FE and SE required |
285 |
|
286 |
ForDef: |
287 |
@QName: |
288 |
DOMHTML:ForXHTML11 |
289 |
@ISA: |
290 |
DOMHTML:ForXHTML1m12n |
291 |
@FullName: |
292 |
@@lang:en |
293 |
@@@: For XHTML 1.1 |
294 |
|
295 |
ForDef: |
296 |
@QName: DOMHTML|ForHTML5 |
297 |
@FullName: |
298 |
@@lang:en |
299 |
@@@: |
300 |
For HTML 5 (Work in progress) |
301 |
@ISA: DOMHTML|ForHTML |
302 |
|
303 |
## -- Features |
304 |
|
305 |
ElementTypeBinding: |
306 |
@Name: FeatureDef |
307 |
@ElementType: |
308 |
dis:ResourceDef |
309 |
@ShadowContent: |
310 |
@@rdf:type: f|Feature |
311 |
@@For: =ManakaiDOM|all |
312 |
|
313 |
ElementTypeBinding: |
314 |
@Name: FeatureVerDef |
315 |
@ElementType: |
316 |
dis:ResourceDef |
317 |
@ShadowContent: |
318 |
@@rdf:type: f|Feature |
319 |
|
320 |
ElementTypeBinding: |
321 |
@Name: featureName |
322 |
@ElementType: |
323 |
f:name |
324 |
@ShadowContent: |
325 |
@@ContentType: DISCore|String |
326 |
|
327 |
ElementTypeBinding: |
328 |
@Name: featureQName |
329 |
@ElementType: |
330 |
f:name |
331 |
@ShadowContent: |
332 |
@@ContentType: DISCore|QName |
333 |
|
334 |
FeatureDef: |
335 |
@featureName: HTML |
336 |
@QName: HTMLFeature |
337 |
@FeatureVerDef: |
338 |
@@Version:1.0 |
339 |
@@QName: HTMLFeature10 |
340 |
@@DOMMetaImpl:instanceFeatureOf: HTMLFeature |
341 |
@@FullName: |
342 |
@@@@: DOM Level 1 HTML |
343 |
@@@lang:en |
344 |
@@ImplNote: |
345 |
@@@lang:en |
346 |
@@@@: |
347 |
The DOM Level 2 HTML Specification does not say DOM Level 2 |
348 |
HTML implementations to answer to <M::DOMCore:DOMImplementation |
349 |
::ManakaiDOM:ManakaiDOM2.hasFeature> of |
350 |
<FeatureVer::1.0> as <DOM::true>. In fact, DOM Level 1 and 2 |
351 |
are incompatible. |
352 |
@@DOMMain:requireFeature: |
353 |
DOMCore:CoreFeature10 |
354 |
@FeatureVerDef: |
355 |
@@Version:2.0 |
356 |
@@QName: HTMLFeature20 |
357 |
@@DOMMetaImpl:instanceFeatureOf: HTMLFeature |
358 |
@@FullName: |
359 |
@@@@: DOM Level 2 HTML |
360 |
@@@lang:en |
361 |
@@enDesc: |
362 |
Note that the <Feature::HTML> feature version <FeatureVer::2.0> |
363 |
is <EM::incompatible> with <FeatureVer::1.0>. |
364 |
@@DOMMain:requireFeature: |
365 |
DOMCore:CoreFeature20 |
366 |
|
367 |
FeatureDef: |
368 |
@featureName: XHTML |
369 |
@QName: XHTMLFeature |
370 |
@FeatureVerDef: |
371 |
@@Version:2.0 |
372 |
@@FullName: |
373 |
@@@@: DOM Level 2 HTML (with XHTML support) |
374 |
@@@lang:en |
375 |
@@QName: XHTMLFeature20 |
376 |
@@DOMMetaImpl:instanceFeatureOf: XHTMLFeature |
377 |
@@DOMFeature:extends: HTMLFeature20 |
378 |
@@DOMFeature:extends: |
379 |
DOMXML:XMLFeature20 |
380 |
@@Description: |
381 |
@@@lang:en |
382 |
@@@@: |
383 |
DOM Level 2 HTML with XHTML support. |
384 |
It is equal to <Feature::XML> / <FeatureVer::2.0> and |
385 |
<Feature::HTML> / <FeatureVer::2.0>. |
386 |
|
387 |
## -- Datatypes |
388 |
|
389 |
ElementTypeBinding: |
390 |
@Name: DataTypeAlias |
391 |
@ElementType: |
392 |
dis:ResourceDef |
393 |
@ShadowContent: |
394 |
@@rdf:type: DISLang|AnyDataType |
395 |
@@ForCheck: ManakaiDOM|DOM |
396 |
|
397 |
DataTypeAlias: |
398 |
@Name: DOMString |
399 |
@AliasFor: |
400 |
@@@: |
401 |
DOMMain:DOMString |
402 |
@@For: |
403 |
!ManakaiDOM:IDL |
404 |
@Def: |
405 |
@@For: |
406 |
ManakaiDOM:IDL |
407 |
@@ContentType: |
408 |
lang:dis |
409 |
@@DISLang:dataTypeAliasFor: |
410 |
DOMMain:DOMString |
411 |
|
412 |
DataTypeAlias: |
413 |
@Name: Node |
414 |
@AliasFor: |
415 |
@@@: |
416 |
DOMCore:Node |
417 |
@@For: |
418 |
!ManakaiDOM:IDL |
419 |
@Def: |
420 |
@@For: |
421 |
ManakaiDOM:IDL |
422 |
@@ContentType: |
423 |
lang:dis |
424 |
@@DISLang:dataTypeAliasFor: |
425 |
DOMCore:Node |
426 |
|
427 |
DataTypeAlias: |
428 |
@Name: Document |
429 |
@AliasFor: |
430 |
@@@: |
431 |
DOMCore:Document |
432 |
@@For: |
433 |
!ManakaiDOM:IDL |
434 |
@Def: |
435 |
@@For: |
436 |
ManakaiDOM:IDL |
437 |
@@ContentType: |
438 |
lang:dis |
439 |
@@DISLang:dataTypeAliasFor: |
440 |
DOMCore:Document |
441 |
|
442 |
DataTypeAlias: |
443 |
@Name: NodeList |
444 |
@AliasFor: |
445 |
@@@: |
446 |
DOMCore:NodeList |
447 |
@@For: |
448 |
!ManakaiDOM:IDL |
449 |
@Def: |
450 |
@@For: |
451 |
ManakaiDOM:IDL |
452 |
@@ContentType: |
453 |
lang:dis |
454 |
@@DISLang:dataTypeAliasFor: |
455 |
DOMCore:NodeList |
456 |
|
457 |
DataTypeAlias: |
458 |
@Name: Element |
459 |
@AliasFor: |
460 |
@@@: |
461 |
DOMCore:Element |
462 |
@@For: |
463 |
!ManakaiDOM:IDL |
464 |
@Def: |
465 |
@@For: |
466 |
ManakaiDOM:IDL |
467 |
@@ContentType: |
468 |
lang:dis |
469 |
@@DISLang:dataTypeAliasFor: |
470 |
DOMCore:Element |
471 |
|
472 |
ElementTypeBinding: |
473 |
@Name: ReflectTypeDef |
474 |
@ElementType: |
475 |
dis:ResourceDef |
476 |
@ShadowContent: |
477 |
@@rdf:type: DISLang|AnyDataType |
478 |
@@ForCheck: !ManakaiDOM|IDL |
479 |
@@For: ManakaiDOM|DOM |
480 |
|
481 |
ReflectTypeDef: |
482 |
@QName: CDATADOMString |
483 |
@enDesc: |
484 |
<IF::DOMMain:DOMString> for DOM attributes reflecting |
485 |
<SGML::CDATA> element attributes. |
486 |
@rdfs:subClassOf: DOMString |
487 |
@ResourceDef: |
488 |
@@rdf:type: DOMMain|ReflectGet |
489 |
@@DefaultValue: \ |
490 |
@@enDesc: |
491 |
The DOM attribute returns the current value of the element attribute |
492 |
in a transparent, case-sensitive manner. |
493 |
\ |
494 |
If the element attribute is absent, the default value, if any, |
495 |
or the empty string is returned. |
496 |
@@PerlCDef: |
497 |
my $ao = $self->{<Q::TreeCore:node>}->{<Q::infoset:attributes>} |
498 |
->{<Q::null:>}->{$LOCAL_NAME} || |
499 |
$self->{<Q::TreeCore:node>}->{<Q::infoset:attributes>} |
500 |
->{<Q::ManakaiDOM:noNS>}->{$LOCAL_NAME}; |
501 |
if ($ao) { |
502 |
my $attr; |
503 |
__CODE{ManakaiNode:getWeakReference||ManakaiDOM:Perl:: |
504 |
$object => $ao, $ref => $attr, |
505 |
$class => {<ClassName::DOMCore:ManakaiDOMAttr>}, |
506 |
}__; |
507 |
__DEEP{ |
508 |
$r = $ao-><AG::DOMCore:Attr.value>; |
509 |
}__; |
510 |
} |
511 |
@ResourceDef: |
512 |
@@QName: CDATADOMStringSet |
513 |
@@rdf:type: DOMMain|ReflectSet |
514 |
@@enDesc: |
515 |
The corresponding element attribute is set to the given value, |
516 |
in a transparent, case-sensitive manner. |
517 |
@@ImplNote: |
518 |
@@@lang:en |
519 |
@@@@: |
520 |
What will happen if the <DOM::null> value is given? |
521 |
@@PerlCDef: |
522 |
my $ao = $self->{<Q::TreeCore:node>}->{<Q::infoset:attributes>} |
523 |
->{<Q::null:>}->{$LOCAL_NAME} || |
524 |
$self->{<Q::TreeCore:node>}->{<Q::infoset:attributes>} |
525 |
->{<Q::ManakaiDOM:noNS>}->{$LOCAL_NAME}; |
526 |
if ($ao) { |
527 |
my $attr; |
528 |
__CODE{ManakaiNode:getWeakReference||ManakaiDOM:Perl:: |
529 |
$object => $ao, $ref => $attr, |
530 |
$class => {<ClassName::DOMCore:ManakaiDOMAttr>}, |
531 |
}__; |
532 |
__DEEP{ |
533 |
$ao-><AS::DOMCore:Attr.value> ($given); |
534 |
}__; |
535 |
} else { |
536 |
__DEEP{ |
537 |
__FOR{ManakaiDOM|DOM2:: |
538 |
$self-><M::DOMCore:Element.setAttributeNS> |
539 |
(null, $LOCAL_NAME => $given); |
540 |
}__; |
541 |
__FOR{!ManakaiDOM|DOM2:: |
542 |
$self-><M::DOMCore:Element.setAttribute> ($LOCAL_NAME => $given); |
543 |
}__; |
544 |
}__; |
545 |
} |
546 |
|
547 |
ReflectTypeDef: |
548 |
@QName: EnumDOMString |
549 |
@enDesc: |
550 |
<IF::DOMMain:DOMString> for DOM attributes reflecting |
551 |
element attributes which is defined to only allow a specific |
552 |
set of values. |
553 |
@rdfs:subClassOf: DOMString |
554 |
@ResourceDef: |
555 |
@@rdf:type: DOMMain|ReflectGet |
556 |
@@DefaultValue: \ |
557 |
@@enDesc: |
558 |
The DOM attribute returns the current value of the element attribute |
559 |
in lowercase. |
560 |
\ |
561 |
If the element attribute is absent, the default value, if any, |
562 |
or the empty string is returned. |
563 |
@@PerlCDef: |
564 |
my $ao = $self->{<Q::TreeCore:node>}->{<Q::infoset:attributes>} |
565 |
->{<Q::null:>}->{$LOCAL_NAME} || |
566 |
$self->{<Q::TreeCore:node>}->{<Q::infoset:attributes>} |
567 |
->{<Q::ManakaiDOM:noNS>}->{$LOCAL_NAME}; |
568 |
if ($ao) { |
569 |
my $attr; |
570 |
__CODE{ManakaiNode:getWeakReference||ManakaiDOM:Perl:: |
571 |
$object => $ao, $ref => $attr, |
572 |
$class => {<ClassName::DOMCore:ManakaiDOMAttr>}, |
573 |
}__; |
574 |
__DEEP{ |
575 |
$r = lc $ao-><AG::DOMCore:Attr.value>; |
576 |
}__; |
577 |
} |
578 |
@ResourceDef: |
579 |
@@rdf:type: DOMMain|ReflectSet |
580 |
@@enDesc: |
581 |
The corresponding element attribute is set to the given value, |
582 |
in a transparent, case-sensitive manner. |
583 |
@@ImplNote: |
584 |
@@@lang:en |
585 |
@@@@: |
586 |
What will happen if the <DOM::null> value is given? |
587 |
@@disCDef: |
588 |
@@@DISPerl:cloneCode: CDATADOMStringSet |
589 |
|
590 |
ReflectTypeDef: |
591 |
@QName: URIDOMString |
592 |
@enDesc: |
593 |
<IF::DOMMain:DOMString> for DOM attributes reflecting |
594 |
element attributes defined to contain a IRI. |
595 |
@rdfs:subClassOf: DOMString |
596 |
@ResourceDef: |
597 |
@@rdf:type: DOMMain|ReflectGet |
598 |
@@DefaultValue: \ |
599 |
@@enDesc: |
600 |
The DOM attribute returns the current value of the element attribute, |
601 |
resolved to an absolute IRI. |
602 |
\ |
603 |
If the element attribute is absent, the default value, if any, |
604 |
or the empty string is returned. |
605 |
@@ImplNote: |
606 |
@@@lang:en |
607 |
@@@@: |
608 |
{TODO:: Resolving. |
609 |
\ |
610 |
} |
611 |
@@PerlCDef: |
612 |
my $ao = $self->{<Q::TreeCore:node>}->{<Q::infoset:attributes>} |
613 |
->{<Q::null:>}->{$LOCAL_NAME} || |
614 |
$self->{<Q::TreeCore:node>}->{<Q::infoset:attributes>} |
615 |
->{<Q::ManakaiDOM:noNS>}->{$LOCAL_NAME}; |
616 |
if ($ao) { |
617 |
my $attr; |
618 |
__CODE{ManakaiNode:getWeakReference||ManakaiDOM:Perl:: |
619 |
$object => $ao, $ref => $attr, |
620 |
$class => {<ClassName::DOMCore:ManakaiDOMAttr>}, |
621 |
}__; |
622 |
__DEEP{ |
623 |
$r = $ao-><AG::DOMCore:Attr.value>; |
624 |
}__; |
625 |
} |
626 |
@ResourceDef: |
627 |
@@rdf:type: DOMMain|ReflectSet |
628 |
@@enDesc: |
629 |
The corresponding element attribute is set to the given literal value. |
630 |
@@ImplNote: |
631 |
@@@lang:en |
632 |
@@@@: |
633 |
What will happen if the <DOM::null> value is given? |
634 |
@@disCDef: |
635 |
@@@DISPerl:cloneCode: CDATADOMStringSet |
636 |
|
637 |
ReflectTypeDef: |
638 |
@QName: Boolean |
639 |
@enDesc: |
640 |
<IF::DOMMain:boolean::ManakaiDOM:all> for DOM attributes reflecting |
641 |
boolean element attributes. |
642 |
@rdfs:subClassOf: DOMMain|boolean||ManakaiDOM|all |
643 |
@ResourceDef: |
644 |
@@rdf:type: DOMMain|ReflectGet |
645 |
@@DefaultValue: false |
646 |
@@enDesc: |
647 |
The DOM attribute returns <DOM::true> if the element attribute |
648 |
is set and <DOM::false> if it is absent. |
649 |
@@PerlCDef: |
650 |
my $ao = $self->{<Q::TreeCore:node>}->{<Q::infoset:attributes>} |
651 |
->{<Q::null:>}->{$LOCAL_NAME} || |
652 |
$self->{<Q::TreeCore:node>}->{<Q::infoset:attributes>} |
653 |
->{<Q::ManakaiDOM:noNS>}->{$LOCAL_NAME}; |
654 |
$r = $ao ? true : false; |
655 |
@ResourceDef: |
656 |
@@rdf:type: DOMMain|ReflectSet |
657 |
@@enDesc: |
658 |
The element attribute is removed if the DOM attribute |
659 |
is set to <DOM::false> and is set to have the same |
660 |
value as its local name if the DOM attribute is set to <DOM::true>. |
661 |
@@PerlCDef: |
662 |
my $ao = $self->{<Q::TreeCore:node>}->{<Q::infoset:attributes>} |
663 |
->{<Q::null:>}->{$LOCAL_NAME} || |
664 |
$self->{<Q::TreeCore:node>}->{<Q::infoset:attributes>} |
665 |
->{<Q::ManakaiDOM:noNS>}->{$LOCAL_NAME}; |
666 |
if ($ao) { |
667 |
if ($given) { |
668 |
my $attr; |
669 |
__CODE{ManakaiNode:getWeakReference||ManakaiDOM:Perl:: |
670 |
$object => $ao, $ref => $attr, |
671 |
$class => {<ClassName::DOMCore:ManakaiDOMAttr>}, |
672 |
}__; |
673 |
__DEEP{ |
674 |
$ao-><AS::DOMCore:Attr.value> ($LOCAL_NAME); |
675 |
}__; |
676 |
} else { |
677 |
if ($self->{<Q::TreeCore:node>}->{<Q::infoset:attributes>} |
678 |
->{<Q::null:>}->{$LOCAL_NAME}) { |
679 |
CORE::delete $self->{<Q::TreeCore:node>}->{<Q::infoset:attributes>} |
680 |
->{<Q::null:>}->{$LOCAL_NAME}; |
681 |
} else { |
682 |
CORE::delete $self->{<Q::TreeCore:node>}->{<Q::infoset:attributes>} |
683 |
->{<Q::ManakaiDOM:noNS>}->{$LOCAL_NAME}; |
684 |
} |
685 |
CORE::delete $ao->{<Q::infoset:ownerElement>}; |
686 |
$ao-><M::NodeStem.orphanate>; |
687 |
} |
688 |
} else { |
689 |
if ($given) { |
690 |
__DEEP{ |
691 |
__FOR{ManakaiDOM|DOM2:: |
692 |
$self-><M::DOMCore:Element.setAttributeNS> |
693 |
(null, $LOCAL_NAME => $LOCAL_NAME); |
694 |
}__; |
695 |
__FOR{!ManakaiDOM|DOM2:: |
696 |
$self-><M::DOMCore:Element.setAttribute> |
697 |
($LOCAL_NAME => $LOCAL_NAME); |
698 |
}__; |
699 |
}__; |
700 |
} |
701 |
} |
702 |
|
703 |
ReflectTypeDef: |
704 |
@QName: Numeric |
705 |
@enDesc: |
706 |
<IF::DOMMain:long::ManakaiDOM:all> for DOM attributes reflecting |
707 |
number element attributes. |
708 |
@rdfs:subClassOf: DOMMain|long||ManakaiDOM|all |
709 |
@ResourceDef: |
710 |
@@rdf:type: DOMMain|ReflectGet |
711 |
@@DefaultValue: 0 |
712 |
@@enDesc: |
713 |
The DOM attribute returns a numeric type value converted |
714 |
from the element attribute value. If the convertion |
715 |
fails or if the element attribute is absent, then |
716 |
the default value is returned or <DOM::0> if there is |
717 |
no default value. |
718 |
@@PerlCDef: |
719 |
my $ao = $self->{<Q::TreeCore:node>}->{<Q::infoset:attributes>} |
720 |
->{<Q::null:>}->{$LOCAL_NAME} || |
721 |
$self->{<Q::TreeCore:node>}->{<Q::infoset:attributes>} |
722 |
->{<Q::ManakaiDOM:noNS>}->{$LOCAL_NAME}; |
723 |
if ($ao) { |
724 |
my $attr; |
725 |
__CODE{ManakaiNode:getWeakReference||ManakaiDOM:Perl:: |
726 |
$object => $ao, $ref => $attr, |
727 |
$class => {<ClassName::DOMCore:ManakaiDOMAttr>}, |
728 |
}__; |
729 |
__DEEP{ |
730 |
$r = $ao-><AG::DOMCore:Attr.value>; |
731 |
}__; |
732 |
__CODE{convertToNumericType:: |
733 |
$original => $r, |
734 |
$result => $r, |
735 |
$default => {0}, |
736 |
}__; |
737 |
} |
738 |
@@ImplNote: |
739 |
@@@lang:en |
740 |
@@@@: |
741 |
{TODO:: Default value other than 0. |
742 |
\ |
743 |
} |
744 |
@ResourceDef: |
745 |
@@rdf:type: DOMMain|ReflectSet |
746 |
@@enDesc: |
747 |
The given value is converted to a string representing |
748 |
the number in decimal (base ten) and then that |
749 |
string is set to the element attribute. |
750 |
@@QName: NumericSet |
751 |
@@PerlCDef: |
752 |
my $ao = $self->{<Q::TreeCore:node>}->{<Q::infoset:attributes>} |
753 |
->{<Q::null:>}->{$LOCAL_NAME} || |
754 |
$self->{<Q::TreeCore:node>}->{<Q::infoset:attributes>} |
755 |
->{<Q::ManakaiDOM:noNS>}->{$LOCAL_NAME}; |
756 |
if ($ao) { |
757 |
my $attr; |
758 |
__CODE{ManakaiNode:getWeakReference||ManakaiDOM:Perl:: |
759 |
$object => $ao, $ref => $attr, |
760 |
$class => {<ClassName::DOMCore:ManakaiDOMAttr>}, |
761 |
}__; |
762 |
__DEEP{ |
763 |
$ao-><AS::DOMCore:Attr.value> (0 + $given); |
764 |
}__; |
765 |
} else { |
766 |
__DEEP{ |
767 |
__FOR{ManakaiDOM|DOM2:: |
768 |
$self-><M::DOMCore:Element.setAttributeNS> |
769 |
(null, $LOCAL_NAME => 0 + $given); |
770 |
}__; |
771 |
__FOR{!ManakaiDOM|DOM2:: |
772 |
$self-><M::DOMCore:Element.setAttribute> ($LOCAL_NAME => 0 + $given); |
773 |
|
774 |
}__; |
775 |
}__; |
776 |
} |
777 |
|
778 |
@ResourceDef: |
779 |
@@rdf:type: dis2pm|BlockCode |
780 |
@@QName: convertToNumericType |
781 |
@@enDesc: |
782 |
Converts a string to a number. |
783 |
\ |
784 |
When an HTML 5 (work in progress) user agent needs to |
785 |
convert a string to a number, algorithms equivalent |
786 |
to those specified in ECMA 262 section 9.3.1 |
787 |
<sw010:csection::ToNumber Applied to the String Type> and |
788 |
8.5 <sw010:csection::The Number type> should be used |
789 |
(possibly after suitably altering the algorithms to handle |
790 |
numbers of the range that the user agent can support). |
791 |
@@ImplNote: |
792 |
@@@lang:en |
793 |
@@@@: |
794 |
- StringNumericLiteral := [StrWhiteSpace] |
795 |
[StrNumericLiteral [StrWhiteSpace]] |
796 |
\ |
797 |
- StrWhiteSpace := 1*StrWhiteSpaceChar |
798 |
\ |
799 |
- StrWhiteSpaceChar := TAB / SP / NBSP / FF / VT / CR / LF / LS / PS / USP |
800 |
;; U+0009 / U+0020 / U+00A0 / U+000C / U+000D / |
801 |
U+000A / U+2028 / U+2029 / Zs |
802 |
\ |
803 |
- StrNumericLiteral := StrDecimalLiteral / HexIntegerLiteral |
804 |
\ |
805 |
- StrDecimalLiteral := ["+" / "-"] StrUnsignedDecimalLiteral |
806 |
\ |
807 |
- StrUnsignedDecimalLiteral := 'Infinity' / |
808 |
1*DIGIT ["." 0*DIGIT] [ExponentPart] / |
809 |
"." 1*DIGIT [ExponentPart] |
810 |
\ |
811 |
- ExponentPart := "E" SignedInteger |
812 |
\ |
813 |
- SignedInteger := ["+" / "-"] 1*DIGIT |
814 |
\ |
815 |
- HexIntegerLiteral := "0x" 1*HEXDIGIT |
816 |
@@ImplNote: |
817 |
@@@lang:en |
818 |
@@@@: |
819 |
ECMA 262 3rd edition (1999) references Unicode 2.1 |
820 |
and section 7.2 <sw10:csection::White Space> |
821 |
cites Unicode without version number, while section 6 |
822 |
<sw10:csection::Source Text> refers Unicode 2.1 or later. |
823 |
@@PerlCDef: |
824 |
if ($original =~ m{ |
825 |
\A [\x09\x0A\x0C\x0D\x20\u{00A0}\u{2028}\u{2029}\pZs]* |
826 |
|
827 |
(?: ( |
828 |
|
829 |
## Decimal |
830 |
|
831 |
[+-] (?: [0-9]+(?:\.[0-9]*)?([eE][+-][0-9]+)? | |
832 |
\.[0-9]+ ([eE][+-][0-9]+)? | |
833 |
Infinity ) | |
834 |
|
835 |
## Hex |
836 |
|
837 |
0[xX][0-9A-Fa-f]+ |
838 |
|
839 |
) |
840 |
|
841 |
[\x09\x0A\x0C\x0D\x20\u{00A0}\u{2028}\u{2029}\pZs]* )? \z |
842 |
}s) { |
843 |
my $__str = $1; |
844 |
if (defined $__str) { |
845 |
if (lc substr ($__str, 0, 2) eq '0x') { |
846 |
$result = hex $__str; |
847 |
} else { |
848 |
$result = 0 + $__str; |
849 |
} |
850 |
## BUG: Infinity is not supported |
851 |
} else { |
852 |
$result = +0; |
853 |
} |
854 |
} else { ## NaN |
855 |
$result = $default; |
856 |
} |
857 |
|
858 |
ReflectTypeDef: |
859 |
@QName: UnsignedNumeric |
860 |
@enDesc: |
861 |
<IF::DOMMain:unsigned-long::ManakaiDOM:all> for DOM attributes reflecting |
862 |
number element attributes. |
863 |
@rdfs:subClassOf: DOMMain|unsigned-long||ManakaiDOM|all |
864 |
@ResourceDef: |
865 |
@@rdf:type: DOMMain|ReflectGet |
866 |
@@DefaultValue: 0 |
867 |
@@enDesc: |
868 |
The DOM attribute returns a numeric type value converted |
869 |
from the element attribute value. If the convertion |
870 |
fails or if the element attribute is absent, then |
871 |
the default value is returned or <DOM::0> if there is |
872 |
no default value. |
873 |
@@PerlCDef: |
874 |
my $ao = $self->{<Q::TreeCore:node>}->{<Q::infoset:attributes>} |
875 |
->{<Q::null:>}->{$LOCAL_NAME} || |
876 |
$self->{<Q::TreeCore:node>}->{<Q::infoset:attributes>} |
877 |
->{<Q::ManakaiDOM:noNS>}->{$LOCAL_NAME}; |
878 |
if ($ao) { |
879 |
my $attr; |
880 |
__CODE{ManakaiNode:getWeakReference||ManakaiDOM:Perl:: |
881 |
$object => $ao, $ref => $attr, |
882 |
$class => {<ClassName::DOMCore:ManakaiDOMAttr>}, |
883 |
}__; |
884 |
__DEEP{ |
885 |
$r = $ao-><AG::DOMCore:Attr.value>; |
886 |
}__; |
887 |
__CODE{convertToNumericType:: |
888 |
$original => $r, |
889 |
$result => $r, |
890 |
$default => {0}, |
891 |
}__; |
892 |
$r = 0 if $r < 0; |
893 |
} |
894 |
@@ImplNote: |
895 |
@@@lang:en |
896 |
@@@@: |
897 |
{TODO:: What should be returned if negative value? |
898 |
\ |
899 |
} |
900 |
@ResourceDef: |
901 |
@@rdf:type: DOMMain|ReflectSet |
902 |
@@enDesc: |
903 |
The given value is converted to a string representing |
904 |
the number in decimal (base ten) and then that |
905 |
string is set to the element attribute. |
906 |
@@disCDef: |
907 |
@@@DISPerl:cloneCode: NumericSet |
908 |
|
909 |
ImplNote: |
910 |
@lang:en |
911 |
@@: |
912 |
The DOM Level 2 HTML Specification does not intend to define |
913 |
exactly how a UA will respond to a change to any |
914 |
attribute on an element that directly or indirectly refers |
915 |
external data, such elements are <IF::HTMLAppletElement>, |
916 |
<IF::HTMLFrameElement>, <IF::HTMLFrameSetElement>, |
917 |
<IF::HTMLIFrameElement>, <IF::HTMLImageElement>, <IF::HTMLLinkElement>, |
918 |
<IF::HTMLObjectElement>, <IF::HTMLParamElement> and |
919 |
<IF::HTMLScriptElement>. |
920 |
@@For: |
921 |
ManakaiDOM:DOM |
922 |
|
923 |
ElementTypeBinding: |
924 |
@Name: L2 |
925 |
@ElementType: |
926 |
DOMMain:implementFeature |
927 |
@ShadowContent: |
928 |
@@@: HTMLFeature20 |
929 |
@@For: |
930 |
ManakaiDOM:DOM2 |
931 |
|
932 |
ElementTypeBinding: |
933 |
@Name: PerlDef |
934 |
@ElementType: |
935 |
dis:Def |
936 |
@ShadowContent: |
937 |
@@ContentType: |
938 |
lang:Perl |
939 |
@@ForCheck: ManakaiDOM|ForClass |
940 |
|
941 |
ElementTypeBinding: |
942 |
@Name: PerlCDef |
943 |
@ElementType: |
944 |
dis:Def |
945 |
@ShadowContent: |
946 |
@@ContentType: |
947 |
lang:Perl |
948 |
|
949 |
ElementTypeBinding: |
950 |
@Name: IFDef |
951 |
@ElementType: |
952 |
dis:ResourceDef |
953 |
@ShadowContent: |
954 |
@@rdf:type: |
955 |
@@@@: dis|MultipleResource |
956 |
@@@ForCheck: !ManakaiDOM|ForIF !ManakaiDOM|ForClass |
957 |
@@resourceFor: ManakaiDOM|ForIF |
958 |
@@ForCheck: ManakaiDOM|DOM |
959 |
|
960 |
@@rdf:type: |
961 |
@@@@: DISLang|Interface |
962 |
@@@ForCheck: ManakaiDOM|ForIF |
963 |
|
964 |
ElementTypeBinding: |
965 |
@Name: IfCls1Def |
966 |
@ElementType: |
967 |
dis:ResourceDef |
968 |
@ShadowContent: |
969 |
@@rdf:type: |
970 |
@@@@: dis|MultipleResource |
971 |
@@@ForCheck: !ManakaiDOM|ForIF !ManakaiDOM|ForClass |
972 |
@@resourceFor: ManakaiDOM|ForIF |
973 |
@@resourceFor: |
974 |
@@@@: ManakaiDOM|ForClass |
975 |
@@@ForCheck: ManakaiDOM|ManakaiDOM !=ManakaiDOM|ManakaiDOM |
976 |
@@For: ManakaiDOM|DOM1 |
977 |
@@For: =ManakaiDOM|ManakaiDOM |
978 |
|
979 |
@@rdf:type: |
980 |
@@@@: DISLang|Interface |
981 |
@@@ForCheck: ManakaiDOM|ForIF |
982 |
|
983 |
@@rdf:type: |
984 |
@@@@: DISLang|Class |
985 |
@@@ForCheck: ManakaiDOM|ForClass |
986 |
@@Implement: |
987 |
@@@@: ||ManakaiDOM|ManakaiDOM||ManakaiDOM|ForIF |
988 |
@@@ContentType: DISCore|TFPQNames |
989 |
@@@ForCheck: ManakaiDOM|ForClass ManakaiDOM|ManakaiDOM |
990 |
@@Implement: |
991 |
@@@@: ||ManakaiDOM|ManakaiDOM1||ManakaiDOM|ForIF |
992 |
@@@ContentType: DISCore|TFPQNames |
993 |
@@@ForCheck: ManakaiDOM|ForClass ManakaiDOM|ManakaiDOM1 |
994 |
@@Implement: |
995 |
@@@@: ||ManakaiDOM|ManakaiDOM2||ManakaiDOM|ForIF |
996 |
@@@ContentType: DISCore|TFPQNames |
997 |
@@@ForCheck: ManakaiDOM|ForClass ManakaiDOM|ManakaiDOM2 |
998 |
@@Implement: |
999 |
@@@@: ||ManakaiDOM|ManakaiDOMLatest||ManakaiDOM|ForIF |
1000 |
@@@ContentType: DISCore|TFPQNames |
1001 |
@@@ForCheck: ManakaiDOM|ForClass ManakaiDOM|ManakaiDOMLatest |
1002 |
|
1003 |
@@DOMMain:implementFeature: |
1004 |
@@@@: HTMLFeature10 |
1005 |
@@@For: ManakaiDOM|DOM1 |
1006 |
@@DOMMain:implementFeature: |
1007 |
@@@@: HTMLFeature20 |
1008 |
@@@For: ManakaiDOM|DOM2 |
1009 |
|
1010 |
ElementTypeBinding: |
1011 |
@Name: IfClsXDef |
1012 |
@ElementType: |
1013 |
dis:ResourceDef |
1014 |
@ShadowContent: |
1015 |
@@rdf:type: |
1016 |
@@@@: dis|MultipleResource |
1017 |
@@@ForCheck: !ManakaiDOM|ForIF !ManakaiDOM|ForClass |
1018 |
@@resourceFor: ManakaiDOM|ForIF |
1019 |
@@resourceFor: |
1020 |
@@@@: ManakaiDOM|ForClass |
1021 |
@@@ForCheck: ManakaiDOM|ManakaiDOM !=ManakaiDOM|ManakaiDOM |
1022 |
@@For: ManakaiDOM|DOM1 |
1023 |
@@For: =ManakaiDOM|ManakaiDOM |
1024 |
|
1025 |
@@rdf:type: |
1026 |
@@@@: DISLang|Interface |
1027 |
@@@ForCheck: ManakaiDOM|ForIF |
1028 |
|
1029 |
@@rdf:type: |
1030 |
@@@@: DISLang|Class |
1031 |
@@@ForCheck: ManakaiDOM|ForClass |
1032 |
@@Implement: |
1033 |
@@@@: ||ManakaiDOM|ManakaiDOM||ManakaiDOM|ForIF |
1034 |
@@@ContentType: DISCore|TFPQNames |
1035 |
@@@ForCheck: ManakaiDOM|ForClass ManakaiDOM|ManakaiDOM |
1036 |
@@Implement: |
1037 |
@@@@: ||ManakaiDOM|ManakaiDOMLatest||ManakaiDOM|ForIF |
1038 |
@@@ContentType: DISCore|TFPQNames |
1039 |
@@@ForCheck: ManakaiDOM|ForClass ManakaiDOM|ManakaiDOMLatest |
1040 |
|
1041 |
@@DOMMain:implementFeature: |
1042 |
@@@@: HTMLExtendedFeature30 |
1043 |
@@@For: ManakaiDOM|ManakaiDOMLatest |
1044 |
|
1045 |
|
1046 |
ElementTypeBinding: |
1047 |
@Name: IF |
1048 |
@ElementType: |
1049 |
dis:ResourceDef |
1050 |
@ShadowContent: |
1051 |
@@rdf:type: |
1052 |
@@@@: |
1053 |
dis:MultipleResource |
1054 |
@@@ForCheck: |
1055 |
!ManakaiDOM:ForClass !ManakaiDOM:ForIF !ForHTML |
1056 |
@@rdf:type: |
1057 |
@@@@: DISLang|Interface |
1058 |
@@@ForCheck: |
1059 |
ManakaiDOM:ForIF |
1060 |
@@rdf:type: |
1061 |
@@@@: DISLang|Class |
1062 |
@@@ForCheck: |
1063 |
ManakaiDOM:ForClass |
1064 |
@@resourceFor: |
1065 |
@@@@: |
1066 |
ManakaiDOM:ForIF |
1067 |
@@@For: |
1068 |
ManakaiDOM:DOMHTMLFeature |
1069 |
@@@For: |
1070 |
=ManakaiDOM:ManakaiDOM |
1071 |
@@@ForCheck: !ForHTML |
1072 |
@@resourceFor: |
1073 |
@@@@: |
1074 |
ManakaiDOM:ForClass |
1075 |
@@@ForCheck: |
1076 |
ManakaiDOM:ManakaiDOM !=ManakaiDOM:ManakaiDOM |
1077 |
ManakaiDOM:DOMHTMLFeature !ForHTML |
1078 |
@@ISA: |
1079 |
@@@@: |
1080 |
ManakaiDOM:ManakaiDOMObject |
1081 |
@@@ForCheck: |
1082 |
ManakaiDOM:ForClass |
1083 |
@@Implement: |
1084 |
@@@@: ||+||ManakaiDOM|ForIF |
1085 |
@@@ForCheck: ManakaiDOM|ForClass ManakaiDOM|ManakaiDOM1 |
1086 |
@@@ContentType: DISCore|TFPQNames |
1087 |
|
1088 |
ElementTypeBinding: |
1089 |
@Name: ClsOnly |
1090 |
@ElementType: |
1091 |
dis:ResourceDef |
1092 |
@ShadowContent: |
1093 |
@@rdf:type: |
1094 |
@@@@: |
1095 |
dis:MultipleResource |
1096 |
@@@ForCheck: |
1097 |
!ManakaiDOM:ForClass !ManakaiDOM:ForIF !ForHTML |
1098 |
@@rdf:type: |
1099 |
@@@@: |
1100 |
ManakaiDOM:Class |
1101 |
@@@ForCheck: |
1102 |
ManakaiDOM:ForClass |
1103 |
@@resourceFor: |
1104 |
@@@@: |
1105 |
ManakaiDOM:ForClass |
1106 |
@@@ForCheck: |
1107 |
ManakaiDOM:ManakaiDOM !=ManakaiDOM:ManakaiDOM |
1108 |
ManakaiDOM:DOMHTMLFeature !ForHTML |
1109 |
@@ISA: |
1110 |
@@@@: |
1111 |
ManakaiDOM:ManakaiDOMObject |
1112 |
@@@ForCheck: |
1113 |
ManakaiDOM:ForClass |
1114 |
|
1115 |
ElementTypeBinding: |
1116 |
@Name: IfCls12ETDef |
1117 |
@ElementType: |
1118 |
dis:ResourceDef |
1119 |
@ShadowContent: |
1120 |
@@rdf:type: |
1121 |
@@@@: dis|MultipleResource |
1122 |
@@@ForCheck: !ManakaiDOM|ForIF !ManakaiDOM|ForClass !ForHTML |
1123 |
@@resourceFor: ManakaiDOM|ForIF |
1124 |
@@resourceFor: |
1125 |
@@@@: ManakaiDOM|ForClass |
1126 |
@@@ForCheck: ManakaiDOM|ManakaiDOM !=ManakaiDOM|ManakaiDOM |
1127 |
@@For: ManakaiDOM|DOM1 |
1128 |
@@For: =ManakaiDOM|ManakaiDOM |
1129 |
@@For: ForHTML |
1130 |
|
1131 |
@@rdf:type: |
1132 |
@@@@: DISLang|Interface |
1133 |
@@@ForCheck: ManakaiDOM|ForIF |
1134 |
|
1135 |
@@rdf:type: |
1136 |
@@@@: DISLang|Class |
1137 |
@@@ForCheck: ManakaiDOM|ForClass |
1138 |
@@Implement: |
1139 |
@@@@: ||ManakaiDOM|ManakaiDOM||ManakaiDOM|ForIF |
1140 |
@@@ContentType: DISCore|TFPQNames |
1141 |
@@@ForCheck: ManakaiDOM|ForClass ManakaiDOM|ManakaiDOM |
1142 |
@@Implement: |
1143 |
@@@@: ||ManakaiDOM|ManakaiDOM1||ManakaiDOM|ForIF |
1144 |
@@@ContentType: DISCore|TFPQNames |
1145 |
@@@ForCheck: |
1146 |
ManakaiDOM|ForClass ManakaiDOM|ManakaiDOM1 !ManakaiDOM|ManakaiDOM2 |
1147 |
@@Implement: |
1148 |
@@@@: ||ManakaiDOM|ManakaiDOM2||ManakaiDOM|ForIF |
1149 |
@@@ContentType: DISCore|TFPQNames |
1150 |
@@@ForCheck: ManakaiDOM|ForClass ManakaiDOM|ManakaiDOM2 |
1151 |
@@Implement: |
1152 |
@@@@: ||ManakaiDOM|ManakaiDOMLatest||ManakaiDOM|ForIF |
1153 |
@@@ContentType: DISCore|TFPQNames |
1154 |
@@@ForCheck: ManakaiDOM|ForClass ManakaiDOM|ManakaiDOMLatest |
1155 |
|
1156 |
@@DOMMain:implementFeature: |
1157 |
@@@@: HTMLFeature10 |
1158 |
@@@For: ManakaiDOM|DOM1 !ManakaiDOM|DOM2 |
1159 |
@@DOMMain:implementFeature: |
1160 |
@@@@: HTMLFeature20 |
1161 |
@@@For: ManakaiDOM|DOM2 |
1162 |
|
1163 |
@@rdf:type: |
1164 |
@@@@: s|ElementType |
1165 |
@@@ForCheck: ForHTML |
1166 |
|
1167 |
@@s:elementType: |
1168 |
@@@@: ||ForHTML40SE |
1169 |
@@@ForCheck: ManakaiDOM|DOM1 !ManakaiDOM|DOM2 |
1170 |
@@@ImplNote: |
1171 |
@@@@lang:en |
1172 |
@@@@@: |
1173 |
DOM Level 1 First Edition refers the latest version of |
1174 |
HTML 4.0 while Second Edition refers the second edition of |
1175 |
HTML 4.0. |
1176 |
@@@DISCore:stopISARecursive:1 |
1177 |
@@s:elementType: |
1178 |
@@@@: ||ForHTML401 |
1179 |
@@@ForCheck: ManakaiDOM|DOM2 |
1180 |
@@s:elementType: |
1181 |
@@@@: ||ForXHTML10SE |
1182 |
@@@ForCheck: ManakaiDOM|DOM2 |
1183 |
@@@DISCore:stopISARecursive:1 |
1184 |
|
1185 |
ElementTypeBinding: |
1186 |
@Name: IfCls1ETDef |
1187 |
@ElementType: |
1188 |
dis:ResourceDef |
1189 |
@ShadowContent: |
1190 |
@@rdf:type: |
1191 |
@@@@: dis|MultipleResource |
1192 |
@@@ForCheck: !ManakaiDOM|ForIF !ManakaiDOM|ForClass !ForHTML |
1193 |
@@resourceFor: ManakaiDOM|ForIF |
1194 |
@@resourceFor: |
1195 |
@@@@: ManakaiDOM|ForClass |
1196 |
@@@ForCheck: ManakaiDOM|ManakaiDOM !=ManakaiDOM|ManakaiDOM |
1197 |
@@For: ManakaiDOM|DOM1 |
1198 |
@@For: =ManakaiDOM|ManakaiDOM |
1199 |
@@For: ForHTML |
1200 |
|
1201 |
@@rdf:type: |
1202 |
@@@@: DISLang|Interface |
1203 |
@@@ForCheck: ManakaiDOM|ForIF |
1204 |
|
1205 |
@@rdf:type: |
1206 |
@@@@: DISLang|Class |
1207 |
@@@ForCheck: ManakaiDOM|ForClass |
1208 |
@@Implement: |
1209 |
@@@@: ||ManakaiDOM|ManakaiDOM||ManakaiDOM|ForIF |
1210 |
@@@ContentType: DISCore|TFPQNames |
1211 |
@@@ForCheck: ManakaiDOM|ForClass ManakaiDOM|ManakaiDOM |
1212 |
@@Implement: |
1213 |
@@@@: ||ManakaiDOM|ManakaiDOM1||ManakaiDOM|ForIF |
1214 |
@@@ContentType: DISCore|TFPQNames |
1215 |
@@@ForCheck: |
1216 |
ManakaiDOM|ForClass ManakaiDOM|ManakaiDOM1 |
1217 |
@@Implement: |
1218 |
@@@@: ||ManakaiDOM|ManakaiDOM2||ManakaiDOM|ForIF |
1219 |
@@@ContentType: DISCore|TFPQNames |
1220 |
@@@ForCheck: ManakaiDOM|ForClass ManakaiDOM|ManakaiDOM2 |
1221 |
@@Implement: |
1222 |
@@@@: ||ManakaiDOM|ManakaiDOMLatest||ManakaiDOM|ForIF |
1223 |
@@@ContentType: DISCore|TFPQNames |
1224 |
@@@ForCheck: ManakaiDOM|ForClass ManakaiDOM|ManakaiDOMLatest |
1225 |
|
1226 |
@@DOMMain:implementFeature: |
1227 |
@@@@: HTMLFeature10 |
1228 |
@@@For: ManakaiDOM|DOM1 |
1229 |
@@DOMMain:implementFeature: |
1230 |
@@@@: HTMLFeature20 |
1231 |
@@@For: ManakaiDOM|DOM2 |
1232 |
|
1233 |
@@rdf:type: |
1234 |
@@@@: s|ElementType |
1235 |
@@@ForCheck: ForHTML |
1236 |
|
1237 |
@@s:elementType: |
1238 |
@@@@: ||ForHTML40SE |
1239 |
@@@ForCheck: ManakaiDOM|DOM1 !ManakaiDOM|DOM2 |
1240 |
@@@ImplNote: |
1241 |
@@@@lang:en |
1242 |
@@@@@: |
1243 |
DOM Level 1 First Edition refers the latest version of |
1244 |
HTML 4.0 while Second Edition refers the second edition of |
1245 |
HTML 4.0. |
1246 |
@@@DISCore:stopISARecursive:1 |
1247 |
@@s:elementType: |
1248 |
@@@@: ||ForHTML401 |
1249 |
@@@ForCheck: ManakaiDOM|DOM2 |
1250 |
@@s:elementType: |
1251 |
@@@@: ||ForXHTML10SE |
1252 |
@@@ForCheck: ManakaiDOM|DOM2 |
1253 |
@@@DISCore:stopISARecursive:1 |
1254 |
|
1255 |
ElementTypeBinding: |
1256 |
@Name: IfCls1ETsDef |
1257 |
@ElementType: |
1258 |
dis:ResourceDef |
1259 |
@ShadowContent: |
1260 |
@@rdf:type: |
1261 |
@@@@: dis|MultipleResource |
1262 |
@@@ForCheck: !ManakaiDOM|ForIF !ManakaiDOM|ForClass !ForHTML |
1263 |
@@resourceFor: ManakaiDOM|ForIF |
1264 |
@@resourceFor: |
1265 |
@@@@: ManakaiDOM|ForClass |
1266 |
@@@ForCheck: ManakaiDOM|ManakaiDOM !=ManakaiDOM|ManakaiDOM |
1267 |
@@For: ManakaiDOM|DOM1 |
1268 |
@@For: =ManakaiDOM|ManakaiDOM |
1269 |
@@For: ForHTML |
1270 |
|
1271 |
@@rdf:type: |
1272 |
@@@@: DISLang|Interface |
1273 |
@@@ForCheck: ManakaiDOM|ForIF |
1274 |
|
1275 |
@@rdf:type: |
1276 |
@@@@: DISLang|Class |
1277 |
@@@ForCheck: ManakaiDOM|ForClass |
1278 |
@@Implement: |
1279 |
@@@@: ||ManakaiDOM|ManakaiDOM||ManakaiDOM|ForIF |
1280 |
@@@ContentType: DISCore|TFPQNames |
1281 |
@@@ForCheck: ManakaiDOM|ForClass ManakaiDOM|ManakaiDOM |
1282 |
@@Implement: |
1283 |
@@@@: ||ManakaiDOM|ManakaiDOM1||ManakaiDOM|ForIF |
1284 |
@@@ContentType: DISCore|TFPQNames |
1285 |
@@@ForCheck: |
1286 |
ManakaiDOM|ForClass ManakaiDOM|ManakaiDOM1 |
1287 |
@@Implement: |
1288 |
@@@@: ||ManakaiDOM|ManakaiDOM2||ManakaiDOM|ForIF |
1289 |
@@@ContentType: DISCore|TFPQNames |
1290 |
@@@ForCheck: ManakaiDOM|ForClass ManakaiDOM|ManakaiDOM2 |
1291 |
@@Implement: |
1292 |
@@@@: ||ManakaiDOM|ManakaiDOMLatest||ManakaiDOM|ForIF |
1293 |
@@@ContentType: DISCore|TFPQNames |
1294 |
@@@ForCheck: ManakaiDOM|ForClass ManakaiDOM|ManakaiDOMLatest |
1295 |
|
1296 |
@@DOMMain:implementFeature: |
1297 |
@@@@: HTMLFeature10 |
1298 |
@@@For: ManakaiDOM|DOM1 |
1299 |
@@DOMMain:implementFeature: |
1300 |
@@@@: HTMLFeature20 |
1301 |
@@@For: ManakaiDOM|DOM2 |
1302 |
|
1303 |
ElementTypeBinding: |
1304 |
@Name: H5ETX |
1305 |
@ElementType: |
1306 |
dis:ResourceDef |
1307 |
@ShadowContent: |
1308 |
@@ForCheck: !ManakaiDOM|all |
1309 |
|
1310 |
@@rdf:type: |
1311 |
@@@@: |
1312 |
dis:MultipleResource |
1313 |
@@@ForCheck: |
1314 |
!ManakaiDOM:ForClass !ManakaiDOM:ForIF !ForHTML |
1315 |
@@rdf:type: |
1316 |
@@@@: |
1317 |
ManakaiDOM:IF |
1318 |
@@@ForCheck: |
1319 |
ManakaiDOM:ForIF |
1320 |
@@rdf:type: |
1321 |
@@@@: |
1322 |
ManakaiDOM:Class |
1323 |
@@@ForCheck: |
1324 |
ManakaiDOM:ForClass |
1325 |
@@resourceFor: |
1326 |
@@@@: |
1327 |
ManakaiDOM:ForIF |
1328 |
@@@ForCheck: |
1329 |
ManakaiDOM:DOM |
1330 |
@@@For: |
1331 |
ManakaiDOM:DOMHTMLFeature |
1332 |
@@@For: |
1333 |
=ManakaiDOM:ManakaiDOM |
1334 |
@@resourceFor: |
1335 |
@@@@: |
1336 |
ManakaiDOM:ForClass |
1337 |
@@@ForCheck: |
1338 |
ManakaiDOM:ManakaiDOM !=ManakaiDOM:ManakaiDOM ManakaiDOM:DOMHTMLFeature |
1339 |
|
1340 |
@@rdf:type: |
1341 |
@@@@: |
1342 |
s:ElementType |
1343 |
@@@ForCheck: |
1344 |
ForHTML |
1345 |
|
1346 |
@@ISA: |
1347 |
@@@@: |
1348 |
::ManakaiDOM:ManakaiDOM||ManakaiDOM:ForIF |
1349 |
@@@ForCheck: |
1350 |
ManakaiDOM:ForIF ManakaiDOM:ManakaiDOM1 |
1351 |
@@@ContentType: DISCore|TFPQNames |
1352 |
@@Implement: |
1353 |
@@@@: ||+||ManakaiDOM|ForIF |
1354 |
@@@ForCheck: ManakaiDOM|ForClass ManakaiDOM|ManakaiDOM1 |
1355 |
@@@ContentType: DISCore|TFPQNames |
1356 |
|
1357 |
@@DISMarkup:elementType: |
1358 |
@@@@: ||ForHTML5 |
1359 |
@@@ForCheck: ManakaiDOM|ManakaiDOMLatest |
1360 |
@@@DISCore:stopISARecursive:1 |
1361 |
|
1362 |
@@DOMMain:implementFeature: HTMLExtendedFeature30 |
1363 |
|
1364 |
@@For: =ManakaiDOM|ManakaiDOM |
1365 |
@@For: ManakaiDOM|ManakaiDOMLatest |
1366 |
@@For: ForHTML5 |
1367 |
|
1368 |
ElementTypeBinding: |
1369 |
@Name: Method |
1370 |
@ElementType: |
1371 |
dis:ResourceDef |
1372 |
@ShadowContent: |
1373 |
@@rdf:type: DISLang|Method |
1374 |
@@ForCheck: ManakaiDOM|DOM !=ManakaiDOM|ManakaiDOM |
1375 |
|
1376 |
ElementTypeBinding: |
1377 |
@Name: IntMethod |
1378 |
@ElementType: |
1379 |
dis:ResourceDef |
1380 |
@ShadowContent: |
1381 |
@@rdf:type: DISLang|Method |
1382 |
@@ForCheck: ManakaiDOM|ForClass |
1383 |
@@ManakaiDOM:isForInternal: 1 |
1384 |
|
1385 |
ElementTypeBinding: |
1386 |
@Name: Param |
1387 |
@ElementType: |
1388 |
dis:ResourceDef |
1389 |
@ShadowContent: |
1390 |
@@rdf:type: DISLang|MethodParameter |
1391 |
|
1392 |
ElementTypeBinding: |
1393 |
@Name: Exception |
1394 |
@ElementType: |
1395 |
ManakaiDOM:raises |
1396 |
@ShadowContent: |
1397 |
@@ForCheck: !ManakaiDOM|all |
1398 |
|
1399 |
ElementTypeBinding: |
1400 |
@Name: RaiseException |
1401 |
@ElementType: |
1402 |
ManakaiDOM:raises |
1403 |
@ShadowContent: |
1404 |
@@ForCheck: !ManakaiDOM|all |
1405 |
|
1406 |
ElementTypeBinding: |
1407 |
@Name: Return |
1408 |
@ElementType: |
1409 |
dis:ResourceDef |
1410 |
@ShadowContent: |
1411 |
@@rdf:type: DISLang|MethodReturn |
1412 |
|
1413 |
ElementTypeBinding: |
1414 |
@Name: Attr |
1415 |
@ElementType: |
1416 |
dis:ResourceDef |
1417 |
@ShadowContent: |
1418 |
@@rdf:type: DISLang|Attribute |
1419 |
@@ForCheck: ManakaiDOM|DOM !=ManakaiDOM|ManakaiDOM |
1420 |
|
1421 |
ElementTypeBinding: |
1422 |
@Name: Attrs |
1423 |
@ElementType: |
1424 |
dis:ResourceDef |
1425 |
@ShadowContent: |
1426 |
@@rdf:type: |
1427 |
@@@@: DISLang|Attribute |
1428 |
@@@ForCheck: ManakaiDOM|DOM |
1429 |
@@ForCheck: !=ManakaiDOM|ManakaiDOM |
1430 |
@@For: ManakaiDOM|ManakaiDOM |
1431 |
@@For: ForHTML |
1432 |
@@rdf:type: |
1433 |
@@@@: s|Attribute |
1434 |
@@@ForCheck: ForHTML |
1435 |
|
1436 |
ElementTypeBinding: |
1437 |
@Name: ATTR |
1438 |
@ElementType: |
1439 |
dis:ResourceDef |
1440 |
@ShadowContent: |
1441 |
@@ForCheck: |
1442 |
!=ManakaiDOM:ManakaiDOM |
1443 |
@@rdf:type: |
1444 |
@@@@: DISLang|Attribute |
1445 |
@@@ForCheck: ManakaiDOM|DOM |
1446 |
@@rdf:type: |
1447 |
@@@@: s|Attribute |
1448 |
@@@ForCheck: ForHTML |
1449 |
@@DocAttr: |
1450 |
@@@@: ||ForHTML40SE |
1451 |
@@@ForCheck: ManakaiDOM|DOM1 !ManakaiDOM|DOM2 |
1452 |
@@@ImplNote: |
1453 |
@@@@lang:en |
1454 |
@@@@@: |
1455 |
DOM Level 1 First Edition refers the latest version of |
1456 |
HTML 4.0 while Second Edition refers the second edition of |
1457 |
HTML 4.0. |
1458 |
@@DocAttr: |
1459 |
@@@@: ||ForHTML401 |
1460 |
@@@ForCheck: ManakaiDOM|DOM2 |
1461 |
@@DocAttr: |
1462 |
@@@@: ||ForXHTML10SE |
1463 |
@@@ForCheck: ManakaiDOM|DOM2 |
1464 |
|
1465 |
ElementTypeBinding: |
1466 |
@Name: Get |
1467 |
@ElementType: |
1468 |
dis:ResourceDef |
1469 |
@ShadowContent: |
1470 |
@@rdf:type: DISLang|AttributeGet |
1471 |
@@ForCheck: ManakaiDOM|DOM |
1472 |
|
1473 |
ElementTypeBinding: |
1474 |
@Name: Set |
1475 |
@ElementType: |
1476 |
dis:ResourceDef |
1477 |
@ShadowContent: |
1478 |
@@rdf:type: DISLang|AttributeSet |
1479 |
@@ForCheck: ManakaiDOM|DOM |
1480 |
|
1481 |
ElementTypeBinding: |
1482 |
@Name: InCase |
1483 |
@ElementType: |
1484 |
dis:ResourceDef |
1485 |
@ShadowContent: |
1486 |
@@rdf:type: |
1487 |
ManakaiDOM:InCase |
1488 |
|
1489 |
ElementTypeBinding: |
1490 |
@Name: Deprecated |
1491 |
@ElementType: |
1492 |
DOMHTML:isDeprecatedByHTML4 |
1493 |
@ShadowContent: 1 |
1494 |
@ShadowSibling: |
1495 |
@@ForCheck: !ForXHTML11 |
1496 |
|
1497 |
PropDef: |
1498 |
@QName: isDeprecatedByHTML4 |
1499 |
@Description: |
1500 |
@@lang:en |
1501 |
@@@: |
1502 |
Whether a subject resource is deprecated by HTML 4 or not. |
1503 |
@dataType: DISCore|Boolean |
1504 |
@multipleProperties: DISCore|Single |
1505 |
|
1506 |
IfCls1Def: |
1507 |
@IFQName: HTMLCollection |
1508 |
@ClsQName: ManakaiDOMHTMLCollection |
1509 |
|
1510 |
@ClsISA: NodeRef |
1511 |
|
1512 |
@Description: |
1513 |
@@lang:en |
1514 |
@@@: |
1515 |
A list of nodes. An individual node may be accessed |
1516 |
by either ordinal index or the <HA::name> or <HA::id> |
1517 |
of the node. |
1518 |
\ |
1519 |
<IF::HTMLCollection> objects are <EM::live>; they are |
1520 |
automatically updated when the underlying document |
1521 |
is changed. |
1522 |
|
1523 |
@Attr: |
1524 |
@@Name: length |
1525 |
@@Description: |
1526 |
@@@lang:en |
1527 |
@@@@: The length of the list. |
1528 |
@@Get: |
1529 |
@@@Type: ulong |
1530 |
@@@PerlDef: |
1531 |
my $l = $self->{<Q::TreeCore:node>} |
1532 |
-><M::ManakaiDOMCore:ManakaiDOMNodeObjectNode |
1533 |
.getElementsBy> |
1534 |
($self->{<Q::ManakaiDOMCore:nodeMatch>}); |
1535 |
$r = @$l; |
1536 |
@Method: |
1537 |
@@Name: item |
1538 |
@@Description: |
1539 |
@@@lang:en |
1540 |
@@@@: |
1541 |
Retrieve a node specified by ordinal index. |
1542 |
@@Param: |
1543 |
@@@Name: index |
1544 |
@@@Type: ulong |
1545 |
@@@Description: |
1546 |
@@@@lang:en |
1547 |
@@@@@: |
1548 |
The index of the node to retrieve, in the document order. |
1549 |
The index origin is <DOM::0>. |
1550 |
@@Return: |
1551 |
@@@Type: |
1552 |
DOMCore:Node |
1553 |
@@@Description: |
1554 |
@@@@lang:en |
1555 |
@@@@@: |
1556 |
The <P::index>th node. |
1557 |
@@@InCase: |
1558 |
@@@@Value: |
1559 |
@@@@@is-null:1 |
1560 |
@@@@Description: |
1561 |
@@@@@lang:en |
1562 |
@@@@@@: |
1563 |
The <P::index> is out of range. |
1564 |
@@@PerlDef: |
1565 |
$r = $self->{<Q::TreeCore:node>} |
1566 |
-><M::ManakaiDOMCore:ManakaiDOMNodeObjectNode |
1567 |
.getElementBy> |
1568 |
($self->{<Q::ManakaiDOMCore:nodeMatch>}, \$index); |
1569 |
if (defined $r) { |
1570 |
$r = <ClassM::DOMCore:ManakaiDOMNode.getNodeReference> ($r); |
1571 |
} |
1572 |
@Method: |
1573 |
@@Name: namedItem |
1574 |
@@Description: |
1575 |
@@@lang:en |
1576 |
@@@@: |
1577 |
Retrieve a node using a name. |
1578 |
\ |
1579 |
With HTML 4 documents, |
1580 |
it first searches for an <IF::DOMCore:Element> with a matching |
1581 |
<HA::name> attribute and if it does not find one, |
1582 |
it searches for an <IF::DOMCore:Element> (that is allowed to specify a |
1583 |
<HA::name> attribute) with a matching <HA::name> attribute. |
1584 |
The matching is case-insensitive. |
1585 |
\ |
1586 |
With XHTML 1.0 documents, it only searches for |
1587 |
an <IF::DOMCore:Element> with a matching <HA::id> attribute. |
1588 |
The matching is case-sensitive. |
1589 |
@@ImplNote: |
1590 |
@@@lang:en |
1591 |
@@@@: |
1592 |
XHTML <HA::id> local attributes? XML <XML::ID> attributes? |
1593 |
Any local <XA::id> attributes? |
1594 |
@@Param: |
1595 |
@@@Name: name |
1596 |
@@@Type: |
1597 |
DOMMain:DOMString |
1598 |
@@@Description: |
1599 |
@@@@lang:en |
1600 |
@@@@@: |
1601 |
The name of the <IF::DOMCore:Node> to retrieve. |
1602 |
@@Return: |
1603 |
@@@Type: |
1604 |
DOMCore:Node |
1605 |
@@@Description: |
1606 |
@@@@lang:en |
1607 |
@@@@@: |
1608 |
The <IF::DOMCore:Node> with a <HA::name> or <HA::id> whose |
1609 |
value matches with <P::name>. |
1610 |
@@@InCase: |
1611 |
@@@@Value: |
1612 |
@@@@@is-null:1 |
1613 |
@@@@Description: |
1614 |
@@@@@lang:en |
1615 |
@@@@@@: |
1616 |
There is no node with such a <P::name>. |
1617 |
@@@PerlDef: |
1618 |
my $node = $self->{<Q::TreeCore:node>}; |
1619 |
$name = "$name"; |
1620 |
my $index = 0; |
1621 |
if (not $node->{<Q::DOMCore:ownerDocument>} |
1622 |
->{<Q::DOMCore:hasFeature>}->{XML}) { |
1623 |
$r = $self->{<Q::TreeCore:node>} |
1624 |
-><M::ManakaiDOMCore:ManakaiDOMNodeObjectNode |
1625 |
.getElementBy> |
1626 |
(sub ($) { |
1627 |
\#line 1 "DOMHTML.ManakaiDOMHTMLCollection.namedItem.#1" |
1628 |
my $node = shift; |
1629 |
if ($self->{<Q::ManakaiDOMCore:nodeMatch>}->($node)) { |
1630 |
my $attr = $node->{<Q::infoset:attributes>} |
1631 |
->{<Q::null:>}->{name} || |
1632 |
$node->{<Q::infoset:attributes>} |
1633 |
->{<Q::ManakaiDOM:noNS>}->{name}; |
1634 |
if ($attr) { |
1635 |
my $attrn; |
1636 |
__CODE{ManakaiNode:getWeakReference |
1637 |
||ManakaiDOM:Perl:: |
1638 |
$object => $attr, $ref => $attrn, |
1639 |
$class => {<ClassName::DOMCore:ManakaiDOMAttr>}, |
1640 |
}__; |
1641 |
__FOR{ManakaiDOM:DOM3:: |
1642 |
if ($attrn-><AG::DOMCore:Node.textContent> |
1643 |
eq $name) { |
1644 |
return true; |
1645 |
} |
1646 |
}__; |
1647 |
__FOR{!ManakaiDOM:DOM3:: |
1648 |
if ($attrn-><AG::DOMCore:ManakaiDOMNode |
1649 |
.textContent> eq $name) { |
1650 |
return true; |
1651 |
} |
1652 |
}__; |
1653 |
} |
1654 |
} |
1655 |
return false; |
1656 |
\#line 1 "DOMHTML.ManakaiDOMHTMLCollection.namedItem.#2" |
1657 |
}, \$index); |
1658 |
} |
1659 |
$index = 0; |
1660 |
$r ||= $self->{<Q::TreeCore:node>} |
1661 |
-><M::ManakaiDOMCore:ManakaiDOMNodeObjectNode |
1662 |
.getElementBy> |
1663 |
(sub ($) { |
1664 |
\#line 1 "DOMHTML.ManakaiDOMHTMLCollection.namedItem.#3" |
1665 |
my $node = shift; |
1666 |
if ($self->{<Q::ManakaiDOMCore:nodeMatch>}->($node)) { |
1667 |
my $attr = $node->{<Q::infoset:attributes>} |
1668 |
->{<Q::null:>}->{id} || |
1669 |
$node->{<Q::infoset:attributes>} |
1670 |
->{<Q::ManakaiDOM:noNS>}->{id}; |
1671 |
if ($attr) { |
1672 |
my $attrn; |
1673 |
__CODE{ManakaiNode:getWeakReference |
1674 |
||ManakaiDOM:Perl:: |
1675 |
$object => $attr, $ref => $attrn, |
1676 |
$class => {<ClassName::DOMCore:ManakaiDOMAttr>}, |
1677 |
}__; |
1678 |
__FOR{ManakaiDOM:DOM3:: |
1679 |
if ($attrn-><AG::DOMCore:Node.textContent> |
1680 |
eq $name) { |
1681 |
return true; |
1682 |
} |
1683 |
}__; |
1684 |
__FOR{!ManakaiDOM:DOM3:: |
1685 |
if ($attrn-><AG::DOMCore:ManakaiDOMNode |
1686 |
.textContent> eq $name) { |
1687 |
return true; |
1688 |
} |
1689 |
}__; |
1690 |
} |
1691 |
} |
1692 |
return false; |
1693 |
\#line 1 "DOMHTML.ManakaiDOMHTMLCollection.namedItem.#4" |
1694 |
}, \$index); |
1695 |
if (defined $r) { |
1696 |
$r = <ClassM::DOMCore:ManakaiDOMNode.getNodeReference> ($r); |
1697 |
} |
1698 |
|
1699 |
ImplNote: |
1700 |
@@lang:en |
1701 |
@@@: |
1702 |
<IF::HTMLOptionCollection>: See <Module::MDOM:DOMWebForms>. |
1703 |
|
1704 |
ResourceDef: |
1705 |
@QName: ulong |
1706 |
@For: ManakaiDOM|DOM |
1707 |
@AliasFor: DOMMain|unsigned-long||ManakaiDOM|all |
1708 |
|
1709 |
IF: |
1710 |
@ForCheck: !ManakaiDOM|all |
1711 |
|
1712 |
@Name: |
1713 |
@@@: ManakaiDOMHTMLDOMImplementationIF |
1714 |
@@ForCheck: |
1715 |
ManakaiDOM:ForIF |
1716 |
@ISA: |
1717 |
@@@: |
1718 |
DOMCore:DOMImplementation |
1719 |
@@ForCheck: |
1720 |
ManakaiDOM:ForIF |
1721 |
|
1722 |
@Name: |
1723 |
@@@: ManakaiDOMHTMLDOMImplementation |
1724 |
@@ForCheck: |
1725 |
ManakaiDOM:ForClass |
1726 |
@ISA: |
1727 |
@@@: |
1728 |
DOMCore:ManakaiDOMImplementation |
1729 |
@@ForCheck: |
1730 |
ManakaiDOM:ForClass |
1731 |
|
1732 |
@For: |
1733 |
ManakaiDOM:ManakaiDOMLatest |
1734 |
@For: |
1735 |
=ManakaiDOM:ManakaiDOM |
1736 |
@DOMMain:implementFeature: HTMLFeature20 |
1737 |
@DOMMain:implementFeature: HTMLExtendedFeature30 |
1738 |
|
1739 |
@DOMMetaImpl:provideFeature: HTMLFeature20 |
1740 |
@DOMMetaImpl:provideFeature: HTMLExtendedFeature30 |
1741 |
|
1742 |
@Description: |
1743 |
@@lang:en |
1744 |
@@@: |
1745 |
A DOM implementation with HTML-specific methods. |
1746 |
\ |
1747 |
{NOTE:: The <IF::HTMLDOMImplementation> was part of |
1748 |
the W3C's DOM Level 2 HTML Candicate Recommendation |
1749 |
but later removed. The manakai DOM implementation |
1750 |
has been decided to include this interface since |
1751 |
there are a number of implementations supporting |
1752 |
the <M::HTMLDOMImplementation.createHTMLDocument> method |
1753 |
and the DOM Level 3 Core Specification belives:-) that |
1754 |
there is a <M::.createHTMLDocument> method. |
1755 |
\ |
1756 |
} |
1757 |
|
1758 |
@Method: |
1759 |
@@Name: createHTMLDocument |
1760 |
@@Description: |
1761 |
@@@lang:en |
1762 |
@@@@: |
1763 |
Creates an <IF::HTMLDocument> object with the minimal tree |
1764 |
made of <HE::html>, <HE::head>, <HE::title> and <HE::body> elements. |
1765 |
\ |
1766 |
{NOTE:: This method creates a (non-XML) HTML document. To create |
1767 |
a XHTML document, use <M::DOMCore:DOMImplementation. |
1768 |
createDocument> with a root element type |
1769 |
<Q::xhtml1:html> or with an appropriate document type |
1770 |
node. |
1771 |
\ |
1772 |
} |
1773 |
|
1774 |
@@For: |
1775 |
ManakaiDOM:ManakaiDOMLatest |
1776 |
|
1777 |
@@Param: |
1778 |
@@@Name:title |
1779 |
@@@Type: |
1780 |
DOMMain:DOMString |
1781 |
@@@actualType: |
1782 |
DOMMain:ManakaiDOMString |
1783 |
@@@Description: |
1784 |
@@@@lang:en |
1785 |
@@@@@: |
1786 |
The title of the document to create. It is set as the content of |
1787 |
the <HE::title> element, through a child <IF::DOMCore:Text> node. |
1788 |
@@Return: |
1789 |
@@@Type: HTMLDocument |
1790 |
@@@actualType: ManakaiDOMHTMLDocument |
1791 |
@@@Description: |
1792 |
@@@@lang:en |
1793 |
@@@@@: |
1794 |
A newly created HTML document. |
1795 |
@@@PerlDef: |
1796 |
my $node = <ClassM::DOMCore:ManakaiDOMDocument.newObject>; |
1797 |
$node->{<Q::DOMCore:implementation>} = $self; |
1798 |
$node->{<Q::ManakaiDOM:implID>} |
1799 |
= $self->{<Q::TreeCore:node>}->{<Q::ManakaiDOM:implID>}; |
1800 |
$node->{<Q::DOMCore:hasFeature>}->{HTML} = 1; |
1801 |
my $cls = <ClassName::DOMCore:ManakaiDOMDocument>; |
1802 |
$r = <Code::getWeakRef:: $object = $node, $class = $cls>; |
1803 |
$r-><M::DOMCore:Node.appendChild> |
1804 |
(my $html = $r-><M::DOMCore:Document.createElement> |
1805 |
('HTML')); |
1806 |
$html-><M::DOMCore:Node.appendChild> |
1807 |
(my $head = $r-><M::DOMCore:Document.createElement> |
1808 |
('HEAD')); |
1809 |
$head-><M::DOMCore:Node.appendChild> |
1810 |
(my $titleEl = $r-><M::DOMCore:Document.createElement> |
1811 |
('TITLE')); |
1812 |
if (length $title) { |
1813 |
$titleEl-><M::DOMCore:Node.appendChild> |
1814 |
($r-><M::DOMCore:Document.createTextNode> ($title)); |
1815 |
} |
1816 |
$html-><M::DOMCore:Node.appendChild> |
1817 |
($r-><M::DOMCore:Document.createElement> |
1818 |
('BODY')); |
1819 |
$r = <ClassM::DOMCore:ManakaiDOMNode.getNodeReference> ($node); |
1820 |
|
1821 |
|
1822 |
@Method: |
1823 |
@@Name: createXHTMLDocument |
1824 |
@@Description: |
1825 |
@@@lang:en |
1826 |
@@@@: |
1827 |
Creates an <IF::HTMLDocument> object with the minimal tree |
1828 |
made of <HE::html>, <HE::head>, <HE::title> and <HE::body> elements |
1829 |
and with the <Feature::XHTML> feature. |
1830 |
\ |
1831 |
{NOTE:: This method is <EM::manakai extension>. |
1832 |
\ |
1833 |
} |
1834 |
|
1835 |
@@For: |
1836 |
ManakaiDOM:ManakaiDOMLatest |
1837 |
|
1838 |
@@Param: |
1839 |
@@@Name:title |
1840 |
@@@Type: |
1841 |
DOMMain:DOMString |
1842 |
@@@Description: |
1843 |
@@@@lang:en |
1844 |
@@@@@: |
1845 |
The title of the document to create. It is set as the content of |
1846 |
the <HE::title> element, through a child <IF::DOMCore:Text> node. |
1847 |
@@Return: |
1848 |
@@@Type: HTMLDocument |
1849 |
@@@actualType: ManakaiDOMHTMLDocument |
1850 |
@@@Description: |
1851 |
@@@@lang:en |
1852 |
@@@@@: |
1853 |
A newly created HTML document. |
1854 |
@@@PerlDef: |
1855 |
__DEEP{ |
1856 |
my $node = <ClassM::DOMCore:ManakaiDOMDocument.newObject>; |
1857 |
$node->{<Q::DOMCore:implementation>} = $self; |
1858 |
$node->{<Q::ManakaiDOM:implID>} |
1859 |
= $self->{<Q::TreeCore:node>}->{<Q::ManakaiDOM:implID>}; |
1860 |
$node->{<Q::DOMCore:hasFeature>}->{HTML} = 1; |
1861 |
$node->{<Q::DOMCore:hasFeature>}->{XML} = 1; |
1862 |
my $cls = <ClassName::DOMCore:ManakaiDOMDocument>; |
1863 |
$r = <Code::getWeakRef:: $object = $node, $class = $cls>; |
1864 |
$r-><M::DOMCore:Node.appendChild> |
1865 |
(my $html = $r-><M::DOMCore:Document.createElementNS> |
1866 |
(<Q::xhtml1:>, 'html')); |
1867 |
$html-><M::DOMCore:Element.setAttributeNS> |
1868 |
(<Q::xmlns:>, 'xmlns', <Q::xhtml1:>); |
1869 |
$html-><M::DOMCore:Node.appendChild> |
1870 |
(my $head = $r-><M::DOMCore:Document.createElementNS> |
1871 |
(<Q::xhtml1:>, 'head')); |
1872 |
$head-><M::DOMCore:Node.appendChild> |
1873 |
(my $titleEl = $r-><M::DOMCore:Document.createElementNS> |
1874 |
(<Q::xhtml1:>, 'title')); |
1875 |
if (length $title) { |
1876 |
$titleEl-><M::DOMCore:Node.appendChild> |
1877 |
($r-><M::DOMCore:Document.createTextNode> ($title)); |
1878 |
} |
1879 |
$html-><M::DOMCore:Node.appendChild> |
1880 |
($r-><M::DOMCore:Document.createElementNS> |
1881 |
(<Q::xhtml1:>, 'body')); |
1882 |
$r = <ClassM::DOMCore:ManakaiDOMNode.getNodeReference> ($node); |
1883 |
}__; |
1884 |
|
1885 |
ResourceDef: |
1886 |
@QName: getWeakRef |
1887 |
@AliasFor: |
1888 |
ManakaiNode:getWeakRef::ManakaiDOM:Perl |
1889 |
@For: ManakaiDOM|ManakaiDOM |
1890 |
|
1891 |
IfCls1Def: |
1892 |
@IFQName: HTMLDocument |
1893 |
@ClsQName: ManakaiHTMLDocument |
1894 |
|
1895 |
@IFISA: DOMCore|Document |
1896 |
@ClsISA: DOMCore|ManakaiDOMDocument |
1897 |
|
1898 |
@Description: |
1899 |
@@lang:en |
1900 |
@@@: |
1901 |
The root of the HTML document and holds the entire content. |
1902 |
|
1903 |
@s:rootElementType: |
1904 |
@@@: html||ForHTML40SE |
1905 |
@@ForCheck: ManakaiDOM|DOM1 !ManakaiDOM|DOM2 |
1906 |
@s:rootElementType: |
1907 |
@@@: html||ForHTML401 |
1908 |
@@ForCheck: ManakaiDOM|DOM2 |
1909 |
@s:rootElementType: |
1910 |
@@@: html||ForXHTML10SE |
1911 |
@@ForCheck: ManakaiDOM|DOM2 |
1912 |
|
1913 |
@ImplNote: |
1914 |
@@For: !ManakaiDOM|all |
1915 |
@@doctype-public: |
1916 |
-//W3C//DTD HTML 4.0//EN |
1917 |
@@doctype-public: |
1918 |
-//W3C//DTD HTML 4.0 Transitional//EN |
1919 |
@@doctype-public: |
1920 |
-//W3C//DTD HTML 4.0 Frameset//EN |
1921 |
@@doctype-public: |
1922 |
-//W3C//DTD HTML 4.01//EN |
1923 |
@@doctype-public: |
1924 |
-//W3C//DTD HTML 4.01 Transitional//EN |
1925 |
@@doctype-public: |
1926 |
-//W3C//DTD HTML 4.01 Frameset//EN |
1927 |
@@doctype-public: |
1928 |
-//W3C//DTD XHTML 1.0 Strict//EN |
1929 |
@@doctype-public: |
1930 |
-//W3C//DTD XHTML 1.0 Transitional//EN |
1931 |
@@doctype-public: |
1932 |
-//W3C//DTD XHTML 1.0 Frameset//EN |
1933 |
@@ImplNote: |
1934 |
@@@lang:en |
1935 |
@@@@: |
1936 |
TODO: doctype-system required |
1937 |
|
1938 |
mediatype : text/html, text/x-html |
1939 |
|
1940 |
@Attr: |
1941 |
@@Name: title |
1942 |
@@Description: |
1943 |
@@@lang:en |
1944 |
@@@@: |
1945 |
The title of a document, as specified by the <HE::title> element. |
1946 |
@@Get: |
1947 |
@@@Type: DOMString |
1948 |
@@@PerlDef: |
1949 |
__DEEP{ |
1950 |
DOC: for my $child (@{$self-><AG::DOMCore:Node.childNodes>}) { |
1951 |
if ($child-><AG::DOMCore:Node.nodeType> == |
1952 |
<C::DOMCore:Node.ELEMENT_NODE> and |
1953 |
<Code::isHTMLElement:: $elementNode = $child, |
1954 |
$elementType = 'html'>) { |
1955 |
for my $child (@{$child-><AG::DOMCore:Node.childNodes>}) { |
1956 |
if ($child-><AG::DOMCore:Node.nodeType> == |
1957 |
<C::DOMCore:Node.ELEMENT_NODE> and |
1958 |
<Code::isHTMLElement:: $elementNode = $child, |
1959 |
$elementType = 'head'>) { |
1960 |
for my $child (@{$child-><AG::DOMCore:Node.childNodes>}) { |
1961 |
if ($child-><AG::DOMCore:Node.nodeType> == |
1962 |
<C::DOMCore:Node.ELEMENT_NODE> and |
1963 |
<Code::isHTMLElement:: $elementNode = $child, |
1964 |
$elementType = 'title'>) { |
1965 |
__CODE{DOMCore:getNodeTextContent:: |
1966 |
$node => $child, |
1967 |
$result => $r}__; |
1968 |
last DOC; |
1969 |
} |
1970 |
} |
1971 |
last DOC; # xhtml1:title not found |
1972 |
} |
1973 |
} |
1974 |
last DOC; # xhtml1:head not found |
1975 |
} |
1976 |
} |
1977 |
}__; |
1978 |
@@Set: |
1979 |
@@@Exception: |
1980 |
@@@@@: |
1981 |
DOMCore:DOMException.NO_MODIFICATION_ALLOWED_ERR |
1982 |
@@@@enDesc: |
1983 |
Either the <HE::title> element is read-only, |
1984 |
there is no <HE::title> element and the <HE::head> |
1985 |
element is read-only, there is no <HE::head> |
1986 |
element and the <HE::html> element is read-only, |
1987 |
or there is no <HE::html> element and the document |
1988 |
node is read-only. |
1989 |
@@@@ForCheck: |
1990 |
ManakaiDOM:ManakaiDOM |
1991 |
@@@Exception: |
1992 |
@@@@@: |
1993 |
MDOMX:MDOM_SECOND_DOC_ELEMENT |
1994 |
@@@@enDesc: |
1995 |
The document element (root element) of the document |
1996 |
is not an <HE::html> element. |
1997 |
@@@@ForCheck: |
1998 |
ManakaiDOM:ManakaiDOM |
1999 |
@@@ImplNote: |
2000 |
@@@@lang:en |
2001 |
@@@@@: |
2002 |
The Spec. does not specify what has occured if |
2003 |
there is no <HE::title> element. |
2004 |
@@@Type: DOMString |
2005 |
@@@PerlDef: |
2006 |
__DEEP{ |
2007 |
my $html; |
2008 |
for my $child (@{$self-><AG::DOMCore:Node.childNodes>}) { |
2009 |
if ($child-><AG::DOMCore:Node.nodeType> == |
2010 |
<C::DOMCore:Node.ELEMENT_NODE> and |
2011 |
<Code::isHTMLElement:: $elementNode = $child, |
2012 |
$elementType = 'html'>) { |
2013 |
$html = $child; |
2014 |
last; |
2015 |
} |
2016 |
} |
2017 |
unless ($html) { |
2018 |
$html = $self-><M::DOMCore:Node.appendChild> |
2019 |
($self-><M::DOMCore:Document.createElementNS> |
2020 |
(<Q::xhtml1:>, 'html')); |
2021 |
} |
2022 |
|
2023 |
my $head; |
2024 |
for my $child (@{$html-><AG::DOMCore:Node.childNodes>}) { |
2025 |
if ($child-><AG::DOMCore:Node.nodeType> == |
2026 |
<C::DOMCore:Node.ELEMENT_NODE> and |
2027 |
<Code::isHTMLElement:: $elementNode = $child, |
2028 |
$elementType = 'head'>) { |
2029 |
$head = $child; |
2030 |
last; |
2031 |
} |
2032 |
} |
2033 |
unless ($head) { |
2034 |
$head = $html-><M::DOMCore:Node.appendChild> |
2035 |
($self-><M::DOMCore:Document.createElementNS> |
2036 |
(<Q::xhtml1:>, 'head')); |
2037 |
} |
2038 |
|
2039 |
my $title; |
2040 |
for my $child (@{$head-><AG::DOMCore:Node.childNodes>}) { |
2041 |
if ($child-><AG::DOMCore:Node.nodeType> == |
2042 |
<C::DOMCore:Node.ELEMENT_NODE> and |
2043 |
<Code::isHTMLElement:: $elementNode = $child, |
2044 |
$elementType = 'title'>) { |
2045 |
$title = $child; |
2046 |
last; |
2047 |
} |
2048 |
} |
2049 |
unless ($title) { |
2050 |
$title = $head-><M::DOMCore:Node.appendChild> |
2051 |
($self-><M::DOMCore:Document.createElementNS> |
2052 |
(<Q::xhtml1:>, 'title')); |
2053 |
} |
2054 |
|
2055 |
__CODE{DOMCore:setNodeTextContent:: |
2056 |
$node => $title, $given => $given}__; |
2057 |
}__; |
2058 |
@Attr: |
2059 |
@@Name: referrer |
2060 |
@@Description: |
2061 |
@@@lang:en |
2062 |
@@@@: |
2063 |
The page that linked to this page. |
2064 |
@@Type: |
2065 |
DOMMain:DOMString |
2066 |
@@actualType: |
2067 |
DOMMain:RFC2396URI |
2068 |
@@Get: |
2069 |
@@@Description: |
2070 |
@@@@lang:en |
2071 |
@@@@@: |
2072 |
The RFC 2396 URI of the page. |
2073 |
@@@InCase: |
2074 |
@@@@Value:\ |
2075 |
@@@@Description: |
2076 |
@@@@@lang:en |
2077 |
@@@@@@: |
2078 |
The user navigated to the page directly (not through a |
2079 |
link, but for example via bookmark). |
2080 |
@@@Def: |
2081 |
@@@@ContentType: |
2082 |
lang:dis |
2083 |
@@@@GetProp: |
2084 |
DOMHTML:referrer |
2085 |
@Attr: |
2086 |
@@Name: domain |
2087 |
@@Description: |
2088 |
@@@lang:en |
2089 |
@@@@: |
2090 |
The domain name of the server that served the document. |
2091 |
@@Get: |
2092 |
@@@Type: DOMString |
2093 |
@@@InCase: |
2094 |
@@@@Value: |
2095 |
@@@@@is-null:1 |
2096 |
@@@@Description: |
2097 |
@@@@@lang:en |
2098 |
@@@@@@: |
2099 |
The server cannot be identified by a domain name. |
2100 |
@@@ImplNote: |
2101 |
@@@@lang:en |
2102 |
@@@@@: |
2103 |
ISSUE: What is allowed? FQDNs? Non-FQ domain names? |
2104 |
IPv4 addresses? IPv6 addresses with or without |
2105 |
brackets? |
2106 |
@@@PerlDef: |
2107 |
$r = null; |
2108 |
if (defined $self->{<Q::TreeCore:node>} |
2109 |
->{<Q::DOMCore:documentURI>}) { |
2110 |
require URI; |
2111 |
my $uri = URI->new ($self->{<Q::TreeCore:node>} |
2112 |
->{<Q::DOMCore:documentURI>}); |
2113 |
if ($uri->can ('host')) { |
2114 |
$r = $uri->host; |
2115 |
undef $r if defined $r and |
2116 |
(length $r == 0 or |
2117 |
substr ($r, 0, 1) eq '['); |
2118 |
} |
2119 |
} |
2120 |
@Attr: |
2121 |
@@Name: URL |
2122 |
@@Description: |
2123 |
@@@lang:en |
2124 |
@@@@: |
2125 |
The absolute URI <SRC::RFC 2396> of the document. |
2126 |
@@Get: |
2127 |
@@@Type: DOMString |
2128 |
@@@actualType: |
2129 |
DOMMain:RFC2396AbsoluteURI |
2130 |
@@@Def: |
2131 |
@@@@ContentType: |
2132 |
lang:dis |
2133 |
@@@@GetProp: |
2134 |
DOMCore:documentURI |
2135 |
@Attr: |
2136 |
@@Name: body |
2137 |
@@Description: |
2138 |
@@@lang:en |
2139 |
@@@@: |
2140 |
The element that contains the content for the document. |
2141 |
@@ImplNote: |
2142 |
@@@lang:en |
2143 |
@@@@: |
2144 |
ISSUE: Is returning <HA::frameset> is DOM Level 0 compatible? |
2145 |
@@Get: |
2146 |
@@@Type: HTMLElement |
2147 |
@@@Description: |
2148 |
@@@@lang:en |
2149 |
@@@@@: |
2150 |
The <HA::body> element or the outermost <HA::frameset> element. |
2151 |
@@@nullCase: |
2152 |
@@@@enDesc: |
2153 |
The document does not have the <HA::body> element |
2154 |
nor a <HA::frameset> element. |
2155 |
@@@PerlDef: |
2156 |
__DEEP{ |
2157 |
DOC: for my $child (@{$self-><AG::DOMCore:Node.childNodes>}) { |
2158 |
if ($child-><AG::DOMCore:Node.nodeType> == |
2159 |
<C::DOMCore:Node.ELEMENT_NODE> and |
2160 |
<Code::isHTMLElement:: $elementNode = $child, |
2161 |
$elementType = 'html'>) { |
2162 |
for my $child (@{$child-><AG::DOMCore:Node.childNodes>}) { |
2163 |
if ($child-><AG::DOMCore:Node.nodeType> == |
2164 |
<C::DOMCore:Node.ELEMENT_NODE>) { |
2165 |
if (<Code::isHTMLElement:: $elementNode = $child, |
2166 |
$elementType = 'body'> or |
2167 |
<Code::isHTMLElement:: $elementNode = $child, |
2168 |
$elementType = 'frameset'>) { |
2169 |
$r = $child; |
2170 |
last DOC; |
2171 |
} |
2172 |
} |
2173 |
} |
2174 |
last DOC; # xhtml1:html not found |
2175 |
} |
2176 |
} |
2177 |
}__; |
2178 |
@@Set: |
2179 |
@@@Type: HTMLElement |
2180 |
@@@ImplNote: |
2181 |
@@@@lang:en |
2182 |
@@@@@: |
2183 |
ISSUE: Why this attribute is writable? No exception? |
2184 |
@@@ImplNote: |
2185 |
@@@@lang:en |
2186 |
@@@@@: |
2187 |
What should be happen if non-<HE::body> and non-<HE::frameset> |
2188 |
element is attempted to set? A <C::DOMCore:DOMException |
2189 |
.HIERARCHY_ERR>? The current implementation |
2190 |
does no check. |
2191 |
@@@Exception: |
2192 |
@@@@@: |
2193 |
DOMCore:DOMException.NO_MODIFICATION_ALLOWED_ERR |
2194 |
@@@@enDesc: |
2195 |
Either the <HE::html> element is read-only, |
2196 |
or there is no <HE::html> element and the document |
2197 |
node is read-only. |
2198 |
@@@@ForCheck: |
2199 |
ManakaiDOM:ManakaiDOM |
2200 |
@@@Exception: |
2201 |
@@@@@: |
2202 |
MDOMX:MDOM_SECOND_DOC_ELEMENT |
2203 |
@@@@enDesc: |
2204 |
The document element (root element) of the document |
2205 |
is not an <HE::html> element. |
2206 |
@@@@ForCheck: |
2207 |
ManakaiDOM:ManakaiDOM |
2208 |
@@@ImplNote: |
2209 |
@@@@lang:en |
2210 |
@@@@@: |
2211 |
The Spec. does not specify what has occured if |
2212 |
there is no <HE::html> element. |
2213 |
@@@PerlDef: |
2214 |
__DEEP{ |
2215 |
my $html; |
2216 |
for my $child (@{$self-><AG::DOMCore:Node.childNodes>}) { |
2217 |
if ($child-><AG::DOMCore:Node.nodeType> == |
2218 |
<C::DOMCore:Node.ELEMENT_NODE> and |
2219 |
<Code::isHTMLElement:: $elementNode = $child, |
2220 |
$elementType = 'html'>) { |
2221 |
$html = $child; |
2222 |
last; |
2223 |
} |
2224 |
} |
2225 |
unless ($html) { |
2226 |
$html = $self-><M::DOMCore:Node.appendChild> |
2227 |
($self-><M::DOMCore:Document.createElementNS> |
2228 |
(<Q::xhtml1:>, 'html')); |
2229 |
} |
2230 |
|
2231 |
my $body; |
2232 |
for my $child (@{$html-><AG::DOMCore:Node.childNodes>}) { |
2233 |
if ($child-><AG::DOMCore:Node.nodeType> == |
2234 |
<C::DOMCore:Node.ELEMENT_NODE>) { |
2235 |
if (<Code::isHTMLElement:: $elementNode = $child, |
2236 |
$elementType = 'body'> or |
2237 |
<Code::isHTMLElement:: $elementNode = $child, |
2238 |
$elementType = 'frameset'>) { |
2239 |
$body = $child; |
2240 |
last; |
2241 |
} |
2242 |
} |
2243 |
} |
2244 |
if ($body) { |
2245 |
$html-><M::DOMCore:Node.replaceChild> ($body => $given); |
2246 |
} else { |
2247 |
$html-><M::DOMCore:Node.appendChild> ($given); |
2248 |
} |
2249 |
}__; |
2250 |
@Attr: |
2251 |
@@Name: images |
2252 |
@@Description: |
2253 |
@@@lang:en |
2254 |
@@@@: |
2255 |
A collection of all the <HA::img> elements in a document. |
2256 |
\ |
2257 |
{NOTE:: Only <HA::img> elements are contained for |
2258 |
backward compatibility. |
2259 |
\ |
2260 |
} |
2261 |
@@Get: |
2262 |
@@@Type: HTMLCollection |
2263 |
@@@actualType: |
2264 |
ManakaiDOMHTMLCollection |
2265 |
@@@PerlDef: |
2266 |
my $chk; |
2267 |
$chk = sub { |
2268 |
\#line 1 "DOMHTML.ManakaiDOMHTMLElement.getImages.#1" |
2269 |
my ($self) = @_; |
2270 |
if (<Code::isHTMLElemento:: $elementNodeo = $self, |
2271 |
$elementType = 'img'>) { |
2272 |
return true; |
2273 |
} else { |
2274 |
return false; |
2275 |
} |
2276 |
\#line 1 "DOMHTML.ManakaiDOMHTMLElement.getImages.#2" |
2277 |
}; |
2278 |
__CODE{getNodeRef:: |
2279 |
$object => {$self->{<Q::TreeCore:node>}}, |
2280 |
$ref => $r, |
2281 |
$class => {<ClassName::ManakaiDOMHTMLCollection>}, |
2282 |
}__; |
2283 |
$r->{<Q::ManakaiDOMCore:nodeMatch>} = $chk; |
2284 |
|
2285 |
@Attr: |
2286 |
@@Name: applets |
2287 |
@@Description: |
2288 |
@@@lang:en |
2289 |
@@@@: |
2290 |
A collection of all <HA::object> elements that include |
2291 |
applets and <HA::applet> elements in the document. |
2292 |
@@ImplNote: |
2293 |
@@@lang:en |
2294 |
@@@@: |
2295 |
There might be compatibility problems, since |
2296 |
the two element types has different attribute sets. |
2297 |
Old (DOM Level 0) applications might not take |
2298 |
<HA::object> elements into consideration. |
2299 |
@@Get: |
2300 |
@@@Type: HTMLCollection |
2301 |
@@@actualType: |
2302 |
ManakaiDOMHTMLCollection |
2303 |
@@@PerlDef: |
2304 |
my $chk; |
2305 |
$chk = sub { |
2306 |
\#line 1 "DOMHTML.ManakaiDOMHTMLElement.getApplets.#1" |
2307 |
my ($self) = @_; |
2308 |
if (<Code::isHTMLElemento:: $elementNodeo = $self, |
2309 |
$elementType = 'applet'>) { |
2310 |
return true; |
2311 |
} elsif (<Code::isHTMLElemento:: $elementNodeo = $self, |
2312 |
$elementType = 'object'> and |
2313 |
$self->{<Q::DOMHTML:isApplet>}) { |
2314 |
return true; |
2315 |
} else { |
2316 |
return false; |
2317 |
} |
2318 |
\#line 1 "DOMHTML.ManakaiDOMHTMLElement.getApplets.#2" |
2319 |
}; |
2320 |
__CODE{getNodeRef:: |
2321 |
$object => {$self->{<Q::TreeCore:node>}}, |
2322 |
$ref => $r, |
2323 |
$class => {<ClassName::ManakaiDOMHTMLCollection>}, |
2324 |
}__; |
2325 |
$r->{<Q::ManakaiDOMCore:nodeMatch>} = $chk; |
2326 |
|
2327 |
@Attr: |
2328 |
@@Name: links |
2329 |
@@Description: |
2330 |
@@@lang:en |
2331 |
@@@@: |
2332 |
A collection of all <HA::a> and <HA::area> elements |
2333 |
in a document with a value for the <HA::href> attribute. |
2334 |
@@Get: |
2335 |
@@@Type: HTMLCollection |
2336 |
@@@actualType: |
2337 |
ManakaiDOMHTMLCollection |
2338 |
@@@PerlDef: |
2339 |
my $chk; |
2340 |
$chk = sub { |
2341 |
\#line 1 "DOMHTML.ManakaiDOMHTMLElement.getLinks.#1" |
2342 |
my ($self) = @_; |
2343 |
if (<Code::isHTMLElemento:: $elementNodeo = $self, |
2344 |
$elementType = 'a'>) { |
2345 |
return true |
2346 |
if $self->{<Q::infoset:attributes>} |
2347 |
->{<Q::null:>}->{href} or |
2348 |
$self->{<Q::infoset:attributes>} |
2349 |
->{<Q::ManakaiDOM:noNS>}->{href}; |
2350 |
} elsif (<Code::isHTMLElemento:: $elementNodeo = $self, |
2351 |
$elementType = 'area'>) { |
2352 |
return true |
2353 |
if $self->{<Q::infoset:attributes>} |
2354 |
->{<Q::null:>}->{href} or |
2355 |
$self->{<Q::infoset:attributes>} |
2356 |
->{<Q::ManakaiDOM:noNS>}->{href}; |
2357 |
} |
2358 |
return false; |
2359 |
\#line 1 "DOMHTML.ManakaiDOMHTMLElement.getLinks.#2" |
2360 |
}; |
2361 |
__CODE{getNodeRef:: |
2362 |
$object => {$self->{<Q::TreeCore:node>}}, |
2363 |
$ref => $r, |
2364 |
$class => {<ClassName::ManakaiDOMHTMLCollection>}, |
2365 |
}__; |
2366 |
$r->{<Q::ManakaiDOMCore:nodeMatch>} = $chk; |
2367 |
|
2368 |
@Attr: |
2369 |
@@Name: forms |
2370 |
@@Description: |
2371 |
@@@lang:en |
2372 |
@@@@: |
2373 |
A collection of all the forms of a document. |
2374 |
@@ImplNote: |
2375 |
@@@lang:en |
2376 |
@@@@: |
2377 |
It should be restricted for HTML <HA::form> elements. |
2378 |
Neither <HA::isindex> elements nor non-HTML form elements |
2379 |
should be contained. |
2380 |
@@Get: |
2381 |
@@@Type: HTMLCollection |
2382 |
@@@actualType: |
2383 |
ManakaiDOMHTMLCollection |
2384 |
@@@PerlDef: |
2385 |
my $chk; |
2386 |
$chk = sub { |
2387 |
\#line 1 "DOMHTML.ManakaiDOMHTMLElement.getForms.#1" |
2388 |
my ($self) = @_; |
2389 |
if (<Code::isHTMLElemento:: $elementNodeo = $self, |
2390 |
$elementType = 'form'>) { |
2391 |
return true; |
2392 |
} else { |
2393 |
return false; |
2394 |
} |
2395 |
\#line 1 "DOMHTML.ManakaiDOMHTMLElement.getForms.#2" |
2396 |
}; |
2397 |
__CODE{getNodeRef:: |
2398 |
$object => {$self->{<Q::TreeCore:node>}}, |
2399 |
$ref => $r, |
2400 |
$class => {<ClassName::ManakaiDOMHTMLCollection>}, |
2401 |
}__; |
2402 |
$r->{<Q::ManakaiDOMCore:nodeMatch>} = $chk; |
2403 |
@Attr: |
2404 |
@@Name: anchors |
2405 |
@@Description: |
2406 |
@@@lang:en |
2407 |
@@@@: |
2408 |
A collection of all the <HA::a> elements with a value |
2409 |
for the <HA::name> attribute in the document. |
2410 |
\ |
2411 |
{NOTE:: The collection of this attribute only contains |
2412 |
those anchors with <HA::name> attributes, |
2413 |
not with the <HA::id> attributes, for backward |
2414 |
compatibility. XHTML 1.0 deprecates the use |
2415 |
of the <HA::name> attribute. |
2416 |
\ |
2417 |
} |
2418 |
@@Get: |
2419 |
@@@Type: HTMLCollection |
2420 |
@@@actualType: |
2421 |
ManakaiDOMHTMLCollection |
2422 |
@@@PerlDef: |
2423 |
my $chk; |
2424 |
$chk = sub { |
2425 |
\#line 1 "DOMHTML.ManakaiDOMHTMLElement.getAnchors.#1" |
2426 |
my ($self) = @_; |
2427 |
if (<Code::isHTMLElemento:: $elementNodeo = $self, |
2428 |
$elementType = 'a'>) { |
2429 |
return true |
2430 |
if $self->{<Q::infoset:attributes>} |
2431 |
->{<Q::null:>}->{name} or |
2432 |
$self->{<Q::infoset:attributes>} |
2433 |
->{<Q::ManakaiDOM:noNS>}->{name}; |
2434 |
} |
2435 |
return false; |
2436 |
\#line 1 "DOMHTML.ManakaiDOMHTMLElement.getAnchors.#2" |
2437 |
}; |
2438 |
__CODE{getNodeRef:: |
2439 |
$object => {$self->{<Q::TreeCore:node>}}, |
2440 |
$ref => $r, |
2441 |
$class => {<ClassName::ManakaiDOMHTMLCollection>}, |
2442 |
}__; |
2443 |
$r->{<Q::ManakaiDOMCore:nodeMatch>} = $chk; |
2444 |
|
2445 |
@Attr: |
2446 |
@@Name: cookie |
2447 |
@@Description: |
2448 |
@@@lang:en |
2449 |
@@@@: |
2450 |
The cookie, persistent state information associated |
2451 |
with the current frame or document <SRC::RFC 2965>. |
2452 |
\ |
2453 |
{NOTE:: The precise nature of a UA session is not |
2454 |
defined. |
2455 |
\ |
2456 |
} |
2457 |
@@Get: |
2458 |
@@@Type: DOMString |
2459 |
@@@actualType: RFC2965Cookies |
2460 |
@@@Description: |
2461 |
@@@@lang:en |
2462 |
@@@@@: |
2463 |
A single string with each cookie's name-value pair |
2464 |
separated by a <CHAR::SEMICOLON>. |
2465 |
@@@ImplNote: |
2466 |
@@@@lang:en |
2467 |
@@@@@: |
2468 |
It is maybe RFC 2965 <CODE::cookies>. |
2469 |
@@@InCase: |
2470 |
@@@@Value:\ |
2471 |
@@@@Description: |
2472 |
@@@@@lang:en |
2473 |
@@@@@@: |
2474 |
No cookie is available for the current frame or document. |
2475 |
@@Set: |
2476 |
@@@For: ManakaiDOM|DOM2 |
2477 |
@@@Type: DOMString |
2478 |
@@@actualType: RFC2965Cookie |
2479 |
@@@Description: |
2480 |
@@@@lang:en |
2481 |
@@@@@: |
2482 |
A single name-value pair followed by zero or more |
2483 |
cookie attribute values (RFC 2965 <CODE::cookie>). |
2484 |
\ |
2485 |
If no <CODE::domain> attribute is specified, |
2486 |
it defaults to the <CODE::host> portion of an |
2487 |
RFC 2396 absolute URI of the current frame or document. |
2488 |
\ |
2489 |
If no <CODE::path> attribute is specified, it defaults |
2490 |
to the absolute <CODE::path> portion of an |
2491 |
RFC 2396 absolute URI of the current frame or document. |
2492 |
\ |
2493 |
If no <CODE::max-age> attribute is specified, it |
2494 |
defaults to a UA defined value. |
2495 |
\ |
2496 |
If a <CODE::cookie> with the specified name is already |
2497 |
associated, the new value as well as the new attributes |
2498 |
replace the old ones. If the <CODE::max-age> attribute |
2499 |
value is <CODE::0>, any existing cookies of the specified |
2500 |
name are removed. |
2501 |
@@@Exception: |
2502 |
@@@@@: |
2503 |
ManakaiDOMHTML:MDOMHTML_BAD_COOKIE |
2504 |
@@@@Description: |
2505 |
@@@@@lang:en |
2506 |
@@@@@@: |
2507 |
The new value does not adhere to the |
2508 |
RFC 2965 <CODE::cookie>. |
2509 |
@Method: |
2510 |
@@Name: open |
2511 |
@@Description: |
2512 |
@@@lang:en |
2513 |
@@@@: |
2514 |
Open a document stream for writing. If a document |
2515 |
exists in the target, this method clears it. |
2516 |
@@Return: |
2517 |
@Method: |
2518 |
@@Name: close |
2519 |
@@Description: |
2520 |
@@@lang:en |
2521 |
@@@@: |
2522 |
Close a document stream opened by the <M::open> method |
2523 |
and force rendering. |
2524 |
@@Return: |
2525 |
@Method: |
2526 |
@@Name: write |
2527 |
@@Description: |
2528 |
@@@lang:en |
2529 |
@@@@: |
2530 |
Write a string to a document stream opened by <M::.open>. |
2531 |
@@ImplNote: |
2532 |
@@@lang:en |
2533 |
@@@@: |
2534 |
This method might produce a document that is invalid. |
2535 |
@@Param: |
2536 |
@@@Name: text |
2537 |
@@@Type: DOMString |
2538 |
@@@Description: |
2539 |
@@@@lang:en |
2540 |
@@@@@: |
2541 |
The string to be parsed into some structure in |
2542 |
the document structure model. |
2543 |
@@Return: |
2544 |
@Method: |
2545 |
@@Name: writeln |
2546 |
@@Description: |
2547 |
@@@lang:en |
2548 |
@@@@: |
2549 |
Write a string followed by a newline character |
2550 |
to a document stream opened by the <M::.open> method. |
2551 |
@@Param: |
2552 |
@@@Name: text |
2553 |
@@@Type: DOMString |
2554 |
@@@Description: |
2555 |
@@@@lang:en |
2556 |
@@@@@: |
2557 |
The string to be parsed into some structure in |
2558 |
the document structure model. |
2559 |
@@Return: |
2560 |
@Method: |
2561 |
@@Name: getElementsByName |
2562 |
@@Description: |
2563 |
@@@lang:en |
2564 |
@@@@: |
2565 |
With HTML 4 documents: return a collection of elements |
2566 |
with matching name. |
2567 |
\ |
2568 |
With XHTML 1 documents: return a collection of form controls |
2569 |
with matching name. |
2570 |
@@Param: |
2571 |
@@@Name: elementName |
2572 |
@@@Type: DOMString |
2573 |
@@@Description: |
2574 |
@@@@lang:en |
2575 |
@@@@@: |
2576 |
The <HA::name> of the element. The matching is |
2577 |
case-sensitive. |
2578 |
@@Return: |
2579 |
@@@Type: NodeList |
2580 |
@@@Description: |
2581 |
@@@@lang:en |
2582 |
@@@@@: |
2583 |
A collection of the element whose <HA::name> matches |
2584 |
with <P::elementName>. |
2585 |
@Method: |
2586 |
@@Name:getElementById |
2587 |
@@Description: |
2588 |
@@@lang:en |
2589 |
@@@@: |
2590 |
Return the <IF::DOMCore:Element> whose <A::id> is given by |
2591 |
<P::elementId>. Behavior is not defined if more than |
2592 |
one elements has this <P::elementId>. |
2593 |
\ |
2594 |
{NOTE:: This method was first defined in the <IF::HTMLDocument> |
2595 |
interface of DOM Level 1 but it has moved to |
2596 |
the <Module::MDOM:DOMCore> module in DOM Level 2. |
2597 |
\ |
2598 |
} |
2599 |
@@Param: |
2600 |
@@@Name:elementId |
2601 |
@@@Type: |
2602 |
DOMMain:DOMString |
2603 |
@@@Description: |
2604 |
@@@@lang:en |
2605 |
@@@@@: |
2606 |
The unique identifier of the element to retrieve. |
2607 |
@@Return: |
2608 |
@@@Type: |
2609 |
DOMCore:Element |
2610 |
@@@Description: |
2611 |
@@@@lang:en |
2612 |
@@@@@:The matching element. |
2613 |
@@@disDef: |
2614 |
@@@@DISPerl:cloneCode: |
2615 |
DOMCore:ManakaiDOMElement::ManakaiDOM:ManakaiDOMLatest.getElementById |
2616 |
@@DOMMain:implementFeature: |
2617 |
HTMLFeature10 |
2618 |
@@For: |
2619 |
ManakaiDOM:DOM1 !ManakaiDOM:DOM2 |
2620 |
@ImplNote: |
2621 |
@@lang:en |
2622 |
@@@: |
2623 |
{P:: The following properties in DOM Level 0 have been deprecated |
2624 |
by DOM HTML Specifications in favor of the corresponding |
2625 |
attributes in <IF::HTMLBodyElement> interface: |
2626 |
\ |
2627 |
- <A::alinkColor> |
2628 |
\ |
2629 |
- <A::background> |
2630 |
\ |
2631 |
- <A::bgColor> |
2632 |
\ |
2633 |
- <A::fgColor> |
2634 |
\ |
2635 |
- <A::linkColor> |
2636 |
\ |
2637 |
- <A::vlinkColor> |
2638 |
\ |
2639 |
} |
2640 |
##HTMLDocument |
2641 |
|
2642 |
ElementTypeBinding: |
2643 |
@Name: PropDef |
2644 |
@ElementType: |
2645 |
dis:ResourceDef |
2646 |
@ShadowContent: |
2647 |
@@rdf:type: |
2648 |
rdf:Property |
2649 |
@@For: =ManakaiDOM|all |
2650 |
|
2651 |
PropDef: |
2652 |
@QName: isApplet |
2653 |
@FullName: |
2654 |
@@lang:en |
2655 |
@@@: Is a Java applet |
2656 |
@Description: |
2657 |
@@lang:en |
2658 |
@@@: |
2659 |
Whether an <HA::object> element is a Java applet or not. |
2660 |
|
2661 |
ElementTypeBinding: |
2662 |
@Name: StringDataTypeDef |
2663 |
@ElementType: |
2664 |
dis:ResourceDef |
2665 |
@ShadowContent: |
2666 |
@@rdf:type: DISLang|DataType |
2667 |
@@For: ManakaiDOM|DOM |
2668 |
@@For: =ManakaiDOM|all |
2669 |
@@rdfs:subClassOf: DOMMain|DOMString |
2670 |
@@AliasFor: |
2671 |
@@@@: ||ManakaiDOM|all |
2672 |
@@@For: !=ManakaiDOM|all |
2673 |
|
2674 |
StringDataTypeDef: |
2675 |
@QName: RFC2965Cookies |
2676 |
@FullName: |
2677 |
@@lang:en |
2678 |
@@@: |
2679 |
RFC 2965 <CODE::cookies> |
2680 |
|
2681 |
StringDataTypeDef: |
2682 |
@QName: RFC2965Cookie |
2683 |
@FullName: |
2684 |
@@lang:en |
2685 |
@@@: |
2686 |
RFC 2965 <CODE::cookie> |
2687 |
|
2688 |
ImplNote: |
2689 |
@lang:en |
2690 |
@@: |
2691 |
DOM attributes corresponding to HTML attributes have |
2692 |
the semantic (including case-sensitivity) given in |
2693 |
the HTML 4 and XHTML 1.0 specifications. |
2694 |
\ |
2695 |
Exposing HTML attributes is for compatibility with DOM Level 0; |
2696 |
this usage is deprecated by DOM Level 1 and 2 HTML specitications. |
2697 |
\ |
2698 |
{FIG: HTML Data Types and DOM Data Types |
2699 |
\ |
2700 |
- <SGML::CDATA>:: <TYPE::DOMString>. |
2701 |
(Default of default: an empty string) |
2702 |
\ |
2703 |
- Enumerated values:: <TYPE::DOMString>. |
2704 |
(Normalized to lowercase in HTML. |
2705 |
Default of default: an empty string) |
2706 |
\ |
2707 |
- Boolean:: <TYPE::boolean>. (Default of default: <DOM::false>. |
2708 |
\ |
2709 |
- <SGML::NUMBER>:: <TYPE::long>. (Default of default: <DOM::0>.) |
2710 |
\ |
2711 |
} |
2712 |
\ |
2713 |
Element type names in HTML 4 documents (exposed through |
2714 |
such as <A::DOMCore:Element.tagName>) are normalized in |
2715 |
uppercase. No specification for attribute names - it maybe |
2716 |
should be in lowercase for compatibility. |
2717 |
|
2718 |
IfCls1Def: |
2719 |
@IFQName: HTMLElement |
2720 |
@ClsQName: ManakaiDOMHTMLElement |
2721 |
|
2722 |
@IFISA: DOMCore|Element |
2723 |
@ClsISA: DOMCore|ManakaiDOMElement |
2724 |
|
2725 |
@Description: |
2726 |
@@lang:en |
2727 |
@@@: |
2728 |
An HTML element. All specific HTML element interfaces |
2729 |
are derived from this interface. |
2730 |
|
2731 |
@s:elementType: |
2732 |
@@@: |
2733 |
AnyHTMLElement::ForHTML40SE |
2734 |
@@ForCheck: |
2735 |
ManakaiDOM:DOM1 !ManakaiDOM:DOM2 |
2736 |
@s:elementType: |
2737 |
@@@: |
2738 |
AnyHTMLElement::ForHTML401 |
2739 |
@@ForCheck: |
2740 |
ManakaiDOM:DOM2 |
2741 |
@s:elementType: |
2742 |
@@@: |
2743 |
AnyHTMLElement::ForXHTML10SE |
2744 |
@@ForCheck: |
2745 |
ManakaiDOM:DOM2 |
2746 |
|
2747 |
@ImplNote: |
2748 |
@@For: !ManakaiDOM|all |
2749 |
@@QName: |
2750 |
xhtml1:sub |
2751 |
\##TODO: rewrite this |
2752 |
@@html-element-type:sup |
2753 |
@@html-element-type:span |
2754 |
@@html-element-type:bdo |
2755 |
@@html-element-type:tt |
2756 |
@@html-element-type:i |
2757 |
@@html-element-type:b |
2758 |
@@html-element-type:u |
2759 |
@@html-element-type:s |
2760 |
@@html-element-type:strike |
2761 |
@@html-element-type:big |
2762 |
@@html-element-type:small |
2763 |
@@html-element-type:em |
2764 |
@@html-element-type:strong |
2765 |
@@html-element-type:dfn |
2766 |
@@html-element-type:code |
2767 |
@@html-element-type:samp |
2768 |
@@html-element-type:kbd |
2769 |
@@html-element-type:var |
2770 |
@@html-element-type:cite |
2771 |
@@html-element-type:acronym |
2772 |
@@html-element-type:abbr |
2773 |
@@html-element-type:dd |
2774 |
@@html-element-type:dt |
2775 |
@@html-element-type:noframes |
2776 |
@@html-element-type:noscript |
2777 |
@@html-element-type:address |
2778 |
@@html-element-type:center |
2779 |
|
2780 |
@ImplNote: |
2781 |
@@lang:en |
2782 |
@@@: |
2783 |
The DOM Level 1 First and Second Editions said that the <HE::head> |
2784 |
element belongs to this category - it is considered as |
2785 |
an error, since there is the <IF::HTMLHeadElement>. |
2786 |
|
2787 |
@Attr: |
2788 |
@@Name: id |
2789 |
@@DocAttr1: |
2790 |
id::ForHTML40SE |
2791 |
@@DocAttr2S: |
2792 |
id::ForHTML401 |
2793 |
@@DocAttr2X: |
2794 |
id::ForXHTML10SE |
2795 |
@@ReflectCDATA: |
2796 |
@@Get: |
2797 |
@@Set: |
2798 |
@@ImplNote: |
2799 |
@@@lang:en |
2800 |
@@@@: |
2801 |
Some element in HTML 4/XHTML 1.0 does not have <HA::class> attribute. |
2802 |
@Attr: |
2803 |
@@Name: title |
2804 |
@@DocAttr1: |
2805 |
title::ForHTML40SE |
2806 |
@@DocAttr2S: |
2807 |
title::ForHTML401 |
2808 |
@@DocAttr2X: |
2809 |
title::ForXHTML10SE |
2810 |
@@ReflectCDATA: |
2811 |
@@Get: |
2812 |
@@Set: |
2813 |
@@ImplNote: |
2814 |
@@@lang:en |
2815 |
@@@@: |
2816 |
Some element in HTML 4/XHTML 1.0 does not have <HA::class> attribute. |
2817 |
@Attr: |
2818 |
@@Name: lang |
2819 |
@@DocAttr1: |
2820 |
lang::ForHTML40SE |
2821 |
@@DocAttr2S: |
2822 |
lang::ForHTML401 |
2823 |
@@DocAttr2X: |
2824 |
lang::ForXHTML10SE |
2825 |
@@ReflectCDATA: |
2826 |
@@Get: |
2827 |
@@Set: |
2828 |
@@ImplNote: |
2829 |
@@@lang:en |
2830 |
@@@@: |
2831 |
Some element in HTML 4/XHTML 1.0 does not have <HA::class> attribute. |
2832 |
@Attr: |
2833 |
@@Name: dir |
2834 |
@@DocAttr1: |
2835 |
dir::ForHTML40SE |
2836 |
@@DocAttr2S: |
2837 |
dir::ForHTML401 |
2838 |
@@DocAttr2X: |
2839 |
dir::ForXHTML10SE |
2840 |
@@ReflectCDATA: |
2841 |
@@Get: |
2842 |
@@Set: |
2843 |
@@ImplNote: |
2844 |
@@@lang:en |
2845 |
@@@@: |
2846 |
Some element in HTML 4/XHTML 1.0 does not have <HA::class> attribute. |
2847 |
@Attr: |
2848 |
@@Name: className |
2849 |
@@DocAttr1: |
2850 |
class::ForHTML40SE |
2851 |
@@DocAttr2S: |
2852 |
class::ForHTML401 |
2853 |
@@DocAttr2X: |
2854 |
class::ForXHTML10SE |
2855 |
@@ReflectCDATA: |
2856 |
@@Get: |
2857 |
@@Set: |
2858 |
@@ImplNote: |
2859 |
@@@lang:en |
2860 |
@@@@: |
2861 |
Some element in HTML 4/XHTML 1.0 does not have <HA::class> attribute. |
2862 |
|
2863 |
@ImplNote: |
2864 |
@@lang:en |
2865 |
@@@: |
2866 |
The <A::HTMLElement.style> is reserved by DOM Level 1 First Edition |
2867 |
for future use. It is used later in DOM Level 2 CSS Module. |
2868 |
##HTMLElement |
2869 |
|
2870 |
ElementTypeBinding: |
2871 |
@Name: ReflectCDATA |
2872 |
@ElementType: |
2873 |
dis:Type |
2874 |
@ShadowContent: |
2875 |
@@@: DOMString |
2876 |
@ShadowSibling: |
2877 |
@@actualType: CDATADOMString |
2878 |
|
2879 |
ElementTypeBinding: |
2880 |
@Name: ReflectURI |
2881 |
@ElementType: |
2882 |
dis:Type |
2883 |
@ShadowContent: |
2884 |
@@@: DOMString |
2885 |
@ShadowSibling: |
2886 |
@@actualType: URIDOMString |
2887 |
|
2888 |
ElementTypeBinding: |
2889 |
@Name: ReflectEnum |
2890 |
@ElementType: |
2891 |
dis:Type |
2892 |
@ShadowContent: |
2893 |
@@@: DOMString |
2894 |
@ShadowSibling: |
2895 |
@@actualType: EnumDOMString |
2896 |
|
2897 |
ElementTypeBinding: |
2898 |
@Name: ReflectBoolean |
2899 |
@ElementType: |
2900 |
dis:Type |
2901 |
@ShadowContent: |
2902 |
@@@: DOMMain|boolean||ManakaiDOM|all |
2903 |
@ShadowSibling: |
2904 |
@@actualType: Boolean |
2905 |
|
2906 |
ElementTypeBinding: |
2907 |
@Name: ReflectNumeric |
2908 |
@ElementType: |
2909 |
dis:Type |
2910 |
@ShadowContent: |
2911 |
@@@: DOMMain|long||ManakaiDOM|all |
2912 |
@ShadowSibling: |
2913 |
@@actualType: Numeric |
2914 |
|
2915 |
ElementTypeBinding: |
2916 |
@Name: DocAttr1 |
2917 |
@ElementType: |
2918 |
dis:DocAttr |
2919 |
@ShadowContent: |
2920 |
@@ForCheck: |
2921 |
ManakaiDOM:DOM1 !ManakaiDOM:DOM2 |
2922 |
ElementTypeBinding: |
2923 |
@Name: DocAttr2S |
2924 |
@ElementType: |
2925 |
dis:DocAttr |
2926 |
@ShadowContent: |
2927 |
@@ForCheck: |
2928 |
ManakaiDOM:DOM2 |
2929 |
ElementTypeBinding: |
2930 |
@Name: DocAttr2X |
2931 |
@ElementType: |
2932 |
dis:DocAttr |
2933 |
@ShadowContent: |
2934 |
@@ForCheck: |
2935 |
ManakaiDOM:DOM2 |
2936 |
|
2937 |
ResourceDef: |
2938 |
@QName: AnyHTMLElement |
2939 |
@enDesc: |
2940 |
Any HTML element types. |
2941 |
@rdf:type: |
2942 |
s:AnyElementInNS |
2943 |
@AppName: |
2944 |
@@@: |
2945 |
xhtml1:* |
2946 |
@@ContentType: |
2947 |
dis:TypeQName |
2948 |
@ForCheck: ForHTML |
2949 |
|
2950 |
## TODO: Move to attribute set |
2951 |
|
2952 |
@AttrDef: |
2953 |
@@QName: dir |
2954 |
@AttrDef: |
2955 |
@@QName: id |
2956 |
@AttrDef: |
2957 |
@@QName: lang |
2958 |
# @@DeprecatedBy: |
2959 |
# DOMHTML:XHTML1.0 |
2960 |
@AttrDef: |
2961 |
@@QName: class |
2962 |
@AttrDef: |
2963 |
@@QName: title |
2964 |
|
2965 |
ElementTypeBinding: |
2966 |
@Name: AttrDef |
2967 |
@ElementType: |
2968 |
dis:ResourceDef |
2969 |
@ShadowContent: |
2970 |
@@rdf:type: |
2971 |
s:Attribute |
2972 |
@@ForCheck: ForHTML |
2973 |
|
2974 |
ResourceDef: |
2975 |
@QName: isHTMLElement |
2976 |
@rdf:type: |
2977 |
dis2pm:InlineCode |
2978 |
@enDesc: |
2979 |
Tests whether this is an HTML element of the given type or not. |
2980 |
@Param: |
2981 |
@@Name: elementNode |
2982 |
@@Type: |
2983 |
DOMCore:Element |
2984 |
@@enDesc: |
2985 |
The element node to test. |
2986 |
@Param: |
2987 |
@@Name: elementType |
2988 |
@@Type: |
2989 |
DOMMain:DOMString |
2990 |
@@enDesc: |
2991 |
The element type name to test. |
2992 |
@PerlCDef: |
2993 |
do { |
2994 |
my $__ln = $elementNode->{<Q::TreeCore:node>} |
2995 |
->{<Q::infoset:localName>}; |
2996 |
if (defined $__ln) { ## Namespace-aware node |
2997 |
my $__ns = $elementNode->{<Q::TreeCore:node>} |
2998 |
->{<Q::infoset:namespaceName>}; |
2999 |
if ($__ns eq <Q::xhtml1:> or |
3000 |
(not defined $__ns and |
3001 |
$elementNode->{<Q::TreeCore:node>} |
3002 |
->{<Q::DOMCore:ownerDocument>} |
3003 |
->{<Q::DOMCore:hasFeature>} |
3004 |
->{HTML})) { |
3005 |
$elementType eq $__ln ? true : false; |
3006 |
} else { |
3007 |
false; |
3008 |
} |
3009 |
} elsif ($elementNode->{<Q::TreeCore:node>} |
3010 |
->{<Q::DOMCore:ownerDocument>}->{<Q::DOMCore:hasFeature>} |
3011 |
->{HTML}) { |
3012 |
if ($elementNode->{<Q::TreeCore:node>} |
3013 |
->{<Q::DOMCore:ownerDocument>}->{<Q::DOMCore:hasFeature>} |
3014 |
->{XML}) { |
3015 |
$elementType eq $elementNode-><AG::DOMCore:Node.nodeName> |
3016 |
? true : false; |
3017 |
} else { |
3018 |
$elementType eq lc ($elementNode-><AG::DOMCore:Node.nodeName>) |
3019 |
? true : false; |
3020 |
} |
3021 |
} else { |
3022 |
false; |
3023 |
} |
3024 |
} |
3025 |
|
3026 |
ResourceDef: |
3027 |
@QName: NodeStem |
3028 |
@AliasFor: ManakaiNode|NodeStem||ManakaiDOM|Perl |
3029 |
@For: ManakaiDOM|Perl |
3030 |
|
3031 |
ResourceDef: |
3032 |
@QName: NodeRef |
3033 |
@AliasFor: ManakaiNode|NodeRef||ManakaiDOM|Perl |
3034 |
@For: ManakaiDOM|Perl |
3035 |
|
3036 |
ResourceDef: |
3037 |
@QName: getNodeRef |
3038 |
@AliasFor: ManakaiNode|getNewReference||ManakaiDOM|Perl |
3039 |
@For: ManakaiDOM|Perl |
3040 |
|
3041 |
ResourceDef: |
3042 |
@QName: isHTMLElemento |
3043 |
@rdf:type: |
3044 |
dis2pm:InlineCode |
3045 |
@enDesc: |
3046 |
Tests whether this is an HTML element of the given type or not. |
3047 |
@Param: |
3048 |
@@Name: elementNodeo |
3049 |
@@Type: NodeStem |
3050 |
@@enDesc: |
3051 |
The element node to test. |
3052 |
@Param: |
3053 |
@@Name: elementType |
3054 |
@@Type: |
3055 |
DOMMain:DOMString |
3056 |
@@enDesc: |
3057 |
The element type name to test. |
3058 |
@PerlCDef: |
3059 |
do { |
3060 |
my $__ln = $elementNodeo->{<Q::infoset:localName>}; |
3061 |
if (defined $__ln) { ## Namespace-aware node |
3062 |
my $__ns = $elementNodeo->{<Q::infoset:namespaceName>}; |
3063 |
if ($__ns eq <Q::xhtml1:> or |
3064 |
(not defined $__ns and |
3065 |
$elementNodeo->{<Q::DOMCore:ownerDocument>} |
3066 |
->{<Q::DOMCore:hasFeature>} |
3067 |
->{HTML})) { |
3068 |
$elementType eq $__ln ? true : false; |
3069 |
} else { |
3070 |
false; |
3071 |
} |
3072 |
} elsif ($elementNodeo |
3073 |
->{<Q::DOMCore:ownerDocument>}->{<Q::DOMCore:hasFeature>} |
3074 |
->{HTML}) { |
3075 |
my $elClass = <ClassName::DOMCore:ManakaiDOMElement>; |
3076 |
my $elementNode = <Code::ManakaiNode:getWeakRef |
3077 |
||ManakaiDOM:Perl:: |
3078 |
$object = $elementNodeo, |
3079 |
$class = $elClass, |
3080 |
>; |
3081 |
if ($elementNodeo |
3082 |
->{<Q::DOMCore:ownerDocument>}->{<Q::DOMCore:hasFeature>} |
3083 |
->{XML}) { |
3084 |
$elementType eq $elementNode-><AG::DOMCore:Node.nodeName> |
3085 |
? true : false; |
3086 |
} else { |
3087 |
$elementType eq lc ($elementNode-><AG::DOMCore:Node.nodeName>) |
3088 |
? true : false; |
3089 |
} |
3090 |
} else { |
3091 |
false; |
3092 |
} |
3093 |
} |
3094 |
|
3095 |
|
3096 |
ElementTypeBinding: |
3097 |
@Name: enDesc |
3098 |
@ElementType: |
3099 |
dis:Description |
3100 |
@ShadowContent: |
3101 |
@@lang:en |
3102 |
|
3103 |
IfCls1ETDef: |
3104 |
@ETQName: |
3105 |
xhtml1:html |
3106 |
@QName: |
3107 |
@@@: html |
3108 |
@@ForCheck: s|ForML |
3109 |
|
3110 |
@IFQName: |
3111 |
@@@: HTMLHtmlElement |
3112 |
@ClsQName: |
3113 |
@@@: ManakaiDOMHTMLHtmlElement |
3114 |
@ISAHTMLElement: |
3115 |
|
3116 |
@ATTR: |
3117 |
@@Name: version |
3118 |
@@Deprecated: |
3119 |
@@ReflectCDATA: |
3120 |
@@Get: |
3121 |
@@Set: |
3122 |
|
3123 |
IfCls1ETDef: |
3124 |
@ETQName: |
3125 |
xhtml1:head |
3126 |
@IFQName: |
3127 |
@@@: HTMLHeadElement |
3128 |
@ClsQName: |
3129 |
@@@: ManakaiDOMHTMLHeadElement |
3130 |
@ISAHTMLElement: |
3131 |
|
3132 |
@ATTR: |
3133 |
@@Name: profile |
3134 |
@@ReflectCDATA: |
3135 |
@@Get: |
3136 |
@@Set: |
3137 |
|
3138 |
IfCls1ETDef: |
3139 |
@ETQName: |
3140 |
xhtml1:link |
3141 |
@IFQName: |
3142 |
@@@: HTMLLinkElement |
3143 |
@ClsQName: |
3144 |
@@@: ManakaiDOMHTMLLinkElement |
3145 |
@ISAHTMLElement: |
3146 |
|
3147 |
@Attr: |
3148 |
@@Name: disabled |
3149 |
@@Description: |
3150 |
@@@lang:en |
3151 |
@@@@: |
3152 |
Whether the link is enabled or not. This is currently |
3153 |
only used for style sheet links and may be used to |
3154 |
activate or deactivate the style sheet. |
3155 |
@@Get: |
3156 |
@@@Type: |
3157 |
DOMMain:boolean |
3158 |
@@@InCase: |
3159 |
@@@@Value: true |
3160 |
@@@@Description: |
3161 |
@@@@@lang:en |
3162 |
@@@@@@: |
3163 |
The link is disabled. |
3164 |
@@@InCase: |
3165 |
@@@@Value: false |
3166 |
@@@@Description: |
3167 |
@@@@@lang:en |
3168 |
@@@@@@: |
3169 |
The link is enabled. |
3170 |
@@@Def: |
3171 |
@@@@ContentType: |
3172 |
lang:dis |
3173 |
@@@@GetProp: |
3174 |
DOMHTML:disabled |
3175 |
@@Set: |
3176 |
@@@Type: |
3177 |
DOMMain:boolean |
3178 |
@@@InCase: |
3179 |
@@@@Value: true |
3180 |
@@@@Description: |
3181 |
@@@@@lang:en |
3182 |
@@@@@@: |
3183 |
The link is disabled. |
3184 |
@@@InCase: |
3185 |
@@@@Value: false |
3186 |
@@@@Description: |
3187 |
@@@@@lang:en |
3188 |
@@@@@@: |
3189 |
The link is enabled. |
3190 |
@@@Def: |
3191 |
@@@@ContentType: |
3192 |
lang:dis |
3193 |
@@@@SetProp: |
3194 |
DOMHTML:disabled |
3195 |
@@ImplNote: |
3196 |
@@@lang:en |
3197 |
@@@@: |
3198 |
A version of WinIE 3 has a <HA::disable> attribute by mistake. |
3199 |
@ATTR: |
3200 |
@@Name: charset |
3201 |
@@ReflectCDATA: |
3202 |
@@Get: |
3203 |
@@Set: |
3204 |
@ATTR: |
3205 |
@@Name: href |
3206 |
@@ReflectURI: |
3207 |
@@Get: |
3208 |
@@Set: |
3209 |
@ATTR: |
3210 |
@@Name: hreflang |
3211 |
@@ReflectCDATA: |
3212 |
@@Get: |
3213 |
@@Set: |
3214 |
@ATTR: |
3215 |
@@Name: media |
3216 |
@@ReflectCDATA: |
3217 |
@@Get: |
3218 |
@@Set: |
3219 |
@ATTR: |
3220 |
@@Name: rel |
3221 |
@@ReflectCDATA: |
3222 |
@@Get: |
3223 |
@@Set: |
3224 |
@ATTR: |
3225 |
@@Name: rev |
3226 |
@@ReflectCDATA: |
3227 |
@@Get: |
3228 |
@@Set: |
3229 |
@ATTR: |
3230 |
@@Name: target |
3231 |
@@ReflectCDATA: |
3232 |
@@Get: |
3233 |
@@Set: |
3234 |
@ATTR: |
3235 |
@@Name: type |
3236 |
@@ReflectCDATA: |
3237 |
@@Get: |
3238 |
@@Set: |
3239 |
##HTMLLinkElement |
3240 |
|
3241 |
IfCls1ETDef: |
3242 |
@ETQName: |
3243 |
xhtml1:title |
3244 |
@IFQName: |
3245 |
@@@: HTMLTitleElement |
3246 |
@ClsQName: |
3247 |
@@@: ManakaiDOMHTMLTitleElement |
3248 |
@ISAHTMLElement: |
3249 |
|
3250 |
|
3251 |
@Attr: |
3252 |
@@Name: text |
3253 |
@@Description: |
3254 |
@@@lang:en |
3255 |
@@@@: |
3256 |
The title. |
3257 |
@@Get: |
3258 |
@@@Type: DOMString |
3259 |
@@@Def: |
3260 |
@@@@ContentType: |
3261 |
lang:dis |
3262 |
@@@@DISPerl:cloneCode: |
3263 |
DOMCore:ManakaiDOMNode::ManakaiDOM:ManakaiDOMLatest.textContent.get |
3264 |
@@Set: |
3265 |
@@@Type: DOMString |
3266 |
@@@Def: |
3267 |
@@@@ContentType: |
3268 |
lang:dis |
3269 |
@@@@DISPerl:cloneCode: |
3270 |
DOMCore:ManakaiDOMNode::ManakaiDOM:ManakaiDOMLatest.textContent.set |
3271 |
##HTMLTitleElement |
3272 |
|
3273 |
IfCls1ETDef: |
3274 |
@ETQName: |
3275 |
xhtml1:meta |
3276 |
@IFQName: |
3277 |
@@@: HTMLMetaElement |
3278 |
@ClsQName: |
3279 |
@@@: ManakaiDOMHTMLMetaElement |
3280 |
@ISAHTMLElement: |
3281 |
|
3282 |
@ATTR: |
3283 |
@@Name: content |
3284 |
@@ReflectCDATA: |
3285 |
@@Get: |
3286 |
@@Set: |
3287 |
@ATTR: |
3288 |
@@AName: |
3289 |
@@@@: http-equiv |
3290 |
@@DOMAName: |
3291 |
@@@@: httpEquiv |
3292 |
@@ReflectCDATA: |
3293 |
@@Get: |
3294 |
@@Set: |
3295 |
@ATTR: |
3296 |
@@Name: name |
3297 |
@@ReflectCDATA: |
3298 |
@@Get: |
3299 |
@@Set: |
3300 |
@ATTR: |
3301 |
@@Name: scheme |
3302 |
@@ReflectCDATA: |
3303 |
@@Get: |
3304 |
@@Set: |
3305 |
|
3306 |
IfCls1ETDef: |
3307 |
@ETQName: |
3308 |
xhtml1:base |
3309 |
@IFQName: |
3310 |
@@@: HTMLBaseElement |
3311 |
@ClsQName: |
3312 |
@@@: ManakaiDOMHTMLBaseElement |
3313 |
@ISAHTMLElement: |
3314 |
|
3315 |
@ATTR: |
3316 |
@@Name: href |
3317 |
@@ReflectURI: |
3318 |
@@Get: |
3319 |
@@Set: |
3320 |
@ATTR: |
3321 |
@@Name: target |
3322 |
@@ReflectCDATA: |
3323 |
@@Get: |
3324 |
@@Set: |
3325 |
|
3326 |
ElementTypeBinding: |
3327 |
@Name: ISAHTMLElement |
3328 |
@ElementType: |
3329 |
dis:ISA |
3330 |
@ShadowContent: |
3331 |
@@@: HTMLElement |
3332 |
@@ForCheck: |
3333 |
ManakaiDOM:ForIF |
3334 |
@ShadowSibling: |
3335 |
@@ISA: |
3336 |
@@@@: ManakaiDOMHTMLElement |
3337 |
@@@ForCheck: |
3338 |
ManakaiDOM:ForClass |
3339 |
|
3340 |
IfCls1ETDef: |
3341 |
@ETQName: |
3342 |
xhtml1:isindex |
3343 |
@IFQName: |
3344 |
@@@: HTMLIsIndexElement |
3345 |
@ClsQName: |
3346 |
@@@: ManakaiDOMHTMLIsIndexElement |
3347 |
@ISAHTMLElement: |
3348 |
|
3349 |
@ForCheck: !ForXHTML11 |
3350 |
|
3351 |
@Attr: |
3352 |
@@Name: form |
3353 |
@@Description: |
3354 |
@@@lang:en |
3355 |
@@@@: |
3356 |
The <HE::form> element containing this element. |
3357 |
\ |
3358 |
{NOTE:: Although DOM has this attribute, the <HE::isindex> |
3359 |
is independent from any <HE::form> by definition. |
3360 |
\ |
3361 |
} |
3362 |
@@Get: |
3363 |
@@@Type: |
3364 |
DOMHTML:HTMLFormElement |
3365 |
@@@InCase: |
3366 |
@@@@Value: |
3367 |
@@@@@is-null:1 |
3368 |
@@@@Description: |
3369 |
@@@@@lang:en |
3370 |
@@@@@@: |
3371 |
This element is not within the context of a form. |
3372 |
@@@disDef: |
3373 |
@@@@DISLang:nop: |
3374 |
@ATTR: |
3375 |
@@Name: prompt |
3376 |
@@Deprecated: |
3377 |
@@ReflectCDATA: |
3378 |
@@Get: |
3379 |
@@Set: |
3380 |
|
3381 |
ElementTypeBinding: |
3382 |
@Name: disDef |
3383 |
@ElementType: |
3384 |
dis:Def |
3385 |
@ShadowContent: |
3386 |
@@ContentType: |
3387 |
lang:dis |
3388 |
@@ForCheck: ManakaiDOM|ForClass |
3389 |
|
3390 |
ElementTypeBinding: |
3391 |
@Name: disCDef |
3392 |
@ElementType: |
3393 |
dis:Def |
3394 |
@ShadowContent: |
3395 |
@@ContentType: |
3396 |
lang:dis |
3397 |
|
3398 |
ElementTypeBinding: |
3399 |
@Name: ETQName |
3400 |
@ElementType: |
3401 |
dis:AppName |
3402 |
@ShadowContent: |
3403 |
@@ForCheck: |
3404 |
s:ForML |
3405 |
@@ContentType: DISCore|QName |
3406 |
|
3407 |
ElementTypeBinding: |
3408 |
@Name: IFQName |
3409 |
@ElementType: |
3410 |
dis:QName |
3411 |
@ShadowContent: |
3412 |
@@ForCheck: |
3413 |
ManakaiDOM:ForIF |
3414 |
ElementTypeBinding: |
3415 |
@Name: ClsQName |
3416 |
@ElementType: |
3417 |
dis:QName |
3418 |
@ShadowContent: |
3419 |
@@ForCheck: |
3420 |
ManakaiDOM:ForClass |
3421 |
|
3422 |
IfCls1ETDef: |
3423 |
@ETQName: |
3424 |
xhtml1:style |
3425 |
@IFQName: HTMLStyleElement |
3426 |
@ClsQName: ManakaiDOMHTMLStyleElement |
3427 |
@ISAHTMLElement: |
3428 |
|
3429 |
@Attr: |
3430 |
@@Name: disabled |
3431 |
@@Description: |
3432 |
@@@lang:en |
3433 |
@@@@: |
3434 |
Whether the style sheet is enabled or not. |
3435 |
@@Get: |
3436 |
@@@Type: |
3437 |
DOMMain:boolean |
3438 |
@@@InCase: |
3439 |
@@@@Value: true |
3440 |
@@@@Description: |
3441 |
@@@@@lang:en |
3442 |
@@@@@@:The style sheet is disabled. |
3443 |
@@@InCase: |
3444 |
@@@@Value: false |
3445 |
@@@@Description: |
3446 |
@@@@@lang:en |
3447 |
@@@@@@:The style sheet is enabled. |
3448 |
@@@Def: |
3449 |
@@@@ContentType: |
3450 |
lang:dis |
3451 |
@@@@GetProp: |
3452 |
DOMHTML:disabled |
3453 |
@@Set: |
3454 |
@@@Type: |
3455 |
DOMMain:boolean |
3456 |
@@@InCase: |
3457 |
@@@@Value: true |
3458 |
@@@@Description: |
3459 |
@@@@@lang:en |
3460 |
@@@@@@:The style sheet is disabled. |
3461 |
@@@InCase: |
3462 |
@@@@Value: false |
3463 |
@@@@Description: |
3464 |
@@@@@lang:en |
3465 |
@@@@@@:The style sheet is enabled. |
3466 |
@@@Def: |
3467 |
@@@@ContentType: |
3468 |
lang:dis |
3469 |
@@@@SetProp: |
3470 |
DOMHTML:disabled |
3471 |
@ATTR: |
3472 |
@@Name: media |
3473 |
@@ReflectCDATA: |
3474 |
@@Get: |
3475 |
@@Set: |
3476 |
@ATTR: |
3477 |
@@Name: type |
3478 |
@@ReflectCDATA: |
3479 |
@@Get: |
3480 |
@@Set: |
3481 |
|
3482 |
PropDef: |
3483 |
@QName: disabled |
3484 |
@enDesc: |
3485 |
<A::.disabled>. |
3486 |
|
3487 |
ElementTypeBinding: |
3488 |
@Name: DOMAName |
3489 |
@ElementType: |
3490 |
dis:Name |
3491 |
@ShadowContent: |
3492 |
@@ForCheck: ManakaiDOM|DOM |
3493 |
|
3494 |
ElementTypeBinding: |
3495 |
@Name: AName |
3496 |
@ElementType: |
3497 |
dis:Name |
3498 |
@ShadowContent: |
3499 |
@@ForCheck: s|ForML |
3500 |
|
3501 |
ElementTypeBinding: |
3502 |
@Name: plAName |
3503 |
@ElementType: |
3504 |
DISPerl:methodName |
3505 |
@ShadowContent: |
3506 |
@@ForCheck: ManakaiDOM|DOM |
3507 |
@@ContentType: lang|Perl |
3508 |
|
3509 |
IF: |
3510 |
@ForCheck: !ManakaiDOM|all |
3511 |
|
3512 |
@IFQName: HTMLStrictlyInlineContainerExtended |
3513 |
@ClsQName: ManakaiDOMHTMLStrictlyInlineContainerExtended |
3514 |
@DOMMain:implementFeature: HTMLExtendedFeature30 |
3515 |
|
3516 |
@Method: |
3517 |
@@Name: appendNewAnchor |
3518 |
@@enDesc: |
3519 |
Appends a new <HE::a> element. |
3520 |
@@Param: |
3521 |
@@@Name: hrefArg |
3522 |
@@@Type: DOMString |
3523 |
@@@enDesc: |
3524 |
A URI reference to be set to the <HA::href> attribute |
3525 |
of the newly created element. |
3526 |
@@Param: |
3527 |
@@@Name: textArg |
3528 |
@@@Type: DOMString |
3529 |
@@@enDesc: |
3530 |
Text content of the newly created element. |
3531 |
@@@nullCase: |
3532 |
@@@@enDesc: No text node is added. |
3533 |
@@Param: |
3534 |
@@@Name: classArg |
3535 |
@@@Type: DOMString |
3536 |
@@@enDesc: |
3537 |
A space-separeted list of classes to be set to |
3538 |
the <HA::class> attribute of the newly created element. |
3539 |
@@@nullCase: |
3540 |
@@@@enDesc: |
3541 |
No class is set. |
3542 |
@@@ImplNote: |
3543 |
@@@@lang:en |
3544 |
@@@@@: |
3545 |
<IF::DOMTokenString> and <IF::DOMStringList> shuld also be supported. |
3546 |
@@Return: |
3547 |
@@@Type: HTMLAnchorElement |
3548 |
@@@enDesc: |
3549 |
The newly created <HE::a> element. |
3550 |
@@@RaiseException: |
3551 |
@@@@@: MDOMX|NOMOD_THIS |
3552 |
@@@@enDesc: |
3553 |
This node is read-only. |
3554 |
@@@PerlDef: |
3555 |
__DEEP{ |
3556 |
$self-><M::DOMCore:Node.appendChild> |
3557 |
($r = $self-><AG::DOMCore:Node.ownerDocument> |
3558 |
-><M::DOMCore:Document.createElementNS> |
3559 |
(<Q::xhtml1:>, 'a')); |
3560 |
$r-><AS::HTMLAnchorElement.href> ($hrefArg); |
3561 |
if (defined $textArg) { |
3562 |
$r-><AS::DOMCore:Node.textContent> ($textArg); |
3563 |
} |
3564 |
if (defined $classArg) { |
3565 |
$r-><AS::HTMLElement.className> ($classArg); |
3566 |
} |
3567 |
}__; |
3568 |
|
3569 |
@Method: |
3570 |
@@Name: appendNewAbbr |
3571 |
@@enDesc: |
3572 |
Appends a new <HE::abbr> element. |
3573 |
@@Param: |
3574 |
@@@Name: shortForm |
3575 |
@@@Type: DOMString |
3576 |
@@@enDesc: |
3577 |
Text content of the newly created element. |
3578 |
@@@nullCase: |
3579 |
@@@@enDesc: No text node is added. |
3580 |
@@Param: |
3581 |
@@@Name: longForm |
3582 |
@@@Type: DOMString |
3583 |
@@@enDesc: |
3584 |
A text to be set to the <HA::title> attribute |
3585 |
of the newly created element. |
3586 |
@@@nullCase: |
3587 |
@@@@enDesc: No long form. |
3588 |
@@Param: |
3589 |
@@@Name: classArg |
3590 |
@@@Type: DOMString |
3591 |
@@@enDesc: |
3592 |
A space-separeted list of classes to be set to |
3593 |
the <HA::class> attribute of the newly created element. |
3594 |
@@@nullCase: |
3595 |
@@@@enDesc: |
3596 |
No class is set. |
3597 |
@@Return: |
3598 |
@@@Type: HTMLElement |
3599 |
@@@enDesc: |
3600 |
The newly created <HE::abbr> element. |
3601 |
@@@RaiseException: |
3602 |
@@@@@: MDOMX|NOMOD_THIS |
3603 |
@@@@enDesc: |
3604 |
This node is read-only. |
3605 |
@@@PerlDef: |
3606 |
__DEEP{ |
3607 |
$self-><M::DOMCore:Node.appendChild> |
3608 |
($r = $self-><AG::DOMCore:Node.ownerDocument> |
3609 |
-><M::DOMCore:Document.createElementNS> |
3610 |
(<Q::xhtml1:>, 'abbr')); |
3611 |
if (defined $shortForm) { |
3612 |
$r-><AS::DOMCore:Node.textContent> ($shortForm); |
3613 |
} |
3614 |
if (defined $longForm) { |
3615 |
$r-><AS::HTMLElement.title> ($longForm); |
3616 |
} |
3617 |
if (defined $classArg) { |
3618 |
$r-><AS::HTMLElement.className> ($classArg); |
3619 |
} |
3620 |
}__; |
3621 |
|
3622 |
@Method: |
3623 |
@@Name: appendNewDfn |
3624 |
@@enDesc: |
3625 |
Appends a new <HE::dfn> element. |
3626 |
@@Param: |
3627 |
@@@Name: textArg |
3628 |
@@@Type: DOMString |
3629 |
@@@enDesc: |
3630 |
Text content of the newly created element. |
3631 |
@@@nullCase: |
3632 |
@@@@enDesc: No text node is added. |
3633 |
@@Param: |
3634 |
@@@Name: titleArg |
3635 |
@@@Type: DOMString |
3636 |
@@@enDesc: |
3637 |
A definitive word to be set to |
3638 |
the <HA::title> attribute of the newly created element. |
3639 |
@@@nullCase: |
3640 |
@@@@enDesc: |
3641 |
No title is set. |
3642 |
@@Param: |
3643 |
@@@Name: classArg |
3644 |
@@@Type: DOMString |
3645 |
@@@enDesc: |
3646 |
A space-separeted list of classes to be set to |
3647 |
the <HA::class> attribute of the newly created element. |
3648 |
@@@nullCase: |
3649 |
@@@@enDesc: |
3650 |
No class is set. |
3651 |
@@Return: |
3652 |
@@@Type: HTMLElement |
3653 |
@@@enDesc: |
3654 |
The newly created <HE::dfn> element. |
3655 |
@@@RaiseException: |
3656 |
@@@@@: MDOMX|NOMOD_THIS |
3657 |
@@@@enDesc: |
3658 |
This node is read-only. |
3659 |
@@@PerlDef: |
3660 |
__DEEP{ |
3661 |
$self-><M::DOMCore:Node.appendChild> |
3662 |
($r = $self-><AG::DOMCore:Node.ownerDocument> |
3663 |
-><M::DOMCore:Document.createElementNS> |
3664 |
(<Q::xhtml1:>, 'dfn')); |
3665 |
if (defined $textArg) { |
3666 |
$r-><AS::DOMCore:Node.textContent> ($textArg); |
3667 |
} |
3668 |
if (defined $titleArg) { |
3669 |
$r-><AS::HTMLElement.title> ($titleArg); |
3670 |
} |
3671 |
if (defined $classArg) { |
3672 |
$r-><AS::HTMLElement.className> ($classArg); |
3673 |
} |
3674 |
}__; |
3675 |
|
3676 |
@enImplNote: |
3677 |
{TODO:: |
3678 |
<P::classArg>s should also accept <IF::DOMTokenString> (HTML5) |
3679 |
and <IF::DOMStringList> (DOM3) and any Perl array references. |
3680 |
(Pending until the publication of a fixed draft of HTML5) |
3681 |
} |
3682 |
|
3683 |
@Method: |
3684 |
@@Name: appendNewPhrase |
3685 |
@@enDesc: |
3686 |
Appends a new phrase element or text. |
3687 |
@@Param: |
3688 |
@@@Name: namespaceNameArg |
3689 |
@@@Type: DOMString |
3690 |
@@@enDesc: |
3691 |
Element type namespace URI. |
3692 |
@@@nullCase: |
3693 |
@@@@enDesc: |
3694 |
The HTML namespace URI, <URI::http://www.w3.org/1999/xhtml>, |
3695 |
is assumed. |
3696 |
\ |
3697 |
{NOTE:: The <DOM::null> namespace is not supported. |
3698 |
} |
3699 |
@@Param: |
3700 |
@@@Name: localNameArg |
3701 |
@@@Type: DOMString |
3702 |
@@@enDesc: |
3703 |
Element type local name. |
3704 |
@@@nullCase: |
3705 |
@@@@enDesc: |
3706 |
No element is added and the <P::namespaceNameArg> is ignored. |
3707 |
@@Param: |
3708 |
@@@Name: textArg |
3709 |
@@@Type: DOMString |
3710 |
@@@enDesc: |
3711 |
Text content of the newly created element. |
3712 |
If <P::localNameArg> is <DOM::null>, the <P::textArg> |
3713 |
is directly appended to this element as a new <IF::Text> node. |
3714 |
@@@nullCase: |
3715 |
@@@@enDesc: No text node is added. |
3716 |
@@Param: |
3717 |
@@@Name: classArg |
3718 |
@@@Type: DOMString |
3719 |
@@@enDesc: |
3720 |
A space-separeted list of classes to be set to |
3721 |
the <HA::class> attribute of the newly created element. |
3722 |
If the <P::localNameArg> is <DOM::null>, this parameter |
3723 |
is ignored. |
3724 |
@@@nullCase: |
3725 |
@@@@enDesc: |
3726 |
No class is set. |
3727 |
@@Return: |
3728 |
@@@Type: HTMLElement |
3729 |
@@@enDesc: |
3730 |
The newly created element. |
3731 |
@@@nullCase: |
3732 |
@@@@enDesc: |
3733 |
If <P::localNameArg> |
3734 |
is <DOM::null>. |
3735 |
@@@RaiseException: |
3736 |
@@@@@: MDOMX|NOMOD_THIS |
3737 |
@@@@enDesc: |
3738 |
This node is read-only. |
3739 |
@@@RaiseException: |
3740 |
@@@@@: DOMCore|DOMException.INVALID_CHARACTER_ERR |
3741 |
@@@@enDesc: |
3742 |
<P::localNameArg> is not a legal <CODE::Name> |
3743 |
of the markup language in use. |
3744 |
@@@RaiseException: |
3745 |
@@@@@: DOMCore|DOMException.NAMESPACE_ERR |
3746 |
@@@@enDesc: |
3747 |
<P::localNameArg> is not a legal <CODE::NCName> |
3748 |
of the XML version in use. |
3749 |
@@@PerlDef: |
3750 |
__DEEP{ |
3751 |
if (defined $localNameArg) { |
3752 |
$self-><M::DOMCore:Node.appendChild> |
3753 |
($r = $self-><AG::DOMCore:Node.ownerDocument> |
3754 |
-><M::DOMCore:Document.createElementNS> |
3755 |
(defined $namespaceNameArg |
3756 |
? $namespaceNameArg : <Q::xhtml1:>, |
3757 |
$localNameArg)); |
3758 |
if (defined $textArg) { |
3759 |
$r-><AS::DOMCore:Node.textContent> ($textArg); |
3760 |
} |
3761 |
if (defined $classArg) { |
3762 |
$r-><AS::HTMLElement.className> ($classArg); |
3763 |
} |
3764 |
} else { |
3765 |
$self-><M::DOMCore:Node.appendChild> |
3766 |
($self-><AG::DOMCore:Node.ownerDocument> |
3767 |
-><M::DOMCore:Document.createTextNode> ($textArg)); |
3768 |
} |
3769 |
}__; |
3770 |
##HTMLStrictlyInlineContainerExtended |
3771 |
|
3772 |
ClsOnly: |
3773 |
@ForCheck: !ManakaiDOM|all |
3774 |
|
3775 |
@For: ManakaiDOM|ManakaiDOMLatest |
3776 |
@ClsQName: ManakaiDOMHTMLStrictlyInlineElementExtended |
3777 |
@ClsISA: ManakaiDOMHTMLStrictlyInlineContainerExtended |
3778 |
@ClsISA: ManakaiDOMHTMLElement |
3779 |
|
3780 |
@enDesc: |
3781 |
Strictly inline-level content elements whose content |
3782 |
is also strictly inline-level content. |
3783 |
|
3784 |
@enImplNote: |
3785 |
Future version of manakai might split this class into |
3786 |
indivisual element type classes. |
3787 |
|
3788 |
@s:elementType: em||ForHTML5 |
3789 |
@s:elementType: small||ForHTML5 |
3790 |
@s:elementType: i||ForHTML5 |
3791 |
@s:elementType: var||ForHTML5 |
3792 |
@s:elementType: kbd||ForHTML5 |
3793 |
@s:elementType: sup||ForHTML5 |
3794 |
@s:elementType: sub||ForHTML5 |
3795 |
@s:elementType: cite||ForHTML5 |
3796 |
@s:elementType: abbr||ForHTML5 |
3797 |
@s:elementType: dfn||ForHTML5 |
3798 |
##HTMLStrictlyInlineElementExtended |
3799 |
|
3800 |
ResourceDef: |
3801 |
@QName: em |
3802 |
@rdf:type: s|ElementType |
3803 |
@For: ForHTML |
3804 |
@ETQName: xhtml1|em |
3805 |
|
3806 |
ResourceDef: |
3807 |
@QName: small |
3808 |
@rdf:type: s|ElementType |
3809 |
@For: ForHTML |
3810 |
@ETQName: xhtml1|small |
3811 |
|
3812 |
ResourceDef: |
3813 |
@QName: i |
3814 |
@rdf:type: s|ElementType |
3815 |
@For: ForHTML |
3816 |
@ETQName: xhtml1|i |
3817 |
|
3818 |
ResourceDef: |
3819 |
@QName: var |
3820 |
@rdf:type: s|ElementType |
3821 |
@For: ForHTML |
3822 |
@ETQName: xhtml1|var |
3823 |
|
3824 |
ResourceDef: |
3825 |
@QName: kbd |
3826 |
@rdf:type: s|ElementType |
3827 |
@For: ForHTML |
3828 |
@ETQName: xhtml1|kbd |
3829 |
|
3830 |
ResourceDef: |
3831 |
@QName: sup |
3832 |
@rdf:type: s|ElementType |
3833 |
@For: ForHTML |
3834 |
@ETQName: xhtml1|sup |
3835 |
|
3836 |
ResourceDef: |
3837 |
@QName: sub |
3838 |
@rdf:type: s|ElementType |
3839 |
@For: ForHTML |
3840 |
@ETQName: xhtml1|sub |
3841 |
|
3842 |
ResourceDef: |
3843 |
@QName: cite |
3844 |
@rdf:type: s|ElementType |
3845 |
@For: ForHTML |
3846 |
@ETQName: xhtml1|cite |
3847 |
|
3848 |
ResourceDef: |
3849 |
@QName: abbr |
3850 |
@rdf:type: s|ElementType |
3851 |
@For: ForHTML |
3852 |
@ETQName: xhtml1|abbr |
3853 |
|
3854 |
ResourceDef: |
3855 |
@QName: dfn |
3856 |
@rdf:type: s|ElementType |
3857 |
@For: ForHTML |
3858 |
@ETQName: xhtml1|dfn |
3859 |
|
3860 |
IF: |
3861 |
@ForCheck: !ManakaiDOM|all |
3862 |
|
3863 |
@IFQName: HTMLStructuredInlineContainerExtended |
3864 |
@ClsQName: ManakaiDOMHTMLStructuredInlineContainerExtended |
3865 |
@DOMMain:implementFeature: HTMLExtendedFeature30 |
3866 |
|
3867 |
@Method: |
3868 |
@@Name: appendNewUl |
3869 |
@@enDesc: |
3870 |
Appends a new empty <HE::ul> element. |
3871 |
@@enImplNote: |
3872 |
Array containing items should be accepted as a parameter? |
3873 |
@@Return: |
3874 |
@@@Type: HTMLUListElement |
3875 |
@@@enDesc: |
3876 |
The newly created <HE::ul> element. |
3877 |
@@@RaiseException: |
3878 |
@@@@@: MDOMX|NOMOD_THIS |
3879 |
@@@@enDesc: |
3880 |
This node is read-only. |
3881 |
@@@PerlDef: |
3882 |
__DEEP{ |
3883 |
$self-><M::DOMCore:Node.appendChild> |
3884 |
($r = $self-><AG::DOMCore:Node.ownerDocument> |
3885 |
-><M::DOMCore:Document.createElementNS> |
3886 |
(<Q::xhtml1:>, 'ul')); |
3887 |
}__; |
3888 |
|
3889 |
@Method: |
3890 |
@@Name: appendNewDl |
3891 |
@@enDesc: |
3892 |
Appends a new empty <HE::dl> element. |
3893 |
@@enImplNote: |
3894 |
Array containing items should be accepted as a parameter? |
3895 |
@@Return: |
3896 |
@@@Type: HTMLDListElement |
3897 |
@@@enDesc: |
3898 |
The newly created <HE::dl> element. |
3899 |
@@@RaiseException: |
3900 |
@@@@@: MDOMX|NOMOD_THIS |
3901 |
@@@@enDesc: |
3902 |
This node is read-only. |
3903 |
@@@PerlDef: |
3904 |
__DEEP{ |
3905 |
$self-><M::DOMCore:Node.appendChild> |
3906 |
($r = $self-><AG::DOMCore:Node.ownerDocument> |
3907 |
-><M::DOMCore:Document.createElementNS> |
3908 |
(<Q::xhtml1:>, 'dl')); |
3909 |
}__; |
3910 |
|
3911 |
|
3912 |
@Method: |
3913 |
@@Name: appendNewTable |
3914 |
@@enDesc: |
3915 |
Appends a new empty table whose only child is a <HE::tbody> element. |
3916 |
@@enImplNote: |
3917 |
Array containing items should be accepted as a parameter? |
3918 |
Caption? Row & Col number? |
3919 |
@@Return: |
3920 |
@@@Type: HTMLTableElement |
3921 |
@@@enDesc: |
3922 |
The newly created <HE::table> element. |
3923 |
@@@RaiseException: |
3924 |
@@@@@: MDOMX|NOMOD_THIS |
3925 |
@@@@enDesc: |
3926 |
This node is read-only. |
3927 |
@@@PerlDef: |
3928 |
__DEEP{ |
3929 |
my $od = $self-><AG::DOMCore:Node.ownerDocument>; |
3930 |
$self-><M::DOMCore:Node.appendChild> |
3931 |
($r = $od-><M::DOMCore:Document.createElementNS> |
3932 |
(<Q::xhtml1:>, 'table')); |
3933 |
$r-><M::DOMCore:Node.appendChild> |
3934 |
($od-><M::DOMCore:Document.createElementNS> |
3935 |
(<Q::xhtml1:>, 'tbody')); |
3936 |
}__; |
3937 |
##StructuredInlineContainerExtended |
3938 |
|
3939 |
IF: |
3940 |
@ForCheck: !ManakaiDOM|all |
3941 |
|
3942 |
@IFQName: HTMLInlineContainerExtended |
3943 |
@ClsQName: ManakaiDOMHTMLInlineContainerExtended |
3944 |
@DOMMain:implementFeature: HTMLExtendedFeature30 |
3945 |
|
3946 |
@IFISA: HTMLStrictlyInlineContainerExtended |
3947 |
@ClsISA: ManakaiDOMHTMLStrictlyInlineContainerExtended |
3948 |
|
3949 |
@IFISA: HTMLStructuredInlineContainerExtended |
3950 |
@ClsISA: ManakaiDOMHTMLStructuredInlineContainerExtended |
3951 |
##HTMLInlineContainerExtended |
3952 |
|
3953 |
ClsOnly: |
3954 |
@ForCheck: !ManakaiDOM|all |
3955 |
|
3956 |
@For: ManakaiDOM|ManakaiDOMLatest |
3957 |
@ClsQName: ManakaiDOMHTMLInlineElementExtended |
3958 |
@ClsISA: ManakaiDOMHTMLInlineContainerExtended |
3959 |
@ClsISA: ManakaiDOMHTMLElement |
3960 |
|
3961 |
@enDesc: |
3962 |
Strictly inline-level content elements whose content |
3963 |
is conditionally either strictly inline-level content or |
3964 |
any inline-level content. |
3965 |
|
3966 |
@enImplNote: |
3967 |
Future version of manakai might split this class into |
3968 |
indivisual element type classes. |
3969 |
|
3970 |
@s:elementType: code||ForHTML5 |
3971 |
@s:elementType: samp||ForHTML5 |
3972 |
@s:elementType: span||ForHTML5 |
3973 |
##HTMLInlineElementExtended |
3974 |
|
3975 |
ResourceDef: |
3976 |
@QName: code |
3977 |
@rdf:type: s|ElementType |
3978 |
@For: ForHTML |
3979 |
@ETQName: xhtml1|code |
3980 |
|
3981 |
ResourceDef: |
3982 |
@QName: samp |
3983 |
@rdf:type: s|ElementType |
3984 |
@For: ForHTML |
3985 |
@ETQName: xhtml1|samp |
3986 |
|
3987 |
ResourceDef: |
3988 |
@QName: span |
3989 |
@rdf:type: s|ElementType |
3990 |
@For: ForHTML |
3991 |
@ETQName: xhtml1|span |
3992 |
|
3993 |
IF: |
3994 |
@ForCheck: !ManakaiDOM|all |
3995 |
|
3996 |
@IFQName: HTMLBlockContainerExtended |
3997 |
@ClsQName: ManakaiDOMHTMLBlockContainerExtended |
3998 |
@DOMMain:implementFeature: HTMLExtendedFeature30 |
3999 |
|
4000 |
@IFISA: HTMLStructuredInlineContainerExtended |
4001 |
@ClsISA: ManakaiDOMHTMLStructuredInlineContainerExtended |
4002 |
|
4003 |
@Method: |
4004 |
@@Name: appendNewParagraph |
4005 |
@@enDesc: |
4006 |
Appends a new <HE::p> element. |
4007 |
@@Return: |
4008 |
@@@Type: HTMLParagraphElement |
4009 |
@@@enDesc: |
4010 |
The newly created <HE::p> element. |
4011 |
@@@RaiseException: |
4012 |
@@@@@: MDOMX|NOMOD_THIS |
4013 |
@@@@enDesc: |
4014 |
This node is read-only. |
4015 |
@@@PerlDef: |
4016 |
__DEEP{ |
4017 |
$self-><M::DOMCore:Node.appendChild> |
4018 |
($r = $self-><AG::DOMCore:Node.ownerDocument> |
4019 |
-><M::DOMCore:Document.createElementNS> |
4020 |
(<Q::xhtml1:>, 'p')); |
4021 |
}__; |
4022 |
##HTMLBlockContainerExtended |
4023 |
|
4024 |
IF: |
4025 |
@ForCheck: !ManakaiDOM|all |
4026 |
|
4027 |
@IFQName: HTMLSectioningElementExtended |
4028 |
@ClsQName: ManakaiDOMHTMLSectioningElementExtended |
4029 |
@DOMMain:implementFeature: HTMLExtendedFeature30 |
4030 |
|
4031 |
@IFISA: HTMLBlockContainerExtended |
4032 |
@ClsISA: ManakaiDOMHTMLBlockContainerExtended |
4033 |
|
4034 |
@Method: |
4035 |
@@Name: appendNewSection |
4036 |
@@enDesc: |
4037 |
Appends a new <HE::section> element. |
4038 |
@@ImplNote: |
4039 |
@@@lang:en |
4040 |
@@@@: |
4041 |
Better method name? |
4042 |
@@Param: |
4043 |
@@@Name: title |
4044 |
@@@Type: DOMString |
4045 |
@@@enDesc: |
4046 |
The title text of the section. If this parameter is |
4047 |
specified, the newly created <HE::section> element |
4048 |
has a newly created heading element with a |
4049 |
text node whose <A::DOMCore:CharacterData.data> is set to <P::title>. |
4050 |
@@@nullCase: |
4051 |
@@@@enDesc: |
4052 |
The newly created section does not have an initial |
4053 |
heading element. |
4054 |
@@Return: |
4055 |
@@@Type: HTMLSectionElementExtended |
4056 |
@@@actualType: ManakaiDOMHTMLSectionElementExtended |
4057 |
@@@enDesc: |
4058 |
The newly created <HE::section> element. |
4059 |
@@@RaiseException: |
4060 |
@@@@@: MDOMX|NOMOD_THIS |
4061 |
@@@@enDesc: |
4062 |
This node is read-only. |
4063 |
@@@PerlDef: |
4064 |
__DEEP{ |
4065 |
$self-><M::DOMCore:Node.appendChild> |
4066 |
($r = $self-><AG::DOMCore:Node.ownerDocument> |
4067 |
-><M::DOMCore:Document.createElementNS> |
4068 |
(<Q::xhtml1:>, 'section')); |
4069 |
if (defined $title) { |
4070 |
$r-><M::DOMCore:Node.appendChild> |
4071 |
($self-><AG::DOMCore:Node.ownerDocument> |
4072 |
-><M::DOMCore:Document.createElementNS> |
4073 |
(<Q::xhtml1:>, 'h1')) |
4074 |
## TODO: Rank |
4075 |
-><AS::DOMCore:Node.textContent> ($title); |
4076 |
} |
4077 |
}__; |
4078 |
|
4079 |
@Attr: |
4080 |
@@Name: heading |
4081 |
@@enDesc: |
4082 |
The heading element for this section. |
4083 |
@@enImplNote: |
4084 |
{TODO:: Update as in Web Applications 1.0. |
4085 |
\ |
4086 |
} |
4087 |
@@Type: HTMLElement |
4088 |
@@Get: |
4089 |
@@@nullCase: |
4090 |
@@@@enDesc: |
4091 |
This sectioning element does not have a heading. |
4092 |
@@@PerlDef: |
4093 |
for my $co (@{$self->{<Q::TreeCore:node>}->{<Q::infoset:children>}}) { |
4094 |
if ($co->{<Q::DOMCore:nodeType>} eq <Q::infoset:Element> and |
4095 |
(<Code::isHTMLElemento:: $elementNodeo = $co, |
4096 |
$elementType = 'h1'> or |
4097 |
<Code::isHTMLElemento:: $elementNodeo = $co, |
4098 |
$elementType = 'h2'> or |
4099 |
<Code::isHTMLElemento:: $elementNodeo = $co, |
4100 |
$elementType = 'h3'> or |
4101 |
<Code::isHTMLElemento:: $elementNodeo = $co, |
4102 |
$elementType = 'h4'> or |
4103 |
<Code::isHTMLElemento:: $elementNodeo = $co, |
4104 |
$elementType = 'h5'> or |
4105 |
<Code::isHTMLElemento:: $elementNodeo = $co, |
4106 |
$elementType = 'h6'>)) { |
4107 |
$r = <ClassM::DOMCore:ManakaiDOMNode.getNodeReference> ($co); |
4108 |
last; |
4109 |
} |
4110 |
} |
4111 |
@@enImplNote: Should setter be defined as e.g. caption? |
4112 |
|
4113 |
@Method: |
4114 |
@@Name: createHeading |
4115 |
@@enDesc: |
4116 |
Creates a heading element and preprends as the first |
4117 |
child node of this element or returns an existing one. |
4118 |
@@enImplNote: |
4119 |
Should prepend or append? Rank? |
4120 |
@@Return: |
4121 |
@@@Type: HTMLHeadingElement |
4122 |
@@@enDesc: |
4123 |
A heading element. |
4124 |
@@@RaiseException: |
4125 |
@@@@@: MDOMX|NOMOD_THIS |
4126 |
@@@@enDesc: |
4127 |
This node is read-only. |
4128 |
@@@PerlDef: |
4129 |
A: { |
4130 |
for my $co (@{$self->{<Q::TreeCore:node>}->{<Q::infoset:children>}}) { |
4131 |
if ($co->{<Q::DOMCore:nodeType>} eq <Q::infoset:Element> and |
4132 |
(<Code::isHTMLElemento:: $elementNodeo = $co, |
4133 |
$elementType = 'h1'> or |
4134 |
<Code::isHTMLElemento:: $elementNodeo = $co, |
4135 |
$elementType = 'h2'> or |
4136 |
<Code::isHTMLElemento:: $elementNodeo = $co, |
4137 |
$elementType = 'h3'> or |
4138 |
<Code::isHTMLElemento:: $elementNodeo = $co, |
4139 |
$elementType = 'h4'> or |
4140 |
<Code::isHTMLElemento:: $elementNodeo = $co, |
4141 |
$elementType = 'h5'> or |
4142 |
<Code::isHTMLElemento:: $elementNodeo = $co, |
4143 |
$elementType = 'h6'>)) { |
4144 |
$r = <ClassM::DOMCore:ManakaiDOMNode.getNodeReference> ($co); |
4145 |
last A; |
4146 |
} |
4147 |
} |
4148 |
|
4149 |
## Not found |
4150 |
__DEEP{ |
4151 |
$r = $self-><M::DOMCore:Node.insertBefore> |
4152 |
($self-><AG::DOMCore:Node.ownerDocument> |
4153 |
-><M::DOMCore:Document.createElementNS> |
4154 |
(<Q::xhtml1:>, 'h1'), |
4155 |
$self-><AG::DOMCore:Node.firstChild>); |
4156 |
}__; |
4157 |
} |
4158 |
##HTMLSectioningElementExtended |
4159 |
|
4160 |
ElementTypeBinding: |
4161 |
@Name: enImplNote |
4162 |
@ElementType: |
4163 |
dis:ImplNote |
4164 |
@ShadowContent: |
4165 |
@@lang:en |
4166 |
|
4167 |
H5ETX: |
4168 |
@ETQName: xhtml1|section |
4169 |
@IFQName: HTMLSectionElementExtended |
4170 |
@ClsQName: ManakaiDOMHTMLSectionElementExtended |
4171 |
|
4172 |
@IFISA: HTMLSectioningElementExtended |
4173 |
@ClsISA: ManakaiDOMHTMLSectioningElementExtended |
4174 |
@ISAHTMLElement: |
4175 |
##HTMLSectionElementExtended |
4176 |
|
4177 |
ElementTypeBinding: |
4178 |
@Name: nullCase |
4179 |
@ElementType: |
4180 |
dis:ResourceDef |
4181 |
@ShadowContent: |
4182 |
@@rdf:type: ManakaiDOM|InCase |
4183 |
@@Value: |
4184 |
@@@is-null:1 |
4185 |
|
4186 |
IfCls1ETDef: |
4187 |
@ETQName: |
4188 |
xhtml1:body |
4189 |
@IFQName: HTMLBodyElement |
4190 |
@ClsQName: ManakaiDOMHTMLBodyElement |
4191 |
@ISAHTMLElement: |
4192 |
|
4193 |
@ATTR: |
4194 |
@@AName: alink |
4195 |
@@DOMAName: aLink |
4196 |
@@plAName: alink |
4197 |
@@Deprecated: |
4198 |
@@ReflectCDATA: |
4199 |
@@Get: |
4200 |
@@Set: |
4201 |
@ATTR: |
4202 |
@@Name: background |
4203 |
@@Deprecated: |
4204 |
@@ReflectURI: |
4205 |
@@Get: |
4206 |
@@Set: |
4207 |
@ATTR: |
4208 |
@@DOMAName: bgColor |
4209 |
@@AName: bgcolor |
4210 |
@@plAName: bgcolor |
4211 |
@@Deprecated: |
4212 |
@@ReflectCDATA: |
4213 |
@@Get: |
4214 |
@@Set: |
4215 |
@ATTR: |
4216 |
@@Name: link |
4217 |
@@Deprecated: |
4218 |
@@ReflectCDATA: |
4219 |
@@Get: |
4220 |
@@Set: |
4221 |
@ATTR: |
4222 |
@@Name: text |
4223 |
@@Deprecated: |
4224 |
@@ReflectCDATA: |
4225 |
@@Get: |
4226 |
@@Set: |
4227 |
@Attr: |
4228 |
@@DOMAName: vLink |
4229 |
@@AName: vlink |
4230 |
@@plAName: vlink |
4231 |
@@Deprecated: |
4232 |
@@ReflectCDATA: |
4233 |
@@Get: |
4234 |
@@Set: |
4235 |
##HTMLBodyElement |
4236 |
|
4237 |
IF: |
4238 |
@ForCheck: !ManakaiDOM|all |
4239 |
|
4240 |
@IFQName: HTMLBodyElementExtended |
4241 |
@ClsQName: ManakaiDOMHTMLBodyElementExtended |
4242 |
|
4243 |
@IFISA: HTMLSectioningElementExtended |
4244 |
@ClsISA: ManakaiDOMHTMLSectioningElementExtended |
4245 |
@ClsISA: ManakaiDOMHTMLBodyElement |
4246 |
##HTMLBodyElementExtended |
4247 |
|
4248 |
ImplNote: |
4249 |
@@lang:en |
4250 |
@@@: |
4251 |
<IF::HTMLFormElement>, <IF::HTMLSelectElement>, |
4252 |
<IF::HTMLOptionElement>, <IF::HTMLOptGroupElement>, |
4253 |
<IF::HTMLInputElement>, <IF::HTMLTextAreaElement>, |
4254 |
<IF::HTMLButtonElement>, <IF::HTMLFieldSetElement>, |
4255 |
<IF::HTMLLegendElement>: See <Module::MDOM:DOMWebForms>. |
4256 |
|
4257 |
FeatureDef: |
4258 |
@QName: HTMLExtendedFeature |
4259 |
@featureQName: ManakaiDOM|HTML |
4260 |
@FeatureVerDef: |
4261 |
@@QName: HTMLExtendedFeature30 |
4262 |
@@enDesc: |
4263 |
Extended interfaces. |
4264 |
@@DOMMain:requireFeature: HTMLFeature20 |
4265 |
@@DOMMain:requireFeature: DOMCore|CoreFeature30 |
4266 |
@@DOMMetaImpl:instanceFeatureOf: HTMLExtendedFeature |
4267 |
@@Version: 3.0 |
4268 |
|
4269 |
IF: |
4270 |
@ForCheck: !ManakaiDOM|all |
4271 |
|
4272 |
@IFQName: HTMLListElementExtended |
4273 |
@ClsQName: ManakaiDOMHTMLListElementExtended |
4274 |
@DOMMain:implementFeature: HTMLExtendedFeature30 |
4275 |
|
4276 |
@Method: |
4277 |
@@Name: insertItem |
4278 |
@@enDesc: |
4279 |
Inserts a new empty item in the list. The new item is |
4280 |
inserted immediately before the current <P::index>th |
4281 |
item in the list. |
4282 |
\ |
4283 |
If this node is a <HE::dl> element, a pair of |
4284 |
<HE::dt> element and <HE::dd> element is |
4285 |
inserted immediately before the <P::index>th <HE::dt> element. |
4286 |
Otherwise, a <HE::li> element is inserted |
4287 |
immediately before the <P::index>th <HE::li> element. |
4288 |
@@enImplNote: |
4289 |
This behaviour may be changed if the HTML5 introduces |
4290 |
the <QUOTE::di> element type which contains pair of <HE::dt> |
4291 |
and <HE::dd> elements. |
4292 |
@@Param: |
4293 |
@@@Name:index |
4294 |
@@@Type:DOMMain|long||ManakaiDOM|all |
4295 |
@@@enDesc: |
4296 |
The item number where to insert a new item. |
4297 |
The index starts from <DOM::0>. |
4298 |
@@@InCase: |
4299 |
@@@@enLabel: |
4300 |
<DOM::-1> or equal to the number of items |
4301 |
@@@@enDesc: |
4302 |
The new item is appended. |
4303 |
@@Return: |
4304 |
@@@Type: HTMLElement |
4305 |
@@@actualType: ManakaiDOMHTMLElement |
4306 |
@@@enDesc: |
4307 |
The newly created element. If this node is a <HE::dl> |
4308 |
element, the newly created <HE::dt> element is returned. |
4309 |
Otherwise, the <HE::li> element is returned. |
4310 |
@@@RaiseException: |
4311 |
@@@@@: MDOMX|NOMOD_THIS |
4312 |
@@@@enDesc: |
4313 |
This node is read-only. |
4314 |
@@@RaiseException: |
4315 |
@@@@@: DOMCore|DOMException.INDEX_SIZE_ERR |
4316 |
@@@@enDesc: |
4317 |
If the specified <P::index> is greater than |
4318 |
the number of rows or if the <P::index> is a negative |
4319 |
number other than <DOM::-1>. |
4320 |
@@@PerlDef: |
4321 |
@@@@ImplNote: |
4322 |
@@@@@lang:en |
4323 |
@@@@@@: |
4324 |
For non-<HE::dl> elements. |
4325 |
@@@@@: |
4326 |
if ($self->{<Q::TreeCore:node>}->{<Q::DOMCore:read-only>}) { |
4327 |
__EXCEPTION{ |
4328 |
MDOMX:NOMOD_THIS:: |
4329 |
}__; |
4330 |
} |
4331 |
|
4332 |
my $before; |
4333 |
my $after; |
4334 |
__CODE{splitChildrenByElementIndex:: |
4335 |
$children => {[@{$self->{<Q::TreeCore:node>} |
4336 |
->{<Q::infoset:children>}}]}, |
4337 |
$before => $before, $after => $after, |
4338 |
$elementType => 'li', $index => $index, |
4339 |
}__; |
4340 |
|
4341 |
__DEEP{ |
4342 |
$r = $self-><AG::DOMCore:Node.ownerDocument> |
4343 |
-><M::DOMCore:Document.createElementNS> |
4344 |
(<Q::xhtml1:>, 'li'); |
4345 |
}__; |
4346 |
$self->{<Q::TreeCore:node>}-><M::NodeStem.importTree> |
4347 |
($r->{<Q::TreeCore:node>}); |
4348 |
$r->{<Q::TreeCore:node>}->{<Q::infoset:parent>} |
4349 |
= $self->{<Q::TreeCore:node>}; |
4350 |
$self->{<Q::TreeCore:node>}->{<Q::infoset:children>} |
4351 |
= [@$before, $r->{<Q::TreeCore:node>}, @$after]; |
4352 |
|
4353 |
##HTMLListElementExtended |
4354 |
|
4355 |
ElementTypeBinding: |
4356 |
@Name: IFISA |
4357 |
@ElementType: |
4358 |
dis:ISA |
4359 |
@ShadowContent: |
4360 |
@@ForCheck: ManakaiDOM|ForIF |
4361 |
|
4362 |
ElementTypeBinding: |
4363 |
@Name: ClsISA |
4364 |
@ElementType: |
4365 |
dis:ISA |
4366 |
@ShadowContent: |
4367 |
@@ForCheck: ManakaiDOM|ForClass |
4368 |
|
4369 |
IF: |
4370 |
@For: !ManakaiDOM|all |
4371 |
|
4372 |
@IFQName: HTMLUListElementExtended |
4373 |
@ClsQName: ManakaiDOMHTMLUListElementExtended |
4374 |
@DOMMain:implementFeature: HTMLExtendedFeature30 |
4375 |
|
4376 |
@IFISA: HTMLListElementExtended |
4377 |
|
4378 |
@ClsISA: ManakaiDOMHTMLListElementExtended |
4379 |
@ClsISA: ManakaiDOMHTMLUListElement |
4380 |
##HTMLUListElementExtended |
4381 |
|
4382 |
IF: |
4383 |
@For: !ManakaiDOM|all |
4384 |
|
4385 |
@IFQName: HTMLOListElementExtended |
4386 |
@ClsQName: ManakaiDOMHTMLOListElementExtended |
4387 |
@DOMMain:implementFeature: HTMLExtendedFeature30 |
4388 |
|
4389 |
@IFISA: HTMLListElementExtended |
4390 |
|
4391 |
@ClsISA: ManakaiDOMHTMLListElementExtended |
4392 |
@ClsISA: ManakaiDOMHTMLOListElement |
4393 |
##HTMLOListElementExtended |
4394 |
|
4395 |
IF: |
4396 |
@For: !ManakaiDOM|all |
4397 |
|
4398 |
@IFQName: HTMLDListElementExtended |
4399 |
@ClsQName: ManakaiDOMHTMLDListElementExtended |
4400 |
@DOMMain:implementFeature: HTMLExtendedFeature30 |
4401 |
|
4402 |
@IFISA: HTMLListElementExtended |
4403 |
|
4404 |
@ClsISA: ManakaiDOMHTMLListElementExtended |
4405 |
@ClsISA: ManakaiDOMHTMLDListElement |
4406 |
|
4407 |
@Method: |
4408 |
@@Name: insertItem |
4409 |
@@ManakaiDOM:isRedefining:1 |
4410 |
@@ForCheck: ManakaiDOM|ForClass |
4411 |
@@enDesc: |
4412 |
Inserts a new empty pair of <HE::dt> and |
4413 |
<HE::dd> elements in the list. The new item is |
4414 |
inserted immediately before the current <P::index>th |
4415 |
<HE::dt> element in the list. |
4416 |
@@Param: |
4417 |
@@@Name:index |
4418 |
@@@Type:DOMMain|long||ManakaiDOM|all |
4419 |
@@@enDesc: |
4420 |
The item number where to insert a new item. |
4421 |
The index starts from <DOM::0>. |
4422 |
@@@InCase: |
4423 |
@@@@enLabel: |
4424 |
<DOM::-1> or equal to the number of items |
4425 |
@@@@enDesc: |
4426 |
The new item is appended. |
4427 |
@@Return: |
4428 |
@@@Type: HTMLElement |
4429 |
@@@actualType: ManakaiDOMHTMLElement |
4430 |
@@@enDesc: |
4431 |
The newly created <HE::dt> element. Note that |
4432 |
the new <HE::dd> element can be obtained by |
4433 |
<AG::DOMCore:Node.nextSibling> attribute of the returned |
4434 |
node. |
4435 |
@@@RaiseException: |
4436 |
@@@@@: MDOMX|NOMOD_THIS |
4437 |
@@@@enDesc: |
4438 |
This node is read-only. |
4439 |
@@@RaiseException: |
4440 |
@@@@@: DOMCore|DOMException.INDEX_SIZE_ERR |
4441 |
@@@@enDesc: |
4442 |
If the specified <P::index> is greater than |
4443 |
the number of rows or if the <P::index> is a negative |
4444 |
number other than <DOM::-1>. |
4445 |
@@@PerlDef: |
4446 |
@@@@ImplNote: |
4447 |
@@@@@lang:en |
4448 |
@@@@@@: |
4449 |
For non-<HE::dl> elements. |
4450 |
@@@@@: |
4451 |
if ($self->{<Q::TreeCore:node>}->{<Q::DOMCore:read-only>}) { |
4452 |
__EXCEPTION{ |
4453 |
MDOMX:NOMOD_THIS:: |
4454 |
}__; |
4455 |
} |
4456 |
|
4457 |
my $before; |
4458 |
my $after; |
4459 |
__CODE{splitChildrenByElementIndex:: |
4460 |
$children => {[@{$self->{<Q::TreeCore:node>} |
4461 |
->{<Q::infoset:children>}}]}, |
4462 |
$before => $before, $after => $after, |
4463 |
$elementType => 'dt', $index => $index, |
4464 |
}__; |
4465 |
|
4466 |
my $dd; |
4467 |
__DEEP{ |
4468 |
my $od = $self-><AG::DOMCore:Node.ownerDocument>; |
4469 |
$r = $od-><M::DOMCore:Document.createElementNS> |
4470 |
(<Q::xhtml1:>, 'dt'); |
4471 |
$dd = $od-><M::DOMCore:Document.createElementNS> |
4472 |
(<Q::xhtml1:>, 'dd'); |
4473 |
}__; |
4474 |
$self->{<Q::TreeCore:node>}-><M::NodeStem.importTree> |
4475 |
($r->{<Q::TreeCore:node>}); |
4476 |
$r->{<Q::TreeCore:node>}->{<Q::infoset:parent>} |
4477 |
= $self->{<Q::TreeCore:node>}; |
4478 |
$self->{<Q::TreeCore:node>}-><M::NodeStem.importTree> |
4479 |
($dd->{<Q::TreeCore:node>}); |
4480 |
$dd->{<Q::TreeCore:node>}->{<Q::infoset:parent>} |
4481 |
= $self->{<Q::TreeCore:node>}; |
4482 |
$self->{<Q::TreeCore:node>}->{<Q::infoset:children>} |
4483 |
= [@$before, $r->{<Q::TreeCore:node>}, |
4484 |
$dd->{<Q::TreeCore:node>}, @$after]; |
4485 |
|
4486 |
##HTMLDListElementExtended |
4487 |
|
4488 |
ResourceDef: |
4489 |
@QName: splitChildrenByElementIndex |
4490 |
@rdf:type: dis2pm|BlockCode |
4491 |
@enDesc: |
4492 |
Splits a child node list into two groups: nodes before |
4493 |
<P::index>th <P::elementType> element node (not inclusive) and |
4494 |
any remind nodes. |
4495 |
@PerlCDef: |
4496 |
my $__i = 0; |
4497 |
$before = []; |
4498 |
$after = $children; |
4499 |
FIND: { |
4500 |
if ($index == -1) { |
4501 |
$before = $after; |
4502 |
$after = []; |
4503 |
last FIND; |
4504 |
} |
4505 |
while (my $__co = shift @$after) { |
4506 |
if ($__co->{<Q::DOMCore:nodeType>} eq <Q::infoset:Element> and |
4507 |
<Code::isHTMLElemento:: $elementNodeo = $__co, |
4508 |
$elementType = $elementType>) { |
4509 |
if ($index == $__i++) { ## Position found |
4510 |
unshift @$after, $__co; |
4511 |
last FIND; |
4512 |
} else { |
4513 |
push @$before, $__co; |
4514 |
} |
4515 |
} else { |
4516 |
push @$before, $__co; |
4517 |
} |
4518 |
} |
4519 |
last FIND if $index == $__i; ## Equal to number |
4520 |
|
4521 |
__EXCEPTION{DOMCore:ManakaiDOMException.INDEX_SIZE_ERR:: |
4522 |
MDOMX:param-name => 'index', |
4523 |
}__ |
4524 |
} # FIND |
4525 |
@For: ManakaiDOM|ManakaiDOM |
4526 |
|
4527 |
ElementTypeBinding: |
4528 |
@Name: enLabel |
4529 |
@ElementType: |
4530 |
dis:Label |
4531 |
@ShadowContent: |
4532 |
@@lang:en |
4533 |
|
4534 |
IfCls1ETDef: |
4535 |
@ETQName: |
4536 |
xhtml1:ul |
4537 |
@IFQName: HTMLUListElement |
4538 |
@ClsQName: ManakaiDOMHTMLUListElement |
4539 |
@ISAHTMLElement: |
4540 |
|
4541 |
@ATTR: |
4542 |
@@Name: compact |
4543 |
@@Deprecated: |
4544 |
@@ReflectBoolean: |
4545 |
@@Get: |
4546 |
@@@InCase: |
4547 |
@@@@Value: true |
4548 |
@@@InCase: |
4549 |
@@@@Value: false |
4550 |
@@Set: |
4551 |
@@@InCase: |
4552 |
@@@@Value: true |
4553 |
@@@InCase: |
4554 |
@@@@Value: false |
4555 |
@ATTR: |
4556 |
@@Name: type |
4557 |
@@Deprecated: |
4558 |
@@ReflectCDATA: |
4559 |
@@Get: |
4560 |
@@Set: |
4561 |
|
4562 |
IfCls1ETDef: |
4563 |
@ETQName: |
4564 |
xhtml1:ol |
4565 |
@IFQName: HTMLOListElement |
4566 |
@ClsQName:ManakaiDOMHTMLOListElement |
4567 |
@ISAHTMLElement: |
4568 |
|
4569 |
@ATTR: |
4570 |
@@Name: compact |
4571 |
@@Deprecated: |
4572 |
@@ReflectBoolean: |
4573 |
@@Get: |
4574 |
@@@InCase: |
4575 |
@@@@Value: true |
4576 |
@@@InCase: |
4577 |
@@@@Value: false |
4578 |
@@Set: |
4579 |
@@@InCase: |
4580 |
@@@@Value: true |
4581 |
@@@InCase: |
4582 |
@@@@Value: false |
4583 |
@ATTR: |
4584 |
@@Name: start |
4585 |
@@Deprecated: |
4586 |
@@ReflectNumeric: |
4587 |
@@Get: |
4588 |
@@Set: |
4589 |
@Attr: |
4590 |
@@Name: type |
4591 |
@@Deprecated: |
4592 |
@@ReflectCDATA: |
4593 |
@@Get: |
4594 |
@@Set: |
4595 |
|
4596 |
IfCls1ETDef: |
4597 |
@ETQName: |
4598 |
xhtml1:dl |
4599 |
@IFQName: HTMLDListElement |
4600 |
@ClsQName: ManakaiDOMHTMLDListElement |
4601 |
@ISAHTMLElement: |
4602 |
|
4603 |
@ATTR: |
4604 |
@@Name: compact |
4605 |
@@Deprecated: |
4606 |
@@ReflectBoolean: |
4607 |
@@Get: |
4608 |
@@@InCase: |
4609 |
@@@@Value: true |
4610 |
@@@InCase: |
4611 |
@@@@Value: false |
4612 |
@@Set: |
4613 |
@@@InCase: |
4614 |
@@@@Value: true |
4615 |
@@@InCase: |
4616 |
@@@@Value: false |
4617 |
|
4618 |
IfCls1ETDef: |
4619 |
@ETQName: |
4620 |
xhtml1:dir |
4621 |
@IFQName: HTMLDirectoryElement |
4622 |
@ClsQName: ManakaiDOMHTMLDirectoryElement |
4623 |
@ISAHTMLElement: |
4624 |
@Deprecated: |
4625 |
|
4626 |
@Attr: |
4627 |
@@Name: compact |
4628 |
@@Deprecated: |
4629 |
@@ReflectBoolean: |
4630 |
@@Get: |
4631 |
@@@InCase: |
4632 |
@@@@Value: true |
4633 |
@@@InCase: |
4634 |
@@@@Value: false |
4635 |
@@Set: |
4636 |
@@@InCase: |
4637 |
@@@@Value: true |
4638 |
@@@InCase: |
4639 |
@@@@Value: false |
4640 |
|
4641 |
IfCls1ETDef: |
4642 |
@ETQName: |
4643 |
xhtml1:menu |
4644 |
@IFQName: HTMLMenuElement |
4645 |
@ClsQName: ManakaiDOMHTMLMenuElement |
4646 |
@ISAHTMLElement: |
4647 |
@Deprecated: |
4648 |
|
4649 |
@ATTR: |
4650 |
@@Name: compact |
4651 |
@@Deprecated: |
4652 |
@@ReflectBoolean: |
4653 |
@@Get: |
4654 |
@@@InCase: |
4655 |
@@@@Value: true |
4656 |
@@@InCase: |
4657 |
@@@@Value: false |
4658 |
@@Set: |
4659 |
@@@InCase: |
4660 |
@@@@Value: true |
4661 |
@@@InCase: |
4662 |
@@@@Value: false |
4663 |
|
4664 |
IfCls1ETDef: |
4665 |
@ETQName: |
4666 |
xhtml1:li |
4667 |
@IFQName: HTMLLIElement |
4668 |
@ClsQName: ManakaiDOMHTMLLIElement |
4669 |
@ISAHTMLElement: |
4670 |
|
4671 |
@ATTR: |
4672 |
@@Name: type |
4673 |
@@Deprecated: |
4674 |
@@ReflectCDATA: |
4675 |
@@Get: |
4676 |
@@Set: |
4677 |
@Attr: |
4678 |
@@Name: value |
4679 |
@@Deprecated: |
4680 |
@@ReflectNumeric: |
4681 |
@@Get: |
4682 |
@@Set: |
4683 |
|
4684 |
IfCls1ETDef: |
4685 |
@ETQName: |
4686 |
xhtml1:div |
4687 |
@IFQName: HTMLDivElement |
4688 |
@ClsQName: ManakaiDOMHTMLDivElement |
4689 |
@ISAHTMLElement: |
4690 |
|
4691 |
@ATTR: |
4692 |
@@Name: align |
4693 |
@@Deprecated: |
4694 |
@@ReflectEnum: |
4695 |
@@Get: |
4696 |
@@Set: |
4697 |
|
4698 |
IfCls1ETDef: |
4699 |
@ETQName: |
4700 |
xhtml1:p |
4701 |
@IFQName: HTMLParagraphElement |
4702 |
@ClsQName: ManakaiDOMHTMLParagraphElement |
4703 |
@ISAHTMLElement: |
4704 |
|
4705 |
@ATTR: |
4706 |
@@Name: align |
4707 |
@@Deprecated: |
4708 |
@@ReflectEnum: |
4709 |
@@Get: |
4710 |
@@Set: |
4711 |
|
4712 |
ForDef: |
4713 |
@QName: DOMHTML|ForAnET |
4714 |
ForDef: |
4715 |
@QName: |
4716 |
DOMHTML:ForH1 |
4717 |
@ISA: DOMHTML|ForAnET |
4718 |
ForDef: |
4719 |
@QName: |
4720 |
DOMHTML:ForH2 |
4721 |
@ISA: DOMHTML|ForAnET |
4722 |
ForDef: |
4723 |
@QName: |
4724 |
DOMHTML:ForH3 |
4725 |
@ISA: DOMHTML|ForAnET |
4726 |
ForDef: |
4727 |
@QName: |
4728 |
DOMHTML:ForH4 |
4729 |
@ISA: DOMHTML|ForAnET |
4730 |
ForDef: |
4731 |
@QName: |
4732 |
DOMHTML:ForH5 |
4733 |
@ISA: DOMHTML|ForAnET |
4734 |
ForDef: |
4735 |
@QName: |
4736 |
DOMHTML:ForH6 |
4737 |
@ISA: DOMHTML|ForAnET |
4738 |
|
4739 |
IF: |
4740 |
@For: !ManakaiDOM|all |
4741 |
|
4742 |
@IFQName: HTMLParagraphElementExtended |
4743 |
@ClsQName: ManakaiDOMHTMLParagraphElementExtended |
4744 |
@DOMMain:implementFeature: HTMLExtendedFeature30 |
4745 |
|
4746 |
@IFISA: HTMLBlockContainerExtended |
4747 |
@IFISA: HTMLParagraphElement |
4748 |
|
4749 |
@ClsISA: ManakaiDOMHTMLBlockContainerExtended |
4750 |
@ClsISA: ManakaiDOMHTMLParagraphElement |
4751 |
##HTMLParagraphElementExtended |
4752 |
|
4753 |
IF: |
4754 |
@For: !ManakaiDOM|all |
4755 |
|
4756 |
@IFQName: HTMLHeadingElementExtended |
4757 |
@ClsQName: ManakaiDOMHTMLHeadingElementExtended |
4758 |
@DOMMain:implementFeature: HTMLExtendedFeature30 |
4759 |
|
4760 |
@IFISA: HTMLStrictlyInlineContainerExtended |
4761 |
@IFISA: HTMLHeadingElement |
4762 |
|
4763 |
@ClsISA: ManakaiDOMHTMLStrictlyInlineContainerExtended |
4764 |
@ClsISA: ManakaiDOMHTMLHeadingElement |
4765 |
##HTMLHeadingElementExtended |
4766 |
|
4767 |
IfCls1ETsDef: |
4768 |
@rdf:type: |
4769 |
@@@: |
4770 |
dis:MultipleResource |
4771 |
@@For: ForHTML |
4772 |
@@ForCheck: |
4773 |
!ManakaiDOM:ForIF !ManakaiDOM:ForClass |
4774 |
!ForH1 !ForH2 !ForH3 !ForH4 !ForH5 !ForH6 |
4775 |
@resourceFor: |
4776 |
@@@: ForH1 |
4777 |
@@For: ForHTML |
4778 |
@resourceFor: |
4779 |
@@@: ForH2 |
4780 |
@@For: ForHTML |
4781 |
@resourceFor: |
4782 |
@@@: ForH3 |
4783 |
@@For: ForHTML |
4784 |
@resourceFor: |
4785 |
@@@: ForH4 |
4786 |
@@For: ForHTML |
4787 |
@resourceFor: |
4788 |
@@@: ForH5 |
4789 |
@@For: ForHTML |
4790 |
@resourceFor: |
4791 |
@@@: ForH6 |
4792 |
@@For: ForHTML |
4793 |
@rdf:type: |
4794 |
@@@: s|ElementType |
4795 |
@@ForCheck: ForAnET |
4796 |
|
4797 |
@ETQName: |
4798 |
@@@: |
4799 |
xhtml1:h1 |
4800 |
@@ForCheck: ForH1 |
4801 |
@ETQName: |
4802 |
@@@: |
4803 |
xhtml1:h2 |
4804 |
@@ForCheck: ForH2 |
4805 |
@ETQName: |
4806 |
@@@: |
4807 |
xhtml1:h3 |
4808 |
@@ForCheck: ForH3 |
4809 |
@ETQName: |
4810 |
@@@: |
4811 |
xhtml1:h4 |
4812 |
@@ForCheck: ForH4 |
4813 |
@ETQName: |
4814 |
@@@: |
4815 |
xhtml1:h5 |
4816 |
@@ForCheck: ForH5 |
4817 |
@ETQName: |
4818 |
@@@: |
4819 |
xhtml1:h6 |
4820 |
@@ForCheck: ForH6 |
4821 |
|
4822 |
@s:elementType: |
4823 |
@@@: ||ForHTML40SE||ForH1 |
4824 |
@@ForCheck: ManakaiDOM|DOM1 !ManakaiDOM|DOM2 |
4825 |
@@ContentType: DISCore|TFPQNames |
4826 |
@@DISCore:stopISARecursive:1 |
4827 |
@s:elementType: |
4828 |
@@@: ||ForHTML401||ForH1 |
4829 |
@@ForCheck: ManakaiDOM|DOM2 |
4830 |
@@ContentType: DISCore|TFPQNames |
4831 |
@@DISCore:stopISARecursive:1 |
4832 |
@s:elementType: |
4833 |
@@@: ||ForXHTML10SE||ForH1 |
4834 |
@@ForCheck: ManakaiDOM|DOM2 |
4835 |
@@ContentType: DISCore|TFPQNames |
4836 |
@@DISCore:stopISARecursive:1 |
4837 |
@s:elementType: |
4838 |
@@@: ||ForHTML40SE||ForH2 |
4839 |
@@ForCheck: ManakaiDOM|DOM1 !ManakaiDOM|DOM2 |
4840 |
@@ContentType: DISCore|TFPQNames |
4841 |
@s:elementType: |
4842 |
@@@: ||ForHTML401||ForH2 |
4843 |
@@ForCheck: ManakaiDOM|DOM2 |
4844 |
@@ContentType: DISCore|TFPQNames |
4845 |
@s:elementType: |
4846 |
@@@: ||ForXHTML10SE||ForH2 |
4847 |
@@ForCheck: ManakaiDOM|DOM2 |
4848 |
@@ContentType: DISCore|TFPQNames |
4849 |
@s:elementType: |
4850 |
@@@: ||ForHTML40SE||ForH3 |
4851 |
@@ForCheck: ManakaiDOM|DOM1 !ManakaiDOM|DOM2 |
4852 |
@@ContentType: DISCore|TFPQNames |
4853 |
@s:elementType: |
4854 |
@@@: ||ForHTML401||ForH3 |
4855 |
@@ForCheck: ManakaiDOM|DOM2 |
4856 |
@@ContentType: DISCore|TFPQNames |
4857 |
@s:elementType: |
4858 |
@@@: ||ForXHTML10SE||ForH3 |
4859 |
@@ForCheck: ManakaiDOM|DOM2 |
4860 |
@@ContentType: DISCore|TFPQNames |
4861 |
@s:elementType: |
4862 |
@@@: ||ForHTML40SE||ForH4 |
4863 |
@@ForCheck: ManakaiDOM|DOM1 !ManakaiDOM|DOM2 |
4864 |
@@ContentType: DISCore|TFPQNames |
4865 |
@s:elementType: |
4866 |
@@@: ||ForHTML401||ForH4 |
4867 |
@@ForCheck: ManakaiDOM|DOM2 |
4868 |
@@ContentType: DISCore|TFPQNames |
4869 |
@s:elementType: |
4870 |
@@@: ||ForXHTML10SE||ForH4 |
4871 |
@@ForCheck: ManakaiDOM|DOM2 |
4872 |
@@ContentType: DISCore|TFPQNames |
4873 |
@s:elementType: |
4874 |
@@@: ||ForHTML40SE||ForH5 |
4875 |
@@ForCheck: ManakaiDOM|DOM1 !ManakaiDOM|DOM2 |
4876 |
@@ContentType: DISCore|TFPQNames |
4877 |
@s:elementType: |
4878 |
@@@: ||ForHTML401||ForH5 |
4879 |
@@ForCheck: ManakaiDOM|DOM2 |
4880 |
@@ContentType: DISCore|TFPQNames |
4881 |
@s:elementType: |
4882 |
@@@: ||ForXHTML10SE||ForH5 |
4883 |
@@ForCheck: ManakaiDOM|DOM2 |
4884 |
@@ContentType: DISCore|TFPQNames |
4885 |
@s:elementType: |
4886 |
@@@: ||ForHTML40SE||ForH6 |
4887 |
@@ForCheck: ManakaiDOM|DOM1 !ManakaiDOM|DOM2 |
4888 |
@@ContentType: DISCore|TFPQNames |
4889 |
@s:elementType: |
4890 |
@@@: ||ForHTML401||ForH6 |
4891 |
@@ForCheck: ManakaiDOM|DOM2 |
4892 |
@@ContentType: DISCore|TFPQNames |
4893 |
@s:elementType: |
4894 |
@@@: ||ForXHTML10SE||ForH6 |
4895 |
@@ForCheck: ManakaiDOM|DOM2 |
4896 |
@@ContentType: DISCore|TFPQNames |
4897 |
|
4898 |
@IFQName: HTMLHeadingElement |
4899 |
@ClsQName: ManakaiDOMHTMLHeadingElement |
4900 |
@ISAHTMLElement: |
4901 |
|
4902 |
@Attrs: |
4903 |
@@Name: align |
4904 |
@@docAttrP1S: ||ForHTML40SE||ForH1 |
4905 |
@@docAttrP2S: ||ForHTML401||ForH1 |
4906 |
@@docAttrP2X: ||ForXHTML10SE||ForH1 |
4907 |
@@docAttrP1S: ||ForHTML40SE||ForH2 |
4908 |
@@docAttrP2S: ||ForHTML401||ForH2 |
4909 |
@@docAttrP2X: ||ForXHTML10SE||ForH2 |
4910 |
@@docAttrP1S: ||ForHTML40SE||ForH3 |
4911 |
@@docAttrP2S: ||ForHTML401||ForH3 |
4912 |
@@docAttrP2X: ||ForXHTML10SE||ForH3 |
4913 |
@@docAttrP1S: ||ForHTML40SE||ForH4 |
4914 |
@@docAttrP2S: ||ForHTML401||ForH4 |
4915 |
@@docAttrP2X: ||ForXHTML10SE||ForH4 |
4916 |
@@docAttrP1S: ||ForHTML40SE||ForH5 |
4917 |
@@docAttrP2S: ||ForHTML401||ForH5 |
4918 |
@@docAttrP2X: ||ForXHTML10SE||ForH5 |
4919 |
@@docAttrP1S: ||ForHTML40SE||ForH6 |
4920 |
@@docAttrP2S: ||ForHTML401||ForH6 |
4921 |
@@docAttrP2X: ||ForXHTML10SE||ForH6 |
4922 |
@@Deprecated: |
4923 |
@@ReflectEnum: |
4924 |
@@Get: |
4925 |
@@Set: |
4926 |
|
4927 |
ElementTypeBinding: |
4928 |
@Name: docAttrP1S |
4929 |
@ElementType: |
4930 |
dis:DocAttr |
4931 |
@ShadowContent: |
4932 |
@@ForCheck: ManakaiDOM|DOM1 !ManakaiDOM|DOM2 |
4933 |
@@ContentType: DISCore|TFPQNames |
4934 |
ElementTypeBinding: |
4935 |
@Name: docAttrP2S |
4936 |
@ElementType: |
4937 |
dis:DocAttr |
4938 |
@ShadowContent: |
4939 |
@@ForCheck: ManakaiDOM|DOM2 |
4940 |
@@ContentType: DISCore|TFPQNames |
4941 |
ElementTypeBinding: |
4942 |
@Name: docAttrP2X |
4943 |
@ElementType: |
4944 |
dis:DocAttr |
4945 |
@ShadowContent: |
4946 |
@@ForCheck: ManakaiDOM|DOM2 |
4947 |
@@ContentType: DISCore|TFPQNames |
4948 |
|
4949 |
IFDef: |
4950 |
@IFQName: HTMLBlockquoteElement |
4951 |
@IFISA: HTMLElement |
4952 |
|
4953 |
@Description: |
4954 |
@@lang:en |
4955 |
@@@: |
4956 |
The <IF::HTMLBlockquoteElement> interface was contained |
4957 |
in the DOM Level 1 First Edition by error. The |
4958 |
<IF::HTMLQuoteElement> interface should must used instead. |
4959 |
<SRC::DOM Level 1 Errata> |
4960 |
@Attr: |
4961 |
@@Name:cite |
4962 |
@@Get: |
4963 |
@@@Type: |
4964 |
DOMMain:DOMString |
4965 |
@@Set: |
4966 |
@@@Type: |
4967 |
DOMMain:DOMString |
4968 |
@ForCheck: |
4969 |
=ManakaiDOM:DOM1 |
4970 |
|
4971 |
ForDef: |
4972 |
@QName: |
4973 |
DOMHTML:ForBlockquote |
4974 |
@ISA: DOMHTML|ForAnET |
4975 |
ForDef: |
4976 |
@QName: |
4977 |
DOMHTML:ForQ |
4978 |
@ISA: DOMHTML|ForAnET |
4979 |
|
4980 |
IfCls1ETsDef: |
4981 |
@rdf:type: |
4982 |
@@@: |
4983 |
dis:MultipleResource |
4984 |
@@ForCheck: ForHTML |
4985 |
@@ForCheck: |
4986 |
!ManakaiDOM:ForIF !ManakaiDOM:ForClass |
4987 |
!ForBlockquote !ForQ |
4988 |
@resourceFor: |
4989 |
@@@:ForBlockquote |
4990 |
@@ForCheck:ForHTML |
4991 |
@resourceFor: |
4992 |
@@@:ForQ |
4993 |
@@ForCheck:ForHTML |
4994 |
@rdf:type: |
4995 |
@@@: s|ElementType |
4996 |
@@ForCheck: ForAnET |
4997 |
|
4998 |
@ETQName: |
4999 |
@@@: |
5000 |
xhtml1:blockquote |
5001 |
@@ForCheck:ForBlockquote |
5002 |
@ETQName: |
5003 |
@@@: |
5004 |
xhtml1:q |
5005 |
@@ForCheck:ForQ |
5006 |
|
5007 |
@IFQName: HTMLQuoteElement |
5008 |
@ClsQName: ManakaiDOMHTMLQuoteElement |
5009 |
@ISAHTMLElement: |
5010 |
|
5011 |
@s:elementType: |
5012 |
@@@: ||ForHTML40SE||ForBlockquote |
5013 |
@@ForCheck: ManakaiDOM|DOM1 !ManakaiDOM|DOM2 |
5014 |
@@ContentType: DISCore|TFPQNames |
5015 |
@@DISCore:stopISARecursive:1 |
5016 |
@s:elementType: |
5017 |
@@@: ||ForHTML401||ForBlockquote |
5018 |
@@ForCheck: ManakaiDOM|DOM2 |
5019 |
@@ContentType: DISCore|TFPQNames |
5020 |
@@DISCore:stopISARecursive:1 |
5021 |
@s:elementType: |
5022 |
@@@: ||ForXHTML10SE||ForBlockquote |
5023 |
@@ForCheck: ManakaiDOM|DOM2 |
5024 |
@@ContentType: DISCore|TFPQNames |
5025 |
@@DISCore:stopISARecursive:1 |
5026 |
|
5027 |
@s:elementType: |
5028 |
@@@: ||ForHTML40SE||ForQ |
5029 |
@@ForCheck: ManakaiDOM|DOM1 !ManakaiDOM|DOM2 |
5030 |
@@ContentType: DISCore|TFPQNames |
5031 |
@s:elementType: |
5032 |
@@@: ||ForHTML401||ForQ |
5033 |
@@ForCheck: ManakaiDOM|DOM2 |
5034 |
@@ContentType: DISCore|TFPQNames |
5035 |
@s:elementType: |
5036 |
@@@: ||ForXHTML10SE||ForQ |
5037 |
@@ForCheck: ManakaiDOM|DOM2 |
5038 |
@@ContentType: DISCore|TFPQNames |
5039 |
|
5040 |
@Attrs: |
5041 |
@@Name: cite |
5042 |
@@ReflectURI: |
5043 |
@@docAttrP1S: ||ForHTML40SE||ForQ |
5044 |
@@docAttrP2S: ||ForHTML401||ForQ |
5045 |
@@docAttrP2X: ||ForXHTML10SE||ForQ |
5046 |
@@docAttrP1S: ||ForHTML40SE||ForBlockquote |
5047 |
@@docAttrP2S: ||ForHTML401||ForBlockquote |
5048 |
@@docAttrP2X: ||ForXHTML10SE||ForBlockquote |
5049 |
@@Get: |
5050 |
@@Set: |
5051 |
|
5052 |
ElementTypeBinding: |
5053 |
@Name: elementType |
5054 |
@ElementType: |
5055 |
s:elementType |
5056 |
@ShadowContent: |
5057 |
@@DISCore:stopISARecursive:1 |
5058 |
|
5059 |
IfCls1ETDef: |
5060 |
@ETQName: |
5061 |
xhtml1:pre |
5062 |
@IFQName: HTMLPreElement |
5063 |
@ClsQName: ManakaiDOMHTMLPreElement |
5064 |
@ISAHTMLElement: |
5065 |
|
5066 |
@ATTR: |
5067 |
@@Name: width |
5068 |
@@Deprecated:1 |
5069 |
@@ReflectNumeric: |
5070 |
@@Get: |
5071 |
@@Set: |
5072 |
|
5073 |
IfCls1ETDef: |
5074 |
@ETQName: |
5075 |
xhtml1:br |
5076 |
@IFQName: HTMLBRElement |
5077 |
@ClsQName:ManakaiDOMHTMLBRElement |
5078 |
@ISAHTMLElement: |
5079 |
|
5080 |
@ATTR: |
5081 |
@@Name: clear |
5082 |
@@Deprecated:1 |
5083 |
@@ReflectCDATA: |
5084 |
@@Get: |
5085 |
@@Set: |
5086 |
|
5087 |
IfCls12ETDef: |
5088 |
@ETQName: |
5089 |
xhtml1:basefont |
5090 |
@IFQName: HTMLBaseFontElement |
5091 |
@ClsQName:ManakaiDOMHTMLBaseFontElement |
5092 |
@ISAHTMLElement: |
5093 |
@Deprecated: |
5094 |
|
5095 |
@ATTR: |
5096 |
@@Name: color |
5097 |
@@Deprecated: |
5098 |
@@ReflectCDATA: |
5099 |
@@Get: |
5100 |
@@Set: |
5101 |
@ATTR: |
5102 |
@@Name: face |
5103 |
@@Deprecated: |
5104 |
@@ReflectCDATA: |
5105 |
@@Get: |
5106 |
@@Set: |
5107 |
@ATTR: |
5108 |
@@Name: size |
5109 |
@@Description: |
5110 |
@@@lang:en |
5111 |
@@@@:Computed font size. |
5112 |
@@@For: |
5113 |
ManakaiDOM:DOM2 |
5114 |
@@Deprecated: |
5115 |
@@Type: |
5116 |
@@@@: |
5117 |
DOMMain:long |
5118 |
@@@For: |
5119 |
ManakaiDOM:DOM2 |
5120 |
@@actualType: |
5121 |
@@@@: Numeric |
5122 |
@@@For: ManakaiDOM|DOM2 |
5123 |
@@Type: |
5124 |
@@@@: |
5125 |
DOMMain:DOMString |
5126 |
@@@For: |
5127 |
ManakaiDOM:DOM1 !ManakaiDOM:DOM2 |
5128 |
@@actualType: |
5129 |
@@@@: CDATADOMString |
5130 |
@@@For: ManakaiDOM|DOM1 !ManakaiDOM|DOM2 |
5131 |
@@Get: |
5132 |
@@@ImplNote: |
5133 |
@@@@lang:en |
5134 |
@@@@@: |
5135 |
TODO: Computed value should be returned. |
5136 |
In DOM Level 1, it was <EM::not> the computed value |
5137 |
and the type was <TYPE::DOMString>. |
5138 |
@@Set: |
5139 |
@@Level[list]: |
5140 |
1 |
5141 |
2 |
5142 |
@@SpecLevel[list]: |
5143 |
1 |
5144 |
2 |
5145 |
|
5146 |
IfCls1ETDef: |
5147 |
@ETQName: |
5148 |
xhtml1:font |
5149 |
@IFQName: HTMLFontElement |
5150 |
@ClsQName:ManakaiDOMHTMLFontElement |
5151 |
@ISAHTMLElement: |
5152 |
@Deprecated: |
5153 |
|
5154 |
@ATTR: |
5155 |
@@Name: color |
5156 |
@@Deprecated: |
5157 |
@@ReflectCDATA: |
5158 |
@@Get: |
5159 |
@@Set: |
5160 |
@ATTR: |
5161 |
@@Name: face |
5162 |
@@Deprecated: |
5163 |
@@ReflectCDATA: |
5164 |
@@Get: |
5165 |
@@Set: |
5166 |
@ATTR: |
5167 |
@@Name: size |
5168 |
@@Deprecated: |
5169 |
@@ImplNote: |
5170 |
@@@lang:en |
5171 |
@@@@: |
5172 |
This is <EM::not> the computed size. |
5173 |
@@ReflectCDATA: |
5174 |
@@Get: |
5175 |
@@Set: |
5176 |
|
5177 |
IfCls1ETDef: |
5178 |
@ETQName: |
5179 |
xhtml1:hr |
5180 |
@IFQName: HTMLHRElement |
5181 |
@ClsQName:ManakaiDOMHTMLHRElement |
5182 |
@ISAHTMLElement: |
5183 |
|
5184 |
@ATTR: |
5185 |
@@Name: align |
5186 |
@@Deprecated: |
5187 |
@@ReflectEnum: |
5188 |
@@Get: |
5189 |
@@Set: |
5190 |
@ATTR: |
5191 |
@@AName:noshade |
5192 |
@@DOMAName: noShade |
5193 |
@@plAName: noshade |
5194 |
@@Deprecated: |
5195 |
@@ReflectBoolean: |
5196 |
@@Get: |
5197 |
@@@InCase: |
5198 |
@@@@Value: true |
5199 |
@@@InCase: |
5200 |
@@@@Value: false |
5201 |
@@Set: |
5202 |
@@@InCase: |
5203 |
@@@@Value: true |
5204 |
@@@InCase: |
5205 |
@@@@Value: false |
5206 |
@ATTR: |
5207 |
@@Name: size |
5208 |
@@Deprecated: |
5209 |
@@ReflectCDATA: |
5210 |
@@Get: |
5211 |
@@Set: |
5212 |
@ATTR: |
5213 |
@@Name: width |
5214 |
@@Deprecated: |
5215 |
@@ReflectCDATA: |
5216 |
@@Get: |
5217 |
@@Set: |
5218 |
|
5219 |
ForDef: |
5220 |
@QName: |
5221 |
DOMHTML:ForIns |
5222 |
@ISA: DOMHTML|ForAnET |
5223 |
ForDef: |
5224 |
@QName: |
5225 |
DOMHTML:ForDel |
5226 |
@ISA: DOMHTML|ForAnET |
5227 |
|
5228 |
IfCls1ETsDef: |
5229 |
@rdf:type: |
5230 |
@@@: |
5231 |
dis:MultipleResource |
5232 |
@@ForCheck: |
5233 |
!ManakaiDOM:ForIF !ManakaiDOM:ForClass |
5234 |
!ForIns !ForDel |
5235 |
@@For: ForHTML |
5236 |
@resourceFor: |
5237 |
@@@: ForIns |
5238 |
@@For:ForHTML |
5239 |
@resourceFor: |
5240 |
@@@: ForDel |
5241 |
@@For:ForHTML |
5242 |
@rdf:type: |
5243 |
@@@: |
5244 |
s:ElementType |
5245 |
@@ForCheck: ForAnET |
5246 |
|
5247 |
@ETQName: |
5248 |
@@@: |
5249 |
xhtml1:ins |
5250 |
@@ForCheck:ForIns |
5251 |
@ETQName: |
5252 |
@@@: |
5253 |
xhtml1:del |
5254 |
@@ForCheck:ForDel |
5255 |
|
5256 |
@elementType: |
5257 |
@@@: ||ForHTML40SE||ForIns |
5258 |
@@ForCheck: ManakaiDOM|DOM1 !ManakaiDOM|DOM2 |
5259 |
@@ContentType: DISCore|TFPQNames |
5260 |
@elementType: |
5261 |
@@@: ||ForHTML401||ForIns |
5262 |
@@ForCheck: ManakaiDOM|DOM2 |
5263 |
@@ContentType: DISCore|TFPQNames |
5264 |
@elementType: |
5265 |
@@@: ||ForXHTML10SE||ForIns |
5266 |
@@ForCheck: ManakaiDOM|DOM2 |
5267 |
@@ContentType: DISCore|TFPQNames |
5268 |
|
5269 |
@elementType: |
5270 |
@@@: ||ForHTML40SE||ForDel |
5271 |
@@ForCheck: ManakaiDOM|DOM1 !ManakaiDOM|DOM2 |
5272 |
@@ContentType: DISCore|TFPQNames |
5273 |
@elementType: |
5274 |
@@@: ||ForHTML401||ForDel |
5275 |
@@ForCheck: ManakaiDOM|DOM2 |
5276 |
@@ContentType: DISCore|TFPQNames |
5277 |
@elementType: |
5278 |
@@@: ||ForXHTML10SE||ForDel |
5279 |
@@ForCheck: ManakaiDOM|DOM2 |
5280 |
@@ContentType: DISCore|TFPQNames |
5281 |
|
5282 |
@IFQName: HTMLModElement |
5283 |
@ClsQName:ManakaiDOMHTMLModElement |
5284 |
@ISAHTMLElement: |
5285 |
|
5286 |
@Attrs: |
5287 |
@@Name: cite |
5288 |
@@ReflectURI: |
5289 |
@@Get: |
5290 |
@@Set: |
5291 |
@@docAttrP1S: ||ForHTML40SE||ForIns |
5292 |
@@docAttrP2S: ||ForHTML401||ForIns |
5293 |
@@docAttrP2X: ||ForXHTML10SE||ForIns |
5294 |
@@docAttrP1S: ||ForHTML40SE||ForDel |
5295 |
@@docAttrP2S: ||ForHTML401||ForDel |
5296 |
@@docAttrP2X: ||ForXHTML10SE||ForDel |
5297 |
@Attrs: |
5298 |
@@AName: datetime |
5299 |
@@DOMAName: dateTime |
5300 |
@@ReflectCDATA: |
5301 |
@@Get: |
5302 |
@@Set: |
5303 |
@@docAttrP1S: ||ForHTML40SE||ForIns |
5304 |
@@docAttrP2S: ||ForHTML401||ForIns |
5305 |
@@docAttrP2X: ||ForXHTML10SE||ForIns |
5306 |
@@docAttrP1S: ||ForHTML40SE||ForDel |
5307 |
@@docAttrP2S: ||ForHTML401||ForDel |
5308 |
@@docAttrP2X: ||ForXHTML10SE||ForDel |
5309 |
|
5310 |
IfCls1ETDef: |
5311 |
@ETQName: |
5312 |
xhtml1:a |
5313 |
@IFQName: HTMLAnchorElement |
5314 |
@ClsQName:ManakaiDOMHTMLAnchorElement |
5315 |
@ISAHTMLElement: |
5316 |
|
5317 |
@ATTR: |
5318 |
@@AName:accesskey |
5319 |
@@DOMAName: accessKey |
5320 |
@@plAName: accesskey |
5321 |
@@ReflectCDATA: |
5322 |
@@Get: |
5323 |
@@Set: |
5324 |
@ATTR: |
5325 |
@@Name: charset |
5326 |
@@ReflectCDATA: |
5327 |
@@Get: |
5328 |
@@Set: |
5329 |
@ATTR: |
5330 |
@@Name: coords |
5331 |
@@ReflectCDATA: |
5332 |
@@Get: |
5333 |
@@Set: |
5334 |
@ATTR: |
5335 |
@@Name: href |
5336 |
@@ReflectURI: |
5337 |
@@Get: |
5338 |
@@Set: |
5339 |
@ATTR: |
5340 |
@@Name: hreflang |
5341 |
@@ReflectCDATA: |
5342 |
@@Get: |
5343 |
@@Set: |
5344 |
@ATTR: |
5345 |
@@Name: name |
5346 |
@@ReflectCDATA: |
5347 |
@@Get: |
5348 |
@@Set: |
5349 |
@ATTR: |
5350 |
@@Name: rel |
5351 |
@@ReflectCDATA: |
5352 |
@@Get: |
5353 |
@@Set: |
5354 |
@ATTR: |
5355 |
@@Name: rev |
5356 |
@@ReflectCDATA: |
5357 |
@@Get: |
5358 |
@@Set: |
5359 |
@ATTR: |
5360 |
@@Name: shape |
5361 |
@@ReflectCDATA: |
5362 |
@@Get: |
5363 |
@@Set: |
5364 |
@ATTR: |
5365 |
@@AName:tabindex |
5366 |
@@DOMAName: tabIndex |
5367 |
@@plAName: tabindex |
5368 |
@@ReflectNumeric: |
5369 |
@@Get: |
5370 |
@@Set: |
5371 |
@ATTR: |
5372 |
@@Name: target |
5373 |
@@ReflectCDATA: |
5374 |
@@Get: |
5375 |
@@Set: |
5376 |
@ATTR: |
5377 |
@@Name: type |
5378 |
@@ReflectCDATA: |
5379 |
@@Get: |
5380 |
@@Set: |
5381 |
@Method: |
5382 |
@@Name: blur |
5383 |
@@Description: |
5384 |
@@@lang:en |
5385 |
@@@@:Remove the focus from this element. |
5386 |
@@Return: |
5387 |
@Method: |
5388 |
@@Name: focus |
5389 |
@@Description: |
5390 |
@@@lang:en |
5391 |
@@@@:Give the focus to this element. |
5392 |
@@Return: |
5393 |
##HTMLAnchorElement |
5394 |
|
5395 |
IF: |
5396 |
@For: !ManakaiDOM|all |
5397 |
|
5398 |
@IFQName: HTMLAnchorElementExtended |
5399 |
@ClsQName: ManakaiDOMHTMLAnchorElementExtended |
5400 |
|
5401 |
@IFISA: HTMLAnchorElement |
5402 |
@IFISA: HTMLStrictlyInlineContainerExtended |
5403 |
|
5404 |
@ClsISA: ManakaiDOMHTMLAnchorElement |
5405 |
@ClsISA: ManakaiDOMHTMLStrictlyInlineContainerExtended |
5406 |
##HTMLAnchorElementExtended |
5407 |
|
5408 |
IfCls12ETDef: |
5409 |
@ETQName: |
5410 |
xhtml1:img |
5411 |
@IFQName: HTMLImageElement |
5412 |
@ClsQName:ManakaiDOMHTMLImageElement |
5413 |
@ISAHTMLElement: |
5414 |
|
5415 |
@ResourceDef: |
5416 |
@@rdf:type: |
5417 |
@@@@: DISLang|Attribute |
5418 |
@@@ForCheck: ManakaiDOM|DOM |
5419 |
|
5420 |
@@For: ManakaiDOM|DOM1 |
5421 |
|
5422 |
@@rdf:type: |
5423 |
@@@@: s|Attribute |
5424 |
@@@ForCheck: ForHTML |
5425 |
|
5426 |
@@For: ForHTML401 |
5427 |
@@For: ForXHTML10SE |
5428 |
@@enImplNote: Does 10SE defines this attr? |
5429 |
|
5430 |
@@Name: name |
5431 |
@@Description: |
5432 |
@@@lang:en |
5433 |
@@@@: |
5434 |
The name of the element. |
5435 |
\ |
5436 |
{NOTE:: This attribute is provided for backwards compatibility. |
5437 |
Whilst HTML 4.01 added the <HA::name> attribute |
5438 |
for compatibility, the DOM HTML Specifications |
5439 |
does not address this fact - i.e. HTML's and DOM's |
5440 |
<CODE::name> attributes are not formally associated. |
5441 |
\ |
5442 |
} |
5443 |
@@DocAttr: |
5444 |
@@@@: |
5445 |
::ForHTML401 |
5446 |
@@@For: |
5447 |
ManakaiDOM:ManakaiDOMLatest |
5448 |
@@DocAttr: |
5449 |
@@@@: |
5450 |
::ForXHTML10SE |
5451 |
@@@For: |
5452 |
ManakaiDOM:ManakaiDOMLatest |
5453 |
@@ReflectCDATA: |
5454 |
@@Get: |
5455 |
@@Set: |
5456 |
@ATTR: |
5457 |
@@Name: align |
5458 |
@@Deprecated: |
5459 |
@@ReflectEnum: |
5460 |
@@Get: |
5461 |
@@Set: |
5462 |
@ATTR: |
5463 |
@@Name: alt |
5464 |
@@ReflectCDATA: |
5465 |
@@Get: |
5466 |
@@Set: |
5467 |
@ATTR: |
5468 |
@@Name: border |
5469 |
@@Deprecated: |
5470 |
@@ReflectCDATA: |
5471 |
@@Get: |
5472 |
@@Set: |
5473 |
@@ImplNote: |
5474 |
@@@lang:en |
5475 |
@@@@: |
5476 |
The type is <TYPE::DOMString> in both DOM Levels 1 and 2. |
5477 |
@ATTR: |
5478 |
@@Name: height |
5479 |
@@Deprecated: |
5480 |
@@ReflectStringLong: |
5481 |
@@Get: |
5482 |
@@Set: |
5483 |
@@Level[list]: |
5484 |
1 |
5485 |
2 |
5486 |
@@SpecLevel[list]: |
5487 |
1 |
5488 |
2 |
5489 |
@ATTR: |
5490 |
@@Name: hspace |
5491 |
@@Deprecated: |
5492 |
@@ReflectStringLong: |
5493 |
@@Get: |
5494 |
@@Set: |
5495 |
@@Level[list]: |
5496 |
1 |
5497 |
2 |
5498 |
@@SpecLevel[list]: |
5499 |
1 |
5500 |
2 |
5501 |
@ATTR: |
5502 |
@@AName:ismap |
5503 |
@@DOMAName: isMap |
5504 |
@@plAName: ismap |
5505 |
@@ReflectBoolean: |
5506 |
@@Get: |
5507 |
@@@InCase: |
5508 |
@@@@Value: true |
5509 |
@@@InCase: |
5510 |
@@@@Value: false |
5511 |
@@Set: |
5512 |
@@@InCase: |
5513 |
@@@@Value: true |
5514 |
@@@InCase: |
5515 |
@@@@Value: false |
5516 |
@ATTR: |
5517 |
@@AName:longdesc |
5518 |
@@DOMAName: longDesc |
5519 |
@@plAName: longdesc |
5520 |
@@ReflectURI: |
5521 |
@@Get: |
5522 |
@@Set: |
5523 |
@ATTR: |
5524 |
@@Name: src |
5525 |
@@ReflectURI: |
5526 |
@@Get: |
5527 |
@@Set: |
5528 |
@ATTR: |
5529 |
@@AName:usemap |
5530 |
@@DOMAName: useMap |
5531 |
@@plAName: usemap |
5532 |
@@ReflectURI: |
5533 |
@@Get: |
5534 |
@@Set: |
5535 |
@@ImplNote: |
5536 |
@@@lang:en |
5537 |
@@@@: |
5538 |
The HTML 4 and XHTML 1.0 <HA::usemap> attribute value is |
5539 |
of <SGML::%URI;>, while the XHTML m12n <HA::usemap> value |
5540 |
is <XML::IDREF>. |
5541 |
@ATTR: |
5542 |
@@Name: vspace |
5543 |
@@Deprecated: |
5544 |
@@ReflectStringLong: |
5545 |
@@Get: |
5546 |
@@Set: |
5547 |
@@Level[list]: |
5548 |
1 |
5549 |
2 |
5550 |
@@SpecLevel[list]: |
5551 |
1 |
5552 |
2 |
5553 |
@Attr: |
5554 |
@@Name: width |
5555 |
@@Deprecated: |
5556 |
@@ReflectStringLong: |
5557 |
@@Get: |
5558 |
@@Set: |
5559 |
@@Level[list]: |
5560 |
1 |
5561 |
2 |
5562 |
@@SpecLevel[list]: |
5563 |
1 |
5564 |
2 |
5565 |
##HTMLImageElement |
5566 |
|
5567 |
ElementTypeBinding: |
5568 |
@Name: ReflectStringLong |
5569 |
@ElementType: |
5570 |
dis:Type |
5571 |
@ShadowContent: |
5572 |
@@@: DOMMain|long |
5573 |
@@For: ManakaiDOM|DOM2 |
5574 |
@ShadowSibling: |
5575 |
@@actualType: |
5576 |
@@@@: Numeric |
5577 |
@@@For: ManakaiDOM|DOM2 |
5578 |
@@Type: |
5579 |
@@@@: DOMMain|DOMString |
5580 |
@@@For: ManakaiDOM|DOM1 !ManakaiDOM|DOM2 |
5581 |
@@actualType: |
5582 |
@@@@: CDATADOMString |
5583 |
@@@For: ManakaiDOM|DOM1 !ManakaiDOM|DOM2 |
5584 |
|
5585 |
IfCls1ETDef: |
5586 |
@ETQName: |
5587 |
xhtml1:object |
5588 |
@IFQName: HTMLObjectElement |
5589 |
@ClsQName:ManakaiDOMHTMLObjectElement |
5590 |
@ISAHTMLElement: |
5591 |
|
5592 |
@ImplNote: |
5593 |
@@lang:en |
5594 |
@@@: |
5595 |
In some environments some attributes may be read-only |
5596 |
once the underlying object is instantiated. |
5597 |
@Attr: |
5598 |
@@Name: form |
5599 |
@@Description: |
5600 |
@@@lang:en |
5601 |
@@@@: |
5602 |
The <HE::form> element containing this control. |
5603 |
@@Get: |
5604 |
@@@Type: |
5605 |
DOMHTML:HTMLFormElement |
5606 |
@@@Description: |
5607 |
@@@@lang:en |
5608 |
@@@@@: |
5609 |
This control is not within the context of a form. |
5610 |
@Attr: |
5611 |
@@Name: code |
5612 |
@@enDesc: |
5613 |
Applet class file. |
5614 |
@@Get: |
5615 |
@@@Type: DOMString |
5616 |
@@Set: |
5617 |
@@@Type: DOMString |
5618 |
@ATTR: |
5619 |
@@Name: align |
5620 |
@@Deprecated: |
5621 |
@@ReflectEnum: |
5622 |
@@Get: |
5623 |
@@Set: |
5624 |
@ATTR: |
5625 |
@@Name: archive |
5626 |
@@ReflectCDATA: |
5627 |
@@Get: |
5628 |
@@Set: |
5629 |
@ATTR: |
5630 |
@@Name: border |
5631 |
@@Deprecated: |
5632 |
@@ReflectCDATA: |
5633 |
@@Get: |
5634 |
@@Set: |
5635 |
@ATTR: |
5636 |
@@AName:codebase |
5637 |
@@DOMAName: codeBase |
5638 |
@@plAName: codebase |
5639 |
@@ReflectURI: |
5640 |
@@Get: |
5641 |
@@Set: |
5642 |
@ATTR: |
5643 |
@@AName:codetype |
5644 |
@@DOMAName: codeType |
5645 |
@@plAName: codetype |
5646 |
@@ReflectCDATA: |
5647 |
@@Get: |
5648 |
@@Set: |
5649 |
@ATTR: |
5650 |
@@Name: data |
5651 |
@@ReflectURI: |
5652 |
@@@ImplNote: Relative to codebase |
5653 |
@@Get: |
5654 |
@@Set: |
5655 |
@ATTR: |
5656 |
@@Name: declare |
5657 |
@@ReflectBoolean: |
5658 |
@@Get: |
5659 |
@@@InCase: |
5660 |
@@@@Value: true |
5661 |
@@@InCase: |
5662 |
@@@@Value: false |
5663 |
@@Set: |
5664 |
@@@InCase: |
5665 |
@@@@Value: true |
5666 |
@@@InCase: |
5667 |
@@@@Value: false |
5668 |
@ATTR: |
5669 |
@@Name: height |
5670 |
@@Deprecated: |
5671 |
@@ReflectCDATA: |
5672 |
@@Get: |
5673 |
@@Set: |
5674 |
@ATTR: |
5675 |
@@Name: hspace |
5676 |
@@Deprecated: |
5677 |
@@ReflectNumeric: |
5678 |
@@Get: |
5679 |
@@Set: |
5680 |
@ATTR: |
5681 |
@@Name: name |
5682 |
@@ReflectCDATA: |
5683 |
@@Get: |
5684 |
@@Set: |
5685 |
@ATTR: |
5686 |
@@AName:standby |
5687 |
@@DOMAName: standby |
5688 |
@@ReflectCDATA: |
5689 |
@@Get: |
5690 |
@@Set: |
5691 |
@ATTR: |
5692 |
@@AName:tabindex |
5693 |
@@DOMAName: tabIndex |
5694 |
@@ReflectNumeric: |
5695 |
@@Get: |
5696 |
@@Set: |
5697 |
@ATTR: |
5698 |
@@Name: type |
5699 |
@@ReflectCDATA: |
5700 |
@@Get: |
5701 |
@@Set: |
5702 |
@Attr: |
5703 |
@@AName:usemap |
5704 |
@@DOMAName: useMap |
5705 |
@@plAName: usemap |
5706 |
@@ReflectURI: |
5707 |
@@Get: |
5708 |
@@Set: |
5709 |
@@ImplNote: |
5710 |
@@@lang:en |
5711 |
@@@@: |
5712 |
In HTML 4 or XHTML 1.0, the <HA::usemap> attribute is |
5713 |
a <SGML::%URI;>. In XHTML m12n, the <HA::usemap> |
5714 |
is an <XML::IDREF>. |
5715 |
@ATTR: |
5716 |
@@Name: vspace |
5717 |
@@Deprecated: |
5718 |
@@ReflectNumeric: |
5719 |
@@Get: |
5720 |
@@Set: |
5721 |
@ATTR: |
5722 |
@@Name: width |
5723 |
@@ReflectCDATA: |
5724 |
@@Get: |
5725 |
@@Set: |
5726 |
@Attr: |
5727 |
@@Name: contentDocument |
5728 |
@@Description: |
5729 |
@@@lang:en |
5730 |
@@@@: |
5731 |
The document this object contains, if any and available. |
5732 |
@@Get: |
5733 |
@@@Type: Document |
5734 |
@@@InCase: |
5735 |
@@@@Value: |
5736 |
@@@@@is-null:1 |
5737 |
@@@@Description: |
5738 |
@@@@@lang:en |
5739 |
@@@@@@: |
5740 |
There is no containing document or |
5741 |
there is but it is not available. |
5742 |
@@@Def: |
5743 |
@@@@ContentType: |
5744 |
lang:dis |
5745 |
@@@@GetPropNode: |
5746 |
DOMHTML:contentDocument |
5747 |
@@Level[list]: 2 |
5748 |
@@SpecLevel[list]: 2 |
5749 |
@@L2: |
5750 |
##HTMLObjectElement |
5751 |
|
5752 |
PropDef: |
5753 |
@QName: referrer |
5754 |
@enDesc: |
5755 |
<A::HTMLDocument.referrer>. |
5756 |
|
5757 |
PropDef: |
5758 |
@QName: contentDocument |
5759 |
@Type: |
5760 |
ManakaiDOMCore:ManakaiDOMNodeObjectNode::ManakaiDOM:ManakaiDOMCommon |
5761 |
@Description: |
5762 |
@@lang:en |
5763 |
@@@: |
5764 |
An (external) <IF::Document> node object referred from an element. |
5765 |
|
5766 |
IfCls1ETDef: |
5767 |
@ETQName: |
5768 |
xhtml1:param |
5769 |
@IFQName: HTMLParamElement |
5770 |
@ClsQName:ManakaiDOMHTMLParamElement |
5771 |
@ISAHTMLElement: |
5772 |
|
5773 |
@ATTR: |
5774 |
@@Name: name |
5775 |
@@ReflectCDATA: |
5776 |
@@Get: |
5777 |
@@Set: |
5778 |
@ATTR: |
5779 |
@@Name: type |
5780 |
@@ReflectCDATA: |
5781 |
@@Get: |
5782 |
@@Set: |
5783 |
@ATTR: |
5784 |
@@Name: value |
5785 |
@@ReflectCDATA: |
5786 |
@@Get: |
5787 |
@@Set: |
5788 |
@ATTR: |
5789 |
@@AName:valuetype |
5790 |
@@DOMAName: valueType |
5791 |
@@plAName: valuetype |
5792 |
@@ReflectCDATA: |
5793 |
@@Get: |
5794 |
@@Set: |
5795 |
|
5796 |
IfCls12ETDef: |
5797 |
@ETQName: |
5798 |
xhtml1:applet |
5799 |
@IFQName: HTMLAppletElement |
5800 |
@ClsQName:ManakaiDOMHTMLAppletElement |
5801 |
@ISAHTMLElement: |
5802 |
@Deprecated: |
5803 |
|
5804 |
@ATTR: |
5805 |
@@Name: align |
5806 |
@@Deprecated: |
5807 |
@@ReflectEnum: |
5808 |
@@Get: |
5809 |
@@Set: |
5810 |
@ATTR: |
5811 |
@@Name: alt |
5812 |
@@Deprecated: |
5813 |
@@ReflectCDATA: |
5814 |
@@Get: |
5815 |
@@Set: |
5816 |
@ATTR: |
5817 |
@@Name: archive |
5818 |
@@Deprecated: |
5819 |
@@ReflectCDATA: |
5820 |
@@Get: |
5821 |
@@Set: |
5822 |
@ATTR: |
5823 |
@@Name: code |
5824 |
@@Deprecated: |
5825 |
@@ReflectCDATA: |
5826 |
@@@ImplNote: URI? |
5827 |
@@Get: |
5828 |
@@Set: |
5829 |
@ATTR: |
5830 |
@@AName:codebase |
5831 |
@@DOMAName: codeBase |
5832 |
@@plAName: codebase |
5833 |
@@Deprecated: |
5834 |
@@ReflectURI: |
5835 |
@@Get: |
5836 |
@@Set: |
5837 |
@ATTR: |
5838 |
@@Name: height |
5839 |
@@Deprecated: |
5840 |
@@ReflectCDATA: |
5841 |
@@Get: |
5842 |
@@Set: |
5843 |
@ATTR: |
5844 |
@@Name: hspace |
5845 |
@@Deprecated: |
5846 |
@@ReflectStringLong: |
5847 |
@@Get: |
5848 |
@@Set: |
5849 |
@@Level[list]: |
5850 |
1 |
5851 |
2 |
5852 |
@@SpecLevel[list]: |
5853 |
1 |
5854 |
2 |
5855 |
@ATTR: |
5856 |
@@Name: name |
5857 |
@@Deprecated: |
5858 |
@@ReflectCDATA: |
5859 |
@@Get: |
5860 |
@@Set: |
5861 |
@Attr: |
5862 |
@@Name: object |
5863 |
@@Deprecated: |
5864 |
@@ReflectCDATA: |
5865 |
@@Get: |
5866 |
@@Set: |
5867 |
@@Level[list]: |
5868 |
1 |
5869 |
@@SpecLevel[list]: |
5870 |
1 |
5871 |
2 |
5872 |
@Attr: |
5873 |
@@Name: vspace |
5874 |
@@Deprecated: |
5875 |
@@ReflectStringLong: |
5876 |
@@Get: |
5877 |
@@Set: |
5878 |
@@Level[list]: |
5879 |
1 |
5880 |
2 |
5881 |
@@SpecLevel[list]: |
5882 |
1 |
5883 |
2 |
5884 |
@Attr: |
5885 |
@@Name: width |
5886 |
@@Deprecated: |
5887 |
@@ReflectCDATA: |
5888 |
@@Get: |
5889 |
@@Set: |
5890 |
##HTMLAppletElement |
5891 |
|
5892 |
ResourceDef: |
5893 |
@QName: |
5894 |
DOMMain:long |
5895 |
@AliasFor: |
5896 |
DOMMain:long::ManakaiDOM:all |
5897 |
@ForCheck: |
5898 |
!=ManakaiDOM:all |
5899 |
@For: ManakaiDOM|DOM |
5900 |
|
5901 |
IfCls1ETDef: |
5902 |
@ETQName: |
5903 |
xhtml1:map |
5904 |
@IFQName: HTMLMapElement |
5905 |
@ClsQName:ManakaiDOMHTMLMapElement |
5906 |
@ISAHTMLElement: |
5907 |
|
5908 |
@Attr: |
5909 |
@@Name: areas |
5910 |
@@Description: |
5911 |
@@@lang:en |
5912 |
@@@@: |
5913 |
The list of areas defined for this image map. |
5914 |
@@Get: |
5915 |
@@@Type: HTMLCollection |
5916 |
@ATTR: |
5917 |
@@Name: name |
5918 |
@@ReflectCDATA: |
5919 |
@@Get: |
5920 |
@@Set: |
5921 |
##HTMLMapElement |
5922 |
|
5923 |
IfCls1ETDef: |
5924 |
@ETQName: |
5925 |
xhtml1:area |
5926 |
@IFQName: HTMLAreaElement |
5927 |
@ClsQName:ManakaiDOMAreaElement |
5928 |
@ISAHTMLElement: |
5929 |
|
5930 |
@ATTR: |
5931 |
@@AName: accesskey |
5932 |
@@DOMAName: accessKey |
5933 |
@@plAName: accesskey |
5934 |
@@ReflectCDATA: |
5935 |
@@Get: |
5936 |
@@Set: |
5937 |
@ATTR: |
5938 |
@@Name: alt |
5939 |
@@ReflectCDATA: |
5940 |
@@Get: |
5941 |
@@Set: |
5942 |
@ATTR: |
5943 |
@@Name: coords |
5944 |
@@ReflectCDATA: |
5945 |
@@Get: |
5946 |
@@Set: |
5947 |
@ATTR: |
5948 |
@@Name: href |
5949 |
@@ReflectURI: |
5950 |
@@Get: |
5951 |
@@Set: |
5952 |
@ATTR: |
5953 |
@@AName:nohref |
5954 |
@@DOMAName: noHref |
5955 |
@@plAName: nohref |
5956 |
@@ReflectBoolean: |
5957 |
@@Get: |
5958 |
@@@InCase: |
5959 |
@@@@Value: true |
5960 |
@@@InCase: |
5961 |
@@@@Value: false |
5962 |
@@Set: |
5963 |
@@@InCase: |
5964 |
@@@@Value: true |
5965 |
@@@InCase: |
5966 |
@@@@Value: false |
5967 |
@ATTR: |
5968 |
@@ReflectCDATA: |
5969 |
@@Name: shape |
5970 |
@@Get: |
5971 |
@@Set: |
5972 |
@Attr: |
5973 |
@@AName:tabindex |
5974 |
@@DOMAName: tabIndex |
5975 |
@@ReflectNumeric: |
5976 |
@@Get: |
5977 |
@@Set: |
5978 |
@ATTR: |
5979 |
@@Name: target |
5980 |
@@ReflectCDATA: |
5981 |
@@Get: |
5982 |
@@Set: |
5983 |
##HTMLAreaElement |
5984 |
|
5985 |
IfCls1ETDef: |
5986 |
@ETQName: |
5987 |
xhtml1:script |
5988 |
@IFQName: HTMLScriptElement |
5989 |
@ClsQName:ManakaiDOMHTMLScriptElement |
5990 |
@ISAHTMLElement: |
5991 |
|
5992 |
@Attr: |
5993 |
@@Name: text |
5994 |
@@Description: |
5995 |
@@@lang:en |
5996 |
@@@@: |
5997 |
The script content of this element. |
5998 |
@@ImplNote: |
5999 |
@@@lang:en |
6000 |
@@@@: |
6001 |
ISSUE: How interact with <HA::src>? |
6002 |
@@Get: |
6003 |
@@@Type: DOMString |
6004 |
@@Set: |
6005 |
@@@Type: DOMString |
6006 |
@Attr: |
6007 |
@@DOMAName: htmlFor |
6008 |
@@Description: |
6009 |
@@@lang:en |
6010 |
@@@@: |
6011 |
{NOTE:: Reserved for future use by the DOM HTML Specifications. |
6012 |
The HTML <HA::for> attribute is also reserved |
6013 |
by the HTML 4 Specifications. |
6014 |
\ |
6015 |
} |
6016 |
@@Get: |
6017 |
@@@Type: DOMString |
6018 |
@@Set: |
6019 |
@@@Type: DOMString |
6020 |
@Attr: |
6021 |
@@Name: event |
6022 |
@@Description: |
6023 |
@@@lang:en |
6024 |
@@@@: |
6025 |
{NOTE:: Reserved for future use by the DOM HTML Specifications. |
6026 |
The HTML <HA::event> attribute is also reserved |
6027 |
by the HTML 4 Specification. |
6028 |
\ |
6029 |
} |
6030 |
@@Get: |
6031 |
@@@Type: DOMString |
6032 |
@@Set: |
6033 |
@@@Type: DOMString |
6034 |
@ATTR: |
6035 |
@@Name: charset |
6036 |
@@ReflectCDATA: |
6037 |
@@Get: |
6038 |
@@Set: |
6039 |
@ATTR: |
6040 |
@@Name: defer |
6041 |
@@ReflectBoolean: |
6042 |
@@Get: |
6043 |
@@@InCase: |
6044 |
@@@@Value: true |
6045 |
@@@InCase: |
6046 |
@@@@Value: false |
6047 |
@@Set: |
6048 |
@@@InCase: |
6049 |
@@@@Value: true |
6050 |
@@@InCase: |
6051 |
@@@@Value: false |
6052 |
@ATTR: |
6053 |
@@Name: src |
6054 |
@@ReflectURI: |
6055 |
@@Get: |
6056 |
@@Set: |
6057 |
@ATTR: |
6058 |
@@Name: type |
6059 |
@@ReflectCDATA: |
6060 |
@@Get: |
6061 |
@@Set: |
6062 |
##HTMLScriptElement |
6063 |
|
6064 |
IfCls1ETDef: |
6065 |
@ETQName: |
6066 |
xhtml1:table |
6067 |
@IFQName: HTMLTableElement |
6068 |
@ClsQName:ManakaiDOMHTMLTableElement |
6069 |
@ISAHTMLElement: |
6070 |
|
6071 |
@Attr: |
6072 |
@@Name: caption |
6073 |
@@Description: |
6074 |
@@@lang:en |
6075 |
@@@@: |
6076 |
The <HE::caption> of the table. |
6077 |
@@Get: |
6078 |
@@@Type: HTMLTableCaptionElement |
6079 |
@@@InCase: |
6080 |
@@@@Label: |
6081 |
@@@@@lang:en |
6082 |
@@@@@@: |
6083 |
void (= <DOM::null>?) |
6084 |
@@@@Description: |
6085 |
@@@@@lang:en |
6086 |
@@@@@@: There is no caption. |
6087 |
@@Set: |
6088 |
@@@Type: HTMLTableCaptionElement |
6089 |
@@@Exception: |
6090 |
@@@@@: |
6091 |
ManakaiDOMHTML:MDOM_NOT_CAPTION |
6092 |
@@@@Description: |
6093 |
@@@@@lang:en |
6094 |
@@@@@@: |
6095 |
The given element is not a <HE::caption>. |
6096 |
@@Level[list]: |
6097 |
1 |
6098 |
@@SpecLevel[list]: |
6099 |
1 |
6100 |
2 |
6101 |
@Attr: |
6102 |
@@Name: tHead |
6103 |
@@plAName: thead |
6104 |
@@Description: |
6105 |
@@@lang:en |
6106 |
@@@@: |
6107 |
The <HE::thead> of this table. |
6108 |
@@Get: |
6109 |
@@@Type: HTMLTableSectionElement |
6110 |
@@@InCase: |
6111 |
@@@@Value: |
6112 |
@@@@@is-null:1 |
6113 |
@@@@Description: |
6114 |
@@@@@lang:en |
6115 |
@@@@@@: |
6116 |
There is no <HE::thead>. |
6117 |
@@Set: |
6118 |
@@@Type: HTMLTableSectionElement |
6119 |
@@@Exception: |
6120 |
@@@@Name: HIERARCHY_REQUEST_ERR |
6121 |
@@@@Type: |
6122 |
DOMCore:DOMException |
6123 |
@@@@SubType: |
6124 |
ManakaiDOMHTML:MDOM_BAD_ELEMENT_TYPE |
6125 |
@@@@Description: |
6126 |
@@@@@lang:en |
6127 |
@@@@@@: |
6128 |
The given element is not a <HE::thead>. |
6129 |
@@Level[list]: |
6130 |
1 |
6131 |
@@SpecLevel[list]: |
6132 |
1 |
6133 |
2 |
6134 |
@Attr: |
6135 |
@@Name: tFoot |
6136 |
@@plAName: tfoot |
6137 |
@@Description: |
6138 |
@@@lang:en |
6139 |
@@@@: |
6140 |
The <HE::tfoot> of this table. |
6141 |
@@Get: |
6142 |
@@@Type: HTMLTableSectionElement |
6143 |
@@@InCase: |
6144 |
@@@@Value: |
6145 |
@@@@@is-null:1 |
6146 |
@@@@Description: |
6147 |
@@@@@lang:en |
6148 |
@@@@@@: |
6149 |
There is no <HE::tfoot>. |
6150 |
@@Set: |
6151 |
@@@Type: HTMLTableSectionElement |
6152 |
@@@Exception: |
6153 |
@@@@Name: HIERARCHY_REQUEST_ERR |
6154 |
@@@@Type: |
6155 |
DOMCore:DOMException |
6156 |
@@@@SubType: |
6157 |
@@@@@QName: |
6158 |
ManakaiDOMHTML:MDOM_NOT_TFOOT |
6159 |
@@@@@Description: |
6160 |
@@@@@@lang:en |
6161 |
@@@@@@@: |
6162 |
The given element is not a <HE::tfoot>. |
6163 |
@@Level[list]: |
6164 |
1 |
6165 |
@@SpecLevel[list]: |
6166 |
1 |
6167 |
2 |
6168 |
@Attr: |
6169 |
@@Name: rows |
6170 |
@@Description: |
6171 |
@@@lang:en |
6172 |
@@@@: |
6173 |
A collection of all the rows (child or grandchild |
6174 |
<HE::tr> elements) in this table. |
6175 |
@@Get: |
6176 |
@@@Type: HTMLCollection |
6177 |
@Attr: |
6178 |
@@Name: tBodies |
6179 |
@@plAName: tbodies |
6180 |
@@Description: |
6181 |
@@@lang:en |
6182 |
@@@@: |
6183 |
A collection of the table bodies. |
6184 |
@@ImplNote: |
6185 |
@@@lang:en |
6186 |
@@@@: |
6187 |
ISSUE: What is collected if simple table? |
6188 |
@@Get: |
6189 |
@@@Type: HTMLCollection |
6190 |
@ATTR: |
6191 |
@@Name: align |
6192 |
@@Deprecated: |
6193 |
@@ReflectEnum: |
6194 |
@@Get: |
6195 |
@@Set: |
6196 |
@ATTR: |
6197 |
@@AName:bgcolor |
6198 |
@@DOMAName: bgColor |
6199 |
@@plAName: bgcolor |
6200 |
@@ReflectCDATA: |
6201 |
@@Get: |
6202 |
@@Set: |
6203 |
@ATTR: |
6204 |
@@Name: border |
6205 |
@@ReflectCDATA: |
6206 |
@@Get: |
6207 |
@@Set: |
6208 |
@ATTR: |
6209 |
@@AName:cellpadding |
6210 |
@@DOMAName: cellPadding |
6211 |
@@plAName: cellpadding |
6212 |
@@ReflectCDATA: |
6213 |
@@Get: |
6214 |
@@Set: |
6215 |
@ATTR: |
6216 |
@@AName:cellspacing |
6217 |
@@DOMAName: cellSpacing |
6218 |
@@plAName: cellspacing |
6219 |
@@ReflectCDATA: |
6220 |
@@Get: |
6221 |
@@Set: |
6222 |
@ATTR: |
6223 |
@@Name: frame |
6224 |
@@ReflectEnum: |
6225 |
@@Get: |
6226 |
@@Set: |
6227 |
@@ImplNote: |
6228 |
@@@lang:en |
6229 |
@@@@: |
6230 |
How <HTML::border> is implemented in DOM Level 0? |
6231 |
@ATTR: |
6232 |
@@Name: rules |
6233 |
@@ReflectEnum: |
6234 |
@@Get: |
6235 |
@@Set: |
6236 |
@ATTR: |
6237 |
@@Name: summary |
6238 |
@@ReflectCDATA: |
6239 |
@@Get: |
6240 |
@@Set: |
6241 |
@ATTR: |
6242 |
@@Name: width |
6243 |
@@ReflectCDATA: |
6244 |
@@Get: |
6245 |
@@Set: |
6246 |
@Method: |
6247 |
@@Name: createTHead |
6248 |
@@plAName: create_thead |
6249 |
@@Description: |
6250 |
@@@lang:en |
6251 |
@@@@: |
6252 |
Create the <HE::thead> element (if it does not exist) and |
6253 |
return it. |
6254 |
@@Return: |
6255 |
@@@Type: HTMLElement |
6256 |
@@@Description: |
6257 |
@@@@lang:en |
6258 |
@@@@@: |
6259 |
The <HE::thead> element. |
6260 |
@Method: |
6261 |
@@Name: deleteTHead |
6262 |
@@plAName: delete_thead |
6263 |
@@Description: |
6264 |
@@@lang:en |
6265 |
@@@@: |
6266 |
Delete the <HE::thead>, if any, from the table. |
6267 |
@@Return: |
6268 |
@Method: |
6269 |
@@Name: createTFoot |
6270 |
@@plAName: create_tfoot |
6271 |
@@Description: |
6272 |
@@@lang:en |
6273 |
@@@@: |
6274 |
Create the <HE::tfoot> element (if it does not exist) and |
6275 |
return it. |
6276 |
@@Return: |
6277 |
@@@Type: HTMLElement |
6278 |
@@@Description: |
6279 |
@@@@lang:en |
6280 |
@@@@@: |
6281 |
The <HE::tfoot> element. |
6282 |
@Method: |
6283 |
@@Name: deleteTFoot |
6284 |
@@plAName: delete_tfoot |
6285 |
@@Description: |
6286 |
@@@lang:en |
6287 |
@@@@: |
6288 |
Delete the <HE::tfoot>, if any, from the table. |
6289 |
@@Return: |
6290 |
@Method: |
6291 |
@@Name: createCaption |
6292 |
@@Description: |
6293 |
@@@lang:en |
6294 |
@@@@: |
6295 |
Create the table caption element (if it does not exist) and |
6296 |
return it. |
6297 |
@@Return: |
6298 |
@@@Type: HTMLElement |
6299 |
@@@Description: |
6300 |
@@@@lang:en |
6301 |
@@@@@: The table caption. |
6302 |
@Method: |
6303 |
@@Name: deleteCaption |
6304 |
@@Description: |
6305 |
@@@lang:en |
6306 |
@@@@: |
6307 |
Delete the table caption, if any. |
6308 |
@@Return: |
6309 |
@Method: |
6310 |
@@Name: insertRow |
6311 |
@@Description: |
6312 |
@@@lang:en |
6313 |
@@@@: |
6314 |
Insert a new empty row in this table. If this table is |
6315 |
empty, a <HE::tbody> is created and the new row is |
6316 |
inserted into it. |
6317 |
@@ImplNote: |
6318 |
@@@lang:en |
6319 |
@@@@: |
6320 |
DOM HTML Specifications note that a table row |
6321 |
cannot be empty according to HTML 4. But they do not |
6322 |
require DOM implementations to add a table cell. |
6323 |
@@Param: |
6324 |
@@@Name: index |
6325 |
@@@Type: |
6326 |
DOMMain:long |
6327 |
@@@Description: |
6328 |
@@@@lang:en |
6329 |
@@@@@: |
6330 |
The ordinal index of the row where to insert a new row, |
6331 |
starting from <DOM::0> and relative to the logical |
6332 |
order (not the document order). The new row is |
6333 |
inserted immediately before and in the same row group |
6334 |
as the current <P::index>th row. |
6335 |
@@@InCase: |
6336 |
@@@@Value:-1 |
6337 |
@@@@Description: |
6338 |
@@@@@lang:en |
6339 |
@@@@@@: |
6340 |
The new row is appended. |
6341 |
@@@@SpecLevel:2 |
6342 |
@@@InCase: |
6343 |
@@@@Label: |
6344 |
@@@@@lang:en |
6345 |
@@@@@@: |
6346 |
The number of rows |
6347 |
@@@@Description: |
6348 |
@@@@@lang:en |
6349 |
@@@@@@: |
6350 |
The new row is appended. |
6351 |
@@@@SpecLevel:2 |
6352 |
@@Return: |
6353 |
@@@Type: HTMLElement |
6354 |
@@@Description: |
6355 |
@@@@lang:en |
6356 |
@@@@@:The newly created row. |
6357 |
@@@Exception: |
6358 |
@@@@Name: INDEX_SIZE_ERR |
6359 |
@@@@Type: |
6360 |
DOMCore:DOMException |
6361 |
@@@@SubType: |
6362 |
@@@@@QName: |
6363 |
TODO: What? |
6364 |
@@@@@Description: |
6365 |
@@@@@@lang:en |
6366 |
@@@@@@@: |
6367 |
The <P::index> is greater than the number of rows |
6368 |
or less than <DOM::-1>. |
6369 |
@@@@SpecLevel:2 |
6370 |
@@@@ImplNote: |
6371 |
@@@@@lang:en |
6372 |
@@@@@@: |
6373 |
<SRC::DOM Level 1 Second Edition HTML, DOM Level 2 HTML> |
6374 |
(<P::index> cannot <DOM::-1> in DOM Level 1.) |
6375 |
@@Level[list]: |
6376 |
1 |
6377 |
2 |
6378 |
@@SpecLevel[list]: |
6379 |
1 |
6380 |
2 |
6381 |
@Method: |
6382 |
@@Name: deleteRow |
6383 |
@@Description: |
6384 |
@@@lang:en |
6385 |
@@@@:Delete a table row. |
6386 |
@@Param: |
6387 |
@@@Name: index |
6388 |
@@@Type: |
6389 |
DOMMain:long |
6390 |
@@@Description: |
6391 |
@@@@lang:en |
6392 |
@@@@@: |
6393 |
The ordinal index of the row to delete, starting from <DOM::0> |
6394 |
and relative to the logical order (not document order). |
6395 |
@@@InCase: |
6396 |
@@@@Value:-1 |
6397 |
@@@@Description: |
6398 |
@@@@@lang:en |
6399 |
@@@@@@: |
6400 |
The last row in the table is deleted. |
6401 |
@@@@SpecLevel:2 |
6402 |
@@@ImplNote: |
6403 |
@@@@lang:en |
6404 |
@@@@@: |
6405 |
In the order of <HE::thead> -> <HE::tbody>s -> <HE::tfoot>? |
6406 |
@@Return: |
6407 |
@@@Exception: |
6408 |
@@@@Name: INDEX_SIZE_ERR |
6409 |
@@@@Type: |
6410 |
DOMCore:DOMException |
6411 |
@@@@SubType: |
6412 |
@@@@@QName: |
6413 |
TODO: What? |
6414 |
@@@@@Description: |
6415 |
@@@@@@lang:en |
6416 |
@@@@@@@: |
6417 |
The <P::index> is greater than or equal to |
6418 |
the number of rows or the <P::index> is |
6419 |
less than <DOM::-1>. |
6420 |
@@@@SpecLevel:2 |
6421 |
@@@@ImplNote: |
6422 |
@@@@@lang:en |
6423 |
@@@@@@: |
6424 |
<SRC::DOM Level 1 Second Edition HTML, DOM Level 2 HTML> |
6425 |
(<P::index> cannot <DOM::-1> in DOM Level 1.) |
6426 |
@@Level[list]: |
6427 |
1 |
6428 |
2 |
6429 |
@@SpecLevel[list]: |
6430 |
1 |
6431 |
2 |
6432 |
##HTMLTableElement |
6433 |
|
6434 |
IfCls1ETDef: |
6435 |
@ETQName: |
6436 |
xhtml1:caption |
6437 |
@IFQName: HTMLTableCaptionElement |
6438 |
@ClsQName:ManakaiDOMHTMLTableCaptionElement |
6439 |
@ISAHTMLElement: |
6440 |
|
6441 |
@ATTR: |
6442 |
@@Name: align |
6443 |
@@Deprecated: |
6444 |
@@ReflectEnum: |
6445 |
@@Get: |
6446 |
@@Set: |
6447 |
##HTMLTableCaptionElement |
6448 |
|
6449 |
IfCls1ETDef: |
6450 |
@ETQName: |
6451 |
xhtml1:col |
6452 |
@IFQName: HTMLTableColElement |
6453 |
@ClsQName:ManakaiDOMHTMLTableColElement |
6454 |
@ISAHTMLElement: |
6455 |
|
6456 |
@ATTR: |
6457 |
@@Name: align |
6458 |
@@ReflectEnum: |
6459 |
@@Get: |
6460 |
@@Set: |
6461 |
@ATTR: |
6462 |
@@AName:char |
6463 |
@@DOMAName: ch |
6464 |
@@plAName: char |
6465 |
@@ReflectCDATA: |
6466 |
@@Get: |
6467 |
@@Set: |
6468 |
@ATTR: |
6469 |
@@AName:charoff |
6470 |
@@DOMAName: chOff |
6471 |
@@plAName: charoff |
6472 |
@@ReflectCDATA: |
6473 |
@@Get: |
6474 |
@@Set: |
6475 |
@ATTR: |
6476 |
@@Name: span |
6477 |
@@ReflectNumeric: |
6478 |
@@Get: |
6479 |
@@Set: |
6480 |
@ATTR: |
6481 |
@@AName:valign |
6482 |
@@DOMAName: vAlign |
6483 |
@@plAName: valign |
6484 |
@@ReflectCDATA: |
6485 |
@@Get: |
6486 |
@@Set: |
6487 |
@ATTR: |
6488 |
@@Name: width |
6489 |
@@ReflectCDATA: |
6490 |
@@Get: |
6491 |
@@Set: |
6492 |
##HTMLTableColElement |
6493 |
|
6494 |
ForDef: |
6495 |
@QName: |
6496 |
DOMHTML:ForTbody |
6497 |
@ISA: DOMHTML|ForAnET |
6498 |
ForDef: |
6499 |
@QName: |
6500 |
DOMHTML:ForThead |
6501 |
@ISA: DOMHTML|ForAnET |
6502 |
ForDef: |
6503 |
@QName: |
6504 |
DOMHTML:ForTfoot |
6505 |
@ISA: DOMHTML|ForAnET |
6506 |
|
6507 |
IfCls1ETsDef: |
6508 |
@rdf:type: |
6509 |
@@@: |
6510 |
dis:MultipleResource |
6511 |
@@For:ForHTML |
6512 |
@@ForCheck: |
6513 |
!ManakaiDOM:ForIF !ManakaiDOM:ForClass |
6514 |
!ForTbody !ForThead !ForTfoot |
6515 |
@resourceFor: |
6516 |
@@@: ForTbody |
6517 |
@@ForCheck:ForHTML |
6518 |
@resourceFor: |
6519 |
@@@: ForThead |
6520 |
@@ForCheck:ForHTML |
6521 |
@resourceFor: |
6522 |
@@@: ForTfoot |
6523 |
@@ForCheck:ForHTML |
6524 |
@rdf:type: |
6525 |
@@@: |
6526 |
s:ElementType |
6527 |
@@ForCheck: ForAnET |
6528 |
|
6529 |
@ETQName: |
6530 |
@@@: |
6531 |
xhtml1:tbody |
6532 |
@@ForCheck:ForTbody |
6533 |
@ETQName: |
6534 |
@@@: |
6535 |
xhtml1:thead |
6536 |
@@ForCheck:ForThead |
6537 |
@ETQName: |
6538 |
@@@: |
6539 |
xhtml1:tfoot |
6540 |
@@ForCheck:ForTfoot |
6541 |
|
6542 |
@elementType: |
6543 |
@@@: ||ForHTML40SE||ForTfoot |
6544 |
@@ForCheck: ManakaiDOM|DOM1 !ManakaiDOM|DOM2 |
6545 |
@@ContentType: DISCore|TFPQNames |
6546 |
@elementType: |
6547 |
@@@: ||ForHTML401||ForTfoot |
6548 |
@@ForCheck: ManakaiDOM|DOM2 |
6549 |
@@ContentType: DISCore|TFPQNames |
6550 |
@elementType: |
6551 |
@@@: ||ForXHTML10SE||ForTfoot |
6552 |
@@ForCheck: ManakaiDOM|DOM2 |
6553 |
@@ContentType: DISCore|TFPQNames |
6554 |
|
6555 |
|
6556 |
@elementType: |
6557 |
@@@: ||ForHTML40SE||ForTbody |
6558 |
@@ForCheck: ManakaiDOM|DOM1 !ManakaiDOM|DOM2 |
6559 |
@@ContentType: DISCore|TFPQNames |
6560 |
@elementType: |
6561 |
@@@: ||ForHTML401||ForTbody |
6562 |
@@ForCheck: ManakaiDOM|DOM2 |
6563 |
@@ContentType: DISCore|TFPQNames |
6564 |
@elementType: |
6565 |
@@@: ||ForXHTML10SE||ForTbody |
6566 |
@@ForCheck: ManakaiDOM|DOM2 |
6567 |
@@ContentType: DISCore|TFPQNames |
6568 |
|
6569 |
|
6570 |
@elementType: |
6571 |
@@@: ||ForHTML40SE||ForThead |
6572 |
@@ForCheck: ManakaiDOM|DOM1 !ManakaiDOM|DOM2 |
6573 |
@@ContentType: DISCore|TFPQNames |
6574 |
@elementType: |
6575 |
@@@: ||ForHTML401||ForThead |
6576 |
@@ForCheck: ManakaiDOM|DOM2 |
6577 |
@@ContentType: DISCore|TFPQNames |
6578 |
@elementType: |
6579 |
@@@: ||ForXHTML10SE||ForThead |
6580 |
@@ForCheck: ManakaiDOM|DOM2 |
6581 |
@@ContentType: DISCore|TFPQNames |
6582 |
|
6583 |
@IFQName: HTMLTableSectionElement |
6584 |
@ClsQName:ManakaiDOMHTMLTableSectionElement |
6585 |
@ISAHTMLElement: |
6586 |
|
6587 |
@Attrs: |
6588 |
@@Name: align |
6589 |
@@ReflectEnum: |
6590 |
@@Get: |
6591 |
@@Set: |
6592 |
@@docAttrP1S: ||ForHTML40SE||ForThead |
6593 |
@@docAttrP2S: ||ForHTML401||ForThead |
6594 |
@@docAttrP2X: ||ForXHTML10SE||ForThead |
6595 |
@@docAttrP1S: ||ForHTML40SE||ForTbody |
6596 |
@@docAttrP2S: ||ForHTML401||ForTbody |
6597 |
@@docAttrP2X: ||ForXHTML10SE||ForTbody |
6598 |
@@docAttrP1S: ||ForHTML40SE||ForTfoot |
6599 |
@@docAttrP2S: ||ForHTML401||ForTfoot |
6600 |
@@docAttrP2X: ||ForXHTML10SE||ForTfoot |
6601 |
@Attrs: |
6602 |
@@AName: char |
6603 |
@@DOMAName: ch |
6604 |
@@plAName: char |
6605 |
@@ReflectCDATA: |
6606 |
@@Get: |
6607 |
@@Set: |
6608 |
@@docAttrP1S: ||ForHTML40SE||ForThead |
6609 |
@@docAttrP2S: ||ForHTML401||ForThead |
6610 |
@@docAttrP2X: ||ForXHTML10SE||ForThead |
6611 |
@@docAttrP1S: ||ForHTML40SE||ForTbody |
6612 |
@@docAttrP2S: ||ForHTML401||ForTbody |
6613 |
@@docAttrP2X: ||ForXHTML10SE||ForTbody |
6614 |
@@docAttrP1S: ||ForHTML40SE||ForTfoot |
6615 |
@@docAttrP2S: ||ForHTML401||ForTfoot |
6616 |
@@docAttrP2X: ||ForXHTML10SE||ForTfoot |
6617 |
@Attrs: |
6618 |
@@AName:charoff |
6619 |
@@DOMAName: chOff |
6620 |
@@plAName: charoff |
6621 |
@@ReflectCDATA: |
6622 |
@@Get: |
6623 |
@@Set: |
6624 |
@@docAttrP1S: ||ForHTML40SE||ForThead |
6625 |
@@docAttrP2S: ||ForHTML401||ForThead |
6626 |
@@docAttrP2X: ||ForXHTML10SE||ForThead |
6627 |
@@docAttrP1S: ||ForHTML40SE||ForTbody |
6628 |
@@docAttrP2S: ||ForHTML401||ForTbody |
6629 |
@@docAttrP2X: ||ForXHTML10SE||ForTbody |
6630 |
@@docAttrP1S: ||ForHTML40SE||ForTfoot |
6631 |
@@docAttrP2S: ||ForHTML401||ForTfoot |
6632 |
@@docAttrP2X: ||ForXHTML10SE||ForTfoot |
6633 |
@Attrs: |
6634 |
@@AName:valign |
6635 |
@@DOMAName: vAlign |
6636 |
@@plAName: valign |
6637 |
@@ReflectEnum: |
6638 |
@@Get: |
6639 |
@@Set: |
6640 |
@@docAttrP1S: ||ForHTML40SE||ForThead |
6641 |
@@docAttrP2S: ||ForHTML401||ForThead |
6642 |
@@docAttrP2X: ||ForXHTML10SE||ForThead |
6643 |
@@docAttrP1S: ||ForHTML40SE||ForTbody |
6644 |
@@docAttrP2S: ||ForHTML401||ForTbody |
6645 |
@@docAttrP2X: ||ForXHTML10SE||ForTbody |
6646 |
@@docAttrP1S: ||ForHTML40SE||ForTfoot |
6647 |
@@docAttrP2S: ||ForHTML401||ForTfoot |
6648 |
@@docAttrP2X: ||ForXHTML10SE||ForTfoot |
6649 |
@Attr: |
6650 |
@@Name: rows |
6651 |
@@Description: |
6652 |
@@@lang:en |
6653 |
@@@@: |
6654 |
A collection of rows in this table row group. |
6655 |
@@Get: |
6656 |
@@@Type: HTMLCollection |
6657 |
@Method: |
6658 |
@@Name: insertRow |
6659 |
@@Description: |
6660 |
@@@lang:en |
6661 |
@@@@: |
6662 |
Insert a table row into this row group. |
6663 |
@@Param: |
6664 |
@@@Name: index |
6665 |
@@@Type: |
6666 |
DOMMain:long |
6667 |
@@@Description: |
6668 |
@@@@lang:en |
6669 |
@@@@@: |
6670 |
The ordinal index of the row where to insert a new row, |
6671 |
starting from <DOM::0> and relative only to the |
6672 |
rows contained inside this row group. The new row |
6673 |
is inserted immediately before the current <P::index>th |
6674 |
row. |
6675 |
@@@InCase: |
6676 |
@@@@Value:-1 |
6677 |
@@@@Description: |
6678 |
@@@@@lang:en |
6679 |
@@@@@@: |
6680 |
The new row is appended. |
6681 |
@@@@SpecLevel:2 |
6682 |
@@@InCase: |
6683 |
@@@@Label: |
6684 |
@@@@@lang:en |
6685 |
@@@@@@:The number of rows in this row group |
6686 |
@@@@Description: |
6687 |
@@@@@lang:en |
6688 |
@@@@@@: |
6689 |
The new row is appended. |
6690 |
@@@@SpecLevel:2 |
6691 |
@@Return: |
6692 |
@@@Type: HTMLElement |
6693 |
@@@Description: |
6694 |
@@@@lang:en |
6695 |
@@@@@:The newly created table row. |
6696 |
@@@Exception: |
6697 |
@@@@Name: INDEX_SIZE_ERR |
6698 |
@@@@Type: |
6699 |
DOMCore:DOMException |
6700 |
@@@@SubType: |
6701 |
@@@@@QName: |
6702 |
TODO: What? |
6703 |
@@@@@Description: |
6704 |
@@@@@@lang:en |
6705 |
@@@@@@@: |
6706 |
The <P::index> is greater than the number |
6707 |
of rows or less than <DOM::-1>. |
6708 |
@@@@SpecLevel:2 |
6709 |
@@@@ImplNote: |
6710 |
@@@@@lang:en |
6711 |
@@@@@@: |
6712 |
<SRC::DOM Level 1 Second Edition HTML, DOM Level 2 HTML> |
6713 |
(<P::index> cannot <DOM::-1> in DOM Level 1.) |
6714 |
@@Level[list]: |
6715 |
1 |
6716 |
2 |
6717 |
@@SpecLevel[list]: |
6718 |
1 |
6719 |
2 |
6720 |
@Method: |
6721 |
@@Name: deleteRow |
6722 |
@@Description: |
6723 |
@@@lang:en |
6724 |
@@@@: |
6725 |
Delete a table row from this table row group. |
6726 |
@@Param: |
6727 |
@@@Name: index |
6728 |
@@@Type: |
6729 |
DOMMain:long |
6730 |
@@@Description: |
6731 |
@@@@lang:en |
6732 |
@@@@@: |
6733 |
The ordinal index of the row to delete, starting |
6734 |
from <DOM::0> and relative |
6735 |
only to the rows contained inside this row group. |
6736 |
@@@InCase: |
6737 |
@@@@Value:-1 |
6738 |
@@@@Description: |
6739 |
@@@@@lang:en |
6740 |
@@@@@@: |
6741 |
Delete the last row. |
6742 |
@@@@SpecLevel:2 |
6743 |
@@Return: |
6744 |
@@@Exception: |
6745 |
@@@@Name: INDEX_SIZE_ERR |
6746 |
@@@@Type: |
6747 |
DOMCore:DOMException |
6748 |
@@@@SubType: |
6749 |
@@@@@QName: |
6750 |
TODO: What? |
6751 |
@@@@@Description: |
6752 |
@@@@@@lang:en |
6753 |
@@@@@@@: |
6754 |
The <P::index> is greater than or equal to |
6755 |
the number of rows or the <P::index> is less |
6756 |
than <DOM::-1>. |
6757 |
@@@@SpecLevel:2 |
6758 |
@@@@ImplNote: |
6759 |
@@@@@lang:en |
6760 |
@@@@@@: |
6761 |
<SRC::DOM Level 1 Second Edition HTML, DOM Level 2 HTML> |
6762 |
(<P::index> cannot <DOM::-1> in DOM Level 1.) |
6763 |
@@Level[list]: |
6764 |
1 |
6765 |
2 |
6766 |
@@SpecLevel[list]: |
6767 |
1 |
6768 |
2 |
6769 |
##HTMLTableSectionElement |
6770 |
|
6771 |
IfCls12ETDef: |
6772 |
@ETQName: |
6773 |
xhtml1:tr |
6774 |
@IFQName: HTMLTableRowElement |
6775 |
@ClsQName:ManakaiDOMHTMLTableRowElement |
6776 |
@ISAHTMLElement: |
6777 |
|
6778 |
@Attr: |
6779 |
@@Name: rowIndex |
6780 |
@@Description: |
6781 |
@@@lang:en |
6782 |
@@@@: |
6783 |
The ordinal index of the row, starting from <DOM::0>, |
6784 |
in the logical order (not the document order). |
6785 |
\ |
6786 |
{NOTE:: The logical order take row groups into account; |
6787 |
placing <HE::thead> rows first, followed by |
6788 |
<HE::tbody> rows, followed by <HE::tfoot> rows. |
6789 |
\ |
6790 |
} |
6791 |
@@Get: |
6792 |
@@@Type: |
6793 |
DOMMain:long |
6794 |
@@ImplNote: |
6795 |
@@@lang:en |
6796 |
@@@@: |
6797 |
Writable in DOM Level 1 FE, with no description - |
6798 |
fixed in the Errata. |
6799 |
@@Level[list]: |
6800 |
1 |
6801 |
@@SpecLevel[list]: |
6802 |
1 |
6803 |
2 |
6804 |
@Attr: |
6805 |
@@Name: sectionRowIndex |
6806 |
@@Description: |
6807 |
@@@lang:en |
6808 |
@@@@: |
6809 |
The ordinal index of this row, starting from <DOM::0> |
6810 |
and relative to this row group. |
6811 |
@@Get: |
6812 |
@@@Type: |
6813 |
DOMMain:long |
6814 |
@@ImplNote: |
6815 |
@@@lang:en |
6816 |
@@@@: |
6817 |
Writable in DOM Level 1 FE, with no description. |
6818 |
@@Level[list]: |
6819 |
1 |
6820 |
@@SpecLevel[list]: |
6821 |
1 |
6822 |
2 |
6823 |
@Attr: |
6824 |
@@Name: cells |
6825 |
@@Description: |
6826 |
@@@lang:en |
6827 |
@@@@:The collection of cells in this row. |
6828 |
@@Get: |
6829 |
@@@Type: HTMLCollection |
6830 |
@@ImplNote: |
6831 |
@@@lang:en |
6832 |
@@@@: |
6833 |
Writable in DOM Level 1 FE, with no description. |
6834 |
@@Level[list]: |
6835 |
1 |
6836 |
@@SpecLevel[list]: |
6837 |
1 |
6838 |
2 |
6839 |
@ATTR: |
6840 |
@@Name: align |
6841 |
@@ReflectEnum: |
6842 |
@@Get: |
6843 |
@@Set: |
6844 |
@ATTR: |
6845 |
@@AName:bgcolor |
6846 |
@@DOMAName: bgColor |
6847 |
@@plAName: bgcolor |
6848 |
@@Deprecated: |
6849 |
@@ReflectCDATA: |
6850 |
@@Get: |
6851 |
@@Set: |
6852 |
@ATTR: |
6853 |
@@AName:char |
6854 |
@@DOMAName: ch |
6855 |
@@plAName: char |
6856 |
@@ReflectCDATA: |
6857 |
@@Get: |
6858 |
@@Set: |
6859 |
@ATTR: |
6860 |
@@AName:charoff |
6861 |
@@DOMAName: chOff |
6862 |
@@plAName: charoff |
6863 |
@@ReflectCDATA: |
6864 |
@@Get: |
6865 |
@@Set: |
6866 |
@ATTR: |
6867 |
@@AName:valign |
6868 |
@@DOMAName: vAlign |
6869 |
@@plAName: valign |
6870 |
@@ReflectEnum: |
6871 |
@@Get: |
6872 |
@@Set: |
6873 |
@Method: |
6874 |
@@Name: insertCell |
6875 |
@@Description: |
6876 |
@@@lang:en |
6877 |
@@@@: |
6878 |
Insert an empty data cell (<HE::td>) into this row. |
6879 |
@@Param: |
6880 |
@@@Name: index |
6881 |
@@@Type: |
6882 |
DOMMain:long |
6883 |
@@@Description: |
6884 |
@@@@lang:en |
6885 |
@@@@@: |
6886 |
The index where the new cell is inserted, starting |
6887 |
from <DOM::0>. |
6888 |
@@@InCase: |
6889 |
@@@@Value:-1 |
6890 |
@@@@Description: |
6891 |
@@@@@lang:en |
6892 |
@@@@@@:The new cell is appended. |
6893 |
@@@@SpecLevel:2 |
6894 |
@@@InCase: |
6895 |
@@@@Label: |
6896 |
@@@@@lang:en |
6897 |
@@@@@@:The number of cells |
6898 |
@@@@Description: |
6899 |
@@@@@lang:en |
6900 |
@@@@@@:The new cell is appended. |
6901 |
@@@@SpecLevel:2 |
6902 |
@@Return: |
6903 |
@@@Type: HTMLElement |
6904 |
@@@Description: |
6905 |
@@@@lang:en |
6906 |
@@@@@:The newly inserted cell. |
6907 |
@@@Exception: |
6908 |
@@@@Name: INDEX_SIZE_ERR |
6909 |
@@@@Type: |
6910 |
DOMCore:DOMException |
6911 |
@@@@SubType: |
6912 |
@@@@@QName: |
6913 |
TODO: What? |
6914 |
@@@@@Description: |
6915 |
@@@@@@lang:en |
6916 |
@@@@@@@: |
6917 |
The <P::index> is greater than the number of |
6918 |
cells or less than <DOM::-1>. |
6919 |
@@@@SpecLevel:2 |
6920 |
@@@@ImplNote: |
6921 |
@@@@@lang:en |
6922 |
@@@@@@: |
6923 |
<SRC::DOM Level 1 Second Edition HTML, DOM Level 2 HTML> |
6924 |
(<P::index> cannot <DOM::-1> in DOM Level 1.) |
6925 |
@@Level[list]: |
6926 |
1 |
6927 |
2 |
6928 |
@@SpecLevel[list]: |
6929 |
1 |
6930 |
2 |
6931 |
@Method: |
6932 |
@@Name: deleteCell |
6933 |
@@Description: |
6934 |
@@@lang:en |
6935 |
@@@@:Delete a cell from this row. |
6936 |
@@Param: |
6937 |
@@@Name: index |
6938 |
@@@Type: |
6939 |
DOMMain:long |
6940 |
@@@Description: |
6941 |
@@@@lang:en |
6942 |
@@@@@: |
6943 |
The index of the cell to delete, starting from <DOM::0> |
6944 |
and in the document order. |
6945 |
@@@InCase: |
6946 |
@@@@Value:-1 |
6947 |
@@@@Description: |
6948 |
@@@@@lang:en |
6949 |
@@@@@@: |
6950 |
The last cell is deleted. |
6951 |
@@@@SpecLevel:2 |
6952 |
@@Return: |
6953 |
@@@Exception: |
6954 |
@@@@Name: INDEX_SIZE_ERR |
6955 |
@@@@Type: |
6956 |
DOMCore:DOMException |
6957 |
@@@@SubType: |
6958 |
@@@@@QName: |
6959 |
TODO: What? |
6960 |
@@@@@Description: |
6961 |
@@@@@@lang:en |
6962 |
@@@@@@@: |
6963 |
THe <P::index> is greater than or equal to the number |
6964 |
of the cells or less than <DOM::-1>. |
6965 |
@@@@SpecLevel:2 |
6966 |
@@@@ImplNote: |
6967 |
@@@@@lang:en |
6968 |
@@@@@@: |
6969 |
<SRC::DOM Level 1 Second Edition HTML, DOM Level 2 HTML> |
6970 |
(<P::index> cannot <DOM::-1> in DOM Level 1.) |
6971 |
@@Level[list]: |
6972 |
1 |
6973 |
2 |
6974 |
@@SpecLevel[list]: |
6975 |
1 |
6976 |
2 |
6977 |
##HTMLTableRowElement |
6978 |
|
6979 |
ForDef: |
6980 |
@QName: |
6981 |
DOMHTML:ForTd |
6982 |
@ISA: DOMHTML|ForAnET |
6983 |
ForDef: |
6984 |
@QName: |
6985 |
DOMHTML:ForTh |
6986 |
@ISA: DOMHTML|ForAnET |
6987 |
|
6988 |
IfCls1ETsDef: |
6989 |
@rdf:type: |
6990 |
@@@: |
6991 |
dis:MultipleResource |
6992 |
@@For:ForHTML |
6993 |
@@ForCheck: |
6994 |
!ManakaiDOM:ForIF !ManakaiDOM:ForClass |
6995 |
!ForTd !ForTh |
6996 |
@resourceFor: |
6997 |
@@@: ForTd |
6998 |
@@For:ForHTML |
6999 |
@resourceFor: |
7000 |
@@@:ForTh |
7001 |
@@For:ForHTML |
7002 |
@rdf:type: |
7003 |
@@@: |
7004 |
s:ElementType |
7005 |
@@ForCheck: ForAnET |
7006 |
|
7007 |
@ETQName: |
7008 |
@@@: |
7009 |
xhtml1:td |
7010 |
@@ForCheck:ForTd |
7011 |
@ETQName: |
7012 |
@@@: |
7013 |
xhtml1:th |
7014 |
@@ForCheck:ForTh |
7015 |
|
7016 |
@elementType: |
7017 |
@@@: ||ForHTML40SE||ForTh |
7018 |
@@ForCheck: ManakaiDOM|DOM1 !ManakaiDOM|DOM2 |
7019 |
@@ContentType: DISCore|TFPQNames |
7020 |
@elementType: |
7021 |
@@@: ||ForHTML401||ForTh |
7022 |
@@ForCheck: ManakaiDOM|DOM2 |
7023 |
@@ContentType: DISCore|TFPQNames |
7024 |
@elementType: |
7025 |
@@@: ||ForXHTML10SE||ForTh |
7026 |
@@ForCheck: ManakaiDOM|DOM2 |
7027 |
@@ContentType: DISCore|TFPQNames |
7028 |
|
7029 |
@elementType: |
7030 |
@@@: ||ForHTML40SE||ForTd |
7031 |
@@ForCheck: ManakaiDOM|DOM1 !ManakaiDOM|DOM2 |
7032 |
@@ContentType: DISCore|TFPQNames |
7033 |
@elementType: |
7034 |
@@@: ||ForHTML401||ForTd |
7035 |
@@ForCheck: ManakaiDOM|DOM2 |
7036 |
@@ContentType: DISCore|TFPQNames |
7037 |
@elementType: |
7038 |
@@@: ||ForXHTML10SE||ForTd |
7039 |
@@ForCheck: ManakaiDOM|DOM2 |
7040 |
@@ContentType: DISCore|TFPQNames |
7041 |
|
7042 |
@IFQName: HTMLTableCellElement |
7043 |
@ClsQName:ManakaiDOMHTMLTableCellElement |
7044 |
@ISAHTMLElement: |
7045 |
|
7046 |
@Attr: |
7047 |
@@Name: cellIndex |
7048 |
@@Description: |
7049 |
@@@lang:en |
7050 |
@@@@: |
7051 |
The ordinal index of this cell in the row, |
7052 |
starting from <DOM::0> and in the document order |
7053 |
(not the display order). |
7054 |
@@Get: |
7055 |
@@@Type: |
7056 |
DOMMain:long |
7057 |
@@ImplNote: |
7058 |
@@@lang:en |
7059 |
@@@@: |
7060 |
Writable in DOM Level 1 FE - fixed in the Errata. |
7061 |
@Attrs: |
7062 |
@@Name: abbr |
7063 |
@@ReflectCDATA: |
7064 |
@@Get: |
7065 |
@@Set: |
7066 |
@@docAttrP1S: ||ForHTML40SE||ForTh |
7067 |
@@docAttrP2S: ||ForHTML401||ForTh |
7068 |
@@docAttrP2X: ||ForXHTML10SE||ForTh |
7069 |
@@docAttrP1S: ||ForHTML40SE||ForTd |
7070 |
@@docAttrP2S: ||ForHTML401||ForTd |
7071 |
@@docAttrP2X: ||ForXHTML10SE||ForTd |
7072 |
@Attrs: |
7073 |
@@Name: align |
7074 |
@@ReflectEnum: |
7075 |
@@Get: |
7076 |
@@Set: |
7077 |
@@docAttrP1S: ||ForHTML40SE||ForTh |
7078 |
@@docAttrP2S: ||ForHTML401||ForTh |
7079 |
@@docAttrP2X: ||ForXHTML10SE||ForTh |
7080 |
@@docAttrP1S: ||ForHTML40SE||ForTd |
7081 |
@@docAttrP2S: ||ForHTML401||ForTd |
7082 |
@@docAttrP2X: ||ForXHTML10SE||ForTd |
7083 |
@Attrs: |
7084 |
@@Name: axis |
7085 |
@@ReflectCDATA: |
7086 |
@@Get: |
7087 |
@@Set: |
7088 |
@@docAttrP1S: ||ForHTML40SE||ForTh |
7089 |
@@docAttrP2S: ||ForHTML401||ForTh |
7090 |
@@docAttrP2X: ||ForXHTML10SE||ForTh |
7091 |
@@docAttrP1S: ||ForHTML40SE||ForTd |
7092 |
@@docAttrP2S: ||ForHTML401||ForTd |
7093 |
@@docAttrP2X: ||ForXHTML10SE||ForTd |
7094 |
@Attrs: |
7095 |
@@AName:bgcolor |
7096 |
@@DOMAName: bgColor |
7097 |
@@plAName: bgcolor |
7098 |
@@Deprecated: |
7099 |
@@ReflectCDATA: |
7100 |
@@Get: |
7101 |
@@Set: |
7102 |
@@docAttrP1S: ||ForHTML40SE||ForTh |
7103 |
@@docAttrP2S: ||ForHTML401||ForTh |
7104 |
@@docAttrP2X: ||ForXHTML10SE||ForTh |
7105 |
@@docAttrP1S: ||ForHTML40SE||ForTd |
7106 |
@@docAttrP2S: ||ForHTML401||ForTd |
7107 |
@@docAttrP2X: ||ForXHTML10SE||ForTd |
7108 |
@Attrs: |
7109 |
@@AName:char |
7110 |
@@DOMAName: ch |
7111 |
@@plAName: char |
7112 |
@@ReflectCDATA: |
7113 |
@@Get: |
7114 |
@@Set: |
7115 |
@@docAttrP1S: ||ForHTML40SE||ForTh |
7116 |
@@docAttrP2S: ||ForHTML401||ForTh |
7117 |
@@docAttrP2X: ||ForXHTML10SE||ForTh |
7118 |
@@docAttrP1S: ||ForHTML40SE||ForTd |
7119 |
@@docAttrP2S: ||ForHTML401||ForTd |
7120 |
@@docAttrP2X: ||ForXHTML10SE||ForTd |
7121 |
@Attrs: |
7122 |
@@AName:charoff |
7123 |
@@DOMAName: chOff |
7124 |
@@plAName: charoff |
7125 |
@@ReflectCDATA: |
7126 |
@@Get: |
7127 |
@@Set: |
7128 |
@@docAttrP1S: ||ForHTML40SE||ForTh |
7129 |
@@docAttrP2S: ||ForHTML401||ForTh |
7130 |
@@docAttrP2X: ||ForXHTML10SE||ForTh |
7131 |
@@docAttrP1S: ||ForHTML40SE||ForTd |
7132 |
@@docAttrP2S: ||ForHTML401||ForTd |
7133 |
@@docAttrP2X: ||ForXHTML10SE||ForTd |
7134 |
@Attrs: |
7135 |
@@AName:colspan |
7136 |
@@DOMAName: colSpan |
7137 |
@@plAName: colspan |
7138 |
@@ReflectNumeric: |
7139 |
@@Get: |
7140 |
@@Set: |
7141 |
@@docAttrP1S: ||ForHTML40SE||ForTh |
7142 |
@@docAttrP2S: ||ForHTML401||ForTh |
7143 |
@@docAttrP2X: ||ForXHTML10SE||ForTh |
7144 |
@@docAttrP1S: ||ForHTML40SE||ForTd |
7145 |
@@docAttrP2S: ||ForHTML401||ForTd |
7146 |
@@docAttrP2X: ||ForXHTML10SE||ForTd |
7147 |
@Attrs: |
7148 |
@@Name: headers |
7149 |
@@ReflectCDATA: |
7150 |
@@Get: |
7151 |
@@Set: |
7152 |
@@docAttrP1S: ||ForHTML40SE||ForTh |
7153 |
@@docAttrP2S: ||ForHTML401||ForTh |
7154 |
@@docAttrP2X: ||ForXHTML10SE||ForTh |
7155 |
@@docAttrP1S: ||ForHTML40SE||ForTd |
7156 |
@@docAttrP2S: ||ForHTML401||ForTd |
7157 |
@@docAttrP2X: ||ForXHTML10SE||ForTd |
7158 |
@Attrs: |
7159 |
@@Name: height |
7160 |
@@Deprecated: |
7161 |
@@ReflectCDATA: |
7162 |
@@Get: |
7163 |
@@Set: |
7164 |
@@docAttrP1S: ||ForHTML40SE||ForTh |
7165 |
@@docAttrP2S: ||ForHTML401||ForTh |
7166 |
@@docAttrP2X: ||ForXHTML10SE||ForTh |
7167 |
@@docAttrP1S: ||ForHTML40SE||ForTd |
7168 |
@@docAttrP2S: ||ForHTML401||ForTd |
7169 |
@@docAttrP2X: ||ForXHTML10SE||ForTd |
7170 |
@Attrs: |
7171 |
@@AName:nowrap |
7172 |
@@DOMAName: noWrap |
7173 |
@@plAName: nowrap |
7174 |
@@Deprecated: |
7175 |
@@ReflectBoolean: |
7176 |
@@Get: |
7177 |
@@@InCase: |
7178 |
@@@@Value: true |
7179 |
@@@InCase: |
7180 |
@@@@Value: false |
7181 |
@@Set: |
7182 |
@@@InCase: |
7183 |
@@@@Value: true |
7184 |
@@@InCase: |
7185 |
@@@@Value: false |
7186 |
@@docAttrP1S: ||ForHTML40SE||ForTh |
7187 |
@@docAttrP2S: ||ForHTML401||ForTh |
7188 |
@@docAttrP2X: ||ForXHTML10SE||ForTh |
7189 |
@@docAttrP1S: ||ForHTML40SE||ForTd |
7190 |
@@docAttrP2S: ||ForHTML401||ForTd |
7191 |
@@docAttrP2X: ||ForXHTML10SE||ForTd |
7192 |
@Attrs: |
7193 |
@@AName:rowspan |
7194 |
@@DOMAName: rowSpan |
7195 |
@@plAName: rowspan |
7196 |
@@ReflectNumeric: |
7197 |
@@Get: |
7198 |
@@Set: |
7199 |
@@docAttrP1S: ||ForHTML40SE||ForTh |
7200 |
@@docAttrP2S: ||ForHTML401||ForTh |
7201 |
@@docAttrP2X: ||ForXHTML10SE||ForTh |
7202 |
@@docAttrP1S: ||ForHTML40SE||ForTd |
7203 |
@@docAttrP2S: ||ForHTML401||ForTd |
7204 |
@@docAttrP2X: ||ForXHTML10SE||ForTd |
7205 |
@Attrs: |
7206 |
@@Name: scope |
7207 |
@@ReflectEnum: |
7208 |
@@Get: |
7209 |
@@Set: |
7210 |
@@docAttrP1S: ||ForHTML40SE||ForTh |
7211 |
@@docAttrP2S: ||ForHTML401||ForTh |
7212 |
@@docAttrP2X: ||ForXHTML10SE||ForTh |
7213 |
@@docAttrP1S: ||ForHTML40SE||ForTd |
7214 |
@@docAttrP2S: ||ForHTML401||ForTd |
7215 |
@@docAttrP2X: ||ForXHTML10SE||ForTd |
7216 |
@Attrs: |
7217 |
@@AName:valign |
7218 |
@@DOMAName: vAlign |
7219 |
@@plAName: valign |
7220 |
@@ReflectEnum: |
7221 |
@@Get: |
7222 |
@@Set: |
7223 |
@@docAttrP1S: ||ForHTML40SE||ForTh |
7224 |
@@docAttrP2S: ||ForHTML401||ForTh |
7225 |
@@docAttrP2X: ||ForXHTML10SE||ForTh |
7226 |
@@docAttrP1S: ||ForHTML40SE||ForTd |
7227 |
@@docAttrP2S: ||ForHTML401||ForTd |
7228 |
@@docAttrP2X: ||ForXHTML10SE||ForTd |
7229 |
@Attrs: |
7230 |
@@Name: width |
7231 |
@@Deprecated: |
7232 |
@@ReflectCDATA: |
7233 |
@@Get: |
7234 |
@@Set: |
7235 |
@@docAttrP1S: ||ForHTML40SE||ForTh |
7236 |
@@docAttrP2S: ||ForHTML401||ForTh |
7237 |
@@docAttrP2X: ||ForXHTML10SE||ForTh |
7238 |
@@docAttrP1S: ||ForHTML40SE||ForTd |
7239 |
@@docAttrP2S: ||ForHTML401||ForTd |
7240 |
@@docAttrP2X: ||ForXHTML10SE||ForTd |
7241 |
##HTMLTableCellElement |
7242 |
|
7243 |
IfCls1ETDef: |
7244 |
@ETQName: |
7245 |
xhtml1:frameset |
7246 |
@IFQName: HTMLFrameSetElement |
7247 |
@ClsQName:ManakaiDOMHTMLFrameSetElement |
7248 |
@ISAHTMLElement: |
7249 |
|
7250 |
@ForCheck: !ForXHTML11 |
7251 |
|
7252 |
@ATTR: |
7253 |
@@Name: cols |
7254 |
@@ReflectCDATA: |
7255 |
@@Get: |
7256 |
@@Set: |
7257 |
@ATTR: |
7258 |
@@Name: rows |
7259 |
@@ReflectCDATA: |
7260 |
@@Get: |
7261 |
@@Set: |
7262 |
##HTMLFrameSetElement |
7263 |
|
7264 |
IfCls1ETDef: |
7265 |
@ETQName: |
7266 |
xhtml1:frame |
7267 |
@IFQName: HTMLFrameElement |
7268 |
@ClsQName:ManakaiDOMHTMLFrameElement |
7269 |
@ISAHTMLElement: |
7270 |
|
7271 |
@ForCheck: !ForXHTML11 |
7272 |
|
7273 |
@ATTR: |
7274 |
@@AName:frameborder |
7275 |
@@DOMAName: frameBorder |
7276 |
@@plAName: frameborder |
7277 |
@@ReflectCDATA: |
7278 |
@@Get: |
7279 |
@@Set: |
7280 |
@ATTR: |
7281 |
@@AName:longdesc |
7282 |
@@DOMAName: longDesc |
7283 |
@@plAName: longdesc |
7284 |
@@ReflectURI: |
7285 |
@@Get: |
7286 |
@@Set: |
7287 |
@ATTR: |
7288 |
@@AName:marginheight |
7289 |
@@DOMAName: marginHeight |
7290 |
@@plAName: marginheight |
7291 |
@@ReflectCDATA: |
7292 |
@@Get: |
7293 |
@@Set: |
7294 |
@ATTR: |
7295 |
@@AName:marginwidth |
7296 |
@@DOMAName: marginWidth |
7297 |
@@plAName: marginwidth |
7298 |
@@ReflectCDATA: |
7299 |
@@Get: |
7300 |
@@Set: |
7301 |
@ATTR: |
7302 |
@@Name: name |
7303 |
@@ReflectCDATA: |
7304 |
@@Get: |
7305 |
@@Set: |
7306 |
@ATTR: |
7307 |
@@AName:noresize |
7308 |
@@DOMAName: noResize |
7309 |
@@plAName: noresize |
7310 |
@@ReflectBoolean: |
7311 |
@@Get: |
7312 |
@@@InCase: |
7313 |
@@@@Value: true |
7314 |
@@@InCase: |
7315 |
@@@@Value: false |
7316 |
@@Set: |
7317 |
@@@InCase: |
7318 |
@@@@Value: true |
7319 |
@@@InCase: |
7320 |
@@@@Value: false |
7321 |
@ATTR: |
7322 |
@@Name: scrolling |
7323 |
@@ReflectEnum: |
7324 |
@@Get: |
7325 |
@@Set: |
7326 |
@ATTR: |
7327 |
@@Name: src |
7328 |
@@ReflectURI: |
7329 |
@@Get: |
7330 |
@@Set: |
7331 |
@Attr: |
7332 |
@@Name: contentDocument |
7333 |
@@Description: |
7334 |
@@@lang:en |
7335 |
@@@@: |
7336 |
The document this frame contains, if any and available. |
7337 |
@@Get: |
7338 |
@@@Type: Document |
7339 |
@@@InCase: |
7340 |
@@@@Value: |
7341 |
@@@@@is-null:1 |
7342 |
@@@@Description: |
7343 |
@@@@@lang:en |
7344 |
@@@@@@: |
7345 |
There is no document or it is not available. |
7346 |
@@@Def: |
7347 |
@@@@ContentType: |
7348 |
lang:dis |
7349 |
@@@@GetPropNode: |
7350 |
DOMHTML:contentDocument |
7351 |
@@Level[list]: 2 |
7352 |
@@SpecLevel[list]: 2 |
7353 |
@@L2: |
7354 |
##HTMLFrameElement |
7355 |
|
7356 |
IfCls1ETDef: |
7357 |
@ETQName: |
7358 |
xhtml1:iframe |
7359 |
@IFQName: HTMLIFrameElement |
7360 |
@ClsQName:ManakaiDOMHTMLIFrameElement |
7361 |
@ISAHTMLElement: |
7362 |
|
7363 |
@ForCheck: !ForXHTML11 |
7364 |
|
7365 |
@ATTR: |
7366 |
@@Name: align |
7367 |
@@Deprecated: |
7368 |
@@ReflectEnum: |
7369 |
@@Get: |
7370 |
@@Set: |
7371 |
@ATTR: |
7372 |
@@AName:frameborder |
7373 |
@@DOMAName: frameBorder |
7374 |
@@plAName: frameborder |
7375 |
@@ReflectCDATA: |
7376 |
@@Get: |
7377 |
@@Set: |
7378 |
@ATTR: |
7379 |
@@Name: height |
7380 |
@@ReflectCDATA: |
7381 |
@@Get: |
7382 |
@@Set: |
7383 |
@ATTR: |
7384 |
@@AName:longdesc |
7385 |
@@DOMAName: longDesc |
7386 |
@@plAName: longdesc |
7387 |
@@ReflectURI: |
7388 |
@@Get: |
7389 |
@@Set: |
7390 |
@ATTR: |
7391 |
@@AName:marginheight |
7392 |
@@DOMAName: marginHeight |
7393 |
@@plAName: marginheight |
7394 |
@@ReflectCDATA: |
7395 |
@@Get: |
7396 |
@@Set: |
7397 |
@ATTR: |
7398 |
@@AName:marginwidth |
7399 |
@@DOMAName: marginWidth |
7400 |
@@plAName: marginwidth |
7401 |
@@ReflectCDATA: |
7402 |
@@Get: |
7403 |
@@Set: |
7404 |
@ATTR: |
7405 |
@@Name: name |
7406 |
@@ReflectCDATA: |
7407 |
@@Get: |
7408 |
@@Set: |
7409 |
@ATTR: |
7410 |
@@Name: scrolling |
7411 |
@@ReflectEnum: |
7412 |
@@Get: |
7413 |
@@Set: |
7414 |
@ATTR: |
7415 |
@@Name: src |
7416 |
@@ReflectURI: |
7417 |
@@Get: |
7418 |
@@Set: |
7419 |
@ATTR: |
7420 |
@@Name: width |
7421 |
@@ReflectCDATA: |
7422 |
@@Get: |
7423 |
@@Set: |
7424 |
@Attr: |
7425 |
@@Name: contentDocument |
7426 |
@@Description: |
7427 |
@@@lang:en |
7428 |
@@@@: |
7429 |
The document this frame contains, if any and available. |
7430 |
@@Get: |
7431 |
@@@Type: Document |
7432 |
@@@Description: |
7433 |
@@@@lang:en |
7434 |
@@@@@: |
7435 |
There is no document or it is not available. |
7436 |
@@@Def: |
7437 |
@@@@ContentType: |
7438 |
lang:dis |
7439 |
@@@@GetPropNode: |
7440 |
DOMHTML:contentDocument |
7441 |
@@Level[list]: 2 |
7442 |
@@SpecLevel[list]: 2 |
7443 |
@@L2: |
7444 |
##HTMLIFrameElement |
7445 |
|
7446 |
|