[whatwg] "Fullscreenable" and "Mouselockable" attributes

On Tue, 4 Aug 2009, Henry Bridge wrote:
>
> With the video tag and web games gaining traction, it seems like there 
> should be a way for apps to provide fullscreen and better control 
> schemes to users.  Of course, spoofing and clickjacking are major 
> concerns, but I liked Alpha Omega's suggestion a few weeks ago [1] to 
> specify a "fullscreenable" attribute to certain elements that hint to 
> the UA that the object would be appropriate to consider for fullscreen.  
> Similarly, for content that uses relative mouse motion or requires great 
> precision (like a first-person view), it would be useful to have a 
> "mouselockable" attribute; upon a UA defined interaction, the mouse 
> would be locked within the particular element and report relative mouse 
> events until the user disengages the lock.
> 
> I can imagine a variety of ways browsers could expose these features: 
> overloading F11 to gray out all portions of page except those are 
> fullscreenable; pressing F11 repeatedly to cycle through elements; 
> having a right click option on fullscreenable elements, automatic hover 
> borders etc.

I think this would be an interesting idea. I think experimentation with a 
UI for this would be a good way to find out if it is feasible.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Thursday, 13 August 2009 04:36:59 UTC