
The intent is to use these to autogenerate prototype declarations for Window and WorkerGlobalScope classes. And the spec links are just nice to have :^)
10 lines
348 B
Text
10 lines
348 B
Text
// 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;
|
|
};
|