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