Skip to content

Adds HTMLIframeElement.prototype.srcdoc #292

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Nov 28, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions baselines/dom.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5200,6 +5200,10 @@ interface HTMLIFrameElement extends HTMLElement, GetSVGDocument {
* Sets or retrieves the width of the object.
*/
width: string;
/**
* Sets or retrives the content of the page that is to contain.
*/
srcdoc: string;
addEventListener<K extends keyof HTMLIFrameElementEventMap>(type: K, listener: (this: HTMLIFrameElement, ev: HTMLIFrameElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
removeEventListener<K extends keyof HTMLIFrameElementEventMap>(type: K, listener: (this: HTMLIFrameElement, ev: HTMLIFrameElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
Expand Down
6 changes: 6 additions & 0 deletions inputfiles/addedTypes.json
Original file line number Diff line number Diff line change
Expand Up @@ -757,6 +757,12 @@
"name": "minLength",
"type": "number"
},
{
"kind": "property",
"interface": "HTMLIFrameElement",
"name": "srcdoc",
"type": "string"
},
{
"kind": "property",
"interface": "HTMLTextAreaElement",
Expand Down
4 changes: 4 additions & 0 deletions inputfiles/comments.json
Original file line number Diff line number Diff line change
Expand Up @@ -1695,6 +1695,10 @@
"name": "src",
"comment": "/**\r\n * Sets or retrieves a URL to be loaded by the object.\r\n */"
},
{
"name": "srcdoc",
"comment": "/**\r\n * Sets or retrives the content of the page that is to contain.\r\n */"
},
{
"name": "name",
"comment": "/**\r\n * Sets or retrieves the frame name.\r\n */"
Expand Down