- From: poot <cvsmail@w3.org>
- Date: Sat, 14 Feb 2009 04:53:50 +0900 (JST)
- To: public-html-diffs@w3.org
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) HTMLDocument http://people.w3.org/mike/diffs/html5/spec/Overview.1.1989.html#htmldocument default behavior http://people.w3.org/mike/diffs/html5/spec/Overview.1.1989.html#concept-spellcheck-default 6.8 Spelling and grammar checking http://people.w3.org/mike/diffs/html5/spec/Overview.1.1989.html#spelling-and-grammar-checking 6.7.2 Making entire documents editable http://people.w3.org/mike/diffs/html5/spec/Overview.1.1989.html#making-entire-documents-editable http://people.w3.org/mike/diffs/html5/spec/Overview.diff.html http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.1988&r2=1.1989&f=h http://html5.org/tools/web-apps-tracker?from=2817&to=2818 =================================================================== 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:54:27 UTC