mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 19:47:46 +00:00
LibWeb: Add comments and missing items of various IDL files
This commit is contained in:
parent
fc46def2f5
commit
169d24ae2e
75 changed files with 233 additions and 129 deletions
|
@ -4,9 +4,24 @@
|
|||
// https://drafts.csswg.org/cssom/#cssstylesheet
|
||||
[Exposed=Window]
|
||||
interface CSSStyleSheet : StyleSheet {
|
||||
// readonly attribute CSSRule? ownerRule;
|
||||
// FIXME: constructor(optional CSSStyleSheetInit options = {});
|
||||
|
||||
// FIXME: readonly attribute CSSRule? ownerRule;
|
||||
[SameObject] readonly attribute CSSRuleList cssRules;
|
||||
unsigned long insertRule(CSSOMString rule, optional unsigned long index = 0);
|
||||
undefined deleteRule(unsigned long index);
|
||||
|
||||
// FIXME: Promise<CSSStyleSheet> replace(USVString text);
|
||||
// FIXME: undefined replaceSync(USVString text);
|
||||
|
||||
// https://drafts.csswg.org/cssom/#legacy-css-style-sheet-members
|
||||
// FIXME: [SameObject] readonly attribute CSSRuleList rules;
|
||||
// FIXME: long addRule(optional DOMString selector = "undefined", optional DOMString style = "undefined", optional unsigned long index);
|
||||
undefined removeRule(unsigned long index);
|
||||
};
|
||||
|
||||
dictionary CSSStyleSheetInit {
|
||||
DOMString baseURL = null;
|
||||
(MediaList or DOMString) media = "";
|
||||
boolean disabled = false;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue