1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 06:37:43 +00:00

LibWeb: Implement the Screen interface

https://drafts.csswg.org/cssom-view/#the-screen-interface
This commit is contained in:
Linus Groh 2021-04-04 00:14:39 +02:00 committed by Andreas Kling
parent e8739ddab7
commit 340e1f4b28
10 changed files with 138 additions and 0 deletions

View file

@ -47,6 +47,7 @@ Window::Window(Document& document)
: EventTarget(static_cast<Bindings::ScriptExecutionContext&>(document))
, m_document(document)
, m_performance(make<HighResolutionTime::Performance>(*this))
, m_screen(CSS::Screen::create(*this))
{
}