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

Unified Diff: core/html/HTMLButtonElement.idl

Issue 1660113002: Updated to Chrome 45 (2454) moved from SVN to git. Base URL: https://github.com/dart-lang/webcore.git@roll_45
Patch Set: Created 4 years, 11 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 | « core/html/HTMLBodyElement.idl ('k') | core/html/HTMLCanvasElement.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/html/HTMLButtonElement.idl
diff --git a/core/html/HTMLButtonElement.idl b/core/html/HTMLButtonElement.idl
index 7845755cff043ba4c5ade1f803b1fec5c12eccdc..6ab20ee99aa5ea06bb9e092c98529a4c26bb44dd 100644
--- a/core/html/HTMLButtonElement.idl
+++ b/core/html/HTMLButtonElement.idl
@@ -18,10 +18,12 @@
* Boston, MA 02110-1301, USA.
*/
+// https://html.spec.whatwg.org/#the-button-element
+
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();
- void setCustomValidity([TreatUndefinedAs=NullString] DOMString? error);
+ boolean reportValidity();
+ void setCustomValidity(DOMString error);
readonly attribute NodeList labels;
};
« no previous file with comments | « core/html/HTMLBodyElement.idl ('k') | core/html/HTMLCanvasElement.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698