mirror of
https://github.com/servo/servo.git
synced 2025-08-13 17:35:36 +01:00
Enable screen.availHeight/availWidth/Height/Width
This commit is contained in:
parent
657b2339a1
commit
c120234f0e
16 changed files with 138 additions and 84 deletions
|
@ -5,10 +5,10 @@
|
|||
// http://dev.w3.org/csswg/cssom-view/#the-screen-interface
|
||||
[Exposed=Window]
|
||||
interface Screen {
|
||||
//readonly attribute double availWidth;
|
||||
//readonly attribute double availHeight;
|
||||
//readonly attribute double width;
|
||||
//readonly attribute double height;
|
||||
readonly attribute double availWidth;
|
||||
readonly attribute double availHeight;
|
||||
readonly attribute double width;
|
||||
readonly attribute double height;
|
||||
readonly attribute unsigned long colorDepth;
|
||||
readonly attribute unsigned long pixelDepth;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue