Skip to content

Commit 4b9ffc4

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 4b9ffc4

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

baselines/dom.generated.d.ts

-1
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/comments.json

-4
Original file line numberDiff line numberDiff line change
@@ -2807,10 +2807,6 @@
28072807
"name": "standby",
28082808
"comment": "/**\r\n * Sets or retrieves a message to be displayed while an object is loading.\r\n */"
28092809
},
2810-
{
2811-
"name": "alt",
2812-
"comment": "/**\r\n * Sets or retrieves a text alternative to the graphic.\r\n */"
2813-
},
28142810
{
28152811
"name": "classid",
28162812
"comment": "/**\r\n * Sets or retrieves the class identifier for the object.\r\n */"

inputfiles/removedTypes.json

+5
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)