Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(732)

Unified Diff: Source/core/html/HTMLButtonElement.idl

Issue 991513002: Sync HTML element interfaces A-B with the spec (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: leave HTMLFrameSetElement to https://codereview.chromium.org/980703006/ Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/html/HTMLBodyElement.idl ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLButtonElement.idl
diff --git a/Source/core/html/HTMLButtonElement.idl b/Source/core/html/HTMLButtonElement.idl
index 5f1c1686ef7f18b3b2ae782aff5dd56e6591ab81..e4774c7c1d9f2a48c42b6654ccfed07d345e8540 100644
--- a/Source/core/html/HTMLButtonElement.idl
+++ b/Source/core/html/HTMLButtonElement.idl
@@ -18,10 +18,12 @@
* Boston, MA 02110-1301, USA.
*/
+// https://html.spec.whatwg.org/#htmlbuttonelement
+
interface HTMLButtonElement : HTMLElement {
[Reflect] attribute boolean autofocus;
[Reflect] attribute boolean disabled;
- [ImplementedAs=formOwner] readonly attribute HTMLFormElement form;
+ [ImplementedAs=formOwner] readonly attribute HTMLFormElement? form;
[Reflect, URL] attribute DOMString formAction;
attribute DOMString formEnctype;
attribute DOMString formMethod;
@@ -30,12 +32,14 @@ interface HTMLButtonElement : HTMLElement {
[Reflect] attribute DOMString name;
attribute DOMString type;
[Reflect] attribute DOMString value;
+ // FIXME: attribute HTMLMenuElement? menu;
readonly attribute boolean willValidate;
readonly attribute ValidityState validity;
readonly attribute DOMString validationMessage;
boolean checkValidity();
boolean reportValidity();
+ // FIXME: The error argument should not be nullable.
void setCustomValidity([TreatUndefinedAs=NullString] DOMString? error);
readonly attribute NodeList labels;
« no previous file with comments | « Source/core/html/HTMLBodyElement.idl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698