Skip to content

Commit 3e6e791

Browse files
authored
Merge pull request #292 from alexlur/master
Adds HTMLIframeElement.prototype.srcdoc
2 parents ea58597 + b204034 commit 3e6e791

File tree

3 files changed

+14
-0
lines changed

3 files changed

+14
-0
lines changed

baselines/dom.generated.d.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5200,6 +5200,10 @@ interface HTMLIFrameElement extends HTMLElement, GetSVGDocument {
52005200
* Sets or retrieves the width of the object.
52015201
*/
52025202
width: string;
5203+
/**
5204+
* Sets or retrives the content of the page that is to contain.
5205+
*/
5206+
srcdoc: string;
52035207
addEventListener<K extends keyof HTMLIFrameElementEventMap>(type: K, listener: (this: HTMLIFrameElement, ev: HTMLIFrameElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
52045208
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
52055209
removeEventListener<K extends keyof HTMLIFrameElementEventMap>(type: K, listener: (this: HTMLIFrameElement, ev: HTMLIFrameElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;

inputfiles/addedTypes.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -757,6 +757,12 @@
757757
"name": "minLength",
758758
"type": "number"
759759
},
760+
{
761+
"kind": "property",
762+
"interface": "HTMLIFrameElement",
763+
"name": "srcdoc",
764+
"type": "string"
765+
},
760766
{
761767
"kind": "property",
762768
"interface": "HTMLTextAreaElement",

inputfiles/comments.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1695,6 +1695,10 @@
16951695
"name": "src",
16961696
"comment": "/**\r\n * Sets or retrieves a URL to be loaded by the object.\r\n */"
16971697
},
1698+
{
1699+
"name": "srcdoc",
1700+
"comment": "/**\r\n * Sets or retrives the content of the page that is to contain.\r\n */"
1701+
},
16981702
{
16991703
"name": "name",
17001704
"comment": "/**\r\n * Sets or retrieves the frame name.\r\n */"

0 commit comments

Comments
 (0)