mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-28 10:37:17 +02:00
This patch adds bindings for the following objects: - StyleSheet - StyleSheetList - CSSStyleSheet You can get to a document's style sheets via Document.styleSheets and iterate through them using StyleSheetList's item() and length(). That's it in terms of functionality at this point, but still neat. :^)
10 lines
403 B
Plaintext
10 lines
403 B
Plaintext
interface StyleSheet {
|
|
// readonly attribute CSSOMString type;
|
|
// readonly attribute USVString? href;
|
|
// readonly attribute (Element or ProcessingInstruction)? ownerNode;
|
|
// readonly attribute CSSStyleSheet? parentStyleSheet;
|
|
// readonly attribute DOMString? title;
|
|
// [SameObject, PutForwards=mediaText] readonly attribute MediaList media;
|
|
// attribute boolean disabled;
|
|
};
|