LibWeb: Start implementing the MediaQueryList interface

This commit is contained in:
Linus Groh 2021-09-12 16:55:10 +01:00 committed by Andreas Kling
commit 4155cc7ed5
Notes: sideshowbarker 2024-07-18 04:07:25 +09:00
6 changed files with 122 additions and 0 deletions

View 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;
};