Annotation of Amaya/amaya/HTML.S, revision 1.82

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

Webmaster