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 dd8fadd
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 deletions.
4 changes: 0 additions & 4 deletions baselines/dom.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/
Expand Down
4 changes: 0 additions & 4 deletions inputfiles/comments.json
Original file line number Diff line number Diff line change
Expand Up @@ -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 */"
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 dd8fadd

Please sign in to comment.