[html5] r7299 - [giow] (0) Try to make aborting parsing and regular ending of parsing slightly m [...]

whatwg at whatwg.org whatwg at whatwg.org
Thu Aug 30 10:46:57 PDT 2012


Author: ianh
Date: 2012-08-30 10:46:56 -0700 (Thu, 30 Aug 2012)
New Revision: 7299

Modified:
   complete.html
   index
   source
Log:
[giow] (0) Try to make aborting parsing and regular ending of parsing slightly more similar. Also, emphasise the importance of stress in the definition of <em>. (Sorry for the mixed checkin.)
Affected topics: HTML, HTML Syntax and Parsing

Modified: complete.html
===================================================================
--- complete.html	2012-08-29 21:55:26 UTC (rev 7298)
+++ complete.html	2012-08-30 17:46:56 UTC (rev 7299)
@@ -246,7 +246,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 — Last Updated 29 August 2012</h2>
+    <h2 class="no-num no-toc">Living Standard — Last Updated 30 August 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>
@@ -16291,9 +16291,9 @@
 
   <div class=example>
 
-   <p>The following document has its emphasis styled as bright red
-   text rather than italics text, while leaving titles of works and
-   Latin words in their default italics. It shows how using
+   <p>The following document has its stress emphasis styled as bright
+   red text rather than italics text, while leaving titles of works
+   and Latin words in their default italics. It shows how using
    appropriate elements enables easier restyling of documents.</p>
 
    <pre><!DOCTYPE html>
@@ -21174,18 +21174,18 @@
   </dl><!--TOPIC:HTML--><p>The <code><a href=#the-em-element>em</a></code> element <a href=#represents>represents</a> stress
   emphasis of its contents.</p>
 
-  <p>The level of emphasis that a particular piece of content has is
+  <p>The level of stress that a particular piece of content has is
   given by its number of ancestor <code><a href=#the-em-element>em</a></code> elements.</p>
 
-  <p>The placement of emphasis changes the meaning of the sentence.
-  The element thus forms an integral part of the content. The precise
-  way in which emphasis is used in this way depends on the
+  <p>The placement of stress emphasis changes the meaning of the
+  sentence. The element thus forms an integral part of the content.
+  The precise way in which stress is used in this way depends on the
   language.</p>
 
   <div class=example>
 
-   <p>These examples show how changing the emphasis changes the
-   meaning. First, a general statement of fact, with no emphasis:</p>
+   <p>These examples show how changing the stress emphasis changes the
+   meaning. First, a general statement of fact, with no stress:</p>
 
    <pre><p>Cats are cute animals.</p></pre>
 
@@ -21195,8 +21195,8 @@
 
    <pre><p><em>Cats</em> are cute animals.</p></pre>
 
-   <p>Moving the emphasis to the verb, one highlights that the truth
-   of the entire sentence is in question (maybe someone is saying cats
+   <p>Moving the stress to the verb, one highlights that the truth of
+   the entire sentence is in question (maybe someone is saying cats
    are not cute):</p>
 
    <pre><p>Cats <em>are</em> cute animals.</p></pre>
@@ -21214,7 +21214,7 @@
 
    <p>By emphasizing the entire sentence, it becomes clear that the
    speaker is fighting hard to get the point across. This kind of
-   emphasis also typically affects the punctuation, hence the
+   stress emphasis also typically affects the punctuation, hence the
    exclamation mark here.</p>
 
    <pre><p><em>Cats are cute animals!</em></p></pre>
@@ -91615,10 +91615,13 @@
       <td>One <code><a href=#text>Text</a></code> node before the table, containing "A BC" (A-space-B-C), and one <code><a href=#text>Text</a></code> node inside the table (as a child of a <code><a href=#the-tbody-element>tbody</a></code>) with a single space character. (Space characters separated from non-space characters by non-character tokens are not affected by <a href=#foster-parent title="foster parent">foster parenting</a>, even if those other tokens then get ignored.)
    </table></div>
 
-  <p id=mutation-during-parsing>DOM mutation events must not fire
-  for changes caused by the UA parsing the document. (Conceptually,
-  the parser is not mutating the DOM, it is constructing it.) This
-  includes the parsing of any content inserted using <code title=dom-document-write><a href=#dom-document-write>document.write()</a></code> and <code title=dom-document-writeln><a href=#dom-document-writeln>document.writeln()</a></code> calls. <a href=#refsDOMEVENTS>[DOMEVENTS]</a></p>
+  <p id=mutation-during-parsing>DOM mutation events and mutation
+  observers must not fire for changes caused by the UA parsing the
+  document. (Conceptually, the parser is not mutating the DOM, it is
+  constructing it.) This includes the parsing of any content inserted
+  using <code title=dom-document-write><a href=#dom-document-write>document.write()</a></code> and
+  <code title=dom-document-writeln><a href=#dom-document-writeln>document.writeln()</a></code> calls.
+  <a href=#refsDOMEVENTS>[DOMEVENTS]</a></p>
 
   <p class=note>Not all of the tag names mentioned below are
   conformant tag names in this specification; many are included to
@@ -95406,12 +95409,12 @@
    stream</a>, and discard any future content that would have been
    added to it.</li>
 
+   <li><p>Set the <a href=#current-document-readiness>current document readiness</a> to "<code title="">interactive</code>"<!-- this synchronously fires an event
+   -->.</li>
+
    <li><p>Pop <em>all</em> the nodes off the <a href=#stack-of-open-elements>stack of open
    elements</a>.</li>
 
-   <li><p>Set the <a href=#current-document-readiness>current document readiness</a> to "<code title="">interactive</code>"<!-- this synchronously fires an event
-   -->.</li>
-
    <li><p>Set the <a href=#current-document-readiness>current document readiness</a> to "<code title="">complete</code>"<!-- this also synchronously fires an
    event -->.</li>
 
@@ -105907,6 +105910,7 @@
   Jorgen Horstink,
   Jorunn Danielsen Newth,
   Joseph Kesselman,
+  Joseph Mansfield,
   Joseph Pecoraro,
   Josh Aas,
   Josh Hart,

Modified: index
===================================================================
--- index	2012-08-29 21:55:26 UTC (rev 7298)
+++ index	2012-08-30 17:46:56 UTC (rev 7299)
@@ -246,7 +246,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 — Last Updated 29 August 2012</h2>
+    <h2 class="no-num no-toc">Living Standard — Last Updated 30 August 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>
@@ -16291,9 +16291,9 @@
 
   <div class=example>
 
-   <p>The following document has its emphasis styled as bright red
-   text rather than italics text, while leaving titles of works and
-   Latin words in their default italics. It shows how using
+   <p>The following document has its stress emphasis styled as bright
+   red text rather than italics text, while leaving titles of works
+   and Latin words in their default italics. It shows how using
    appropriate elements enables easier restyling of documents.</p>
 
    <pre><!DOCTYPE html>
@@ -21174,18 +21174,18 @@
   </dl><!--TOPIC:HTML--><p>The <code><a href=#the-em-element>em</a></code> element <a href=#represents>represents</a> stress
   emphasis of its contents.</p>
 
-  <p>The level of emphasis that a particular piece of content has is
+  <p>The level of stress that a particular piece of content has is
   given by its number of ancestor <code><a href=#the-em-element>em</a></code> elements.</p>
 
-  <p>The placement of emphasis changes the meaning of the sentence.
-  The element thus forms an integral part of the content. The precise
-  way in which emphasis is used in this way depends on the
+  <p>The placement of stress emphasis changes the meaning of the
+  sentence. The element thus forms an integral part of the content.
+  The precise way in which stress is used in this way depends on the
   language.</p>
 
   <div class=example>
 
-   <p>These examples show how changing the emphasis changes the
-   meaning. First, a general statement of fact, with no emphasis:</p>
+   <p>These examples show how changing the stress emphasis changes the
+   meaning. First, a general statement of fact, with no stress:</p>
 
    <pre><p>Cats are cute animals.</p></pre>
 
@@ -21195,8 +21195,8 @@
 
    <pre><p><em>Cats</em> are cute animals.</p></pre>
 
-   <p>Moving the emphasis to the verb, one highlights that the truth
-   of the entire sentence is in question (maybe someone is saying cats
+   <p>Moving the stress to the verb, one highlights that the truth of
+   the entire sentence is in question (maybe someone is saying cats
    are not cute):</p>
 
    <pre><p>Cats <em>are</em> cute animals.</p></pre>
@@ -21214,7 +21214,7 @@
 
    <p>By emphasizing the entire sentence, it becomes clear that the
    speaker is fighting hard to get the point across. This kind of
-   emphasis also typically affects the punctuation, hence the
+   stress emphasis also typically affects the punctuation, hence the
    exclamation mark here.</p>
 
    <pre><p><em>Cats are cute animals!</em></p></pre>
@@ -91615,10 +91615,13 @@
       <td>One <code><a href=#text>Text</a></code> node before the table, containing "A BC" (A-space-B-C), and one <code><a href=#text>Text</a></code> node inside the table (as a child of a <code><a href=#the-tbody-element>tbody</a></code>) with a single space character. (Space characters separated from non-space characters by non-character tokens are not affected by <a href=#foster-parent title="foster parent">foster parenting</a>, even if those other tokens then get ignored.)
    </table></div>
 
-  <p id=mutation-during-parsing>DOM mutation events must not fire
-  for changes caused by the UA parsing the document. (Conceptually,
-  the parser is not mutating the DOM, it is constructing it.) This
-  includes the parsing of any content inserted using <code title=dom-document-write><a href=#dom-document-write>document.write()</a></code> and <code title=dom-document-writeln><a href=#dom-document-writeln>document.writeln()</a></code> calls. <a href=#refsDOMEVENTS>[DOMEVENTS]</a></p>
+  <p id=mutation-during-parsing>DOM mutation events and mutation
+  observers must not fire for changes caused by the UA parsing the
+  document. (Conceptually, the parser is not mutating the DOM, it is
+  constructing it.) This includes the parsing of any content inserted
+  using <code title=dom-document-write><a href=#dom-document-write>document.write()</a></code> and
+  <code title=dom-document-writeln><a href=#dom-document-writeln>document.writeln()</a></code> calls.
+  <a href=#refsDOMEVENTS>[DOMEVENTS]</a></p>
 
   <p class=note>Not all of the tag names mentioned below are
   conformant tag names in this specification; many are included to
@@ -95406,12 +95409,12 @@
    stream</a>, and discard any future content that would have been
    added to it.</li>
 
+   <li><p>Set the <a href=#current-document-readiness>current document readiness</a> to "<code title="">interactive</code>"<!-- this synchronously fires an event
+   -->.</li>
+
    <li><p>Pop <em>all</em> the nodes off the <a href=#stack-of-open-elements>stack of open
    elements</a>.</li>
 
-   <li><p>Set the <a href=#current-document-readiness>current document readiness</a> to "<code title="">interactive</code>"<!-- this synchronously fires an event
-   -->.</li>
-
    <li><p>Set the <a href=#current-document-readiness>current document readiness</a> to "<code title="">complete</code>"<!-- this also synchronously fires an
    event -->.</li>
 
@@ -105907,6 +105910,7 @@
   Jorgen Horstink,
   Jorunn Danielsen Newth,
   Joseph Kesselman,
+  Joseph Mansfield,
   Joseph Pecoraro,
   Josh Aas,
   Josh Hart,

Modified: source
===================================================================
--- source	2012-08-29 21:55:26 UTC (rev 7298)
+++ source	2012-08-30 17:46:56 UTC (rev 7299)
@@ -17384,9 +17384,9 @@
 
   <div class="example">
 
-   <p>The following document has its emphasis styled as bright red
-   text rather than italics text, while leaving titles of works and
-   Latin words in their default italics. It shows how using
+   <p>The following document has its stress emphasis styled as bright
+   red text rather than italics text, while leaving titles of works
+   and Latin words in their default italics. It shows how using
    appropriate elements enables easier restyling of documents.</p>
 
    <pre><!DOCTYPE html>
@@ -22707,18 +22707,18 @@
   <p>The <code>em</code> element <span>represents</span> stress
   emphasis of its contents.</p>
 
-  <p>The level of emphasis that a particular piece of content has is
+  <p>The level of stress that a particular piece of content has is
   given by its number of ancestor <code>em</code> elements.</p>
 
-  <p>The placement of emphasis changes the meaning of the sentence.
-  The element thus forms an integral part of the content. The precise
-  way in which emphasis is used in this way depends on the
+  <p>The placement of stress emphasis changes the meaning of the
+  sentence. The element thus forms an integral part of the content.
+  The precise way in which stress is used in this way depends on the
   language.</p>
 
   <div class="example">
 
-   <p>These examples show how changing the emphasis changes the
-   meaning. First, a general statement of fact, with no emphasis:</p>
+   <p>These examples show how changing the stress emphasis changes the
+   meaning. First, a general statement of fact, with no stress:</p>
 
    <pre><p>Cats are cute animals.</p></pre>
 
@@ -22728,8 +22728,8 @@
 
    <pre><p><em>Cats</em> are cute animals.</p></pre>
 
-   <p>Moving the emphasis to the verb, one highlights that the truth
-   of the entire sentence is in question (maybe someone is saying cats
+   <p>Moving the stress to the verb, one highlights that the truth of
+   the entire sentence is in question (maybe someone is saying cats
    are not cute):</p>
 
    <pre><p>Cats <em>are</em> cute animals.</p></pre>
@@ -22747,7 +22747,7 @@
 
    <p>By emphasizing the entire sentence, it becomes clear that the
    speaker is fighting hard to get the point across. This kind of
-   emphasis also typically affects the punctuation, hence the
+   stress emphasis also typically affects the punctuation, hence the
    exclamation mark here.</p>
 
    <pre><p><em>Cats are cute animals!</em></p></pre>
@@ -106330,13 +106330,13 @@
 
   </div>
 
-  <p id="mutation-during-parsing">DOM mutation events must not fire
-  for changes caused by the UA parsing the document. (Conceptually,
-  the parser is not mutating the DOM, it is constructing it.) This
-  includes the parsing of any content inserted using <code
-  title="dom-document-write">document.write()</code> and <code
-  title="dom-document-writeln">document.writeln()</code> calls. <a
-  href="#refsDOMEVENTS">[DOMEVENTS]</a></p>
+  <p id="mutation-during-parsing">DOM mutation events and mutation
+  observers must not fire for changes caused by the UA parsing the
+  document. (Conceptually, the parser is not mutating the DOM, it is
+  constructing it.) This includes the parsing of any content inserted
+  using <code title="dom-document-write">document.write()</code> and
+  <code title="dom-document-writeln">document.writeln()</code> calls.
+  <a href="#refsDOMEVENTS">[DOMEVENTS]</a></p>
 
   <p class="note">Not all of the tag names mentioned below are
   conformant tag names in this specification; many are included to
@@ -110505,13 +110505,13 @@
    stream</span>, and discard any future content that would have been
    added to it.</p></li>
 
-   <li><p>Pop <em>all</em> the nodes off the <span>stack of open
-   elements</span>.</p></li>
-
    <li><p>Set the <span>current document readiness</span> to "<code
    title="">interactive</code>"<!-- this synchronously fires an event
    -->.</p></li>
 
+   <li><p>Pop <em>all</em> the nodes off the <span>stack of open
+   elements</span>.</p></li>
+
    <li><p>Set the <span>current document readiness</span> to "<code
    title="">complete</code>"<!-- this also synchronously fires an
    event -->.</p></li>
@@ -123872,6 +123872,7 @@
   Jorgen Horstink,
   Jorunn Danielsen Newth,
   Joseph Kesselman,
+  Joseph Mansfield,
   Joseph Pecoraro,
   Josh Aas,
   Josh Hart,




More information about the Commit-Watchers mailing list