Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[] (0) Actually designMode does not make the document stop running sc…
…ripts. That was a lie, just like the cake. Also, designMode, despite being an on/off attribute, is a string, not a boolean...

git-svn-id: http://svn.whatwg.org/webapps@2818 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Feb 13, 2009
1 parent b6936b0 commit e9b8cee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 14 deletions.
8 changes: 1 addition & 7 deletions index
Expand Up @@ -6345,7 +6345,7 @@ interface <dfn id=htmldocument>HTMLDocument</dfn> {
<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);
Expand Down Expand Up @@ -43410,12 +43410,6 @@ at the first element with the given ID must be treated as if it was cloned and r
<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>
Expand Down
8 changes: 1 addition & 7 deletions source
Expand Up @@ -6329,7 +6329,7 @@ interface <dfn>HTMLDocument</dfn> {
<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);
Expand Down Expand Up @@ -49490,12 +49490,6 @@ at the first element with the given ID must be treated as if it was cloned and r
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>
Expand Down

0 comments on commit e9b8cee

Please sign in to comment.