robnyman/robnyman.github.com — pull request #5 by tagawa (2012-10-03 02:41:53+00:00)
Title: Changed check for fullscreen state to reflect latest spec

document.fullscreenElement seems to be the right attribute to check state:
http://dvcs.w3.org/hg/fullscreen/raw-file/tip/Overview.html#api