Skip to content

Commit

Permalink
Remove alt attribute from HTMLObjectElement interface
Browse files Browse the repository at this point in the history
alt is not part of the HTML Standard for HTMLObjectElement

Fixes microsoft/TypeScript#21386
  • Loading branch information
benbraou committed Jan 24, 2018
1 parent 8d6230f commit 3acbfee
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 0 additions & 1 deletion baselines/dom.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5963,7 +5963,6 @@ interface HTMLObjectElement extends HTMLElement, GetSVGDocument {
/**
* 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.
*/
Expand Down
5 changes: 5 additions & 0 deletions inputfiles/removedTypes.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,5 +83,10 @@
{
"kind": "typedef",
"name": "HeadersInit"
},
{
"kind": "property",
"interface": "HTMLObjectElement",
"name": "alt"
}
]

0 comments on commit 3acbfee

Please sign in to comment.