[html5] r3783 - [] (0) Add the dummy validation API stuff to <object> since it can be in .elemen [...]
whatwg at whatwg.org
whatwg at whatwg.org
Wed Sep 9 03:43:03 PDT 2009
Author: ianh
Date: 2009-09-09 03:43:02 -0700 (Wed, 09 Sep 2009)
New Revision: 3783
Modified:
index
source
Log:
[] (0) Add the dummy validation API stuff to <object> since it can be in .elements too.
Modified: index
===================================================================
--- index 2009-09-09 10:31:42 UTC (rev 3782)
+++ index 2009-09-09 10:43:02 UTC (rev 3783)
@@ -19790,6 +19790,12 @@
attribute DOMString <a href=#dom-dim-height title=dom-dim-height>height</a>;
readonly attribute Document <a href=#dom-object-contentdocument title=dom-object-contentDocument>contentDocument</a>;
readonly attribute <a href=#windowproxy>WindowProxy</a> <a href=#dom-object-contentwindow title=dom-object-contentWindow>contentWindow</a>;
+
+ readonly attribute boolean <a href=#dom-cva-willvalidate title=dom-cva-willValidate>willValidate</a>;
+ readonly attribute <a href=#validitystate>ValidityState</a> <a href=#dom-cva-validity title=dom-cva-validity>validity</a>;
+ readonly attribute DOMString <a href=#dom-cva-validationmessage title=dom-cva-validationMessage>validationMessage</a>;
+ boolean <a href=#dom-cva-checkvalidatity title=dom-cva-checkValidatity>checkValidity</a>();
+ void <a href=#dom-cva-setcustomvalidity title=dom-cva-setCustomValidity>setCustomValidity</a>(in DOMString error);
};</pre>
<div class=impl>
<p>Depending on the type of content instantiated by the
@@ -20190,6 +20196,12 @@
<code><a href=#the-object-element>object</a></code> element's <a href=#nested-browsing-context>nested browsing context</a>,
if it has one; otherwise, it must return null.</p>
+ <p>The <code title=dom-cva-willValidate><a href=#dom-cva-willvalidate>willValidate</a></code>,
+ <code title=dom-cva-validity><a href=#dom-cva-validity>validity</a></code>, and <code title=dom-cva-validationMessage><a href=#dom-cva-validationmessage>validationMessage</a></code>
+ attributes, and the <code title=dom-cva-checkValidatity><a href=#dom-cva-checkvalidatity>checkValidity()</a></code> and
+ <code title=dom-cva-setCustomValidity><a href=#dom-cva-setcustomvalidity>setCustomValidity()</a></code>
+ methods, are part of the <a href=#the-constraint-validation-api>constraint validation API</a>.</p>
+
</div>
<div class=example>
Modified: source
===================================================================
--- source 2009-09-09 10:31:42 UTC (rev 3782)
+++ source 2009-09-09 10:43:02 UTC (rev 3783)
@@ -21276,6 +21276,12 @@
attribute DOMString <span title="dom-dim-height">height</span>;
readonly attribute Document <span title="dom-object-contentDocument">contentDocument</span>;
readonly attribute <span>WindowProxy</span> <span title="dom-object-contentWindow">contentWindow</span>;
+
+ readonly attribute boolean <span title="dom-cva-willValidate">willValidate</span>;
+ readonly attribute <span>ValidityState</span> <span title="dom-cva-validity">validity</span>;
+ readonly attribute DOMString <span title="dom-cva-validationMessage">validationMessage</span>;
+ boolean <span title="dom-cva-checkValidatity">checkValidity</span>();
+ void <span title="dom-cva-setCustomValidity">setCustomValidity</span>(in DOMString error);
};</pre>
<div class="impl">
<p>Depending on the type of content instantiated by the
@@ -21720,6 +21726,15 @@
<code>object</code> element's <span>nested browsing context</span>,
if it has one; otherwise, it must return null.</p>
+ <p>The <code title="dom-cva-willValidate">willValidate</code>,
+ <code title="dom-cva-validity">validity</code>, and <code
+ title="dom-cva-validationMessage">validationMessage</code>
+ attributes, and the <code
+ title="dom-cva-checkValidatity">checkValidity()</code> and
+ <code
+ title="dom-cva-setCustomValidity">setCustomValidity()</code>
+ methods, are part of the <span>constraint validation API</span>.</p>
+
</div>
<div class="example">
More information about the Commit-Watchers
mailing list