Skip to content

Commit

Permalink
[] (0) Try to make formatBlock match UAs more.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.whatwg.org/webapps@3745 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Sep 4, 2009
1 parent 26c9688 commit 01378d8
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 21 deletions.
21 changes: 10 additions & 11 deletions index
Expand Up @@ -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-&mdash;-3-september-2009>Draft Standard &mdash; 3 September 2009</h2>
<h2 class="no-num no-toc" id=draft-standard-&mdash;-4-september-2009>Draft Standard &mdash; 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>-->
Expand Down Expand Up @@ -10426,10 +10426,9 @@ http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20HTML%3E%0
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
Expand Down Expand Up @@ -58385,15 +58384,15 @@ style/default.css</pre>
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
Expand Down
21 changes: 11 additions & 10 deletions source
Expand Up @@ -10940,10 +10940,10 @@ http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20HTML%3E%0
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
Expand Down Expand Up @@ -68276,15 +68276,16 @@ interface <dfn>SQLTransactionSync</dfn> {
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
Expand Down

0 comments on commit 01378d8

Please sign in to comment.