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

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

Webmaster