1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 23:57:34 +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

@ -0,0 +1,8 @@
interface Screen {
readonly attribute long availWidth;
readonly attribute long availHeight;
readonly attribute long width;
readonly attribute long height;
readonly attribute unsigned long colorDepth;
readonly attribute unsigned long pixelDepth;
};