mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-12 04:22:28 +00:00
LibWeb: Start implementing the MediaQueryList interface
This commit is contained in:
parent
a61857eb0a
commit
4155cc7ed5
Notes:
sideshowbarker
2024-07-18 04:07:25 +09:00
Author: https://github.com/linusg
Commit: 4155cc7ed5
Pull-request: https://github.com/SerenityOS/serenity/pull/10002
6 changed files with 122 additions and 0 deletions
9
Userland/Libraries/LibWeb/CSS/MediaQueryList.idl
Normal file
9
Userland/Libraries/LibWeb/CSS/MediaQueryList.idl
Normal file
|
@ -0,0 +1,9 @@
|
|||
[Exposed=Window]
|
||||
interface MediaQueryList : EventTarget {
|
||||
readonly attribute CSSOMString media;
|
||||
readonly attribute boolean matches;
|
||||
// TODO:
|
||||
// undefined addListener(EventListener? callback);
|
||||
// undefined removeListener(EventListener? callback);
|
||||
// attribute EventHandler onchange;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue