W3C home > Mailing lists > Public > whatwg@whatwg.org > June 2009

[whatwg] "Fullscreenable" attribute.

From: Alpha Omega <cdiddca@gmail.com>
Date: Tue, 16 Jun 2009 21:06:16 +0400
Message-ID: <ad0cc3770906161006n5c8225c6y86e26af868690ab3@mail.gmail.com>
I think it would be useful to add "fullscreenable" (or more refined name)
attribute to arbitrary element, so users could be able to full-screen
DOM subtrees, that document author marked as "fullscreenable".

Usage: User choses area that he wants to fullscreen, peforms UA-specific
action there("go to fullscreen" in context menu in desktop browsers,
or gesture on mobile devices for example), UA goes up in DOM tree
until it founds "fullscreenable" attribute, and then  "fullscreens"
this subtree. If "fullscreenable" attribute is not found, then it is
UA authors decision what to do - for example fullscreen entire page.

Use case: Not only solves problem with <video> tag, but also useful
for mobile UAs (users could use it to "zoom" to author defined parts,
on pages with complex layouts.), and for interactive webapps in general IMHO.
Received on Tuesday, 16 June 2009 10:06:16 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:13 UTC