[html5] r3745 - [] (0) Try to make formatBlock match UAs more.

whatwg at whatwg.org whatwg at whatwg.org
Thu Sep 3 17:10:00 PDT 2009


Author: ianh
Date: 2009-09-03 17:09:59 -0700 (Thu, 03 Sep 2009)
New Revision: 3745

Modified:
   index
   source
Log:
[] (0) Try to make formatBlock match UAs more.

Modified: index
===================================================================
--- index	2009-09-03 22:48:49 UTC (rev 3744)
+++ index	2009-09-04 00:09:59 UTC (rev 3745)
@@ -71,7 +71,7 @@
   <div class=head>
    <p><a class=logo href=http://www.whatwg.org/ rel=home><img alt=WHATWG src=/images/logo></a></p>
    <h1>HTML5</h1>
-   <h2 class="no-num no-toc" id=draft-standard-—-3-september-2009>Draft Standard — 3 September 2009</h2>
+   <h2 class="no-num no-toc" id=draft-standard-—-4-september-2009>Draft Standard — 4 September 2009</h2>
    <p>You can take part in this work. <a href=http://www.whatwg.org/mailing-list>Join the working group's discussion list.</a></p>
    <p><strong>Web designers!</strong> We have a <a href=http://blog.whatwg.org/faq/>FAQ</a>, a <a href=http://forums.whatwg.org/>forum</a>, and a <a href=http://www.whatwg.org/mailing-list#help>help mailing list</a> for you!</p>
    <!--<p class="impl"><strong>Implementors!</strong> We have a <a href="http://www.whatwg.org/mailing-list#implementors">mailing list</a> for you too!</p>-->
@@ -10426,10 +10426,9 @@
   value of the <dfn id=attr-link-rel title=attr-link-rel><code>rel</code></dfn>
   attribute, which must be present, and must have a value that is a
   <a href=#set-of-space-separated-tokens>set of space-separated tokens</a>. The <a href=#linkTypes>allowed values and their meanings</a> are defined
-  in a later section. If the <code title=attr-link-rel><a href=#attr-link-rel>rel</a></code>
-  attribute is absent, or if the values used are not allowed according
-  to the definitions in this specification, then the element does not
-  define a link.</p>
+  in a later section. <span class=impl>If the <code title=attr-link-rel><a href=#attr-link-rel>rel</a></code> attribute is absent, or if the
+  values used are not allowed according to the definitions in this
+  specification, then the element does not define a link.</span></p>
 
   <p>Two categories of links can be created using the
   <code><a href=#the-link-element>link</a></code> element. <dfn id=external-resource-link title="external resource link">Links
@@ -58385,15 +58384,15 @@
       case-insensitive</a> match for the tag name of an element
       defined by this specification that is defined to be a
       <a href=#formatblock-candidate><code title="">formatBlock</code> candidate</a>, then,
-      for every position in the selection, take the furthest
+      for every position in the selection, take the nearest
       <a href=#formatblock-candidate><code title="">formatBlock</code> candidate</a>
       ancestor element of that position that contains only
       <a href=#phrasing-content>phrasing content</a>, and, if that element is
-      <a href=#editable>editable</a> and has a parent element whose content
-      model allows that parent to contain any <a href=#flow-content>flow
-      content</a>, replace it with an element in the HTML namespace
-      whose name is <var title="">value</var>, and move all the
-      children that were in it to the new element.</p>
+      <a href=#editable>editable</a>, is not an <a href=#editing-host>editing host</a>, and
+      has a parent element whose content model allows that parent to
+      contain any <a href=#flow-content>flow content</a>, replace it with an
+      element in the HTML namespace whose name is <var title="">value</var>, and move all the children that were in it
+      to the new element.</p>
       <p>If there is no selection, then, where in the description
       above refers to the selection, the user agent must act as if the
       selection was an empty range (with just one position) at the

Modified: source
===================================================================
--- source	2009-09-03 22:48:49 UTC (rev 3744)
+++ source	2009-09-04 00:09:59 UTC (rev 3745)
@@ -10940,10 +10940,10 @@
   attribute, which must be present, and must have a value that is a
   <span>set of space-separated tokens</span>. The <a
   href="#linkTypes">allowed values and their meanings</a> are defined
-  in a later section. If the <code title="attr-link-rel">rel</code>
-  attribute is absent, or if the values used are not allowed according
-  to the definitions in this specification, then the element does not
-  define a link.</p>
+  in a later section. <span class="impl">If the <code
+  title="attr-link-rel">rel</code> attribute is absent, or if the
+  values used are not allowed according to the definitions in this
+  specification, then the element does not define a link.</span></p>
 
   <p>Two categories of links can be created using the
   <code>link</code> element. <dfn title="external resource link">Links
@@ -68276,15 +68276,16 @@
       case-insensitive</span> match for the tag name of an element
       defined by this specification that is defined to be a
       <span><code title="">formatBlock</code> candidate</span>, then,
-      for every position in the selection, take the furthest
+      for every position in the selection, take the nearest
       <span><code title="">formatBlock</code> candidate</span>
       ancestor element of that position that contains only
       <span>phrasing content</span>, and, if that element is
-      <span>editable</span> and has a parent element whose content
-      model allows that parent to contain any <span>flow
-      content</span>, replace it with an element in the HTML namespace
-      whose name is <var title="">value</var>, and move all the
-      children that were in it to the new element.</p>
+      <span>editable</span>, is not an <span>editing host</span>, and
+      has a parent element whose content model allows that parent to
+      contain any <span>flow content</span>, replace it with an
+      element in the HTML namespace whose name is <var
+      title="">value</var>, and move all the children that were in it
+      to the new element.</p>
       <p>If there is no selection, then, where in the description
       above refers to the selection, the user agent must act as if the
       selection was an empty range (with just one position) at the




More information about the Commit-Watchers mailing list