Annotation of Amaya/amaya/HTML.S, revision 1.179
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.179 ! quint 152: Address; { ADDRESS }
1.59 cvs 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.175 quint 208: pluginspage = Text;
209: pluginurl = Text;
1.148 cvs 210: ) =
1.145 quint 211: BEGIN
212: Embed_Content;
213: END;
1.1 cvs 214: END;
215:
1.52 cvs 216: HTMLfragment = LIST OF (Element);
1.145 quint 217: SVG_ImageContent = SVG;
218: Embed_Content = NATURE;
1.52 cvs 219:
1.63 cvs 220: Block_Quote { BLOCKQUOTE }
221: (ATTR cite = Text;
222: { cite }
223: InternalLink = Reference(Any); ExternalLink = Yes_) =
224: LIST OF (Element);
225:
226: Horizontal_Rule { HR }
227: (ATTR Align = left_, center_, right_;
228: { align left center right }
229: NoShade = NoShade_; Size_ = Integer; Width__;
230: { noshade size width }
231: IntWidthPercent; IntWidthPxl) =
232: CONSTANT C_Empty;
233:
1.67 cvs 234: Basic_Set = LIST OF (Basic_Elem);
235:
1.179 ! quint 236: { Paragraph must be the first element defined as a Basic_Set, to make
! 237: sure that the editor will create a Paragraph when the user wants to
! 238: create a Basic_Elem }
1.59 cvs 239: Paragraph { P }
1.63 cvs 240: (ATTR TextAlign = left_, center_, right_, justify_) =
241: { align left center right justify }
242: Basic_Set;
243:
1.179 ! quint 244: Address = Basic_Set;
! 245:
1.59 cvs 246: Pseudo_paragraph = Basic_Set;
247:
248: Heading = CASE OF { heading }
249: H1 (ATTR TextAlign) = Basic_Set; { H1 }
250: { align }
251: H2 (ATTR TextAlign) = Basic_Set; { H2 }
252: H3 (ATTR TextAlign) = Basic_Set; { H3 }
253: H4 (ATTR TextAlign) = Basic_Set; { H4 }
254: H5 (ATTR TextAlign) = Basic_Set; { H5 }
255: H6 (ATTR TextAlign) = Basic_Set; { H6 }
1.1 cvs 256: END;
257:
1.63 cvs 258: Preformatted { PRE }
259: (ATTR Width__; IntWidthPercent; IntWidthPxl) =
260: { width }
261: Basic_Set
1.59 cvs 262: - (PICTURE, Object, Applet,
263: Big_text, Small_text, Subscript, Superscript,
1.123 cvs 264: Font_, BaseFont, SVG_Image);
1.59 cvs 265:
1.63 cvs 266: Anchor { A }
1.94 cvs 267: (ATTR charset; Link_type; NAME;
1.63 cvs 268: { charset type name }
269: HREF_; hreflang; target_;
270: { href hreflang target}
271: REL; REV; accesskey = Text;
272: { rel rev accesskey }
273: shape = rectangle, circle, polygon, default_;
274: { shape rect cirecle poly default }
275: coords = Text; tabindex = Integer;
276: { coords tabindex }
277: onfocus = Text; onblur = Text;
1.76 cvs 278: { onfocus onblur }
1.89 cvs 279: InternalLink; ExternalLink;
1.112 kahan 280: { InternalLink ExternalLink }) =
1.63 cvs 281: Basic_Set;
1.1 cvs 282:
1.63 cvs 283: Basic_Elem = CASE OF { special }
1.1 cvs 284: TEXT;
1.63 cvs 285: Font; { fontstyle }
286: Phrase; { phrase }
1.166 quint 287: Form_Element; { formctrl }
1.61 cvs 288: Anchor; { A }
289: PICTURE; { IMG }
290: Applet; { APPLET }
291: Font_; { FONT }
292: BaseFont; { BASEFONT }
1.63 cvs 293: BR; { BR }
1.138 vatton 294: SCRIPT_; { SCRIPT }
1.63 cvs 295: Quotation; { Q }
1.61 cvs 296: Subscript = Basic_Set; { SUB }
297: Superscript = Basic_Set; { SUP }
298: Span = Basic_Set; { SPAN }
299: BDO = Basic_Set; { BDO }
1.77 cvs 300: Object; { OBJECT }
1.141 quint 301: Embed_; { EMBED }
1.61 cvs 302: IFRAME; { IFRAME }
1.121 cvs 303: ruby; { ruby }
1.108 cvs 304: MathML; { MATH }
1.111 kahan 305: XLink; { Annotations }
1.123 cvs 306: SVG_Image; { GRAPHIC }
1.59 cvs 307: END;
308:
1.60 cvs 309: BaseFont { BASEFONT }
1.63 cvs 310: (ATTR BaseFontSize = Integer; BaseFontColor = Text;
311: { size color }
312: BaseFontFace = Text) =
313: { face }
314: CONSTANT C_Empty;
315:
316: BR { BR }
1.159 quint 317: (ATTR Clear_ = Left_, Right_, All_, None_) =
318: { clear left right all none }
1.63 cvs 319: CONSTANT C_BR;
320:
321: Quotation { Q }
322: (ATTR cite; InternalLink; ExternalLink) =
323: { cite }
324: Basic_Set;
1.59 cvs 325:
1.60 cvs 326: Font = CASE OF { fontstyle }
327: Teletype_text = Basic_Set; { TT }
1.59 cvs 328: Italic_text = Basic_Set; { I }
329: Bold_text = Basic_Set; { B }
330: Underlined_text = Basic_Set; { U }
1.60 cvs 331: Struck_text = Basic_Set; { S or STRIKE }
1.59 cvs 332: Big_text = Basic_Set; { BIG }
333: Small_text = Basic_Set; { SMALL }
334: END;
335:
1.60 cvs 336: Phrase = CASE OF { phrase }
1.59 cvs 337: Emphasis = Basic_Set; { EM }
338: Strong = Basic_Set; { STRONG }
339: Def = Basic_Set; { DFN }
340: Code = Basic_Set; { CODE }
341: Sample = Basic_Set; { SAMP }
342: Keyboard = Basic_Set; { KBD }
1.152 quint 343: Variable_ = Basic_Set; { VAR }
1.59 cvs 344: Cite = Basic_Set; { CITE }
1.60 cvs 345: ABBR = Basic_Set; { ABBR }
346: ACRONYM = Basic_Set; { ACRONYM }
1.59 cvs 347: END;
348:
1.63 cvs 349: Font_ { FONT }
350: (ATTR Font_size = Text; color = Text; face = Text;
351: { size color face }
352: IntSizeIncr = Integer; IntSizeDecr = Integer;
353: IntSizeRel = Integer) =
354: Basic_Set;
355:
356: Applet { APPLET }
357: (ATTR codebase = Text; archive = Text; code = Text;
358: { codebase archive code }
359: object = Text; alt = Text; applet_name = Text;
360: { object alt name }
1.129 vatton 361: Width__; IntWidthPercent; IntWidthPxl;
362: Height_; IntHeightPercent; IntHeightPxl;
1.63 cvs 363: { width height }
364: Alignment; hspace; vspace) =
365: { align hspace vspace }
1.1 cvs 366: LIST OF (Applet_Content = CASE OF
1.59 cvs 367: Parameter; { PARAM }
1.1 cvs 368: Basic_Set;
369: END);
1.63 cvs 370: Parameter { PARAM }
371: (ATTR Param_name = Text; Param_value = Text;
372: { name value }
373: valuetype = data_, ref, object_;
374: { valuetype data ref object }
375: Param_type = Text) =
376: { type }
1.59 cvs 377: CONSTANT C_Empty;
378:
379: Object { OBJECT }
1.145 quint 380: (ATTR declare = declare_; classid = Text; codebase;
381: { declare classid codebase }
1.63 cvs 382: data = Text; Object_type = Text;
383: { data type }
384: codetype = Text; archive; standby = Text;
385: { codetype archive standby }
1.157 quint 386: Height_; Width__;
1.129 vatton 387: IntWidthPercent; IntWidthPxl;
388: IntHeightPercent; IntHeightPxl;
1.63 cvs 389: { height width }
390: USEMAP; NAME; tabindex; Alignment; Img_border;
391: { usemap name tabindex align border }
392: hspace; vspace) =
393: { hspace vspace }
1.10 cvs 394: BEGIN
1.13 cvs 395: PICTURE;
1.145 quint 396: Object_Content = LIST OF (ElemOrParam = CASE OF
397: Element; Parameter; END); { PARAM }
1.157 quint 398: END;
1.61 cvs 399:
1.63 cvs 400: INS { INS }
1.72 cvs 401: (ATTR cite; datetime = Text; InternalLink; ExternalLink) =
1.63 cvs 402: { cite datetime }
403: Basic_Set;
404:
405: DEL { DEL }
1.72 cvs 406: (ATTR cite; datetime; InternalLink; ExternalLink) =
1.63 cvs 407: { cite datetime }
408: Basic_Set;
1.1 cvs 409:
1.59 cvs 410: Block = CASE OF { block }
411: Paragraph; { P }
1.20 cvs 412: Pseudo_paragraph;
1.59 cvs 413: Heading; { heading }
414: List_; { list + DL }
415: Block_Quote; { BLOCKQUOTE }
416: Preformatted; { PRE }
417: Division; { DIV }
1.63 cvs 418: Center; { CENTER }
1.1 cvs 419: Form;
1.73 cvs 420: Horizontal_Rule; { HR }
421: Table; { TABLE }
422: Address; { ADDRESS }
1.1 cvs 423: END;
424:
1.63 cvs 425: Division { DIV }
426: (ATTR TextAlign) =
427: { align }
428: LIST OF (Element);
429:
430: Center = { CENTER }
431: LIST OF (Element);
1.1 cvs 432:
1.59 cvs 433: List_ = CASE OF { list }
1.63 cvs 434: Unnumbered_List; { UL }
435: Numbered_List; { OL }
436: Directory; { DIR }
437: Menu; { MENU }
438: Definition_List; { DL }
439: END;
440:
441: Unnumbered_List { UL }
442: (ATTR BulletStyle = disc, circle, square;
443: { type disc circle square }
444: COMPACT = Yes_) =
445: { compact }
446: LIST OF (List_Item);
447:
448: Numbered_List { OL }
449: (ATTR NumberStyle = Arabic_, LowerAlpha, UpperAlpha,
450: { type 1 a A }
451: LowerRoman, UpperRoman;
452: { i I }
453: Start = Integer; COMPACT) =
454: { start compact }
455: LIST OF (List_Item) with Start ?= 1;
456:
457: Directory { DIR }
458: (ATTR COMPACT) =
459: { compact }
460: LIST OF (List_Item);
461:
462: Menu { MENU }
463: (ATTR COMPACT) =
464: { compact }
465: LIST OF (List_Item);
466:
467: Definition_List { DL }
468: (ATTR COMPACT) =
469: { compact }
470: LIST OF (Definition_Item);
471:
472: List_Item { LI }
473: (ATTR ItemStyle = disc, circle, square, Arabic_,
474: { type disc circle square 1 }
475: LowerAlpha, UpperAlpha, LowerRoman, UpperRoman;
476: { a A i I }
477: IntItemStyle = disc, circle, square, Arabic_,
478: LowerAlpha, UpperAlpha, LowerRoman, UpperRoman;
479: ItemValue = Integer) =
480: { value }
1.1 cvs 481: LIST OF (Block);
482:
1.59 cvs 483: Definition_Item = BEGIN
484: Term_List = LIST OF (Term = Basic_Set); { DT }
1.132 cvs 485: ? Definitions = LIST OF (Definition = LIST OF (Block)); { DD }
1.1 cvs 486: END;
487:
1.63 cvs 488: Form { FORM }
489: (ATTR !Script_URL = Text; METHOD = Get_, Post_;
490: { action method }
491: ENCTYPE = Text; onsubmit = Text; onreset = Text;
492: { enctype onsubmit onreset }
493: target_; accept_charset = Text) =
494: { target accept-charset }
1.166 quint 495: LIST OF (Element) + (Input) - (Form);
1.1 cvs 496:
497: Form_Element = CASE OF
1.166 quint 498: Input; { INPUT }
1.59 cvs 499: Option_Menu; { SELECT }
1.63 cvs 500: Text_Area; { TEXTAREA }
1.166 quint 501: LABEL; { LABEL }
502: BUTTON_; { BUTTON }
1.1 cvs 503: END;
504:
1.63 cvs 505: Option_Menu { SELECT }
506: (ATTR !NAME; MenuSize = Integer; Multiple = Yes_;
507: { name size multiple }
508: disabled = Yes_; tabindex; onfocus; onblur;
509: { disabled tabindex onfocus onblur}
510: onchange = Text) =
511: { onchange }
1.91 cvs 512: LIST OF (Option_item = CASE OF Option; OptGroup; END) - (Input);
1.63 cvs 513:
514: Option { OPTION }
515: (ATTR Selected = Yes_; DefaultSelected = Yes_;
516: { selected }
517: disabled; label = Text; !Value_ = Text) =
518: { disabled label value }
1.1 cvs 519: TEXT;
1.76 cvs 520:
521: OptGroup { OPTGROUP }
1.78 cvs 522: (ATTR disabled; !label) =
523: { disabled label }
1.76 cvs 524: LIST OF (Option);
1.1 cvs 525:
1.63 cvs 526: Text_Area { TEXTAREA }
527: (ATTR !NAME; Rows = Integer; Columns = Integer;
528: { name rows cols }
529: disabled; readonly = Yes_; tabindex; accesskey;
530: { disabled readonly tabindex accesskey }
531: onfocus; onblur; onselect = Text; onchange;
532: { onfocus onblur onselect onchange }
533: Default_Value = Text) =
1.177 quint 534: Input_Text - (Input) with Rows ?= 4, Columns ?= 20;
1.63 cvs 535:
1.79 cvs 536: FIELDSET = { FIELDSET }
537: BEGIN
538: LEGEND;
539: Basic_Set;
540: END;
541:
542: LEGEND { LEGEND }
543: (ATTR accesskey; LAlign = Top_, Bottom_, Left_, Right_) =
544: { accesskey align top bottom left right }
545: Basic_Set;
546:
1.62 cvs 547: Input = CASE OF { formctrl }
1.63 cvs 548: Text_Input { INPUT / TEXT }
549: (ATTR !NAME; Value_; disabled; readonly;
550: { name value disabled readonly }
551: Area_Size = Integer; MaxLength = Integer;
552: { size maxlength }
1.162 quint 553: IntAreaSize = Integer;
1.63 cvs 554: tabindex; accesskey;
555: { tabindex accesskey }
1.66 cvs 556: onfocus; onblur; onselect; onchange;
1.63 cvs 557: { onfocus onblur onselect onchange }
1.66 cvs 558: Default_Value) =
1.177 quint 559: Input_Text - (Input);
1.63 cvs 560: Password_Input { INPUT / PASSWORD }
1.66 cvs 561: (ATTR !NAME; Value_; disabled; readonly;
562: { name value disabled readonly }
1.162 quint 563: Area_Size; IntAreaSize; MaxLength;
564: { size maxlength }
1.66 cvs 565: tabindex; accesskey;
566: { tabindex accesskey }
567: onfocus; onblur; onselect; onchange;
568: { onfocus onblur onselect onchange }
569: Default_Value) =
1.177 quint 570: Input_Text - (Input);
1.68 cvs 571: File_Input { INPUT / FILE }
572: (ATTR !NAME; Value_; disabled; readonly;
573: { name value disabled readonly }
1.162 quint 574: Area_Size; IntAreaSize; MaxLength;
575: { size maxlength }
1.68 cvs 576: tabindex; accesskey;
577: { tabindex accesskey }
578: onfocus; onblur; accept = Text;
579: { onfocus onblur }
580: Default_Value) =
1.177 quint 581: Input_Text - (Input);
1.59 cvs 582: Checkbox_Input { INPUT / CHECKBOX }
1.63 cvs 583: (ATTR !NAME; Value_; Checked = Yes_, No_;
1.66 cvs 584: { name value checked }
1.63 cvs 585: disabled; readonly;
586: { disabled readonly }
587: tabindex; accesskey; onfocus; onblur;
588: { tabindex accesskey onfocus onblur }
589: DefaultChecked = Yes_, No_) =
1.1 cvs 590: CONSTANT C_Empty with Checked ?= No_;
1.59 cvs 591: Radio_Input { INPUT / RADIO }
1.63 cvs 592: (ATTR !NAME; !Value_; Checked; disabled;
593: { name value checked disabled }
594: readonly; tabindex; accesskey;
595: { readonly tabindex accesskey }
596: onfocus; onblur;
597: { onfocus onblur }
598: DefaultChecked) =
599: CONSTANT C_Empty with Checked ?= No_,
600: NAME ?= 'radio';
601: Submit_Input { INPUT / SUBMIT }
602: (ATTR NAME; Value_; disabled; readonly;
603: { name value disabled; readonly }
604: tabindex; accesskey;
605: { tabindex accesskey }
606: onfocus; onblur) =
607: { onfocus onblur }
608: BEGIN
1.99 cvs 609: CONSTANT C_Empty;
1.63 cvs 610: END with Value_ ?= 'Submit';
611: Reset_Input { INPUT / RESET }
612: (ATTR NAME; Value_; disabled; readonly;
613: { name value disabled readonly }
614: tabindex; accesskey;
615: { tabindex accesskey }
616: onfocus; onblur) =
617: { onfocus onblur }
618: BEGIN
1.99 cvs 619: CONSTANT C_Empty;
1.68 cvs 620: END - (Input) with NAME ?= 'Reset',
621: Value_ ?= 'Reset';
622: Button_Input { INPUT / BUTTON }
1.66 cvs 623: (ATTR !NAME; Value_; disabled; readonly;
624: { name value disabled readonly }
1.63 cvs 625: tabindex; accesskey;
626: { tabindex accesskey }
1.68 cvs 627: onfocus; onblur) =
1.63 cvs 628: { onfocus onblur }
1.68 cvs 629: BEGIN
1.99 cvs 630: CONSTANT C_Empty;
1.68 cvs 631: END;
1.79 cvs 632:
1.120 cvs 633: BUTTON_ { BUTTON }
1.68 cvs 634: (ATTR !NAME; Value_;
635: { name value }
636: Button_type = button, submit, reset;
637: { type button submit reset }
638: disabled; tabindex; accesskey;
639: { disabled tabindex accesskey }
640: onfocus; onblur) =
641: { onfocus onblur }
1.79 cvs 642: Basic_Set - (Anchor, Input, Form, FIELDSET, IFRAME);
1.68 cvs 643: LABEL { LABEL }
644: (ATTR Associated_control = TEXT;
645: { for }
646: accesskey; onfocus; onblur) =
647: { accesskey onfocus onblur }
1.71 cvs 648: Basic_Set;
1.63 cvs 649: Hidden_Input { INPUT / HIDDEN }
1.68 cvs 650: (ATTR !NAME; Value_; disabled;
651: { name value disabled }
1.63 cvs 652: tabindex; accesskey;
653: { tabindex accesskey }
654: onfocus; onblur) =
655: { onfocus onblur }
656: CONSTANT C_Empty;
1.59 cvs 657: Option_Menu; { SELECT }
658: Text_Area; { TEXTAREA }
1.8 cvs 659: END;
1.1 cvs 660:
1.177 quint 661: Input_Text = BEGIN
1.1 cvs 662: Inserted_Text = TEXT;
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.176 vatton 785: LIST OF (Element);
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.74 cvs 879: FRAMESET: NoCreate; { prevent a Return at the end of the
880: document from creating a FRAMESET }
1.68 cvs 881: Inserted_Text: Hidden, NoCut;
882: Basic_Set: Hidden;
1.132 cvs 883: Definition_Item:Hidden;
1.68 cvs 884: Term_List: Hidden;
1.132 cvs 885: Definitions: Hidden;
1.155 cvs 886: XMLPI: ReturnCreateNL, NoReplicate;
887: Comment\240: ReturnCreateNL, NoReplicate;
1.153 quint 888: Comment_line: Hidden, NoSpellCheck;
889: PI_line: Hidden, NoSpellCheck;
1.144 cvs 890: DOCTYPE: NoCut;
1.153 quint 891: DOCTYPE_line: Hidden, NoSpellCheck, NoCut;
1.140 cvs 892: CDATA_line: Hidden;
1.1 cvs 893: GRAPHICS: NoMove, NoResize;
1.41 cvs 894: TEXT: NoMove, NoResize;
1.26 cvs 895: PICTURE: MoveResize;
1.63 cvs 896: Invalid_element:NoCreate;
1.127 cvs 897: Unknown_namespace:NoCreate;
1.164 cvs 898: XHTML_Unknown_namespace:NoCreate;
1.178 quint 899: BR: IsBreak;
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.174 quint 957: Table: IsTable, PageBreak, NoReplicate, NoBreakByReturn;
958: Column_head: IsColHead, NoCut, Hidden, NoBreakByReturn;
959: Table_head: NoCut, Hidden, NoSelect, NoBreakByReturn;
1.75 cvs 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.173 quint 964: Table_body: PageBreakAllowed, Hidden, NoBreakByReturn;
1.174 quint 965: thead: NoBreakByReturn;
1.172 quint 966: tbody: NoBreakByReturn;
1.174 quint 967: tfoot: NoBreakByReturn;
1.171 quint 968: Table_row: IsRow, PageBreakPlace, NoBreakByReturn;
1.170 quint 969: IFRAME: NoBreakByReturn;
1.1 cvs 970: ColExt: Invisible;
1.2 cvs 971: RowExt: Invisible;
1.44 cvs 972: Ref_column: ColRef, Invisible;
973: colspan_: ColSpan;
974: rowspan_: RowSpan;
1.170 quint 975: Object_Content: Hidden, NoCreate, NoCut, NoBreakByReturn;
1.1 cvs 976: Ghost_restruct: Invisible;
1.100 cvs 977: IntEntity: Invisible;
978: EntityName: Invisible;
1.82 cvs 979: onclick: EventAttr;
980: ondblclick: EventAttr;
981: onmousedown: EventAttr;
982: onmouseup: EventAttr;
983: onmouseover: EventAttr;
984: onmousemove: EventAttr;
985: onmouseout: EventAttr;
986: onkeypress: EventAttr;
987: onkeydown: EventAttr;
988: onkeyup: EventAttr;
1.134 cvs 989: onload: EventAttr;
990: onunload: EventAttr;
991: onfocus: EventAttr;
992: onblur: EventAttr;
993: onsubmit: EventAttr;
994: onreset: EventAttr;
995: onchange: EventAttr;
996: onselect: EventAttr;
1.87 cvs 997: ID : CssId;
998: Class: CssClass;
1.123 cvs 999: SVG_ImageContent: Hidden;
1.145 quint 1000: Embed_Content: Hidden, NoSelect;
1.161 cvs 1001: is_css: Invisible;
1.168 vatton 1002: xml_space: SpacePreserve;
1.1 cvs 1003: END
Webmaster