mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 03:17:35 +00:00
LibWeb: Start implementing the MediaQueryList interface
This commit is contained in:
parent
a61857eb0a
commit
4155cc7ed5
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