/[suikacvs]/test/html-webhacc/standards.en.html
Suika

Contents of /test/html-webhacc/standards.en.html

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.12 - (show annotations) (download) (as text)
Sun Sep 21 05:09:35 2008 UTC (15 years, 7 months ago) by wakaba
Branch: MAIN
Changes since 1.11: +5 -0 lines
File MIME type: text/html
++ ChangeLog	21 Sep 2008 05:08:51 -0000
2008-09-21  Wakaba  <wakaba@suika.fam.cx>

	* error-description-source.xml: An error for non-supported
	charset="" parameter is added.

++ html/WebHACC/Language/ChangeLog	21 Sep 2008 05:09:27 -0000
2008-09-21  Wakaba  <wakaba@suika.fam.cx>

	* HTML.pm (generate_syntax_error_section): Now |charset:not
	supported| is also an error that might invalidate the validation
	result.

1 <!DOCTYPE HTML>
2 <html lang=en>
3 <head>
4 <title>Standards Supported by Web Documenet Conformance Checker</title>
5 <link rel=stylesheet href=cc-style>
6 </head>
7 <body>
8 <h1>Standards Supported by Web Document Conformance Checker</h1>
9
10 <div class=section id=summary>
11 <h2>Summary</h2>
12
13 <table>
14 <thead>
15 <tr><th scope=col>Standard<th scope=col>Version<th scope=col>Note
16 </thead>
17 <tbody>
18 <tr><th scope=row><a href="#html"><abbr title="Hypertext Markup Language">HTML</abbr></a>
19 <td rowspan=2><a href="http://whatwg.org/html5">HTML5 Draft Recommendation</a>
20 <td rowspan=2>Most parts
21
22 <tr><th><a href="#html">XHTML</a>
23
24 <tr><th rowspan=2><a href="#atom">Atom</a>
25 <td><a href="urn:ietf:rfc:4287">Atom 1.0 <abbr>RFC</abbr></a>
26 <td><!-- Full -->
27
28 <tr><td><a href="urn:ietf:rfc:4685">Atom Threading 1.0 <abbr>RFC</abbr></a>
29
30 <tr><th scope=row rowspan=2><abbr title="Extensible Markup Language">XML</abbr>
31 <td>1.0 Fourth Edition
32 <td>Tentative
33 <tr><td>1.1 Second Edition
34 <td>Tentative
35 <tr><th scope=row rowspan=2><abbr title="Extensible Markup Language">XML</abbr>
36 Namespaces
37 <td>1.0 Second Edition
38 <td>Tentative
39 <tr><td>1.1 First Edition
40 <td>Tentative
41
42 <tr>
43 <th rowspan=2><a href="#css"><abbr title="Cascading Style Sheets">CSS</abbr></a>
44 <td><a href="http://www.w3.org/TR/2007/CR-CSS21-20070719/">CSS 2.1
45 Candidate Recommendation</a>
46 <td>Most parts
47
48 <tr>
49 <td><a href="http://www.w3.org/TR/2008/WD-css3-color-20080721/">CSS Color
50 Level 3 <abbr title="Last Call Working Draft">LCWD</abbr></a>
51 <td>Most parts
52
53 <tr>
54 <th scope=row>Selectors
55 <td>3
56 <td><!-- Full -->
57 </tbody>
58
59 <tbody>
60 <tr><th><a href="#cache-manifest">Cache Manifest</a>
61 <td><a href="http://www.whatwg.org/specs/web-apps/current-work/#manifests">HTML5
62 Draft Recommendation</a>
63 <td><!-- Full -->
64
65 <tr><th><a href="#webidl">WebIDL</a>
66 <td><a href="http://dev.w3.org/cvsweb/~checkout~/2006/webapi/WebIDL/Overview.html?rev=1.96&amp;content-type=text/html;%20charset=utf-8">Editor's
67 Draft 1.96</a>
68 <td><!-- Full -->
69
70 <tbody>
71 <tr><th scope=row><abbr title="Hypertext Transfer Protocol">HTTP</abbr>
72 <td>
73 <td>Tentative (no validation)
74 </tbody>
75 </table>
76 </div>
77
78 <div class=section id=dom>
79 <h2><abbr title="Document Object Model">DOM</abbr></h2>
80
81 <p>The current implementation assumes that there are following
82 requirements:</p>
83 <ul>
84 <li>The document element (or root element) <em class=rfc2119>MUST</em>
85 be allowed to be a root element. <span class=example>For example,
86 an <code>html</code> element in <code>http://www.w3.org/1999/xhtml</code>
87 namespace is allowed to be a root element by the HTML5
88 specification.</span></li>
89 </ul>
90 </div>
91
92 <div class=section id=html>
93 <h2><abbr title="Hypertext Markup Language">HTML</abbr></h2>
94
95 <p>HTML5 is partially implemented.</p>
96
97 <p>In addition, the current implementation assumes that there are following
98 requirements:</p>
99 <ul>
100 <li>Any attribute in the HTML namespace which is not defined by the
101 HTML5 specification (including Web Forms 2.0 specification)
102 <em class=rfc2119>MUST NOT</em> be used.</li>
103 <li>For an element in the HTML namespace, any attribute in the null namespace
104 (or per$B!>(Belement partition) <em class=rfc2119>MUST NOT</em> be used
105 unless it is allowed by the HTML5 specification (including Web Forms 2.0
106 specification).</li>
107 <li class=ed>@@ Forms elements: ...
108
109 <li>For the attribute not defined in HTML5, the following definitions are
110 applied.
111
112 <div class="note memo">
113 <p>These definitions are updated version of their original definitions
114 in previous versions of HTML4.
115 </div>
116
117 <p>For each row in the table below, if an attribute (i.e. an
118 <code>Attr</code> node) met the following conditions, then the
119 <code>value</code> attribute value of the node <em class=rfc2119>MUST</em>
120 be valid with regard to the constraints shown in the <q>Value</q>
121 cell of the row. The conditions are:
122 <ul>
123 <li>There is an owner element (i.e. the <code>Element</code> node
124 pointed by the <code>ownerElement</code> attribute of the
125 <code>Attr</code> node).
126 <li>The <code>namespaceURI</code> attribute value of the owner element
127 is <code>http://www.w3.org/1999/xhtml</code>.
128 <li>The <code>manakaiLocalName</code> attribute value [@@ TODO: ref]
129 of the owner element is equal to the value in the <q>Element</q> cell
130 of the row.
131 <li>The <code>namespaceURI</code> attribute value of the <code>Attr</code>
132 node is <code>null</code>.
133 <li>The <code>manakaiLocalName</code> attribute value of the
134 <code>Attr</code> node is equal to the value in the <q>Attribute</q>
135 cell of the row.
136 </ul>
137
138 <table>
139 <thead>
140 <tr><th scope=row>Element<th scope=row>Attribute
141 <th scope=row>Value
142 <tbody>
143 <tr><td><code>body</code><td><code>background</code>
144 <td>Same as <code>img</code> <code>src</code> [HTML5]
145 <tr><td><code>img</code><td><code>longdesc</code>
146 <td>Same as <code>img</code> <code>src</code> [HTML5]
147
148 <tr><td><code>input</code><td><code>accept-charset</code>
149 <td>Same as <code>accept-charset</code> attribute of the
150 <code>form</code> element [HTML5]
151
152 <tr><td><code>object</code><td><code>classid</code> or <code>codebase</code>
153 <td>Same as <code>img</code> <code>src</code> [HTML5]
154 <tr><td><code>object</code><td><code>archive
155 <td>Same as <code>a</code> <code>ping</code> [HTML5]
156 <tr><td><code>object</code><td><code>codetype</code>
157 <td>Same as <code>object</code> <code>type</code> [HTML5]
158 <tr><td><code>param</code><td><code>type</code>
159 <td>Same as <code>object</code> <code>type</code> [HTML5]
160 <tr><td><code>address</code>, <code>div</code>, <code>h1</code>,
161 <code>h2</code>, <code>h3</code>, <code>h4</code>, <code>h5</code>,
162 <code>h6</code>, or <code>p</code>
163 <td><code>align</code>
164 <td>Enumerated attribute [HTML5]
165 <tr><td><code>img</code> or <code>object</code><td><code>align</code>
166 <td>Enumerated attribute [HTML5]
167 <tr><td><code>br</code><td><code>clear</code>
168 <td>Enumerated attribute [HTML5]
169 <tr><td><code>param</code><td><code>valuetype</code>
170 <td>Enumerated attribute [HTML5]
171 <tr><td><code>pre</code><td><code>width</code>
172 <td>Valid non-negative integer [HTML5]
173 <tr><td><code>ul</code>, <code>ol</code>, <code>dir</code>,
174 <code>menu</code>, or <code>dl</code><td><code>compact</code>
175 <td>Boolean attribute [HTML5]
176 <tr><td><code>table</code><td><code>frame</code> or <code>rules</code>
177 <td>Enumerated attribute [HTML5]
178 <tr><td><code>td</code><td><code>scope</code>
179 <td>Same as <code>scope</code> attribute of the <code>th</code> element
180 [HTML5]
181 <tr><td><code>tbody</code>, <code>thead</code>, <code>tfoot</code>,
182 <code>colgroup</code>, <code>col</code>, <code>tr</code>, <code>td</code>,
183 or <code>th</code><td><code>align</code> or <code>valign</code>
184 <td>Enumerated attribute [HTML5]
185 <tr><td><code>link</code><td><code>target</code>
186 <td>Valid browsing context name or keyword [HTML5]
187 <tr id=html-meta-scheme><td><code>meta</code><td><code>schema</code>
188 <td>Any string
189 <!--
190 NOTE: According to HTML4, values for the |scheme| attribute
191 depend on |name| attribute and |profile| of |head|. Otherwise
192 it is "cdata". The only profile with any scheme value defined
193 is <http://dublincore.org/documents/dcq-html/> (and those
194 references that profile; see
195 <http://suika.fam.cx/gate/2005/sw/scheme#anchor-55> for more
196 information).
197 -->
198 <tr id=html-rev><td><code>a</code> or <code>link</code><td><code>rev</code>
199 <td>Unordered set of unique space-separated tokens [HTML5]
200 (where any word is allowed)
201 <tr id=html-table-cellpadding><td rowspan=2><code>table</code>
202 <td><code>cellpadding</code>
203 <td rowspan=2>A non-negative integer [HTML5] or a non-negative integer
204 [HTML5] followed by a <code>%</code> character
205 <tr id=html-table-cellspacing><td><code>cellspacing</code>
206 <tr id=html-a-charset><td><code>a</code>
207 <td rowspan=2><code>charset</code>
208 <td rowspan=2>Same as <code>script</code> <code>charset</code> [HTML5],
209 syntactically
210 <tr id=html-link-charset><td><code>link</code>
211 </table>
212 <li>Any value <em class=rfc2119>MAY</em> be specified to the
213 <code>version</code> attribute of an <code>html</code> element.
214 <li>@@ elements ...
215
216 <table>
217 <thead>
218 <tr><th scope=row>Element<th scope=row>Content Model
219 <th scope=row>Allowed Context
220 <tbody>
221 <tr><th scope=col><code>center</code>
222 <td colspan=2>Same as <code>div</code> [HTML5]
223 </table>
224 </ul>
225
226 <p id=cache-manifest>The
227 <a href="http://www.whatwg.org/specs/web-apps/current-work/#manifests">cache
228 manifest syntax</a> is also supported.
229 </div>
230
231 <div class=section id=atom>
232 <h2>Atom</h2>
233
234 <p><a href="urn:ietf:rfc:4287">Atom 1.0</a> and
235 <a href="urn:ietf:rfc:4685">Atom Threading 1.0</a> are supported.
236
237 <p>However, conformance to some <em class=rfc2119>SHOULD</em>-level
238 requirements, as well as some informational guidelines, are currently
239 not checked. In addition, whether an email-address or a Base64
240 encoding is correct or not is not checked either.
241
242 <p>Use of XML digital signature and encryption is not supported.
243
244 <p>The current implementation assumes that there are following
245 requirements:</p>
246 <ul>
247 <li>Elements and attributes in the Atom namespace, as well as attributes
248 in the null namespace for an element in the Atom namespace,
249 <em class=rfc2119>MUST NOT</em>
250 be used except for contexts where they are allowed by the Atom
251 specification.</li>
252 <li>Inter-element whitespace [HTML5], processing instructions, and
253 comments <em class=rfc2119>MUST</em> be ignored for the purpose of
254 conformance of the content of an element.
255 </ul>
256 </div>
257
258 <div class=section id=css>
259 <h2><abbr title="Cascading Style Sheets">CSS</abbr></h2>
260
261 <p>CSS @namespace and Selectors Level 3 are fully implemented.</p>
262
263 <p>Most of <a href="http://www.w3.org/TR/2007/CR-CSS21-20070719/">CSS 2.1
264 (<time datetime=2007-07-19>19 July 2007</time> Candidate Recommendation)</a>
265 is implemented.
266 <!-- @@ TODO: What is missing? -->
267
268 <p>Most of <a href="http://www.w3.org/TR/2008/WD-css3-color-20080721/">CSS
269 Color Module Level 3 (<time datetime=2008-07-21>21 July 2008</time> Last
270 Call Working Draft)</a> is implemented.
271 <!-- @@ TODO: What is missing? -->
272
273 <p>Since the <abbr title="Cascading Style Sheets">CSS</abbr> 2.1
274 specification is sometimes ambigious or disagree with browsers,
275 our implementation is tend to copy what browsers do unless
276 there is strong resaon to do different thing.</p>
277
278 <p>In addition, the current implementation assumes that there are following
279 requirements:</p>
280 <ul>
281 <li id=css-type-charset-param>The <code>charset</code> parameter of the media
282 type <code>text/css</code> <em class=rfc2119>MUST</em> be treated as if it
283 were an unknown parameter for the purpose of determining styling langauge for
284 an <abbr>HTML</abbr> <code>style</code> element.</li>
285 <li id=css-style-content>Content of an <abbr>HTML</abbr> <code>style</code>
286 element whose content is interpreted as a CSS style sheet
287 <em class=rfc2119>MUST</em> consist of zero or more
288 <a href="http://www.whatwg.org/specs/web-apps/current-work/#text-node">text nodes</a>.
289 Note that it may also contain zero or more comment and/or processing
290 instruction nodes.</li>
291 </ul>
292
293 </div>
294
295 <div class=section id=webidl>
296 <h2>WebIDL</h2>
297
298 <p><a href="http://dev.w3.org/cvsweb/~checkout~/2006/webapi/WebIDL/Overview.html?rev=1.96&amp;content-type=text/html;%20charset=utf-8">WebIDL
299 Editor's Draft revision 1.96 (<time datetime=2008-09-03>3 September
300 2008</time>)</a> is implemented.</p>
301 </div>
302
303 </body>
304 </html>

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24