1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 03:17:35 +00:00

LibWeb: Fire MediaQueryListEvents when an MQL's match-state changes

The HTML event loop does a check for MQL match-state changes and
dispatches the events. This requires us to keep a list of MQLs on the
Document.
This commit is contained in:
Sam Atkins 2021-10-04 17:41:35 +01:00 committed by Andreas Kling
parent 1c829e0417
commit 050823bea7
10 changed files with 122 additions and 2 deletions

View file

@ -31,6 +31,7 @@ class Length;
class MediaList;
class MediaQuery;
class MediaQueryList;
class MediaQueryListEvent;
class PropertyOwningCSSStyleDeclaration;
class Screen;
class Selector;
@ -375,6 +376,7 @@ class ImageDataWrapper;
class KeyboardEventWrapper;
class LocationObject;
class MediaQueryListWrapper;
class MediaQueryListEventWrapper;
class MessageChannelWrapper;
class MessageEventWrapper;
class MessagePortWrapper;