Skip to content

Add the missing "disabled" property to HTMLStyleElement #1301

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 2 commits into from
Mar 31, 2022
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
2 changes: 2 additions & 0 deletions baselines/dom.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7846,6 +7846,8 @@ declare var HTMLSpanElement: {

/** A <style> element. It inherits properties and methods from its parent, HTMLElement, and from LinkStyle. */
interface HTMLStyleElement extends HTMLElement, LinkStyle {
/** Enables or disables the style sheet. */
disabled: boolean;
/** Sets or retrieves the media type. */
media: string;
/**
Expand Down
10 changes: 10 additions & 0 deletions inputfiles/addedTypes.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -1126,6 +1126,16 @@
}
}
}
},
"HTMLStyleElement": {
"properties": {
"property": {
"disabled": {
"name": "disabled",
"type": "boolean"
}
}
}
}
}
},
Expand Down
3 changes: 3 additions & 0 deletions inputfiles/comments.json
Original file line number Diff line number Diff line change
Expand Up @@ -1281,6 +1281,9 @@
},
"type": {
"comment": "Retrieves the CSS language in which the style sheet is written."
},
"disabled": {
"comment": "Enables or disables the style sheet."
}
}
}
Expand Down