ladybird/Userland/Libraries/LibWeb/CSS/StyleSheet.idl
Tim Ledbetter 84193f2746 LibWeb: Align StyleSheet title getter with the specification
The CSSOM specification says that StyleSheet.title should return null
if the title field is empty.
2024-04-29 08:10:38 +02:00

21 lines
624 B
Plaintext

#import <CSS/CSSStyleSheet.idl>
#import <CSS/MediaList.idl>
#import <DOM/Element.idl>
// https://drafts.csswg.org/cssom/#stylesheet
[Exposed=Window]
interface StyleSheet {
readonly attribute CSSOMString type;
readonly attribute USVString? href;
// FIXME: readonly attribute (Element or ProcessingInstruction)? ownerNode;
readonly attribute Element? ownerNode;
readonly attribute CSSStyleSheet? parentStyleSheet;
[ImplementedAs=title_for_bindings] readonly attribute DOMString? title;
[SameObject, PutForwards=mediaText] readonly attribute MediaList media;
attribute boolean disabled;
};