1
Fork 0
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:
Linus Groh 2021-09-12 16:55:10 +01:00 committed by Andreas Kling
parent a61857eb0a
commit 4155cc7ed5
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;
};