Clarify behavior of CSS styling flag, per testing
authorAryeh Gregor <AryehGregor+gitcommit@gmail.com>
Mon, 30 May 2011 15:34:42 -0600
changeset 208 95f110a6e06b
parent 207 a60e273bb837
child 209 05af1d9647d7
Clarify behavior of CSS styling flag, per testing
editcommands.html
preprocess
source.html
--- a/editcommands.html	Mon May 30 15:17:03 2011 -0600
+++ b/editcommands.html	Mon May 30 15:34:42 2011 -0600
@@ -557,11 +557,10 @@
 </ol>
 -->
 
-<p>The <dfn id=css-styling-flag>CSS styling flag</dfn> is a boolean flag, which must initially be
-false.
-
-<p class=XXX>Is the styling flag associated with the document, with the editing
-host, what?  Needs reverse-engineering.
+<p>Each <code class=external data-anolis-spec=html><a href=http://www.whatwg.org/html/#htmldocument>HTMLDocument</a></code> has a boolean <dfn id=css-styling-flag>CSS styling flag</dfn> associated
+with it, which must initially be false.  (<a href=#the-stylewithcss-command>The <code title="">styleWithCSS</code> command</a> can be used to modify or query it, by
+means of the <code><a href=#execcommand()>execCommand()</a></code> and <code><a href=#querycommandstate()>queryCommandState()</a></code>
+methods.)
 
 <p>When the user agent is instructed to run a particular method, it must follow
 the steps defined for that method in the appropriate specification, not act as
--- a/preprocess	Mon May 30 15:17:03 2011 -0600
+++ b/preprocess	Mon May 30 15:34:42 2011 -0600
@@ -45,6 +45,7 @@
     'fontface': '<code data-anolis-spec=html title=dom-font-face>face</code>',
     'fontsize': '<code data-anolis-spec=html title=dom-font-size>size</code>',
     'getselection': '<code data-anolis-spec=domrange title=dom-Document-getSelection>getSelection()</code>',
+    'htmldocument': '<code data-anolis-spec=html>HTMLDocument</code>',
     'htmlnamespace': '<span data-anolis-spec=domcore>HTML namespace</span>',
     'href': '<code data-anolis-spec=html title=attr-hyperlink-href>href</code>',
     'i': '<code data-anolis-spec=html title="the i element">i</code>',
--- a/source.html	Mon May 30 15:17:03 2011 -0600
+++ b/source.html	Mon May 30 15:34:42 2011 -0600
@@ -514,11 +514,11 @@
 </ol>
 -->
 
-<p>The <dfn>CSS styling flag</dfn> is a boolean flag, which must initially be
-false.
-
-<p class=XXX>Is the styling flag associated with the document, with the editing
-host, what?  Needs reverse-engineering.
+<p>Each [[htmldocument]] has a boolean <dfn>CSS styling flag</dfn> associated
+with it, which must initially be false.  (<span>The <code
+title>styleWithCSS</code> command</span> can be used to modify or query it, by
+means of the <code>execCommand()</code> and <code>queryCommandState()</code>
+methods.)
 
 <p>When the user agent is instructed to run a particular method, it must follow
 the steps defined for that method in the appropriate specification, not act as