https://www.w3.org/Bugs/Public/show_bug.cgi?id=19917
Priority: P2
Bug ID: 19917
CC: mike@w3.org, public-webapps@w3.org
Assignee: annevk@annevk.nl
Summary: Split fullscreenchange event to two separate events
QA Contact: public-webapps-bugzilla@w3.org
Severity: normal
Classification: Unclassified
OS: All
Reporter: jh.jinghao@huawei.com
Hardware: PC
Status: NEW
Version: unspecified
Component: Fullscreen
Product: WebAppsWG
We have defined fullscreenchange event to capture the change of fullscreen
(http://www.w3.org/TR/fullscreen/), but in some cases web app needs to know if
the document is entering fullscreen or exiting fullscreen. For example, the web
app wants to do some operation such as hide some elements or pop up an alert
dialog to user when the document is exiting fullscreen , but only applying
fullscreenchange event cannot make the app to be sure the document is exiting
fullscreen unless web developer provide a trick, such as set a flag to mark the
document's status(in fullscreen or out of fullscreen).
Therefore, can we split the "fullscreenchange" event to two separate events?
One is "fullscreenenter" event which will be invoked when the document is
entering fullscreen, another is "fullscreenexit" event which will be invoked
when the document is exiting fullscreen. With those two events web developer
can create app easily to distinguish condition of entering or exiting
fullscreen.
--
You are receiving this mail because:
You are the QA Contact for the bug.