[html5] r1360 - /

whatwg at whatwg.org whatwg at whatwg.org
Fri Mar 7 17:47:36 PST 2008


Author: ianh
Date: 2008-03-07 17:47:36 -0800 (Fri, 07 Mar 2008)
New Revision: 1360

Modified:
   index
   source
Log:
[] (0) Adding isContentEditable

Modified: index
===================================================================
--- index	2008-03-08 01:39:17 UTC (rev 1359)
+++ index	2008-03-08 01:47:36 UTC (rev 1360)
@@ -2836,6 +2836,7 @@
   // <a href="#editing0">editing</a>
            attribute boolean <a href="#draggable0" title=dom-draggable>draggable</a>;
            attribute DOMString <a href="#contenteditable1" title=dom-contentEditable>contentEditable</a>;
+  readonly attribute DOMString <a href="#iscontenteditable" title=dom-isContentEditable>isContentEditable</a>;
 
   // <span>data templates</span>
            attribute DOMString <a href="#template0" title=dom-template>template</a>;
@@ -33577,6 +33578,11 @@
    string "<code title="">false</code>", and otherwise the attribute setter
    must raise a <code>SYNTAX_ERR</code> exception.
 
+  <p>The <dfn id=iscontenteditable
+   title=dom-isContentEditable><code>isContentEditable</code></dfn> DOM
+   attribute, on getting, must return true if the element is <a
+   href="#editable0">editable</a>, and false otherwise.
+
   <p>If an element is <a href="#editable0">editable</a> and its parent
    element is not, or if an element is <a href="#editable0">editable</a> and
    it has no parent element, then the element is an <dfn id=editing1>editing

Modified: source
===================================================================
--- source	2008-03-08 01:39:17 UTC (rev 1359)
+++ source	2008-03-08 01:47:36 UTC (rev 1360)
@@ -1204,6 +1204,7 @@
   // <span>editing</span>
            attribute boolean <span title="dom-draggable">draggable</span>;
            attribute DOMString <span title="dom-contentEditable">contentEditable</span>;
+  readonly attribute DOMString <span title="dom-isContentEditable">isContentEditable</span>;
 
   // <span>data templates</span>
            attribute DOMString <span title="dom-template">template</span>;
@@ -31032,6 +31033,11 @@
   string "<code title="">false</code>", and otherwise the attribute
   setter must raise a <code>SYNTAX_ERR</code> exception.</p>
 
+  <p>The <dfn
+  title="dom-isContentEditable"><code>isContentEditable</code></dfn>
+  DOM attribute, on getting, must return true if the element is
+  <span>editable</span>, and false otherwise.</p>
+
   <p>If an element is <span>editable</span> and its parent element is
   not, or if an element is <span>editable</span> and it has no parent
   element, then the element is an <dfn>editing host</dfn>. Editable




More information about the Commit-Watchers mailing list