[pointer-lock] pointerLockElement should be nullable in the IDL

2012-11-27 Thread Boris Zbarsky
The IDL at 
http://dvcs.w3.org/hg/pointerlock/raw-file/default/index.html#extensions-to-the-document-interface 
says:


readonly attribute Element pointerLockElement;

but the attribute can return null, so the type should be Element?.

-Boris



Re: [pointer-lock] pointerLockElement should be nullable in the IDL

2012-11-27 Thread Vincent Scheib
Thanks, updated to use the nullable type.
http://dvcs.w3.org/hg/pointerlock/rev/ecf0846c2f8f


On Tue, Nov 27, 2012 at 2:41 PM, Boris Zbarsky bzbar...@mit.edu wrote:

 The IDL at http://dvcs.w3.org/hg/**pointerlock/raw-file/default/**
 index.html#extensions-to-the-**document-interfacehttp://dvcs.w3.org/hg/pointerlock/raw-file/default/index.html#extensions-to-the-document-interfacesays:

 readonly attribute Element pointerLockElement;

 but the attribute can return null, so the type should be Element?.

 -Boris