- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Fri, 13 Feb 2009 19:50:04 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec In directory hutz:/tmp/cvs-serv30961 Modified Files: Overview.html Log Message: 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... (whatwg r2818) Index: Overview.html =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.1988 retrieving revision 1.1989 diff -u -d -r1.1988 -r1.1989 --- Overview.html 13 Feb 2009 19:45:27 -0000 1.1988 +++ Overview.html 13 Feb 2009 19:50:02 -0000 1.1989 @@ -5336,7 +5336,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); @@ -35316,11 +35316,7 @@ disabled. Other values must be ignored.<p>When <code title=dom-document-designMode><a href=#designMode>designMode</a></code> is enabled, the DOM attribute must return the value "<code title="">on</code>", and when it is disabled, it must return the value "<code title="">off</code>".<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 + or the state is changed. Initially, documents must have their <code title=dom-document-designMode><a href=#designMode>designMode</a></code> disabled.<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 editable text, either in form controls (such as the value of <code><a href=#the-textarea-element>textarea</a></code> elements), or in elements in an <a href=#editing-host>editing host</a> (using <code title=attr-contenteditable><a href=#attr-contenteditable>contenteditable</a></code>).<p>For each element, user agents must establish a <dfn id=concept-spellcheck-default title=concept-spellcheck-default>default behavior</dfn>, either
Received on Friday, 13 February 2009 19:50:13 UTC