HTML Standard Tracker

Filter

File a bug

SVNBugCommentTime (UTC)
3502Define handling of <listing>, <plaintext>, <acronym>, <xmp>, <dir>.2009-07-30 23:21
@@ -9407,21 +9407,21 @@ http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20HTML%3E%0
 
     <p>Strip all leading and trailing <span title="space
     character">space characters</span> from <var
     title="">type</var>.</p>
 
     <p>If <var title="">type</var> is <em>not</em> now an <span>ASCII
     case-insensitive</span> match for the string
     "<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
  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%2Fgif')%3B%0D%0A%20%20var%20a%20%3D%20%5B%200x47%2C%200x49%2C%200x46%2C%200x38%2C%200x39%2C%200x61%2C%200x01%2C%200x00%2C%200x01%2C%200x00%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%200x80%2C%200xff%2C%200x00%2C%200xc0%2C%200xc0%2C%200xc0%2C%200x00%2C%200x00%2C%200x00%2C%200x21%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%200xf9%2C%200x04%2C%200x01%2C%200x00%2C%200x00%2C%200x00%2C%200x00%2C%200x2c%2C%200x00%2C%200x00%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%200x00%2C%200x00%2C%200x01%2C%200x00%2C%200x01%2C%200x00%2C%200x00%2C%200x02%2C%200x02%2C%200x44%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%200x01%2C%200x00%2C%200x3b%20%5D%3B%0D%0A%20%20var%20s%20%3D%20%22%22%3B%0D%0A%20%20for%20(var%20i%20%3D%200%3B%20i%20%3C%20a.length%3B%20i%20%2B%3D%201)%0D%0A%20%20%20%20s%20%2B%3D%20String.fromCharCode(a%5Bi%5D)%3B%0D%0A%20%20d.write(s)%3B%0D%0A%20%20d.close()%3B%0D%0A%7D%3B%3C%2Fscript%3E
  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{%20%0A%20%20var%20d%20%3D%20document.getElementsByTagName(%27iframe%27)[0].contentDocument%3B%0A%20%20d.open(%27Text%2Fplain%27)%3B%0A%20%20d.write(%27%3Cb%3Etest%27)%3B%0A%20%20d.close()%3B%0A}%3B%3C%2Fscript%3E
  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{%20%0A%20%20var%20d%20%3D%20document.getElementsByTagName(%27iframe%27)[0].contentDocument%3B%0A%20%20d.open(%27%20text%2Fplain%27)%3B%0A%20%20d.write(%27%3Cb%3Etest%27)%3B%0A%20%20d.close()%3B%0A}%3B%3C%2Fscript%3E
  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{%20%0A%20%20var%20d%20%3D%20document.getElementsByTagName(%27iframe%27)[0].contentDocument%3B%0A%20%20d.open(%27text%2Fplain%3B%27)%3B%0A%20%20d.write(%27%3Cb%3Etest%27)%3B%0A%20%20d.close()%3B%0A}%3B%3C%2Fscript%3E
     -->
 
    </li>
@@ -59333,21 +59333,21 @@ style/default.css</pre>
 
   <h4 id="read-text"><dfn title="navigate-text">Page load processing model for text files</dfn></h4>
 
   <p>When a plain text document is to be loaded in a <span>browsing
   context</span>, the user agent should <span>create a
   <code>Document</code> object</span>, mark it as being an <span
   title="HTML documents">HTML document</span>, create an <span>HTML
   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
   into actual characters are defined in RFC 2046, RFC 2646, and
   subsequent versions thereof. <a href="#refsRFC2046">[RFC2046]</a> <a
   href="#refsRFC2646">[RFC2646]</a></p>
 
   <p>The <span>document's character encoding</span> must be set to the
   character encoding used to decode the document.</p>
 
@@ -83519,23 +83519,32 @@ time:empty { binding: <i title="">time</i>; }</pre>
    <dd><p>Use <code>ul</code> instead.</p></dd>
 
    <dt><code>frame</code></dt>
    <dt><code>frameset</code></dt>
    <dt><dfn><code>noframes</code></dfn></dt>
    <dd><p>Either use <code>iframe</code> and CSS instead, or use server-side includes to generate complete pages with the various invariant parts merged in.</p></dd>
 
    <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>
    <dt><dfn><code>center</code></dfn></dt>
    <dt><dfn><code>font</code></dfn></dt>
    <dt><code>marquee</code></dt>
    <dt><dfn><code>s</code></dfn></dt>
    <dt><dfn><code>spacer</code></dfn></dt>
    <dt><dfn><code>strike</code></dfn></dt>
    <dt><dfn><code>tt</code></dfn></dt>
@@ -84222,20 +84231,25 @@ time:empty { binding: <i title="">time</i>; }</pre>
   title="dom-frame-contentDocument"><code>contentDocument</code></dfn>
   DOM attribute of the <code>frame</code> element must return the
   <code>Document</code> object of the <span>active document</span> of
   the <code>frame</code> element's <span>nested browsing
   context</span>.</p>
 
 
 
   <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>;
            attribute DOMString <span title="dom-a-rev">rev</span>;
            attribute DOMString <span title="dom-a-shape">shape</span>;
 };</pre>
 
   <p>The <dfn title="dom-a-coords"><code>coords</code></dfn>, <dfn
   title="dom-a-charset"><code>charset</code></dfn>, <dfn
   title="dom-a-rev"><code>rev</code></dfn>, and <dfn
@@ -84361,20 +84375,23 @@ time:empty { binding: <i title="">time</i>; }</pre>
   the element's <code title="attr-col-charoff">charoff</code> content
   attribute.</p>
 
   <p>The <dfn title="dom-col-vAlign"><code>vAlign</code></dfn> DOM
   attribute of the <code>col</code> element must <span>reflect</span>
   the element's <code title="attr-col-valign">valign</code> content
   attribute.</p>
 
   <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>
 
   <pre class="idl">interface <dfn>HTMLDirectoryElement</dfn> : <span>HTMLElement</span> {
            attribute DOMString <span title="dom-dir-compact">compact</span>;
 };</pre>
 
   <p>The <dfn title="dom-dir-compact"><code>compact</code></dfn> DOM
   attribute of the <code>dir</code> element must <span>reflect</span>
   the content attribute of the same name.</p>
@@ -84578,20 +84595,25 @@ time:empty { binding: <i title="">time</i>; }</pre>
 };</pre>
 
   <p>The <dfn title="dom-link-charset"><code>charset</code></dfn>,
   <dfn title="dom-link-rev"><code>rev</code></dfn>, and <dfn
   title="dom-link-target"><code>target</code></dfn> DOM attributes of
   the <code>link</code> element must <span>reflect</span> the
   respective content attributes of the same name.</p>
 
   <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>
 
   <p>The <dfn title="dom-menu-compact"><code>compact</code></dfn> DOM
   attribute of the <code>menu</code> element must <span>reflect</span>
   the content attribute of the same name.</p>
 
   <hr>
 
@@ -84672,20 +84694,25 @@ time:empty { binding: <i title="">time</i>; }</pre>
   attribute of the <code>param</code> element must
   <span>reflect</span> the content attribute of the same name.</p>
 
   <p>The <dfn title="dom-param-valueType"><code>valueType</code></dfn>
   DOM attribute of the <code>param</code> element must
   <span>reflect</span> the element's <code
   title="attr-param-valuetype">valuetype</code> content attribute.</p>
 
   <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>
 
   <p>The <dfn title="dom-pre-width"><code>width</code></dfn> DOM
   attribute of the <code>pre</code> element must <span>reflect</span>
   the content attribute of the same name.</p>
 
   <hr>
 
@@ -84856,20 +84883,25 @@ time:empty { binding: <i title="">time</i>; }</pre>
            attribute DOMString <span title="dom-ul-type">type</span>;
 };</pre>
 
   <p>The <dfn title="dom-ul-compact"><code>compact</code></dfn> and
   <dfn title="dom-ul-type"><code>type</code></dfn> DOM attributes of
   the <code>ul</code> element must <span>reflect</span> the respective
   content attributes of the same name.</p>
 
   <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>;
            attribute DOMString <span title="dom-document-linkColor">linkColor</span>;
            attribute DOMString <span title="dom-document-vlinkColor">vlinkColor</span>;
            attribute DOMString <span title="dom-document-alinkColor">alinkColor</span>;
 
   readonly attribute <span>HTMLCollection</span> <span title="dom-document-anchors">anchors</span>;
   readonly attribute <span>HTMLCollection</span> <span title="dom-document-applets">applets</span>;
 

|