Index: third_party/WebKit/Source/core/html/HTMLButtonElement.idl |
diff --git a/third_party/WebKit/Source/core/html/HTMLButtonElement.idl b/third_party/WebKit/Source/core/html/HTMLButtonElement.idl |
index b357e682e28654c59ff25636a3f3aedd7359b02f..2d4d248191e93f1e9c469f632d3904a0a656b2a4 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLButtonElement.idl |
+++ b/third_party/WebKit/Source/core/html/HTMLButtonElement.idl |
@@ -21,7 +21,7 @@ |
// https://html.spec.whatwg.org/#the-button-element |
interface HTMLButtonElement : HTMLElement { |
- [CEReactions, Reflect] attribute boolean autofocus; |
+ [Measure, CEReactions, Reflect] attribute boolean autofocus; |
[CEReactions, Reflect] attribute boolean disabled; |
[ImplementedAs=formOwner] readonly attribute HTMLFormElement? form; |
[CEReactions] attribute DOMString formAction; |
@@ -34,12 +34,12 @@ interface HTMLButtonElement : HTMLElement { |
[CEReactions, Reflect] attribute DOMString value; |
// FIXME: attribute HTMLMenuElement? menu; |
- readonly attribute boolean willValidate; |
- readonly attribute ValidityState validity; |
- readonly attribute DOMString validationMessage; |
- boolean checkValidity(); |
- boolean reportValidity(); |
- void setCustomValidity(DOMString error); |
+ [MeasureAs=ValidationAPI] readonly attribute boolean willValidate; |
+ [MeasureAs=ValidationAPI] readonly attribute ValidityState validity; |
+ [MeasureAs=ValidationAPI] readonly attribute DOMString validationMessage; |
+ [MeasureAs=ValidationAPI] boolean checkValidity(); |
+ [MeasureAs=ValidationAPI] boolean reportValidity(); |
+ [MeasureAs=ValidationAPI] void setCustomValidity(DOMString error); |
readonly attribute NodeList labels; |
}; |