mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-02 15:46:33 +00:00
LibWeb: Add comments and missing items of various IDL files
This commit is contained in:
parent
fc46def2f5
commit
169d24ae2e
Notes:
sideshowbarker
2024-07-17 03:16:02 +09:00
Author: https://github.com/bplaat
Commit: 169d24ae2e
Pull-request: https://github.com/SerenityOS/serenity/pull/21588
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