[Bug 26677] New: Clarify when :fullscreen applies

https://www.w3.org/Bugs/Public/show_bug.cgi?id=26677

            Bug ID: 26677
           Summary: Clarify when :fullscreen applies
           Product: WebAppsWG
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Fullscreen
          Assignee: annevk@annevk.nl
          Reporter: philipj@opera.com
        QA Contact: public-webapps-bugzilla@w3.org
                CC: mike@w3.org, public-webapps@w3.org

http://fullscreen.spec.whatwg.org/#:fullscreen-pseudo-class

If an element at the top of its node document's fullscreen element stack is
moved to another document, does the :fullscreen pseudo-class still apply until
the old document's fullscreen element stack is updated in exitFullscreen()?

If yes, it becomes a bit harder to implement :fullscreen, one would have to
have a flag per element instead of checking the the element's node document's
fullscreen element stack. Do not like.

If no, scripts will immediately observe the change in
element.matches(':fullscreen') but the change in oldDocument.fullscreenElement
will be async. That's a bit weird, but maybe OK.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Received on Tuesday, 26 August 2014 21:54:37 UTC