Add the missing "disabled" property to HTMLStyleElement (#1301)
Co-authored-by: saschanaz <saschanaz@users.noreply.github.com>
This commit is contained in:
Родитель
b082106837
Коммит
ff455461a5
|
@ -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;
|
||||
/**
|
||||
|
|
|
@ -1126,6 +1126,16 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"HTMLStyleElement": {
|
||||
"properties": {
|
||||
"property": {
|
||||
"disabled": {
|
||||
"name": "disabled",
|
||||
"type": "boolean"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
|
@ -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."
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче