Index: core/html/HTMLKeygenElement.idl |
diff --git a/core/html/HTMLKeygenElement.idl b/core/html/HTMLKeygenElement.idl |
index 3310c18d0c86d300f3a63a0898f38c3b73ac844c..011687d798683228e2a055cc7b3850f963bd6899 100644 |
--- a/core/html/HTMLKeygenElement.idl |
+++ b/core/html/HTMLKeygenElement.idl |
@@ -28,11 +28,13 @@ |
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
+// https://html.spec.whatwg.org/#the-keygen-element |
+ |
interface HTMLKeygenElement : HTMLElement { |
[Reflect] attribute boolean autofocus; |
[Reflect] attribute DOMString challenge; |
[Reflect] attribute boolean disabled; |
- [ImplementedAs=formOwner] readonly attribute HTMLFormElement form; |
+ [ImplementedAs=formOwner] readonly attribute HTMLFormElement? form; |
[Reflect, ReflectOnly="rsa", ReflectMissing="rsa"] attribute DOMString keytype; |
[Reflect] attribute DOMString name; |
@@ -42,7 +44,8 @@ interface HTMLKeygenElement : HTMLElement { |
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; |
}; |