79 |
unless it is allowed by the HTML5 specification (including Web Forms 2.0 |
unless it is allowed by the HTML5 specification (including Web Forms 2.0 |
80 |
specification).</li> |
specification).</li> |
81 |
<li class=ed>@@ Forms elements: ... |
<li class=ed>@@ Forms elements: ... |
82 |
|
|
83 |
|
<li>For the attribute not defined in HTML5, the following definitions are |
84 |
|
applied. |
85 |
|
|
86 |
|
<div class="note memo"> |
87 |
|
<p>These definitions are updated version of their original definitions |
88 |
|
in previous versions of HTML4. |
89 |
|
</div> |
90 |
|
|
91 |
|
<p>For each row in the table below, if an attribute (i.e. an |
92 |
|
<code>Attr</code> node) met the following conditions, then the |
93 |
|
<code>value</code> attribute value of the node <em class=rfc2119>MUST</em> |
94 |
|
be valid with regard to the constraints shown in the <q>Value</q> |
95 |
|
cell of the row. The conditions are: |
96 |
|
<ul> |
97 |
|
<li>There is an owner element (i.e. the <code>Element</code> node |
98 |
|
pointed by the <code>ownerElement</code> attribute of the |
99 |
|
<code>Attr</code> node). |
100 |
|
<li>The <code>namespaceURI</code> attribute value of the owner element |
101 |
|
is <code>http://www.w3.org/1999/xhtml</code>. |
102 |
|
<li>The <code>manakaiLocalName</code> attribute value [@@ TODO: ref] |
103 |
|
of the owner element is equal to the value in the <q>Element</q> cell |
104 |
|
of the row. |
105 |
|
<li>The <code>namespaceURI</code> attribute value of the <code>Attr</code> |
106 |
|
node is <code>null</code>. |
107 |
|
<li>The <code>manakaiLocalName</code> attribute value of the |
108 |
|
<code>Attr</code> node is equal to the value in the <q>Attribute</q> |
109 |
|
cell of the row. |
110 |
|
</ul> |
111 |
|
|
112 |
|
<table> |
113 |
|
<thead> |
114 |
|
<tr><th scope=row>Element<th scope=row>Attribute |
115 |
|
<th scope=row>Value |
116 |
|
<tbody> |
117 |
|
<tr><td><code>body</code><td><code>background</code> |
118 |
|
<td>Same as <code>img</code> <code>src</code> [HTML5] |
119 |
|
<tr><td><code>img</code><td><code>longdesc</code> |
120 |
|
<td>Same as <code>img</code> <code>src</code> [HTML5] |
121 |
|
<tr><td><code>object</code><td><code>classid</code> or <code>codebase</code> |
122 |
|
<td>Same as <code>object</code> <code>classid</code> [HTML5] |
123 |
|
<tr><td><code>object</code><td><code>archive |
124 |
|
<td>Same as <code>a</code> <code>ping</code> [HTML5] |
125 |
|
<tr><td><code>object</code><td><code>codetype</code> |
126 |
|
<td>Same as <code>object</code> <code>type</code> [HTML5] |
127 |
|
<tr><td><code>param</code><td><code>type</code> |
128 |
|
<td>Same as <code>object</code> <code>type</code> [HTML5] |
129 |
|
<tr><td><code>div</code>, <code>h1</code>, <code>h2</code>, <code>h3</code>, |
130 |
|
<code>h4</code>, <code>h5</code>, <code>h6</code>, or <code>p</code> |
131 |
|
<td><code>align</code> |
132 |
|
<td>Enumerated attribute [HTML5] |
133 |
|
<tr><td><code>img</code> or <code>object</code><td><code>align</code> |
134 |
|
<td>Enumerated attribute [HTML5] |
135 |
|
<tr><td><code>br</code><td><code>clear</code> |
136 |
|
<td>Enumerated attribute [HTML5] |
137 |
|
<tr><td><code>param</code><td><code>valuetype</code> |
138 |
|
<td>Enumerated attribute [HTML5] |
139 |
|
<tr><td><code>pre</code><td><code>width</code> |
140 |
|
<td>Valid non-negative integer [HTML5] |
141 |
|
<tr><td><code>ul</code>, <code>ol</code>, <code>dir</code>, |
142 |
|
<code>menu</code>, or <code>dl</code><td><code>compact</code> |
143 |
|
<td>Boolean attribute [HTML5] |
144 |
|
<tr><td><code>table</code><td><code>frame</code> or <code>rules</code> |
145 |
|
<td>Enumerated attribute [HTML5] |
146 |
|
<tr><td><code>td</code><td><code>scope</code> |
147 |
|
<td>Same as <code>scope</code> attribute of the <code>th</code> element |
148 |
|
[HTML5] |
149 |
|
<tr><td><code>tbody</code>, <code>thead</code>, <code>tfoot</code>, |
150 |
|
<code>colgroup</code>, <code>col</code>, <code>tr</code>, <code>td</code>, |
151 |
|
or <code>th</code><td><code>align</code> or <code>valign</code> |
152 |
|
<td>Enumerated attribute [HTML5] |
153 |
|
<tr><td><code>link</code><td><code>target</code> |
154 |
|
<td>Valid browsing context name [HTML5] |
155 |
|
<tr id=html-meta-scheme><td><code>meta</code><td><code>schema</code> |
156 |
|
<td>Any string |
157 |
|
<!-- |
158 |
|
NOTE: According to HTML4, values for the |scheme| attribute |
159 |
|
depend on |name| attribute and |profile| of |head|. Otherwise |
160 |
|
it is "cdata". The only profile with any scheme value defined |
161 |
|
is <http://dublincore.org/documents/dcq-html/> (and those |
162 |
|
references that profile; see |
163 |
|
<http://suika.fam.cx/gate/2005/sw/scheme#anchor-55> for more |
164 |
|
information). |
165 |
|
--> |
166 |
|
<tr id=html-rev><code>a</code> or <code>link</code><td><code>rev</code> |
167 |
|
<td>Unordered set of unique space-separated tokens [HTML5] |
168 |
|
(where any word is allowed) |
169 |
|
</table> |
170 |
|
<li>Any value <em class=rfc2119>MAY</em> be specified to the |
171 |
|
<code>version</code> attribute of an <code>html</code> element. |
172 |
|
<li>@@ elements ... |
173 |
|
|
174 |
|
<table> |
175 |
|
<thead> |
176 |
|
<tr><th scope=row>Element<th scope=row>Content Model |
177 |
|
<th scope=row>Allowed Context |
178 |
|
<tbody> |
179 |
|
<tr><th scope=col><code>center</code> |
180 |
|
<td colspan=2>Same as <code>div</code> [HTML5] |
181 |
|
</table> |
182 |
</ul> |
</ul> |
183 |
</div> |
</div> |
184 |
|
|
185 |
<div class=section id=atom> |
<div class=section id=atom> |
186 |
<h2>Atom</h2> |
<h2>Atom</h2> |
187 |
|
|
188 |
<p>Only a part is implemented.</p> |
<p>The current implementation assumes that there are following |
|
|
|
|
<p>In addition, the current implementation assumes that there are following |
|
189 |
requirements:</p> |
requirements:</p> |
190 |
<ul> |
<ul> |
191 |
<li>Elements and attributes in the Atom namespace, as well as attributes |
<li>Elements and attributes in the Atom namespace, as well as attributes |