Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[] (0) Clean up some issues Anne found with sorting model.
Affected topics: HTML

git-svn-id: http://svn.whatwg.org/webapps@7598 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Dec 27, 2012
1 parent 6db0d8d commit ccd616c
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 28 deletions.
21 changes: 12 additions & 9 deletions complete.html
Expand Up @@ -248,7 +248,7 @@

<header class=head id=head><p><a class=logo href=http://www.whatwg.org/><img alt=WHATWG height=101 src=/images/logo width=101></a></p>
<hgroup><h1 class=allcaps>HTML</h1>
<h2 class="no-num no-toc">Living Standard &mdash; Last Updated 26 December 2012</h2>
<h2 class="no-num no-toc">Living Standard &mdash; Last Updated 27 December 2012</h2>
</hgroup><dl><dt><strong>Web developer edition:</strong></dt>
<dd><strong><a href=http://developers.whatwg.org/>http://developers.whatwg.org/</a></strong></dd>
<dt>Multiple-page version:</dt>
Expand Down Expand Up @@ -44292,16 +44292,19 @@ <h4 id=table-sorting-model><span class=secno>4.9.13 </span><dfn>Table sorting mo
<ol><li><p>If <var title="">cell</var> is <i>null</i>, then the type is "string" and the value is
the empty string; abort these steps.</li>

<li><p>If, ignoring <a href=#inter-element-whitespace>inter-element whitespace</a> and <a href=#comment-0>Comment</a> nodes,
<var title="">cell</var> has only one child and that child is a <code><a href=#the-data-element>data</a></code> element,
then the value is the value of that <code><a href=#the-data-element>data</a></code> element's <code title=attr-data-value><a href=#attr-data-value>value</a></code> attribute, if there is one, or the empty string
otherwise; the type is "string".</p>
<li><p>If, ignoring <a href=#inter-element-whitespace>inter-element whitespace</a> and nodes other than
<a href=#element>Element</a> and <a href=#text>Text</a> nodes, <var title="">cell</var> has only one child
and that child is a <code><a href=#the-data-element>data</a></code> element, then the value is the value of that
<code><a href=#the-data-element>data</a></code> element's <code title=attr-data-value><a href=#attr-data-value>value</a></code> attribute, if there is
one, or the empty string otherwise; the type is "string".</p>

<li>

<p>If, ignoring <a href=#inter-element-whitespace>inter-element whitespace</a> and <a href=#comment-0>Comment</a> nodes, <var title="">cell</var> has only one child and that child is a <code><a href=#the-time-element>time</a></code> element, then
the value is the <a href="#machine-readable-equivalent-of-the-element's-contents">machine-readable equivalent of the element's contents</a>, if any,
and the type is the kind of value that is thus obtained
<p>If, ignoring <a href=#inter-element-whitespace>inter-element whitespace</a> and nodes other than
<a href=#element>Element</a> and <a href=#text>Text</a> nodes, <var title="">cell</var> has only one
child and that child is a <code><a href=#the-time-element>time</a></code> element, then the value is the
<a href="#machine-readable-equivalent-of-the-element's-contents">machine-readable equivalent of the element's contents</a>, if any, and the type is
the kind of value that is thus obtained
(a <a href=#concept-month title=concept-month>month</a>,
a <a href=#concept-date title=concept-date>date</a>,
a <a href=#concept-yearless-date title=concept-yearless-date>yearless date</a>,
Expand Down Expand Up @@ -44406,7 +44409,7 @@ <h4 id=table-sorting-model><span class=secno>4.9.13 </span><dfn>Table sorting mo
<var title="">groups</var>, and the <code><a href=#the-tr-element>tr</a></code> elements within each such group themselves
being ordered in <a href=#tree-order>tree order</a>.</li>

<li><p><a href=#concept-node-remove title=concept-node-remove>Remove</a> all the <code><a href=#the-tr-element>tr</a></code> elements in <var title="">new order</var> from their parents.</li>
<li><p><a href=#concept-node-remove title=concept-node-remove>Remove</a> all the <code><a href=#the-tr-element>tr</a></code> elements in <var title="">new order</var> from their parents, in <a href=#tree-order>tree order</a>.</li>

<li><p><a href=#concept-node-insert title=concept-node-insert>Insert</a> all the <code><a href=#the-tr-element>tr</a></code> elements in <var title="">new order</var> into the DOM at the location of <var title="">insertion point</var>, in
the order these elements are found in <var title="">new order</var>.</li>
Expand Down
21 changes: 12 additions & 9 deletions index
Expand Up @@ -248,7 +248,7 @@

<header class=head id=head><p><a class=logo href=http://www.whatwg.org/><img alt=WHATWG height=101 src=/images/logo width=101></a></p>
<hgroup><h1 class=allcaps>HTML</h1>
<h2 class="no-num no-toc">Living Standard &mdash; Last Updated 26 December 2012</h2>
<h2 class="no-num no-toc">Living Standard &mdash; Last Updated 27 December 2012</h2>
</hgroup><dl><dt><strong>Web developer edition:</strong></dt>
<dd><strong><a href=http://developers.whatwg.org/>http://developers.whatwg.org/</a></strong></dd>
<dt>Multiple-page version:</dt>
Expand Down Expand Up @@ -44292,16 +44292,19 @@ the cell that corresponds to the values of the two dice.
<ol><li><p>If <var title="">cell</var> is <i>null</i>, then the type is "string" and the value is
the empty string; abort these steps.</li>

<li><p>If, ignoring <a href=#inter-element-whitespace>inter-element whitespace</a> and <a href=#comment-0>Comment</a> nodes,
<var title="">cell</var> has only one child and that child is a <code><a href=#the-data-element>data</a></code> element,
then the value is the value of that <code><a href=#the-data-element>data</a></code> element's <code title=attr-data-value><a href=#attr-data-value>value</a></code> attribute, if there is one, or the empty string
otherwise; the type is "string".</p>
<li><p>If, ignoring <a href=#inter-element-whitespace>inter-element whitespace</a> and nodes other than
<a href=#element>Element</a> and <a href=#text>Text</a> nodes, <var title="">cell</var> has only one child
and that child is a <code><a href=#the-data-element>data</a></code> element, then the value is the value of that
<code><a href=#the-data-element>data</a></code> element's <code title=attr-data-value><a href=#attr-data-value>value</a></code> attribute, if there is
one, or the empty string otherwise; the type is "string".</p>

<li>

<p>If, ignoring <a href=#inter-element-whitespace>inter-element whitespace</a> and <a href=#comment-0>Comment</a> nodes, <var title="">cell</var> has only one child and that child is a <code><a href=#the-time-element>time</a></code> element, then
the value is the <a href="#machine-readable-equivalent-of-the-element's-contents">machine-readable equivalent of the element's contents</a>, if any,
and the type is the kind of value that is thus obtained
<p>If, ignoring <a href=#inter-element-whitespace>inter-element whitespace</a> and nodes other than
<a href=#element>Element</a> and <a href=#text>Text</a> nodes, <var title="">cell</var> has only one
child and that child is a <code><a href=#the-time-element>time</a></code> element, then the value is the
<a href="#machine-readable-equivalent-of-the-element's-contents">machine-readable equivalent of the element's contents</a>, if any, and the type is
the kind of value that is thus obtained
(a <a href=#concept-month title=concept-month>month</a>,
a <a href=#concept-date title=concept-date>date</a>,
a <a href=#concept-yearless-date title=concept-yearless-date>yearless date</a>,
Expand Down Expand Up @@ -44406,7 +44409,7 @@ the cell that corresponds to the values of the two dice.
<var title="">groups</var>, and the <code><a href=#the-tr-element>tr</a></code> elements within each such group themselves
being ordered in <a href=#tree-order>tree order</a>.</li>

<li><p><a href=#concept-node-remove title=concept-node-remove>Remove</a> all the <code><a href=#the-tr-element>tr</a></code> elements in <var title="">new order</var> from their parents.</li>
<li><p><a href=#concept-node-remove title=concept-node-remove>Remove</a> all the <code><a href=#the-tr-element>tr</a></code> elements in <var title="">new order</var> from their parents, in <a href=#tree-order>tree order</a>.</li>

<li><p><a href=#concept-node-insert title=concept-node-insert>Insert</a> all the <code><a href=#the-tr-element>tr</a></code> elements in <var title="">new order</var> into the DOM at the location of <var title="">insertion point</var>, in
the order these elements are found in <var title="">new order</var>.</li>
Expand Down
21 changes: 11 additions & 10 deletions source
Expand Up @@ -51845,18 +51845,19 @@ the cell that corresponds to the values of the two dice.
<li><p>If <var title="">cell</var> is <i>null</i>, then the type is "string" and the value is
the empty string; abort these steps.</p></li>

<li><p>If, ignoring <span>inter-element whitespace</span> and <span>Comment</span> nodes,
<var title="">cell</var> has only one child and that child is a <code>data</code> element,
then the value is the value of that <code>data</code> element's <code
title="attr-data-value">value</code> attribute, if there is one, or the empty string
otherwise; the type is "string".</p>
<li><p>If, ignoring <span>inter-element whitespace</span> and nodes other than
<span>Element</span> and <span>Text</span> nodes, <var title="">cell</var> has only one child
and that child is a <code>data</code> element, then the value is the value of that
<code>data</code> element's <code title="attr-data-value">value</code> attribute, if there is
one, or the empty string otherwise; the type is "string".</p>

<li>

<p>If, ignoring <span>inter-element whitespace</span> and <span>Comment</span> nodes, <var
title="">cell</var> has only one child and that child is a <code>time</code> element, then
the value is the <span>machine-readable equivalent of the element's contents</span>, if any,
and the type is the kind of value that is thus obtained
<p>If, ignoring <span>inter-element whitespace</span> and nodes other than
<span>Element</span> and <span>Text</span> nodes, <var title="">cell</var> has only one
child and that child is a <code>time</code> element, then the value is the
<span>machine-readable equivalent of the element's contents</span>, if any, and the type is
the kind of value that is thus obtained
(a <span title="concept-month">month</span>,
a <span title="concept-date">date</span>,
a <span title="concept-yearless-date">yearless date</span>,
Expand Down Expand Up @@ -51973,7 +51974,7 @@ the cell that corresponds to the values of the two dice.
being ordered in <span>tree order</span>.</p></li>

<li><p><span title="concept-node-remove">Remove</span> all the <code>tr</code> elements in <var
title="">new order</var> from their parents.</p></li>
title="">new order</var> from their parents, in <span>tree order</span>.</p></li>

<li><p><span title="concept-node-insert">Insert</span> all the <code>tr</code> elements in <var
title="">new order</var> into the DOM at the location of <var title="">insertion point</var>, in
Expand Down

0 comments on commit ccd616c

Please sign in to comment.