Files
ladybird/Libraries/LibWeb/CSS/Screen.idl
Shannon Booth cc6e048bd6 LibWeb+LibIDL: Remove support for #import directives during parsing
These no longer serve any purpose now that we run the IDLGenerator
on all of these files at once.
2026-04-24 20:08:29 +02:00

18 lines
686 B
Plaintext

// https://w3c.github.io/csswg-drafts/cssom-view-1/#screen
[Exposed=Window]
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;
// https://w3c.github.io/screen-orientation/#extensions-to-the-screen-interface
[SameObject] readonly attribute ScreenOrientation orientation;
// https://w3c.github.io/window-management/#api-extensions-to-screen
[SecureContext] readonly attribute boolean isExtended;
[SecureContext] attribute EventHandler onchange;
};