Short URL: http://html5.org/r/3502
| SVN | Bug | Comment | Time (UTC) |
|---|---|---|---|
| 3502 | Define handling of <listing>, <plaintext>, <acronym>, <xmp>, <dir>. | 2009-07-30 23:21 |
Index: source
===================================================================
--- source (revision 3501)
+++ source (revision 3502)
@@ -9414,7 +9414,7 @@
"<code>text/html</code>", then act as if the tokenizer had emitted
a start tag token with the tag name "pre", then set the <span>HTML
parser</span>'s <span>tokenization</span> stage's <span>content
- model flag</span> to <i>PLAINTEXT</i>.</p>
+ model flag</span> to <i title="">PLAINTEXT</i>.</p>
<!--
http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C!DOCTYPE%20html%3E...%3Ciframe%3E%3C%2Fiframe%3E%3Cscript%3Eonload%20%3D%20function%20()%20%7B%20%0D%0A%20%20var%20d%20%3D%20document.getElementsByTagName('iframe')%5B0%5D.contentDocument%3B%0D%0A%20%20d.open('image%2Fsvg%2Bxml')%3B%0D%0A%20%20d.write(%22%3Cinput%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F1999%2Fxhtml'%20value%3D'(x)html'%2F%3E%22)%3B%0D%0A%20%20d.close()%3B%0D%0A%7D%3B%3C%2Fscript%3E
@@ -59340,7 +59340,7 @@
parser</span>, associate it with the document, act as if the
tokenizer had emitted a start tag token with the tag name "pre", set
the <span>tokenization</span> stage's <span>content model
- flag</span> to <i>PLAINTEXT</i>, and begin to pass the stream of
+ flag</span> to <i title="">PLAINTEXT</i>, and begin to pass the stream of
characters in the plain text document to that tokenizer.</p>
<p>The rules for how to convert the bytes of the plain text document
@@ -83526,9 +83526,18 @@
<dt><dfn><code>isindex</code></dfn></dt>
<dd><p>Use an explicit <code>form</code> and <span title="attr-input-type-text">text field</span> combination instead.</p></dd>
+ <dt><dfn><code>listing</code></dfn><dt>
+ <dd><p>Use <code>pre</code> and <code>code</code> instead.</p></dd>
+
<dt><dfn><code>noembed</code></dfn></dt>
<dd><p>Use <code>object</code> instead of <code>embed</code> when fallback is necessary.</p></dd>
+ <dt><dfn><code>plaintext</code></dfn><dt>
+ <dd><p>Use the "<code>text/plain</code>" MIME type instead.</p></dd>
+
+ <dt><dfn><code>xmp</code></dfn><dt>
+ <dd><p>Use <code>code</code> instead.</p></dd>
+
<dt><dfn><code>basefont</code></dfn></dt>
<dt><dfn><code>big</code></dfn></dt>
<dt><dfn><code>blink</code></dfn></dt>
@@ -84229,6 +84238,11 @@
<h4>Other elements, attributes and APIs</h4> <!-- alphabetical by name and attribute -->
+ <p>User agents must treat <code>acronym</code> elements in a manner
+ equivalent to <code>abbr</code> elements.</p>
+
+ <hr>
+
<pre class="idl">[Supplemental] interface <span>HTMLAnchorElement</span> {
attribute DOMString <span title="dom-a-coords">coords</span>;
attribute DOMString <span title="dom-a-charset">charset</span>;
@@ -84368,6 +84382,9 @@
<hr>
+ <p>User agents must treat <code>dir</code> elements in a manner
+ equivalent to <code>ul</code> elements.</p>
+
<p>The <code>dir</code> element must implement the
<code>HTMLDirectoryElement</code> interface.</p>
@@ -84585,6 +84602,11 @@
<hr>
+ <p>User agents must treat <code>listing</code> elements in a manner
+ equivalent to <code>pre</code> elements.</p>
+
+ <hr>
+
<pre class="idl">[Supplemental] interface <span>HTMLMenuElement</span> {
attribute DOMString <span title="dom-menu-compact">compact</span>;
};</pre>
@@ -84679,6 +84701,11 @@
<hr>
+ <p>User agents must treat <code>plaintext</code> elements in a
+ manner equivalent to <code>pre</code> elements.</p>
+
+ <hr>
+
<pre class="idl">[Supplemental] interface <span>HTMLPreElement</span> {
attribute unsigned long <span title="dom-pre-width">width</span>;
};</pre>
@@ -84863,6 +84890,11 @@
<hr>
+ <p>User agents must treat <code>xmp</code> elements in a manner
+ equivalent to <code>code</code> elements.</p>
+
+ <hr>
+
<pre class="idl">[Supplemental] interface <span>HTMLDocument</span> {
attribute DOMString <span title="dom-document-fgColor">fgColor</span>;
attribute DOMString <span title="dom-document-bgColor">bgColor</span>;