From 5d73d54d4a88dc729da329bb204225863b2cd269 Mon Sep 17 00:00:00 2001 From: Vincent Date: Mon, 18 Dec 2017 18:07:07 +0100 Subject: [PATCH] Add typemustmatch property on As reported in TypeScript issue #20756: https://github.com/Microsoft/TypeScript/issues/20756 Spec here: https://html.spec.whatwg.org/multipage/iframe-embed-object.html#attr-object-typemustmatch --- baselines/dom.generated.d.ts | 1 + inputfiles/addedTypes.json | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/baselines/dom.generated.d.ts b/baselines/dom.generated.d.ts index 87a7e7c49..6af3fa54d 100644 --- a/baselines/dom.generated.d.ts +++ b/baselines/dom.generated.d.ts @@ -6062,6 +6062,7 @@ interface HTMLObjectElement extends HTMLElement, GetSVGDocument { * Returns whether an element will successfully validate based on forms validation rules and constraints. */ readonly willValidate: boolean; + typemustmatch: boolean; /** * Returns whether a form will validate when it is submitted, without having to submit it. */ diff --git a/inputfiles/addedTypes.json b/inputfiles/addedTypes.json index 89caf3d78..32816fc56 100644 --- a/inputfiles/addedTypes.json +++ b/inputfiles/addedTypes.json @@ -2476,6 +2476,12 @@ "name": "control", "type": "HTMLInputElement | null" }, + { + "kind": "property", + "interface": "HTMLObjectElement", + "name": "typemustmatch", + "type": "boolean" + }, { "kind": "property", "interface": "File",