[html5] r1153 - /

whatwg at whatwg.org whatwg at whatwg.org
Thu Dec 20 13:42:13 PST 2007


Author: ianh
Date: 2007-12-20 13:42:06 -0800 (Thu, 20 Dec 2007)
New Revision: 1153

Modified:
   index
   source
Log:
[ac] (2) Fixed spelling of preceded; removed idea about making <body> entirely optional; made <title> required again; clarified expected contexts for <style scoped>; prepared for making <ol> and <ul> allowed in phrasing content using <span> (requires parser changes); made <del> transparent; removed last mention of embedded content in <figure>; fixed copy/paste error in selectedRowIndex name; changed th to only allow phrasing content children; allowed <menu> to be nested; made <div> not transparent

Modified: index
===================================================================
--- index	2007-12-20 03:47:13 UTC (rev 1152)
+++ index	2007-12-20 21:42:06 UTC (rev 1153)
@@ -5915,12 +5915,11 @@
    an element matches its content model or not, and must be ignored when
    following algorithms that define document and element semantics.
 
-  <p>An element <var title="">A</var> is said to be <dfn
-   id=preceeded>preceeded or followed</dfn> by a second element <var
-   title="">B</var> if <var title="">A</var> and <var title="">B</var> have
-   the same parent node and there are no other element nodes or text nodes
-   (other than <a href="#inter-element">inter-element whitespace</a>) between
-   them.
+  <p>An element <var title="">A</var> is said to be <dfn id=preceded>preceded
+   or followed</dfn> by a second element <var title="">B</var> if <var
+   title="">A</var> and <var title="">B</var> have the same parent node and
+   there are no other element nodes or text nodes (other than <a
+   href="#inter-element">inter-element whitespace</a>) between them.
 
   <p>Authors must only use <a href="#elements1">elements in the HTML
    namespace</a> in the contexts where they are allowed, as defined for each
@@ -6813,24 +6812,7 @@
    <dt>Content model:
 
    <dd>A <code><a href="#head">head</a></code> element followed by a <code><a
-    href="#body0">body</a></code> element.</dd>
-   <!--XXX
-Steven Pemberton was as always, a remarkable speaker, but his answer
-to my question leaves me a very bad taste. Basically, I asked him why
-XHTML2 preserves the useless head and body element. The answer was in
-substance "because this is a compromise". Ah. So XHTML2 preserves two
-useless elements that add potential dangers to the interpretation and
-styling of documents because it's a compromise. Getting rid of head
-would allow to attach directly the document's metadata to the root
-element of the document, making much more sense than a head element.
-Having a head element also preserves the ridiculous
-engraved-in-the-marble "head contents are not rendered". Body is
-dangerous because it's another box between the document and the
-contents; you all have written a blog template with a <div
-class="main"> or <div class="content">. Why do we also need a body?
- - http://www.glazman.org/weblog/dotclear/index.php?2005/05/27/1055-adam-2
- - http://www.glazman.org/weblog/dotclear/index.php?post/2005/05/27/1055-adam-2
--->
+    href="#body0">body</a></code> element.
 
    <dt>Element-specific attributes:
 
@@ -6903,7 +6885,8 @@
 
    <dt>Content model:
 
-   <dd>Zero or more elements of <a href="#metadata0">metadata content</a>.
+   <dd>One or more elements of <a href="#metadata0">metadata content</a>, of
+    which exactly one is a <code><a href="#title1">title</a></code> element.
 
    <dt>Element-specific attributes:
 
@@ -7863,9 +7846,10 @@
 
    <dd>If the <code title=attr-style-scoped><a
     href="#scoped">scoped</a></code> attribute is present: where <a
-    href="#prose1">prose content</a> is expected, but before any <a
-    href="#phrasing0">phrasing content</a> and before any sibling elements
-    that are not <code><a href="#style">style</a></code> elements.
+    href="#prose1">prose content</a> is expected, but before any sibling
+    elements other than <code><a href="#style">style</a></code> elements and
+    before any text nodes other than <a href="#inter-element">inter-element
+    whitespace</a>.
 
    <dt>Content model:
 
@@ -8313,10 +8297,10 @@
    users to follow such citation links.
 
   <p>If a <code><a href="#blockquote">blockquote</a></code> element is <a
-   href="#preceeded">preceeded or followed</a> by a <a
+   href="#preceded">preceded or followed</a> by a <a
    href="#paragraph">paragraph</a> that contains a single <code><a
    href="#cite2">cite</a></code> element and is itself not <a
-   href="#preceeded">preceeded or followed</a> by another <code><a
+   href="#preceded">preceded or followed</a> by another <code><a
    href="#blockquote">blockquote</a></code> element and does not itself have
    a <code><a href="#q">q</a></code> element descendant, then, the citation
    given by that <code><a href="#cite2">cite</a></code> element gives the
@@ -9513,7 +9497,10 @@
 
    <dt>Contexts in which this element may be used:
 
-   <dd>Where <a href="#prose1">prose content</a> is expected.
+   <dd>Where <a href="#prose1">prose content</a> is expected.</dd>
+   <!--XXXSPAN
+   <dd>As the only child of a <code>span</code> element.</dd>
+-->
 
    <dt>Content model:
 
@@ -9581,7 +9568,10 @@
 
    <dt>Contexts in which this element may be used:
 
-   <dd>Where <a href="#prose1">prose content</a> is expected.
+   <dd>Where <a href="#prose1">prose content</a> is expected.</dd>
+   <!--XXXSPAN
+   <dd>As the only child of a <code>span</code> element.</dd>
+-->
 
    <dt>Content model:
 
@@ -9623,7 +9613,10 @@
    <dt>Content model:
 
    <dd>When the element is a child of a <code><a href="#menu">menu</a></code>
-    element: <a href="#phrasing0">phrasing content</a>.
+    element: <a href="#phrasing0">phrasing content</a>.</dd>
+   <!--XXXSPAN
+   <dd>When the element is a child of an <code>ol</code> or <code>ul/code> element that is itself the child of a <code>span</code> element: <span>phrasing content</span>.</dd>
+-->
 
    <dd>Otherwise: <a href="#prose1">prose content</a>.
 
@@ -11560,7 +11553,8 @@
 
    <dt>Content model:
 
-   <dd><a href="#phrasing0">Phrasing content</a>.
+   <dd><!--XXXSPAN Either: --><a href="#phrasing0">Phrasing content</a>.</dd>
+   <!--XXXSPAN   <dd>Or: A single <code>ol</code> or <code>ul</code> element.</dd>-->
 
    <dt>Element-specific attributes:
 
@@ -11580,8 +11574,20 @@
    title=attr-lang><a href="#lang">lang</a></code>, or <code
    title=attr-dir><a href="#dir">dir</a></code>, or when used in conjunction
    with the <code><a href="#dfn">dfn</a></code> element.</p>
-  <!-- XXX need examples -->
+  <!--XXXSPAN
+  <p>The <code>span</code> element may be used to include a list
+  inline in a paragraph. (When used in this way, the list can only
+  itself contain <span>phrasing content</span>.)</p>
 
+  <div class="example">
+
+   <p>In this example, the list is part of the paragraph:</p>
+
+   ...
+
+  </div>
+-->
+
   <h4 id=the-i><span class=secno>3.12.19. </span>The <dfn
    id=i><code>i</code></dfn> element</h4>
 
@@ -11989,11 +11995,8 @@
 
    <dt>Content model:
 
-   <dd>When the element has a parent: same content model as the parent
-    element.
+   <dd><a href="#transparent0">Transparent</a>.
 
-   <dd>Otherwise: <a href="#prose1">prose content</a>.
-
    <dt>Element-specific attributes:
 
    <dd><code title=attr-mod-cite><a href="#cite3">cite</a></code>
@@ -12096,9 +12099,10 @@
    href="#prose1">prose content</a> with a caption.
 
   <p>The first <code><a href="#legend">legend</a></code> element child of the
-   element, if any, represents the caption of the embedded content. If there
-   is no child <code><a href="#legend">legend</a></code> element, then there
-   is no caption.
+   element, if any, represents the caption of the <code><a
+   href="#figure">figure</a></code> element's contents. If there is no child
+   <code><a href="#legend">legend</a></code> element, then there is no
+   caption.
 
   <p>The remainder of the element's contents, if any, represents the
    captioned content.
@@ -18634,7 +18638,7 @@
     <pre
      class=idl>interface <dfn id=htmltablerowelement>HTMLTableRowElement</dfn> : <a href="#htmlelement">HTMLElement</a> {
   readonly attribute long <a href="#rowindex" title=dom-tr-rowIndex>rowIndex</a>;
-  readonly attribute long <a href="#rowindex0" title=dom-tr-sectionRowIndex>sectionRowIndex</a>;
+  readonly attribute long <a href="#secondrowindex" title=dom-tr-sectionRowIndex>sectionRowIndex</a>;
   readonly attribute <a href="#htmlcollection0">HTMLCollection</a> <a href="#cells" title=dom-tr-cells>cells</a>;
   <a href="#htmlelement">HTMLElement</a> <a href="#insertcell" title=dom-tr-insertCell>insertCell</a>(in long index);
   void <span>deleteCell</span>(in long index);
@@ -18661,11 +18665,11 @@
    is no such <code><a href="#table">table</a></code> element, then the
    attribute must return 0.
 
-  <p>The <dfn id=rowindex0
-   title=dom-tr-sectionRowIndex><code>rowIndex</code></dfn> DOM attribute
-   must, if the element has a parent <code><a href="#table">table</a></code>,
-   <code><a href="#tbody">tbody</a></code>, <code><a
-   href="#thead0">thead</a></code>, or <code><a
+  <p>The <dfn id=secondrowindex
+   title=dom-tr-sectionRowIndex><code>secondRowIndex</code></dfn> DOM
+   attribute must, if the element has a parent <code><a
+   href="#table">table</a></code>, <code><a href="#tbody">tbody</a></code>,
+   <code><a href="#thead0">thead</a></code>, or <code><a
    href="#tfoot0">tfoot</a></code> element, return the index of the <code><a
    href="#tr">tr</a></code> element in the parent element's <code
    title="">rows</code> collection (for tables, that's the <code
@@ -18803,8 +18807,7 @@
 
    <dt>Content model:
 
-   <dd><a href="#prose1">Prose content</a>.</dd>
-   <!-- XXX should we make that phrasing content? -->
+   <dd><a href="#phrasing0">Phrasing content</a>.
 
    <dt>Element-specific attributes:
 
@@ -22677,12 +22680,18 @@
   <dl class=element>
    <dt>Categories
 
-   <dd><span>Prose element</span>.
+   <dd><a href="#prose1">Prose content</a>.
 
+   <dd>If there is a <code><a href="#menu">menu</a></code> element ancestor:
+    <a href="#phrasing0">phrasing content</a>.
+
    <dt>Contexts in which this element may be used:
 
    <dd>Where <a href="#prose1">prose content</a> is expected.
 
+   <dd>If there is a <code><a href="#menu">menu</a></code> element ancestor:
+    where <a href="#phrasing0">phrasing content</a> is expected.
+
    <dt>Content model:
 
    <dd>Either: Zero or more <code><a href="#li">li</a></code> elements.
@@ -24462,7 +24471,7 @@
 
    <dt>Content model:
 
-   <dd><a href="#transparent0">Transparent</a>.
+   <dd><a href="#prose1">Prose content</a>.
 
    <dt>Element-specific attributes:
 
@@ -36409,7 +36418,7 @@
    title=syntax-start-tag>start tag</span> may be omitted if the first thing
    inside the <code><a href="#colgroup">colgroup</a></code> element is a
    <code><a href="#col">col</a></code> element, and if the element is not
-   immediately preceeded by another <code><a
+   immediately preceded by another <code><a
    href="#colgroup">colgroup</a></code> element whose <span
    title=syntax-end-tag>end tag</span> has been omitted.</p>
   <!-- </colgroup> -->
@@ -36432,7 +36441,7 @@
    title=syntax-start-tag>start tag</span> may be omitted if the first thing
    inside the <code><a href="#tbody">tbody</a></code> element is a <code><a
    href="#tr">tr</a></code> element, and if the element is not immediately
-   preceeded by a <code><a href="#tbody">tbody</a></code>, <code><a
+   preceded by a <code><a href="#tbody">tbody</a></code>, <code><a
    href="#thead0">thead</a></code>, or <code><a
    href="#tfoot0">tfoot</a></code> element whose <span
    title=syntax-end-tag>end tag</span> has been omitted.</p>
@@ -36879,7 +36888,7 @@
 
        <dd>
         <p>Advance the <var title="">position</var> pointer so that it points
-         at the first 0x3E byte which is preceeded by two 0x2D bytes (i.e. at
+         at the first 0x3E byte which is preceded by two 0x2D bytes (i.e. at
          the end of an ASCII '-->' sequence) and comes after the 0x3C byte
          that was found. (The two 0x2D bytes can be the same as the those in
          the '<!--' sequence.)</p>
@@ -40564,6 +40573,10 @@
         "p", "ul"
 
        <dd>
+        <p class=big-issue>This doesn't match browsers.</p>
+        <!-- XXX <p><i><p>: http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C!DOCTYPE%20html%3E%3Cp%3E%3Ci%3E%3Cp%3E%3C%2Fp%3E%3C%2Fi%3E%3C%2Fp%3E -->
+        <!-- XXX <p><i><div><p>: http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C!DOCTYPE%20html%3E%3Cp%3E%3Ci%3E%3Cdiv%3E%3Cp%3E%3C%2Fp%3E%3C%2Fdiv%3E%3C%2Fi%3E%3C%2Fp%3E -->
+        
         <p>If the <a href="#stack">stack of open elements</a> <a
          href="#have-an" title="has an element in scope">has a <code>p</code>
          element in scope</a>, then act as if an end tag with the tag name

Modified: source
===================================================================
--- source	2007-12-20 03:47:13 UTC (rev 1152)
+++ source	2007-12-20 21:42:06 UTC (rev 1153)
@@ -4522,7 +4522,7 @@
   ignored when following algorithms that define document and element
   semantics.</p>
 
-  <p>An element <var title="">A</var> is said to be <dfn>preceeded or
+  <p>An element <var title="">A</var> is said to be <dfn>preceded or
   followed</dfn> by a second element <var title="">B</var> if <var
   title="">A</var> and <var title="">B</var> have the same parent node
   and there are no other element nodes or text nodes (other than
@@ -5371,23 +5371,6 @@
    <dd>Wherever a subdocument fragment is allowed in a compound document.</dd>
    <dt>Content model:</dt>
    <dd>A <code>head</code> element followed by a <code>body</code> element.</dd>
-<!--XXX
-Steven Pemberton was as always, a remarkable speaker, but his answer
-to my question leaves me a very bad taste. Basically, I asked him why
-XHTML2 preserves the useless head and body element. The answer was in
-substance "because this is a compromise". Ah. So XHTML2 preserves two
-useless elements that add potential dangers to the interpretation and
-styling of documents because it's a compromise. Getting rid of head
-would allow to attach directly the document's metadata to the root
-element of the document, making much more sense than a head element.
-Having a head element also preserves the ridiculous
-engraved-in-the-marble "head contents are not rendered". Body is
-dangerous because it's another box between the document and the
-contents; you all have written a blog template with a <div
-class="main"> or <div class="content">. Why do we also need a body?
- - http://www.glazman.org/weblog/dotclear/index.php?2005/05/27/1055-adam-2
- - http://www.glazman.org/weblog/dotclear/index.php?post/2005/05/27/1055-adam-2
--->
    <dt>Element-specific attributes:</dt>
    <dd><code title="attr-html-manifest">manifest</code></dd>
    <!--<dd><code title="attr-html-xmlns">xmlns</code></dd>-->
@@ -5449,7 +5432,7 @@
    <dt>Contexts in which this element may be used:</dt>
    <dd>As the first element in an <code>html</code> element.</dd>
    <dt>Content model:</dt>
-   <dd>Zero or more elements of <span>metadata content</span>.</dd>
+   <dd>One or more elements of <span>metadata content</span>, of which exactly one is a <code>title</code> element.</dd>
    <dt>Element-specific attributes:</dt>
    <dd>None.</dd>
    <dt>DOM interface:</dt>
@@ -6326,7 +6309,7 @@
    <dt>Contexts in which this element may be used:</dt>
    <dd>If the <code title="attr-style-scoped">scoped</code> attribute is absent: where <span>metadata content</span> is expected.</dd>
    <dd>If the <code title="attr-style-scoped">scoped</code> attribute is absent: in a <code>noscript</code> element that is a child of a <code>head</code> element.</dd>
-   <dd>If the <code title="attr-style-scoped">scoped</code> attribute is present: where <span>prose content</span> is expected, but before any <span>phrasing content</span> and before any sibling elements that are not <code>style</code> elements.</dd>
+   <dd>If the <code title="attr-style-scoped">scoped</code> attribute is present: where <span>prose content</span> is expected, but before any sibling elements other than <code>style</code> elements and before any text nodes other than <span>inter-element whitespace</span>.</dd>
    <dt>Content model:</dt>
    <dd>Depends on the value of the <code title="attr-style-type">type</code> attribute.</dd>
    <dt>Element-specific attributes:</dt>
@@ -6690,9 +6673,9 @@
   is present, it must be a URI (or IRI). User agents should allow
   users to follow such citation links.</p>
 
-  <p>If a <code>blockquote</code> element is <span>preceeded or
+  <p>If a <code>blockquote</code> element is <span>preceded or
   followed</span> by a <span>paragraph</span> that contains a single
-  <code>cite</code> element and is itself not <span>preceeded or
+  <code>cite</code> element and is itself not <span>preceded or
   followed</span> by another <code>blockquote</code> element and does
   not itself have a <code>q</code> element descendant, then, the
   citation given by that <code>cite</code> element gives the source of
@@ -7735,6 +7718,9 @@
    <dd><span>Prose content</span>.</dd>
    <dt>Contexts in which this element may be used:</dt>
    <dd>Where <span>prose content</span> is expected.</dd>
+<!--XXXSPAN
+   <dd>As the only child of a <code>span</code> element.</dd>
+-->
    <dt>Content model:</dt>
    <dd>Zero or more <code>li</code> elements.</dd>
    <dt>Element-specific attributes:</dt>
@@ -7792,6 +7778,9 @@
    <dd><span>Prose content</span>.</dd>
    <dt>Contexts in which this element may be used:</dt>
    <dd>Where <span>prose content</span> is expected.</dd>
+<!--XXXSPAN
+   <dd>As the only child of a <code>span</code> element.</dd>
+-->
    <dt>Content model:</dt>
    <dd>Zero or more <code>li</code> elements.</dd>
    <dt>Element-specific attributes:</dt>
@@ -7818,6 +7807,9 @@
    <dd>Inside <code>menu</code> elements.</dd>
    <dt>Content model:</dt>
    <dd>When the element is a child of a <code>menu</code> element: <span>phrasing content</span>.</dd>
+<!--XXXSPAN
+   <dd>When the element is a child of an <code>ol</code> or <code>ul/code> element that is itself the child of a <code>span</code> element: <span>phrasing content</span>.</dd>
+-->
    <dd>Otherwise: <span>prose content</span>.</dd>
    <dt>Element-specific attributes:</dt>
    <dd>If the element is a child of an <code>ol</code> element: <code title="attr-li-value">value</code></dd>
@@ -9533,7 +9525,8 @@
    <dt>Contexts in which this element may be used:</dt>
    <dd>Where <span>phrasing content</span> is expected.</dd>
    <dt>Content model:</dt>
-   <dd><span>Phrasing content</span>.</dd>
+   <dd><!--XXXSPAN Either: --><span>Phrasing content</span>.</dd>
+<!--XXXSPAN   <dd>Or: A single <code>ol</code> or <code>ul</code> element.</dd>-->
    <dt>Element-specific attributes:</dt>
    <dd>None, but the <code title="attr-title">title</code> attribute has special semantics on this element when used with the <code>dfn</code> element.</dd>
    <dt>DOM interface:</dt>
@@ -9546,9 +9539,21 @@
   title="attr-lang">lang</code>, or <code title="attr-dir">dir</code>,
   or when used in conjunction with the <code>dfn</code> element.</p>
 
-  <!-- XXX need examples -->
+<!--XXXSPAN
+  <p>The <code>span</code> element may be used to include a list
+  inline in a paragraph. (When used in this way, the list can only
+  itself contain <span>phrasing content</span>.)</p>
 
+  <div class="example">
 
+   <p>In this example, the list is part of the paragraph:</p>
+
+   ...
+
+  </div>
+-->
+
+
   <h4>The <dfn><code>i</code></dfn> element</h4>
 
   <dl class="element">
@@ -9890,8 +9895,7 @@
    <dd>When the element only contains <span>phrasing content</span>: where <span>phrasing content</span> is expected.</dd>
    <dd>Otherwise: where <span>prose content</span> is expected.</dd>
    <dt>Content model:</dt>
-   <dd>When the element has a parent: same content model as the parent element.</dd>
-   <dd>Otherwise: <span>prose content</span>.</dd>
+   <dd><span>Transparent</span>.</dd>
    <dt>Element-specific attributes:</dt>
    <dd><code title="attr-mod-cite">cite</code></dd>
    <dd><code title="attr-mod-datetime">datetime</code></dd>
@@ -9973,8 +9977,9 @@
   content</span> with a caption.</p>
 
   <p>The first <code>legend</code> element child of the element, if
-  any, represents the caption of the embedded content. If there is no
-  child <code>legend</code> element, then there is no caption.</p>
+  any, represents the caption of the <code>figure</code> element's
+  contents. If there is no child <code>legend</code> element, then
+  there is no caption.</p>
 
   <p>The remainder of the element's contents, if any, represents the
   captioned content.</p>
@@ -16080,7 +16085,7 @@
   <code>table</code> element, then the attribute must return 0.</p>
 
   <p>The <dfn
-  title="dom-tr-sectionRowIndex"><code>rowIndex</code></dfn> DOM
+  title="dom-tr-sectionRowIndex"><code>secondRowIndex</code></dfn> DOM
   attribute must, if the element has a parent <code>table</code>,
   <code>tbody</code>, <code>thead</code>, or <code>tfoot</code>
   element, return the index of the <code>tr</code> element in the
@@ -16203,7 +16208,7 @@
    <dt>Contexts in which this element may be used:</dt>
    <dd>As a child of a <code>tr</code> element.</dd>
    <dt>Content model:</dt>
-   <dd><span>Prose content</span>.</dd> <!-- XXX should we make that phrasing content? -->
+   <dd><span>Phrasing content</span>.</dd>
    <dt>Element-specific attributes:</dt>
    <dd><code title="attr-th-colspan">colspan</code></dd>
    <dd><code title="attr-th-rowspan">rowspan</code></dd>
@@ -20170,9 +20175,11 @@
 
   <dl class="element">
    <dt>Categories</dt>
-   <dd><span>Prose element</span>.</dd>
+   <dd><span>Prose content</span>.</dd>
+   <dd>If there is a <code>menu</code> element ancestor: <span>phrasing content</span>.</dd>
    <dt>Contexts in which this element may be used:</dt>
    <dd>Where <span>prose content</span> is expected.</dd>
+   <dd>If there is a <code>menu</code> element ancestor: where <span>phrasing content</span> is expected.</dd>
    <dt>Content model:</dt>
    <dd>Either: Zero or more <code>li</code> elements.</dd>
    <dd>Or: <span>Phrasing content</span>.</dd>
@@ -21914,7 +21921,7 @@
    <dt>Contexts in which this element may be used:</dt>
    <dd>Where <span>prose content</span> is expected.</dd>
    <dt>Content model:</dt>
-   <dd><span>Transparent</span>.</dd>
+   <dd><span>Prose content</span>.</dd>
    <dt>Element-specific attributes:</dt>
    <dd>None.</dd>
    <dt>DOM interface:</dt>
@@ -33754,7 +33761,7 @@
   title="syntax-start-tag">start tag</span> may be omitted if the
   first thing inside the <code>colgroup</code> element is a
   <code>col</code> element, and if the element is not immediately
-  preceeded by another <code>colgroup</code> element whose <span
+  preceded by another <code>colgroup</code> element whose <span
   title="syntax-end-tag">end tag</span> has been omitted.</p>
 
   <!-- </colgroup> -->
@@ -33775,7 +33782,7 @@
   title="syntax-start-tag">start tag</span> may be omitted if the
   first thing inside the <code>tbody</code> element is a
   <code>tr</code> element, and if the element is not immediately
-  preceeded by a <code>tbody</code>, <code>thead</code>, or
+  preceded by a <code>tbody</code>, <code>thead</code>, or
   <code>tfoot</code> element whose <span title="syntax-end-tag">end
   tag</span> has been omitted.</p>
 
@@ -34227,7 +34234,7 @@
        <dd>
 
         <p>Advance the <var title="">position</var> pointer so that it
-        points at the first 0x3E byte which is preceeded by two 0x2D
+        points at the first 0x3E byte which is preceded by two 0x2D
         bytes (i.e. at the end of an ASCII '-->' sequence) and comes
         after the 0x3C byte that was found. (The two 0x2D bytes can be
         the same as the those in the '<!--' sequence.)</p>
@@ -37601,6 +37608,10 @@
        "listing", "menu", "ol", "p", "ul"</dt>
        <dd>
 
+        <p class="big-issue">This doesn't match browsers.</p>
+        <!-- XXX <p><i><p>: http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C!DOCTYPE%20html%3E%3Cp%3E%3Ci%3E%3Cp%3E%3C%2Fp%3E%3C%2Fi%3E%3C%2Fp%3E -->
+        <!-- XXX <p><i><div><p>: http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C!DOCTYPE%20html%3E%3Cp%3E%3Ci%3E%3Cdiv%3E%3Cp%3E%3C%2Fp%3E%3C%2Fdiv%3E%3C%2Fi%3E%3C%2Fp%3E -->
+
         <p>If the <span>stack of open elements</span> <span title="has
         an element in scope">has a <code>p</code> element in
         scope</span>, then act as if an end tag with the tag name




More information about the Commit-Watchers mailing list