HTML Standard Tracker

Diff (omit for latest revision)
Filter

Short URL: http://html5.org/r/2818

File a bug

SVNBugCommentTime (UTC)
2818Actually 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...2009-02-13 19:49
Index: source
===================================================================
--- source	(revision 2817)
+++ source	(revision 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

|