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

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by wakaba, Sat Feb 9 12:22:19 2008 UTC revision 1.10 by wakaba, Sat Aug 30 10:27:47 2008 UTC
# Line 49  Namespaces Line 49  Namespaces
49  </table>  </table>
50  </div>  </div>
51    
52    <div class=section id=dom>
53    <h2><abbr title="Document Object Model">DOM</abbr></h2>
54    
55    <p>The current implementation assumes that there are following
56    requirements:</p>
57    <ul>
58    <li>The document element (or root element) <em class=rfc2119>MUST</em>
59    be allowed to be a root element.  <span class=example>For example,
60    an <code>html</code> element in <code>http://www.w3.org/1999/xhtml</code>
61    namespace is allowed to be a root element by the HTML5
62    specification.</span></li>
63    </ul>
64    </div>
65    
66  <div class=section id=html>  <div class=section id=html>
67  <h2><abbr title="Hypertext Markup Language">HTML</abbr></h2>  <h2><abbr title="Hypertext Markup Language">HTML</abbr></h2>
68    
69  <p>Restrictions:</p>  <p>HTML5 is partially implemented.</p>
70    
71    <p>In addition, the current implementation assumes that there are following
72    requirements:</p>
73  <ul>  <ul>
74    <li>December 2007 content model is not implemented yet.</li>  <li>Any attribute in the HTML namespace which is not defined by the
75    <li>Form elements are not implemented yet.</li>  HTML5 specification (including Web Forms 2.0 specification)
76    <em class=rfc2119>MUST NOT</em> be used.</li>
77    <li>For an element in the HTML namespace, any attribute in the null namespace
78    (or per$B!>(Belement partition) <em class=rfc2119>MUST NOT</em> be used
79    unless it is allowed by the HTML5 specification (including Web Forms 2.0
80    specification).</li>
81    <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>img</code> <code>src</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>address</code>, <code>div</code>, <code>h1</code>,
130      <code>h2</code>, <code>h3</code>, <code>h4</code>, <code>h5</code>,
131      <code>h6</code>, or <code>p</code>
132      <td><code>align</code>
133      <td>Enumerated attribute [HTML5]
134      <tr><td><code>img</code> or <code>object</code><td><code>align</code>
135      <td>Enumerated attribute [HTML5]
136      <tr><td><code>br</code><td><code>clear</code>
137      <td>Enumerated attribute [HTML5]
138      <tr><td><code>param</code><td><code>valuetype</code>
139      <td>Enumerated attribute [HTML5]
140      <tr><td><code>pre</code><td><code>width</code>
141      <td>Valid non-negative integer [HTML5]
142      <tr><td><code>ul</code>, <code>ol</code>, <code>dir</code>,
143      <code>menu</code>, or <code>dl</code><td><code>compact</code>
144      <td>Boolean attribute [HTML5]
145      <tr><td><code>table</code><td><code>frame</code> or <code>rules</code>
146      <td>Enumerated attribute [HTML5]
147      <tr><td><code>td</code><td><code>scope</code>
148      <td>Same as <code>scope</code> attribute of the <code>th</code> element
149      [HTML5]
150      <tr><td><code>tbody</code>, <code>thead</code>, <code>tfoot</code>,
151      <code>colgroup</code>, <code>col</code>, <code>tr</code>, <code>td</code>,
152      or <code>th</code><td><code>align</code> or <code>valign</code>
153      <td>Enumerated attribute [HTML5]
154      <tr><td><code>link</code><td><code>target</code>
155      <td>Valid browsing context name or keyword [HTML5]
156      <tr id=html-meta-scheme><td><code>meta</code><td><code>schema</code>
157      <td>Any string
158      <!--
159        NOTE: According to HTML4, values for the |scheme| attribute
160        depend on |name| attribute and |profile| of |head|.  Otherwise
161        it is "cdata".  The only profile with any scheme value defined
162        is <http://dublincore.org/documents/dcq-html/> (and those
163        references that profile; see
164        <http://suika.fam.cx/gate/2005/sw/scheme#anchor-55> for more
165        information).
166      -->
167      <tr id=html-rev><td><code>a</code> or <code>link</code><td><code>rev</code>
168      <td>Unordered set of unique space-separated tokens [HTML5]
169      (where any word is allowed)
170      <tr id=html-table-cellpadding><td rowspan=2><code>table</code>
171      <td><code>cellpadding</code>
172      <td rowspan=2>A non-negative integer [HTML5] or a non-negative integer
173      [HTML5] followed by a <code>%</code> character
174      <tr id=html-table-cellspacing><td><code>cellspacing</code>
175      <tr id=html-a-charset><td><code>a</code>
176      <td rowspan=2><code>charset</code>
177      <td rowspan=2>Same as <code>script</code> <code>charset</code> [HTML5],
178      syntactically
179      <tr id=html-link-charset><td><code>link</code>
180      </table>
181    <li>Any value <em class=rfc2119>MAY</em> be specified to the
182    <code>version</code> attribute of an <code>html</code> element.
183    <li>@@ elements ...
184    
185      <table>
186      <thead>
187      <tr><th scope=row>Element<th scope=row>Content Model
188      <th scope=row>Allowed Context
189      <tbody>
190      <tr><th scope=col><code>center</code>
191      <td colspan=2>Same as <code>div</code> [HTML5]
192      </table>
193  </ul>  </ul>
   
194  </div>  </div>
195    
196  <div class=section id=atom>  <div class=section id=atom>
197  <h2>Atom</h2>  <h2>Atom</h2>
198    
199  <p>Only a part is implemented.</p>  <p>The current implementation assumes that there are following
200    requirements:</p>
201    <ul>
202    <li>Elements and attributes in the Atom namespace, as well as attributes
203    in the null namespace for an element in the Atom namespace,
204    <em class=rfc2119>MUST NOT</em>
205    be used except for contexts where they are allowed by the Atom
206    specification.</li>
207    <li>Inter-element whitespace [HTML5], processing instructions, and
208    comments <em class=rfc2119>MUST</em> be ignored for the purpose of
209    conformance of the content of an element.
210    </ul>
211  </div>  </div>
212    
213  <div class=section id=css>  <div class=section id=css>
214  <h2><abbr title="Cascading Style Sheets">CSS</abbr></h2>  <h2><abbr title="Cascading Style Sheets">CSS</abbr></h2>
215    
216  <p>The current implementation assumes that there are following  <p>CSS @namespace and Selectors Level 3 are fully implemented.</p>
217    
218    <p>CSS 2.1 and CSS Color Level 3 are partially
219    implemented.</p>
220    
221    <p>Since the <abbr title="Cascading Style Sheets">CSS</abbr> 2.1
222    specification is sometimes ambigious or disagree with browsers,
223    our implementation is tend to copy what browsers do unless
224    there is strong resaon to do different thing.</p>
225    
226    <p>In addition, the current implementation assumes that there are following
227  requirements:</p>  requirements:</p>
228  <ul>  <ul>
229  <li id=css-type-charset-param>The <code>charset</code> parameter of the media  <li id=css-type-charset-param>The <code>charset</code> parameter of the media
# Line 84  Note that it may also contain zero or mo Line 238  Note that it may also contain zero or mo
238  instruction nodes.</li>  instruction nodes.</li>
239  </ul>  </ul>
240    
 <p>...</p>  
   
241  </div>  </div>
242    
243  </body>  </body>

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.10

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24