Skip to content

Commit 3acbfee

Browse files
committed
Remove alt attribute from HTMLObjectElement interface
alt is not part of the HTML Standard for HTMLObjectElement Fixes microsoft/TypeScript#21386
1 parent 8d6230f commit 3acbfee

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

baselines/dom.generated.d.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5963,7 +5963,6 @@ interface HTMLObjectElement extends HTMLElement, GetSVGDocument {
59635963
/**
59645964
* Sets or retrieves a text alternative to the graphic.
59655965
*/
5966-
alt: string;
59675966
/**
59685967
* Gets or sets the optional alternative HTML script to execute if the object fails to load.
59695968
*/

inputfiles/removedTypes.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,5 +83,10 @@
8383
{
8484
"kind": "typedef",
8585
"name": "HeadersInit"
86+
},
87+
{
88+
"kind": "property",
89+
"interface": "HTMLObjectElement",
90+
"name": "alt"
8691
}
8792
]

0 commit comments

Comments
 (0)