Index: core/frame/Screen.idl |
diff --git a/core/frame/Screen.idl b/core/frame/Screen.idl |
index a0b6385676f5983aa7c75aefb6bcf4c170b931ed..33d9afc799469e6e005aef8946a6d712fcb9e386 100644 |
--- a/core/frame/Screen.idl |
+++ b/core/frame/Screen.idl |
@@ -26,17 +26,19 @@ |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
+// http://dev.w3.org/csswg/cssom-view/#the-screen-interface |
[ |
- WillBeGarbageCollected, |
+ GarbageCollected, |
] interface Screen { |
- readonly attribute unsigned long height; |
- readonly attribute unsigned long width; |
+ 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; |
- readonly attribute long availLeft; |
- readonly attribute long availTop; |
- readonly attribute unsigned long availHeight; |
- readonly attribute unsigned long availWidth; |
-}; |
+ // Non-standard |
+ [Measure] readonly attribute long availLeft; |
+ [Measure] readonly attribute long availTop; |
+}; |