Skip to content

Commit ff45546

Browse files
huytdsaschanaz
andauthored
Add the missing "disabled" property to HTMLStyleElement (microsoft#1301)
Co-authored-by: saschanaz <[email protected]>
1 parent b082106 commit ff45546

File tree

3 files changed

+15
-0
lines changed

3 files changed

+15
-0
lines changed

baselines/dom.generated.d.ts

+2
Original file line numberDiff line numberDiff line change
@@ -7846,6 +7846,8 @@ declare var HTMLSpanElement: {
78467846

78477847
/** A <style> element. It inherits properties and methods from its parent, HTMLElement, and from LinkStyle. */
78487848
interface HTMLStyleElement extends HTMLElement, LinkStyle {
7849+
/** Enables or disables the style sheet. */
7850+
disabled: boolean;
78497851
/** Sets or retrieves the media type. */
78507852
media: string;
78517853
/**

inputfiles/addedTypes.jsonc

+10
Original file line numberDiff line numberDiff line change
@@ -1126,6 +1126,16 @@
11261126
}
11271127
}
11281128
}
1129+
},
1130+
"HTMLStyleElement": {
1131+
"properties": {
1132+
"property": {
1133+
"disabled": {
1134+
"name": "disabled",
1135+
"type": "boolean"
1136+
}
1137+
}
1138+
}
11291139
}
11301140
}
11311141
},

inputfiles/comments.json

+3
Original file line numberDiff line numberDiff line change
@@ -1281,6 +1281,9 @@
12811281
},
12821282
"type": {
12831283
"comment": "Retrieves the CSS language in which the style sheet is written."
1284+
},
1285+
"disabled": {
1286+
"comment": "Enables or disables the style sheet."
12841287
}
12851288
}
12861289
}

0 commit comments

Comments
 (0)