Commit | Line | Data |
---|---|---|
8cd39fb3 MH |
1 | # Legacy Module |
2 | ||
3 | lang.attrib &= attribute lang { LanguageCode.datatype }? | |
4 | basefont = element basefont { basefont.attlist } | |
5 | basefont.attlist = id.attrib, Font.attrib | |
6 | center = element center { center.attlist, Flow.model } | |
7 | center.attlist = Common.attrib | |
8 | font = element font { font.attlist, Inline.model } | |
9 | font.attlist = Core.attrib, I18n.attrib, Font.attrib | |
10 | Font.attrib = | |
11 | attribute size { text }?, | |
12 | attribute color { Color.datatype }?, | |
13 | attribute face { text }? | |
14 | s = element s { s.attlist, Inline.model } | |
15 | s.attlist = Common.attrib | |
16 | strike = element strike { strike.attlist, Inline.model } | |
17 | strike.attlist = Common.attrib | |
18 | u = element u { u.attlist, Inline.model } | |
19 | u.attlist = Common.attrib | |
20 | dir = element dir { dir.attlist, li.noblock+ } | |
21 | dir.attlist = | |
22 | Common.attrib, | |
23 | attribute compact { "compact" }? | |
24 | menu = element menu { menu.attlist, li.noblock+ } | |
25 | menu.attlist = | |
26 | Common.attrib, | |
27 | attribute compact { "compact" }? | |
28 | li.noblock = element li { li.attlist, Inline.model } | |
29 | isindex = element isindex { isindex.attlist } | |
30 | isindex.attlist = | |
31 | Core.attrib, | |
32 | I18n.attrib, | |
33 | attribute prompt { Text.datatype }? | |
34 | applet.attlist &= | |
35 | attribute align { "top" | "middle" | "bottom" | "left" | "right" }?, | |
36 | attribute hspace { Pixels.datatype }?, | |
37 | attribute vspace { Pixels.datatype }? | |
38 | body.attlist &= | |
39 | attribute background { URI.datatype }?, | |
40 | attribute bgcolor { Color.datatype }?, | |
41 | attribute text { Color.datatype }?, | |
42 | attribute link { Color.datatype }?, | |
43 | attribute vlink { Color.datatype }?, | |
44 | attribute alink { Color.datatype }? | |
45 | br.attlist &= attribute clear { "left" | "all" | "right" | "none" }? | |
46 | caption.attlist &= align.attrib | |
47 | div.attlist &= align.attrib | |
48 | # Not in the CR, but surely an error. | |
49 | dl.attlist &= attribute compact { "compact" }? | |
50 | Heading.attrib &= align.attrib | |
51 | hr.attlist &= | |
52 | attribute align { "left" | "center" | "right" }?, | |
53 | attribute noshade { "noshade" }?, | |
54 | attribute size { Pixels.datatype }?, | |
55 | attribute width { Pixels.datatype }? | |
56 | img.attlist &= | |
57 | attribute align { "top" | "middle" | "bottom" | "left" | "right" }?, | |
58 | attribute border { Pixels.datatype }?, | |
59 | attribute hspace { Pixels.datatype }?, | |
60 | attribute vspace { Pixels.datatype }? | |
61 | input.attlist &= align.attrib | |
62 | legend.attlist &= | |
63 | attribute align { "top" | "bottom" | "left" | "right" }? | |
64 | li.attlist &= | |
65 | attribute type { text }?, | |
66 | attribute value { text }? | |
67 | object.attlist &= | |
68 | attribute align { "top" | "middle" | "bottom" | "left" | "right" }?, | |
69 | attribute border { Pixels.datatype }?, | |
70 | attribute hspace { Pixels.datatype }?, | |
71 | attribute vspace { Pixels.datatype }? | |
72 | ol.attlist &= | |
73 | attribute type { text }?, | |
74 | attribute compact { "compact" }?, | |
75 | attribute start { text }? | |
76 | p.attlist &= align.attrib | |
77 | pre.attlist &= attribute width { Length.datatype }? | |
78 | script.attlist &= attribute language { ContentType.datatype }? | |
79 | table.attlist &= | |
80 | align.attrib, | |
81 | attribute bgcolor { Color.datatype }? | |
82 | tr.attlist &= attribute bgcolor { Color.datatype }? | |
83 | Cell.attrib &= | |
84 | attribute nowrap { "nowrap" }?, | |
85 | attribute bgcolor { Color.datatype }?, | |
86 | attribute width { Pixels.datatype }?, | |
87 | attribute height { Pixels.datatype }? | |
88 | ul.attlist &= | |
89 | attribute type { text }?, | |
90 | attribute compact { "compact" }? | |
91 | align.attrib = attribute align { "left" | "all" | "right" | "none" }? | |
92 | Color.datatype = text | |
93 | Inline.class |= font | basefont | s | strike | u | |
94 | Block.class |= center | isindex | |
95 | List.class |= dir | menu | |
96 | head.content &= isindex? | |
97 | Block.mix |= text | Inline.class | |
98 | # With the legacy module and the frames modules, the html | |
99 | # element can contain either body or frameset. | |
100 | frameset |= body |