From dd8fadd7fff0c10f479e93b2b8cbd693958acdba Mon Sep 17 00:00:00 2001 From: Oussama Ben Brahim Date: Wed, 24 Jan 2018 23:21:30 +0100 Subject: [PATCH] Remove alt attribute from HTMLObjectElement interface alt is not part of the HTML Standard for HTMLObjectElement Fixes Microsoft/TypeScript#21386 --- baselines/dom.generated.d.ts | 4 ---- inputfiles/comments.json | 4 ---- inputfiles/removedTypes.json | 5 +++++ 3 files changed, 5 insertions(+), 8 deletions(-) diff --git a/baselines/dom.generated.d.ts b/baselines/dom.generated.d.ts index 6d679933a..9834c2fee 100644 --- a/baselines/dom.generated.d.ts +++ b/baselines/dom.generated.d.ts @@ -5960,10 +5960,6 @@ declare var HTMLModElement: { interface HTMLObjectElement extends HTMLElement, GetSVGDocument { align: string; - /** - * Sets or retrieves a text alternative to the graphic. - */ - alt: string; /** * Gets or sets the optional alternative HTML script to execute if the object fails to load. */ diff --git a/inputfiles/comments.json b/inputfiles/comments.json index 52da7cbe6..5b69dd112 100644 --- a/inputfiles/comments.json +++ b/inputfiles/comments.json @@ -2807,10 +2807,6 @@ "name": "standby", "comment": "/**\r\n * Sets or retrieves a message to be displayed while an object is loading.\r\n */" }, - { - "name": "alt", - "comment": "/**\r\n * Sets or retrieves a text alternative to the graphic.\r\n */" - }, { "name": "classid", "comment": "/**\r\n * Sets or retrieves the class identifier for the object.\r\n */" diff --git a/inputfiles/removedTypes.json b/inputfiles/removedTypes.json index 3fe4fe43f..4d5dd9b79 100644 --- a/inputfiles/removedTypes.json +++ b/inputfiles/removedTypes.json @@ -83,5 +83,10 @@ { "kind": "typedef", "name": "HeadersInit" + }, + { + "kind": "property", + "interface": "HTMLObjectElement", + "name": "alt" } ] \ No newline at end of file