[html5] r2818 - [] (0) Actually designMode does not make the document stop running scripts. That [...]
whatwg at whatwg.org
whatwg at whatwg.org
Fri Feb 13 11:49:57 PST 2009
Author: ianh
Date: 2009-02-13 11:49:56 -0800 (Fri, 13 Feb 2009)
New Revision: 2818
Modified:
index
source
Log:
[] (0) Actually designMode does not make the document stop running scripts. That was a lie, just like the cake. Also, designMode, despite being an on/off attribute, is a string, not a boolean...
Modified: index
===================================================================
--- index 2009-02-13 19:45:22 UTC (rev 2817)
+++ index 2009-02-13 19:49:56 UTC (rev 2818)
@@ -6345,7 +6345,7 @@
<a href=#selection-0>Selection</a> <a href=#dom-document-getselection title=dom-document-getSelection>getSelection</a>();
readonly attribute <span>Element</span> <a href=#dom-document-activeelement title=dom-document-activeElement>activeElement</a>;
boolean <a href=#dom-document-hasfocus title=dom-document-hasFocus>hasFocus</a>();
- attribute boolean <a href=#designMode title=dom-document-designMode>designMode</a>;
+ attribute DOMString <a href=#designMode title=dom-document-designMode>designMode</a>;
boolean <a href=#execCommand title=dom-document-execCommand>execCommand</a>(in DOMString commandId);
boolean <a href=#execCommand title=dom-document-execCommand>execCommand</a>(in DOMString commandId, in boolean showUI);
boolean <a href=#execCommand title=dom-document-execCommand>execCommand</a>(in DOMString commandId, in boolean showUI, in DOMString value);
@@ -43410,14 +43410,8 @@
<p>The last state set must persist until the document is destroyed
or the state is changed. Initially, documents must have their <code title=dom-document-designMode><a href=#designMode>designMode</a></code> disabled.</p>
-<!-- XXX does designMode disable scripting or not?
- <p>Enabling <code title="dom-document-designMode">designMode</code>
- <a href="#designModeScriptBlocked">causes scripts in general to be
- disabled</a> and the document to become editable.</p>
--->
-
<h3 id=spelling-and-grammar-checking><span class=secno>6.8 </span>Spelling and grammar checking</h3>
<p>User agents can support the checking of spelling and grammar of
Modified: source
===================================================================
--- source 2009-02-13 19:45:22 UTC (rev 2817)
+++ source 2009-02-13 19:49:56 UTC (rev 2818)
@@ -6329,7 +6329,7 @@
<span>Selection</span> <span title="dom-document-getSelection">getSelection</span>();
readonly attribute <span>Element</span> <span title="dom-document-activeElement">activeElement</span>;
boolean <span title="dom-document-hasFocus">hasFocus</span>();
- attribute boolean <span title="dom-document-designMode">designMode</span>;
+ attribute DOMString <span title="dom-document-designMode">designMode</span>;
boolean <span title="dom-document-execCommand">execCommand</span>(in DOMString commandId);
boolean <span title="dom-document-execCommand">execCommand</span>(in DOMString commandId, in boolean showUI);
boolean <span title="dom-document-execCommand">execCommand</span>(in DOMString commandId, in boolean showUI, in DOMString value);
@@ -49490,14 +49490,8 @@
or the state is changed. Initially, documents must have their <code
title="dom-document-designMode">designMode</code> disabled.</p>
-<!-- XXX does designMode disable scripting or not?
- <p>Enabling <code title="dom-document-designMode">designMode</code>
- <a href="#designModeScriptBlocked">causes scripts in general to be
- disabled</a> and the document to become editable.</p>
--->
-
<h3>Spelling and grammar checking</h3>
<p>User agents can support the checking of spelling and grammar of
More information about the Commit-Watchers
mailing list