Annotation of Amaya/amaya/HTML.S, revision 1.170
1.139 quint 1: { I. Vatton November 1994-2002 }
1.68 cvs 2:
1.1 cvs 3: STRUCTURE HTML;
4:
5: DEFPRES HTMLP;
1.44 cvs 6:
1.1 cvs 7: ATTR
1.59 cvs 8: { coreattrs }
1.63 cvs 9: ID = Text; { id }
10: Class = Text; { class }
11: PseudoClass = Text;
12: Style\240 = Text; { style }
13: Title = Text; { title }
1.59 cvs 14: { i18n }
1.137 quint 15: dir = ltr_, rtl_; { dir }
1.59 cvs 16: { events }
1.63 cvs 17: onclick = Text; { onclick }
18: ondblclick = Text; { ondblclick }
19: onmousedown = Text; { onmousedown }
20: onmouseup = Text; { onmouseup }
21: onmouseover = Text; { onmouseover }
22: onmousemove = Text; { onmousemove }
23: onmouseout = Text; { onmouseout }
24: onkeypress = Text; { onkeypress }
25: onkeydown = Text; { onkeydown }
26: onkeyup = Text; { onkeyup }
1.59 cvs 27:
1.63 cvs 28: Invalid_attribute = Text;
1.127 cvs 29: Unknown_attribute = Text;
1.63 cvs 30: Ghost_restruct = Text;
1.114 cvs 31: Highlight = Yes_; { to show the HTML element corresponding to the
32: current selection in the source view }
1.100 cvs 33: IntEntity = Yes_; { do not translate & into & in output file }
34: EntityName = Text; { the content of the element is the name of an entity }
1.110 cvs 35: xml_space = xml_space_default, xml_space_preserve; { xml:space }
1.167 gully 36: NoImages = Yes_;
37: NoObjects = Yes_;
1.1 cvs 38:
39: CONST
1.59 cvs 40:
1.1 cvs 41: C_Empty = ' ';
42: C_Foot = ' ';
43: C_Head = ' ';
1.64 cvs 44: C_BR = '\12';
1.1 cvs 45:
46: STRUCT
1.59 cvs 47:
1.63 cvs 48: HTML { HTML }
1.167 gully 49: (ATTR SectionNumbering = Yes_; ShowAreas = Yes_;
1.143 cvs 50: PrintURL = Yes_; PI = Text;
1.101 cvs 51: Namespaces = Text; RealLang = Yes_; Charset = Text) =
1.17 cvs 52: BEGIN
1.1 cvs 53: HEAD;
1.109 cvs 54: ? BODY; { only one of BODY, document type }
1.72 cvs 55: ? FRAMESET;
1.164 cvs 56: END + (Invalid_element, Unknown_namespace, XHTML_Unknown_namespace, Comment\240, XMLPI, CDATA);
1.136 cvs 57:
1.59 cvs 58: BODY { BODY }
1.63 cvs 59: (ATTR onload = Text; onunload = Text;
60: { onload onunload }
61: background_ = Text; BackgroundColor = Text;
62: { background bgcolor }
63: TextColor = Text; LinkColor = Text;
64: { text link }
65: VisitedLinkColor = Text; ActiveLinkColor = Text) =
66: { vlink alink }
67: LIST OF (Element) + (INS, DEL);
1.1 cvs 68:
1.163 vatton 69: Invalid_element = TEXT;
1.113 cvs 70:
1.127 cvs 71: Unknown_namespace = TEXT;
72:
1.164 cvs 73: XHTML_Unknown_namespace = TEXT;
74:
1.1 cvs 75: Comment\240 = LIST OF (Comment_line = TEXT);
76:
1.161 cvs 77: XMLPI (ATTR is_css = Text) = LIST OF (PI_line = TEXT);
1.140 cvs 78:
79: CDATA = LIST OF (CDATA_line = TEXT);
1.136 cvs 80:
81: DOCTYPE = LIST OF (DOCTYPE_line = TEXT);
1.113 cvs 82:
1.77 cvs 83: Head_misc =
84: CASE OF
85: STYLE_;
1.138 vatton 86: SCRIPT_;
1.77 cvs 87: META;
88: LINK;
89: END;
1.63 cvs 90: HEAD { HEAD }
91: (ATTR profile = Text) =
92: AGGREGATE
1.77 cvs 93: Document_URL = TEXT - (Head_misc);
1.81 cvs 94: TITLE = TEXT - (Head_misc); { TITLE }
1.63 cvs 95: ? ISINDEX (ATTR Prompt = Text) = CONSTANT C_Empty; { ISINDEX }
96: { prompt }
97: ? BASE; { BASE }
1.77 cvs 98: END + (Object, Head_misc);
1.63 cvs 99:
1.64 cvs 100: STYLE_ { STYLE }
101: (ATTR Notation = Text; media = Text) =
102: { type media }
103: TEXT;
104:
1.138 vatton 105: SCRIPT_ { SCRIPT }
1.63 cvs 106: (ATTR charset = Text; !content_type = Text;
107: { charset type }
1.160 cvs 108: script_language = Text; script_src = Text;
109: { language src }
1.63 cvs 110: defer = Yes_; event = Text; for_ = Text) =
111: { defer event for }
112: TEXT;
1.59 cvs 113:
114: META { META }
1.63 cvs 115: (ATTR http_equiv = Text;
116: { http-equiv }
1.96 cvs 117: meta_name = Text; meta_content = Text;
118: { name content }
1.63 cvs 119: scheme = Text) =
120: { scheme }
121: CONSTANT C_Empty;
1.1 cvs 122:
1.63 cvs 123: LINK { LINK }
124: (ATTR charset; HREF_ = Text; hreflang = Text;
125: { charset href hreflang }
126: Link_type = Text; REL = Text; REV = Text;
127: { type rel rev }
128: media; target_ = Text) =
129: { media target }
130: CONSTANT C_Empty;
131:
132: BASE { BASE }
133: (ATTR !HREF_; target_) =
134: { href target }
135: CONSTANT C_Empty;
1.1 cvs 136:
1.59 cvs 137: Element = CASE OF { block }
138: Paragraph; { P }
1.20 cvs 139: Pseudo_paragraph;
1.59 cvs 140: Heading; { heading }
141: List_; { list + DL }
142: Preformatted; { PRE preformatted }
143: Division; { DIV }
144: Center; { CENTER }
1.62 cvs 145: NOSCRIPT = LIST OF (Element); { NOSCRIPT }
1.63 cvs 146: Block_Quote; { BLOCKQUOTE }
1.59 cvs 147: Form; { FORM }
148: ISINDEX; { ISINDEX }
1.63 cvs 149: Horizontal_Rule; { HR }
1.59 cvs 150: Table; { TABLE }
1.166 quint 151: FIELDSET; { FIELDSET }
1.59 cvs 152: Address = LIST OF (AddressContent); { ADDRESS }
153: PICTURE { IMG }
1.63 cvs 154: (ATTR SRC = Text; ALT = Text; longdesc = Text;
155: { src alt longdesc }
1.129 vatton 156: Height_ = Text; Width__ = Text;
1.162 quint 157: { height width }
1.63 cvs 158: IntWidthPercent = Integer; IntWidthPxl = Integer;
1.129 vatton 159: IntHeightPercent = Integer; IntHeightPxl = Integer;
1.94 cvs 160: USEMAP = Text; ISMAP = Yes_;
1.63 cvs 161: { usemap ismap }
1.94 cvs 162: IsInput = Yes_; NAME = Text;
163: { input type=IMAGE name }
1.63 cvs 164: Alignment = Top_, Middle_, Bottom_, Left_, Right_;
165: { align top middle bottom left right }
166: Img_border = Integer;
167: { border }
168: hspace = Integer; vspace = Integer);
169: { hspace vspace }
1.59 cvs 170: Object; { OBJECT }
1.60 cvs 171: Applet; { APPLET }
1.108 cvs 172: MathML; { MATH }
1.126 vatton 173: SVG; { SVG }
1.125 vatton 174: map; MAP; { MAP }
1.111 kahan 175: XLink; { Annotations }
1.123 cvs 176: SVG_Image { GRAPHIC }
177: (ATTR SRC; ALT; longdesc;
178: { src alt longdesc }
179: Height_; Width__;
180: { height width }
181: IntWidthPercent; IntWidthPxl;
1.129 vatton 182: IntHeightPercent; IntHeightPxl;
1.123 cvs 183: USEMAP; ISMAP;
184: { usemap ismap }
185: IsInput; NAME;
186: { input type=IMAGE name }
187: Alignment;
188: { align top middle bottom left right }
189: Img_border;
190: { border }
191: hspace; vspace) =
192: { hspace vspace }
193: SVG_ImageContent;
1.141 quint 194: Embed_ { EMBED }
1.128 cvs 195: (ATTR SRC;
196: Alignment;
197: { align top bottom left right }
198: Height_; Width__;
199: { height width }
200: EmbedHidden = Yes_, No_;
1.154 quint 201: { hidden yes no }
1.148 cvs 202: EmbedName = Text;
1.154 quint 203: { name }
1.148 cvs 204: hspace; vspace;
1.128 cvs 205: { hspace vspace }
1.148 cvs 206: Embed_type = Text;
1.154 quint 207: { type }
1.148 cvs 208: ) =
1.145 quint 209: BEGIN
210: Embed_Content;
211: END;
1.1 cvs 212: END;
213:
1.52 cvs 214: HTMLfragment = LIST OF (Element);
1.145 quint 215: SVG_ImageContent = SVG;
216: Embed_Content = NATURE;
1.52 cvs 217:
1.63 cvs 218: Block_Quote { BLOCKQUOTE }
219: (ATTR cite = Text;
220: { cite }
221: InternalLink = Reference(Any); ExternalLink = Yes_) =
222: LIST OF (Element);
223:
224: Horizontal_Rule { HR }
225: (ATTR Align = left_, center_, right_;
226: { align left center right }
227: NoShade = NoShade_; Size_ = Integer; Width__;
228: { noshade size width }
229: IntWidthPercent; IntWidthPxl) =
230: CONSTANT C_Empty;
231:
1.67 cvs 232: Basic_Set = LIST OF (Basic_Elem);
233:
1.1 cvs 234: AddressContent = CASE OF
235: Basic_Elem;
1.59 cvs 236: Paragraph; { P }
1.20 cvs 237: Pseudo_paragraph;
1.1 cvs 238: END;
239:
1.59 cvs 240: Paragraph { P }
1.63 cvs 241: (ATTR TextAlign = left_, center_, right_, justify_) =
242: { align left center right justify }
243: Basic_Set;
244:
1.59 cvs 245: Pseudo_paragraph = Basic_Set;
246:
247: Heading = CASE OF { heading }
248: H1 (ATTR TextAlign) = Basic_Set; { H1 }
249: { align }
250: H2 (ATTR TextAlign) = Basic_Set; { H2 }
251: H3 (ATTR TextAlign) = Basic_Set; { H3 }
252: H4 (ATTR TextAlign) = Basic_Set; { H4 }
253: H5 (ATTR TextAlign) = Basic_Set; { H5 }
254: H6 (ATTR TextAlign) = Basic_Set; { H6 }
1.1 cvs 255: END;
256:
1.63 cvs 257: Preformatted { PRE }
258: (ATTR Width__; IntWidthPercent; IntWidthPxl) =
259: { width }
260: Basic_Set
1.59 cvs 261: - (PICTURE, Object, Applet,
262: Big_text, Small_text, Subscript, Superscript,
1.123 cvs 263: Font_, BaseFont, SVG_Image);
1.59 cvs 264:
1.63 cvs 265: Anchor { A }
1.94 cvs 266: (ATTR charset; Link_type; NAME;
1.63 cvs 267: { charset type name }
268: HREF_; hreflang; target_;
269: { href hreflang target}
270: REL; REV; accesskey = Text;
271: { rel rev accesskey }
272: shape = rectangle, circle, polygon, default_;
273: { shape rect cirecle poly default }
274: coords = Text; tabindex = Integer;
275: { coords tabindex }
276: onfocus = Text; onblur = Text;
1.76 cvs 277: { onfocus onblur }
1.89 cvs 278: InternalLink; ExternalLink;
1.112 kahan 279: { InternalLink ExternalLink }) =
1.63 cvs 280: Basic_Set;
1.1 cvs 281:
1.63 cvs 282: Basic_Elem = CASE OF { special }
1.1 cvs 283: TEXT;
1.63 cvs 284: Font; { fontstyle }
285: Phrase; { phrase }
1.166 quint 286: Form_Element; { formctrl }
1.61 cvs 287: Anchor; { A }
288: PICTURE; { IMG }
289: Applet; { APPLET }
290: Font_; { FONT }
291: BaseFont; { BASEFONT }
1.63 cvs 292: BR; { BR }
1.138 vatton 293: SCRIPT_; { SCRIPT }
1.63 cvs 294: Quotation; { Q }
1.61 cvs 295: Subscript = Basic_Set; { SUB }
296: Superscript = Basic_Set; { SUP }
297: Span = Basic_Set; { SPAN }
298: BDO = Basic_Set; { BDO }
1.77 cvs 299: Object; { OBJECT }
1.141 quint 300: Embed_; { EMBED }
1.61 cvs 301: IFRAME; { IFRAME }
1.121 cvs 302: ruby; { ruby }
1.108 cvs 303: MathML; { MATH }
1.111 kahan 304: XLink; { Annotations }
1.123 cvs 305: SVG_Image; { GRAPHIC }
1.59 cvs 306: END;
307:
1.60 cvs 308: BaseFont { BASEFONT }
1.63 cvs 309: (ATTR BaseFontSize = Integer; BaseFontColor = Text;
310: { size color }
311: BaseFontFace = Text) =
312: { face }
313: CONSTANT C_Empty;
314:
315: BR { BR }
1.159 quint 316: (ATTR Clear_ = Left_, Right_, All_, None_) =
317: { clear left right all none }
1.63 cvs 318: CONSTANT C_BR;
319:
320: Quotation { Q }
321: (ATTR cite; InternalLink; ExternalLink) =
322: { cite }
323: Basic_Set;
1.59 cvs 324:
1.60 cvs 325: Font = CASE OF { fontstyle }
326: Teletype_text = Basic_Set; { TT }
1.59 cvs 327: Italic_text = Basic_Set; { I }
328: Bold_text = Basic_Set; { B }
329: Underlined_text = Basic_Set; { U }
1.60 cvs 330: Struck_text = Basic_Set; { S or STRIKE }
1.59 cvs 331: Big_text = Basic_Set; { BIG }
332: Small_text = Basic_Set; { SMALL }
333: END;
334:
1.60 cvs 335: Phrase = CASE OF { phrase }
1.59 cvs 336: Emphasis = Basic_Set; { EM }
337: Strong = Basic_Set; { STRONG }
338: Def = Basic_Set; { DFN }
339: Code = Basic_Set; { CODE }
340: Sample = Basic_Set; { SAMP }
341: Keyboard = Basic_Set; { KBD }
1.152 quint 342: Variable_ = Basic_Set; { VAR }
1.59 cvs 343: Cite = Basic_Set; { CITE }
1.60 cvs 344: ABBR = Basic_Set; { ABBR }
345: ACRONYM = Basic_Set; { ACRONYM }
1.59 cvs 346: END;
347:
1.63 cvs 348: Font_ { FONT }
349: (ATTR Font_size = Text; color = Text; face = Text;
350: { size color face }
351: IntSizeIncr = Integer; IntSizeDecr = Integer;
352: IntSizeRel = Integer) =
353: Basic_Set;
354:
355: Applet { APPLET }
356: (ATTR codebase = Text; archive = Text; code = Text;
357: { codebase archive code }
358: object = Text; alt = Text; applet_name = Text;
359: { object alt name }
1.129 vatton 360: Width__; IntWidthPercent; IntWidthPxl;
361: Height_; IntHeightPercent; IntHeightPxl;
1.63 cvs 362: { width height }
363: Alignment; hspace; vspace) =
364: { align hspace vspace }
1.1 cvs 365: LIST OF (Applet_Content = CASE OF
1.59 cvs 366: Parameter; { PARAM }
1.1 cvs 367: Basic_Set;
368: END);
1.63 cvs 369: Parameter { PARAM }
370: (ATTR Param_name = Text; Param_value = Text;
371: { name value }
372: valuetype = data_, ref, object_;
373: { valuetype data ref object }
374: Param_type = Text) =
375: { type }
1.59 cvs 376: CONSTANT C_Empty;
377:
378: Object { OBJECT }
1.145 quint 379: (ATTR declare = declare_; classid = Text; codebase;
380: { declare classid codebase }
1.63 cvs 381: data = Text; Object_type = Text;
382: { data type }
383: codetype = Text; archive; standby = Text;
384: { codetype archive standby }
1.157 quint 385: Height_; Width__;
1.129 vatton 386: IntWidthPercent; IntWidthPxl;
387: IntHeightPercent; IntHeightPxl;
1.63 cvs 388: { height width }
389: USEMAP; NAME; tabindex; Alignment; Img_border;
390: { usemap name tabindex align border }
391: hspace; vspace) =
392: { hspace vspace }
1.10 cvs 393: BEGIN
1.13 cvs 394: PICTURE;
1.145 quint 395: Object_Content = LIST OF (ElemOrParam = CASE OF
396: Element; Parameter; END); { PARAM }
1.157 quint 397: END;
1.61 cvs 398:
1.63 cvs 399: INS { INS }
1.72 cvs 400: (ATTR cite; datetime = Text; InternalLink; ExternalLink) =
1.63 cvs 401: { cite datetime }
402: Basic_Set;
403:
404: DEL { DEL }
1.72 cvs 405: (ATTR cite; datetime; InternalLink; ExternalLink) =
1.63 cvs 406: { cite datetime }
407: Basic_Set;
1.1 cvs 408:
1.59 cvs 409: Block = CASE OF { block }
410: Paragraph; { P }
1.20 cvs 411: Pseudo_paragraph;
1.59 cvs 412: Heading; { heading }
413: List_; { list + DL }
414: Block_Quote; { BLOCKQUOTE }
415: Preformatted; { PRE }
416: Division; { DIV }
1.63 cvs 417: Center; { CENTER }
1.1 cvs 418: Form;
1.73 cvs 419: Horizontal_Rule; { HR }
420: Table; { TABLE }
421: Address; { ADDRESS }
1.1 cvs 422: END;
423:
1.63 cvs 424: Division { DIV }
425: (ATTR TextAlign) =
426: { align }
427: LIST OF (Element);
428:
429: Center = { CENTER }
430: LIST OF (Element);
1.1 cvs 431:
1.59 cvs 432: List_ = CASE OF { list }
1.63 cvs 433: Unnumbered_List; { UL }
434: Numbered_List; { OL }
435: Directory; { DIR }
436: Menu; { MENU }
437: Definition_List; { DL }
438: END;
439:
440: Unnumbered_List { UL }
441: (ATTR BulletStyle = disc, circle, square;
442: { type disc circle square }
443: COMPACT = Yes_) =
444: { compact }
445: LIST OF (List_Item);
446:
447: Numbered_List { OL }
448: (ATTR NumberStyle = Arabic_, LowerAlpha, UpperAlpha,
449: { type 1 a A }
450: LowerRoman, UpperRoman;
451: { i I }
452: Start = Integer; COMPACT) =
453: { start compact }
454: LIST OF (List_Item) with Start ?= 1;
455:
456: Directory { DIR }
457: (ATTR COMPACT) =
458: { compact }
459: LIST OF (List_Item);
460:
461: Menu { MENU }
462: (ATTR COMPACT) =
463: { compact }
464: LIST OF (List_Item);
465:
466: Definition_List { DL }
467: (ATTR COMPACT) =
468: { compact }
469: LIST OF (Definition_Item);
470:
471: List_Item { LI }
472: (ATTR ItemStyle = disc, circle, square, Arabic_,
473: { type disc circle square 1 }
474: LowerAlpha, UpperAlpha, LowerRoman, UpperRoman;
475: { a A i I }
476: IntItemStyle = disc, circle, square, Arabic_,
477: LowerAlpha, UpperAlpha, LowerRoman, UpperRoman;
478: ItemValue = Integer) =
479: { value }
1.1 cvs 480: LIST OF (Block);
481:
1.59 cvs 482: Definition_Item = BEGIN
483: Term_List = LIST OF (Term = Basic_Set); { DT }
1.132 cvs 484: ? Definitions = LIST OF (Definition = LIST OF (Block)); { DD }
1.1 cvs 485: END;
486:
1.63 cvs 487: Form { FORM }
488: (ATTR !Script_URL = Text; METHOD = Get_, Post_;
489: { action method }
490: ENCTYPE = Text; onsubmit = Text; onreset = Text;
491: { enctype onsubmit onreset }
492: target_; accept_charset = Text) =
493: { target accept-charset }
1.166 quint 494: LIST OF (Element) + (Input) - (Form);
1.1 cvs 495:
496: Form_Element = CASE OF
1.166 quint 497: Input; { INPUT }
1.59 cvs 498: Option_Menu; { SELECT }
1.63 cvs 499: Text_Area; { TEXTAREA }
1.166 quint 500: LABEL; { LABEL }
501: BUTTON_; { BUTTON }
1.1 cvs 502: END;
503:
1.63 cvs 504: Option_Menu { SELECT }
505: (ATTR !NAME; MenuSize = Integer; Multiple = Yes_;
506: { name size multiple }
507: disabled = Yes_; tabindex; onfocus; onblur;
508: { disabled tabindex onfocus onblur}
509: onchange = Text) =
510: { onchange }
1.91 cvs 511: LIST OF (Option_item = CASE OF Option; OptGroup; END) - (Input);
1.63 cvs 512:
513: Option { OPTION }
514: (ATTR Selected = Yes_; DefaultSelected = Yes_;
515: { selected }
516: disabled; label = Text; !Value_ = Text) =
517: { disabled label value }
1.1 cvs 518: TEXT;
1.76 cvs 519:
520: OptGroup { OPTGROUP }
1.78 cvs 521: (ATTR disabled; !label) =
522: { disabled label }
1.76 cvs 523: LIST OF (Option);
1.1 cvs 524:
1.63 cvs 525: Text_Area { TEXTAREA }
526: (ATTR !NAME; Rows = Integer; Columns = Integer;
527: { name rows cols }
528: disabled; readonly = Yes_; tabindex; accesskey;
529: { disabled readonly tabindex accesskey }
530: onfocus; onblur; onselect = Text; onchange;
531: { onfocus onblur onselect onchange }
532: Default_Value = Text) =
1.68 cvs 533: Text_With_Frame - (Input) with Rows ?= 4, Columns ?= 20;
1.63 cvs 534:
1.79 cvs 535: FIELDSET = { FIELDSET }
536: BEGIN
537: LEGEND;
538: Basic_Set;
539: END;
540:
541: LEGEND { LEGEND }
542: (ATTR accesskey; LAlign = Top_, Bottom_, Left_, Right_) =
543: { accesskey align top bottom left right }
544: Basic_Set;
545:
1.62 cvs 546: Input = CASE OF { formctrl }
1.63 cvs 547: Text_Input { INPUT / TEXT }
548: (ATTR !NAME; Value_; disabled; readonly;
549: { name value disabled readonly }
550: Area_Size = Integer; MaxLength = Integer;
551: { size maxlength }
1.162 quint 552: IntAreaSize = Integer;
1.63 cvs 553: tabindex; accesskey;
554: { tabindex accesskey }
1.66 cvs 555: onfocus; onblur; onselect; onchange;
1.63 cvs 556: { onfocus onblur onselect onchange }
1.66 cvs 557: Default_Value) =
1.162 quint 558: Text_With_Frame - (Input);
1.63 cvs 559: Password_Input { INPUT / PASSWORD }
1.66 cvs 560: (ATTR !NAME; Value_; disabled; readonly;
561: { name value disabled readonly }
1.162 quint 562: Area_Size; IntAreaSize; MaxLength;
563: { size maxlength }
1.66 cvs 564: tabindex; accesskey;
565: { tabindex accesskey }
566: onfocus; onblur; onselect; onchange;
567: { onfocus onblur onselect onchange }
568: Default_Value) =
1.162 quint 569: Text_With_Frame - (Input);
1.68 cvs 570: File_Input { INPUT / FILE }
571: (ATTR !NAME; Value_; disabled; readonly;
572: { name value disabled readonly }
1.162 quint 573: Area_Size; IntAreaSize; MaxLength;
574: { size maxlength }
1.68 cvs 575: tabindex; accesskey;
576: { tabindex accesskey }
577: onfocus; onblur; accept = Text;
578: { onfocus onblur }
579: Default_Value) =
1.162 quint 580: Text_With_Frame - (Input);
1.59 cvs 581: Checkbox_Input { INPUT / CHECKBOX }
1.63 cvs 582: (ATTR !NAME; Value_; Checked = Yes_, No_;
1.66 cvs 583: { name value checked }
1.63 cvs 584: disabled; readonly;
585: { disabled readonly }
586: tabindex; accesskey; onfocus; onblur;
587: { tabindex accesskey onfocus onblur }
588: DefaultChecked = Yes_, No_) =
1.1 cvs 589: CONSTANT C_Empty with Checked ?= No_;
1.59 cvs 590: Radio_Input { INPUT / RADIO }
1.63 cvs 591: (ATTR !NAME; !Value_; Checked; disabled;
592: { name value checked disabled }
593: readonly; tabindex; accesskey;
594: { readonly tabindex accesskey }
595: onfocus; onblur;
596: { onfocus onblur }
597: DefaultChecked) =
598: CONSTANT C_Empty with Checked ?= No_,
599: NAME ?= 'radio';
600: Submit_Input { INPUT / SUBMIT }
601: (ATTR NAME; Value_; disabled; readonly;
602: { name value disabled; readonly }
603: tabindex; accesskey;
604: { tabindex accesskey }
605: onfocus; onblur) =
606: { onfocus onblur }
607: BEGIN
1.99 cvs 608: CONSTANT C_Empty;
1.63 cvs 609: END with Value_ ?= 'Submit';
610: Reset_Input { INPUT / RESET }
611: (ATTR NAME; Value_; disabled; readonly;
612: { name value disabled readonly }
613: tabindex; accesskey;
614: { tabindex accesskey }
615: onfocus; onblur) =
616: { onfocus onblur }
617: BEGIN
1.99 cvs 618: CONSTANT C_Empty;
1.68 cvs 619: END - (Input) with NAME ?= 'Reset',
620: Value_ ?= 'Reset';
621: Button_Input { INPUT / BUTTON }
1.66 cvs 622: (ATTR !NAME; Value_; disabled; readonly;
623: { name value disabled readonly }
1.63 cvs 624: tabindex; accesskey;
625: { tabindex accesskey }
1.68 cvs 626: onfocus; onblur) =
1.63 cvs 627: { onfocus onblur }
1.68 cvs 628: BEGIN
1.99 cvs 629: CONSTANT C_Empty;
1.68 cvs 630: END;
1.79 cvs 631:
1.120 cvs 632: BUTTON_ { BUTTON }
1.68 cvs 633: (ATTR !NAME; Value_;
634: { name value }
635: Button_type = button, submit, reset;
636: { type button submit reset }
637: disabled; tabindex; accesskey;
638: { disabled tabindex accesskey }
639: onfocus; onblur) =
640: { onfocus onblur }
1.79 cvs 641: Basic_Set - (Anchor, Input, Form, FIELDSET, IFRAME);
1.68 cvs 642: LABEL { LABEL }
643: (ATTR Associated_control = TEXT;
644: { for }
645: accesskey; onfocus; onblur) =
646: { accesskey onfocus onblur }
1.71 cvs 647: Basic_Set;
1.63 cvs 648: Hidden_Input { INPUT / HIDDEN }
1.68 cvs 649: (ATTR !NAME; Value_; disabled;
650: { name value disabled }
1.63 cvs 651: tabindex; accesskey;
652: { tabindex accesskey }
653: onfocus; onblur) =
654: { onfocus onblur }
655: CONSTANT C_Empty;
1.59 cvs 656: Option_Menu; { SELECT }
657: Text_Area; { TEXTAREA }
1.8 cvs 658: END;
1.1 cvs 659:
660: Text_With_Frame = BEGIN
661: Inserted_Text = TEXT;
662: Frame = CONSTANT C_Empty;
663: END;
664:
1.63 cvs 665: Table_row { TR }
666: (ATTR Cell_align = Cell_left, Cell_center, Cell_right,
667: { align left center right }
668: Cell_justify, Cell_char;
669: { justify char }
670: char = Text; charoff = Text;
671: { char charoff }
672: Row_valign = Row_top, Row_middle, Row_bottom, Row_baseline;
673: { valign top middle bottom baseline }
1.129 vatton 674: BackgroundColor; IntHeightPxl) =
1.71 cvs 675: { bgcolor Special attribute to control row span }
1.63 cvs 676: LIST OF (Table_cell);
677:
678: Table { TABLE }
679: (ATTR summary = Text; Width__; Border = Integer;
680: { summary width border }
681: frame = void, above, below, hsides, lhs, rhs,
682: { frame void above below hsides lhs rhs }
683: vsides, box, border;
684: { vsides box border }
1.97 cvs 685: rules_ = none_, groups, rows, cols, all;
686: { rules none groups rows cols all }
1.63 cvs 687: cellspacing = Integer; cellpadding = Integer;
688: { cellspacing cellpadding }
689: Align; BackgroundColor;
690: { align bgcolor }
691: datapagesize = Text; IntWidthPxl; IntWidthPercent) =
692: { datapagesize }
1.1 cvs 693: BEGIN
1.84 cvs 694: CAPTION; { CAPTION }
1.115 cvs 695: ? Cols = LIST OF (Col_elem = CASE OF
1.85 cvs 696: COL; { COL }
697: COLGROUP; { COLGROUP }
698: END);
1.1 cvs 699: Table_head = LIST OF (Column_head);
1.63 cvs 700: ? thead; { THEAD }
701: Table_body = LIST OF (tbody);
702: ? tfoot; { TFOOT }
1.1 cvs 703: Table_foot = CONSTANT C_Foot;
1.49 cvs 704: END;
1.63 cvs 705:
706: CAPTION { CAPTION }
707: (ATTR Position = Position_top, Position_bottom,
708: { align top bottom }
709: Position_left, Position_right) =
710: { left right }
711: Basic_Set;
712:
1.44 cvs 713: Column_head (ATTR IntWidthPercent; IntWidthPxl) =
714: CONSTANT C_Head;
1.63 cvs 715:
716: thead { THEAD }
717: (ATTR Cell_align; char; charoff; Row_valign) =
718: LIST OF (Table_row);
719:
720: tbody { TBODY }
721: (ATTR Cell_align; char; charoff; Row_valign) =
722: LIST OF (Table_row);
723:
724: tfoot { TFOOT }
725: (ATTR Cell_align; char; charoff; Row_valign) =
726: LIST OF (Table_row);
727:
1.1 cvs 728: Table_cell = CASE OF
1.63 cvs 729: Data_cell; { TD }
730: Heading_cell; { TH }
731: END;
732:
733: Data_cell { TD }
734: (ATTR Ref_column = REFERENCE(Column_head);
735: ColExt = REFERENCE(Column_head);
736: RowExt = REFERENCE(Table_row);
737: abbr = Text; axis = Text; headers = Text; scope = Text;
738: { abbr axis headers scope }
739: rowspan_ = INTEGER; colspan_ = INTEGER;
740: { rowspan colspan }
741: Cell_align; char; charoff;
742: { align char charoff }
743: Cell_valign = Cell_top, Cell_middle, Cell_bottom, Cell_baseline;
744: { valign top middle bottom baseline }
745: No_wrap = no_wrap; BackgroundColor;
746: { nowrap bgcolor }
1.129 vatton 747: Width__; IntWidthPxl; IntWidthPercent;
748: Height_; IntHeightPercent; IntHeightPxl;) =
1.63 cvs 749: { width height }
750: LIST OF (Element);
751:
752: Heading_cell { TH }
753: (ATTR Ref_column; ColExt; RowExt;
754: abbr; axis; headers; scope;
755: { abbr axis headers scope }
756: rowspan_; colspan_;
757: { rowspan colspan }
758: Cell_align; char; charoff; Cell_valign;
759: { align char charoff valign }
760: No_wrap; BackgroundColor;
761: { nowrap bgcolor }
1.129 vatton 762: Width__; IntWidthPxl; IntWidthPercent;
763: Height_; IntHeightPercent; IntHeightPxl) =
1.63 cvs 764: { width height }
765: LIST OF (Element);
766:
1.85 cvs 767: COLGROUP { COLGROUP }
768: (ATTR Cell_align; Cell_valign; Width__; span_ = Integer)
769: { align valign width span }
770: = LIST OF (COL);
771:
772: COL { COL }
773: (ATTR Cell_align; Cell_valign; Width__; span_)
774: { align valign width span }
775: = CONSTANT C_Empty;
776:
1.63 cvs 777: MAP { MAP }
778: (ATTR NAME; Ref_IMG = REFERENCE(Any)) =
1.125 vatton 779: { name linked to an image}
1.145 quint 780: LIST OF (ElemOrArea = CASE OF Element; AREA; END);
1.125 vatton 781:
782: map { MAP }
783: (ATTR NAME) =
1.63 cvs 784: { name }
1.145 quint 785: LIST OF (ElemOrArea);
1.63 cvs 786:
787: AREA { AREA }
788: (ATTR shape; coords; HREF_; target_; nohref = Yes_; ALT;
789: { shape coords href target nohref alt }
790: tabindex; accesskey; onfocus; onblur;
791: { tabindex accesskey onfocus onblur }
792: x_coord = Integer; y_coord = Integer; IntWidthPxl;
1.130 vatton 793: IntHeightPxl; AreaRef_IMG = REFERENCE(Any)) =
1.63 cvs 794: GRAPHICS with x_coord ?= 0, y_coord ?= 0,
1.130 vatton 795: IntWidthPxl ?= 25, IntHeightPxl ?= 10;
1.1 cvs 796:
1.72 cvs 797: FRAMESET { FRAMESET }
798: (ATTR RowHeight = Text; ColWidth = Text;
799: { rows cols }
800: onload; onunload) =
801: { onload onunload }
1.59 cvs 802: AGGREGATE
1.72 cvs 803: Frames = LIST [1 .. *] OF (FrameElem = CASE OF
804: FRAME;
805: FRAMESET;
806: END - (NOFRAMES));
807: ? NOFRAMES = BODY + (INS, DEL); { NOFRAMES }
1.59 cvs 808: END;
809:
1.72 cvs 810: FRAME { FRAME }
811: (ATTR longdesc; FrameName = Text; FrameSrc = Text;
812: { longdesc name src }
813: frameborder = Border1, Border0;
814: { frameborder 1 0 }
815: marginwidth = Integer; marginheight = Integer;
816: { marginwidth marginheight }
1.98 cvs 817: no_resize = Yes_; scrolling = Yes_, No_, auto_) =
1.72 cvs 818: { noresize scrolling yes no auto }
1.63 cvs 819: CONSTANT C_Empty;
1.59 cvs 820:
1.63 cvs 821: IFRAME { IFRAME }
1.72 cvs 822: (ATTR longdesc; FrameName; FrameSrc; frameborder;
823: { longdesc name src frameborder }
824: marginwidth; marginheight; scrolling;
825: { marginwidth marginheight scrolling }
826: Alignment; Width__; Height_) =
827: { align width height }
1.63 cvs 828: LIST OF (Element);
1.59 cvs 829:
1.121 cvs 830: ruby = { ruby }
831: CASE OF
832: simple_ruby;
833: complex_ruby;
834: END;
835:
1.124 cvs 836: simple_ruby = { ruby }
1.121 cvs 837: BEGIN
1.122 cvs 838: rb = Basic_Set - (simple_ruby, complex_ruby);
1.145 quint 839: RtOrRtWithPar = CASE OF
1.124 cvs 840: rt (ATTR rbspan = Integer) =
841: Basic_Set - (simple_ruby, complex_ruby);
1.145 quint 842: RtWithPar = BEGIN
1.121 cvs 843: rp = TEXT;
844: rt;
845: rp;
846: END;
847: END;
848: END;
849:
1.124 cvs 850: complex_ruby = { ruby }
1.121 cvs 851: BEGIN
852: rbc = LIST OF (rb);
853: rtc1 = LIST OF (rt);
854: ? rtc2 = LIST OF (rt);
855: END;
856:
1.72 cvs 857: { AnyLink is an alias for all elements with an attribute
858: of type URI. Only elements to be shown in the Links view
859: are taken into account }
860: AnyLink = CASE OF
861: Anchor; { HREF_ }
862: Block_Quote; { cite }
863: Quotation; { cite }
864: INS; { cite }
865: DEL; { cite }
866: END;
867:
1.1 cvs 868: EXCEPT
1.25 cvs 869: HTML: NoMove, NoResize;
1.156 quint 870: BODY: NoCut, CssBackground, NoMove, NoResize,
1.170 ! quint 871: SetWindowBackground, NoBreakByReturn;
1.1 cvs 872: HEAD: NoCut;
873: TITLE: NoCut;
1.142 quint 874: Document_URL: Hidden, NoSpellCheck, NoCut;
1.153 quint 875: C_Empty: Hidden, NoSpellCheck, NoSelect;
1.118 cvs 876: C_BR: SelectParent;
1.77 cvs 877: Head_misc: Hidden;
1.72 cvs 878: Frames: Hidden;
1.68 cvs 879: Frame: Hidden, NoCut;
1.74 cvs 880: FRAMESET: NoCreate; { prevent a Return at the end of the
881: document from creating a FRAMESET }
1.68 cvs 882: Inserted_Text: Hidden, NoCut;
883: Basic_Set: Hidden;
1.132 cvs 884: Definition_Item:Hidden;
1.68 cvs 885: Term_List: Hidden;
1.132 cvs 886: Definitions: Hidden;
1.155 cvs 887: XMLPI: ReturnCreateNL, NoReplicate;
888: Comment\240: ReturnCreateNL, NoReplicate;
1.153 quint 889: Comment_line: Hidden, NoSpellCheck;
890: PI_line: Hidden, NoSpellCheck;
1.144 cvs 891: DOCTYPE: NoCut;
1.153 quint 892: DOCTYPE_line: Hidden, NoSpellCheck, NoCut;
1.140 cvs 893: CDATA_line: Hidden;
1.1 cvs 894: GRAPHICS: NoMove, NoResize;
1.41 cvs 895: TEXT: NoMove, NoResize;
1.26 cvs 896: PICTURE: MoveResize;
1.63 cvs 897: Invalid_element:NoCreate;
1.127 cvs 898: Unknown_namespace:NoCreate;
1.164 cvs 899: XHTML_Unknown_namespace:NoCreate;
1.63 cvs 900: Pseudo_paragraph: ParagraphBreak, Hidden;
1.117 kahan 901: Basic_Elem: Hidden;
1.1 cvs 902: Paragraph: ParagraphBreak;
903: H1: ParagraphBreak;
904: H2: ParagraphBreak;
905: H3: ParagraphBreak;
906: H4: ParagraphBreak;
907: H5: ParagraphBreak;
908: H6: ParagraphBreak;
909: Address: ParagraphBreak;
910: Term: ParagraphBreak;
911: MAP: IsDraw;
1.158 quint 912: AREA: MoveResize, ClickableSurface, HighlightChildren;
1.70 cvs 913: Password_Input: Shadow;
1.146 vatton 914: Preformatted: ReturnCreateNL, NoReplicate;
915: STYLE_: ReturnCreateNL, NoReplicate;
916: SCRIPT_: ReturnCreateNL, NoReplicate;
917: Text_Area: ReturnCreateNL, NoReplicate;
1.170 ! quint 918: HTMLfragment: NoMove, NoResize, Hidden, NoBreakByReturn;
1.147 vatton 919: Division: NoMove, NoResize;
1.169 vatton 920: Form: NoReplicate;
1.1 cvs 921:
1.29 cvs 922: ExternalLink: Invisible;
1.15 cvs 923: InternalLink: Invisible;
1.44 cvs 924: IntWidthPercent:NewPercentWidth, Invisible;
925: IntWidthPxl: NewWidth, Invisible;
1.129 vatton 926: IntHeightPercent: Invisible;
927: IntHeightPxl: NewHeight, Invisible;
1.162 quint 928: IntAreaSize: Invisible;
1.1 cvs 929: IntItemStyle: Invisible;
930: IntSizeIncr: Invisible;
931: IntSizeDecr: Invisible;
932: IntSizeRel: Invisible;
1.93 cvs 933: IsInput: Invisible;
1.1 cvs 934: x_coord: Invisible, NewHPos;
935: y_coord: Invisible, NewVPos;
936: Ref_IMG: Invisible;
937: AreaRef_IMG: Invisible;
938: Invalid_attribute: Invisible;
1.127 cvs 939: Unknown_attribute: Invisible;
1.90 cvs 940: Highlight: Invisible;
1.87 cvs 941: PseudoClass: Invisible, CssPseudoClass;
1.1 cvs 942: Default_Value: Invisible;
1.63 cvs 943: DefaultSelected:Invisible;
1.1 cvs 944: DefaultChecked: Invisible;
1.17 cvs 945: SectionNumbering:Invisible;
1.22 cvs 946: ShowAreas: Invisible;
1.83 cvs 947: PrintURL: Invisible;
1.151 vatton 948: NoImages: Invisible;
1.167 gully 949: NoObjects: Invisible;
1.65 cvs 950: Namespaces: Invisible;
1.92 cvs 951: RealLang: Invisible;
1.101 cvs 952: Charset: Invisible;
1.143 cvs 953: PI: Invisible;
1.50 cvs 954: shape: Invisible;
1.170 ! quint 955: Data_cell: IsCell, NoMove, NoResize, NoBreakByReturn;
! 956: Heading_cell: IsCell, NoMove, NoResize, NoBreakByReturn;
1.146 vatton 957: Table: IsTable, PageBreak, NoReplicate;
1.68 cvs 958: Column_head: IsColHead, NoCut, Hidden;
1.75 cvs 959: Table_head: NoCut, Hidden, NoSelect;
960: C_Head: Hidden, NoSelect;
961: Table_foot: NoCut, Hidden, NoSelect, PageBreakRepBefore;
962: C_Foot: Hidden, NoSelect;
1.85 cvs 963: Cols: Hidden, NoSelect;
1.38 cvs 964: Table_body: PageBreakAllowed, Hidden;
1.44 cvs 965: Table_row: IsRow, PageBreakPlace;
1.170 ! quint 966: IFRAME: NoBreakByReturn;
1.1 cvs 967: ColExt: Invisible;
1.2 cvs 968: RowExt: Invisible;
1.44 cvs 969: Ref_column: ColRef, Invisible;
970: colspan_: ColSpan;
971: rowspan_: RowSpan;
1.170 ! quint 972: Object_Content: Hidden, NoCreate, NoCut, NoBreakByReturn;
1.1 cvs 973: Ghost_restruct: Invisible;
1.100 cvs 974: IntEntity: Invisible;
975: EntityName: Invisible;
1.82 cvs 976: onclick: EventAttr;
977: ondblclick: EventAttr;
978: onmousedown: EventAttr;
979: onmouseup: EventAttr;
980: onmouseover: EventAttr;
981: onmousemove: EventAttr;
982: onmouseout: EventAttr;
983: onkeypress: EventAttr;
984: onkeydown: EventAttr;
985: onkeyup: EventAttr;
1.134 cvs 986: onload: EventAttr;
987: onunload: EventAttr;
988: onfocus: EventAttr;
989: onblur: EventAttr;
990: onsubmit: EventAttr;
991: onreset: EventAttr;
992: onchange: EventAttr;
993: onselect: EventAttr;
1.87 cvs 994: ID : CssId;
995: Class: CssClass;
1.123 cvs 996: SVG_ImageContent: Hidden;
1.145 quint 997: Embed_Content: Hidden, NoSelect;
1.161 cvs 998: is_css: Invisible;
1.168 vatton 999: xml_space: SpacePreserve;
1.1 cvs 1000: END
Webmaster