mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-10 18:10:56 +09:00
LibWeb: Extract the LinkStyle IDL mixin
This commit is contained in:
parent
8d2d315858
commit
899fa30bdd
Notes:
sideshowbarker
2024-07-17 08:30:40 +09:00
Author: https://github.com/AtkinsSJ
Commit: 899fa30bdd
Pull-request: https://github.com/SerenityOS/serenity/pull/14716
Reviewed-by: https://github.com/kennethmyhra
Reviewed-by: https://github.com/linusg
2 changed files with 14 additions and 4 deletions
|
@ -1,13 +1,17 @@
|
|||
#import <CSS/CSSStyleSheet.idl>
|
||||
#import <CSS/LinkStyle.idl>
|
||||
#import <HTML/HTMLElement.idl>
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/semantics.html#htmlstyleelement
|
||||
interface HTMLStyleElement : HTMLElement {
|
||||
// FIXME: [HTMLConstructor] constructor();
|
||||
|
||||
// FIXME: attribute boolean disabled;
|
||||
[Reflect] attribute DOMString media;
|
||||
// FIXME: [SameObject, PutForwards=value] readonly attribute DOMTokenList blocking;
|
||||
|
||||
// Obsolete
|
||||
[Reflect] attribute DOMString type;
|
||||
|
||||
// FIXME: This should come from a LinkStyle mixin
|
||||
readonly attribute CSSStyleSheet? sheet;
|
||||
|
||||
};
|
||||
|
||||
HTMLStyleElement includes LinkStyle;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue