mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-20 09:49:15 +03:00
ccebc7a905
As defined in: https://w3c.github.io/screen-orientation
16 lines
537 B
Plaintext
16 lines
537 B
Plaintext
#import <CSS/ScreenOrientation.idl>
|
|
|
|
// 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;
|
|
};
|