<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>18840</bug_id>
          
          <creation_ts>2012-09-11 22:59:14 +0000</creation_ts>
          <short_desc>Fullscreen changes</short_desc>
          <delta_ts>2012-12-05 05:27:15 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WHATWG</product>
          <component>HTML</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>blocker</bug_severity>
          <target_milestone>Unsorted</target_milestone>
          
          <blocked>16709</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Ian &apos;Hixie&apos; Hickson">ian</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>annevk</cc>
    
    <cc>contributor</cc>
    
    <cc>eoconnor</cc>
    
    <cc>ian</cc>
    
    <cc>mike</cc>
    
    <cc>Pat_Ladd2</cc>
          
          <qa_contact>contributor</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>73640</commentid>
    <comment_count>0</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2012-09-11 22:59:14 +0000</bug_when>
    <thetext>(This is forked from bug 17838 because that one was becoming a mess.)

Here&apos;s my plan:

1. In &quot;Creating a new Document object&quot; (where I apply CSP) I&apos;ll set the &quot;fullscreen enabled flag&quot; on a Document if it is in a top-level browsing context or if it is nested through an &lt;iframe&gt; that has allowfullscreen and the &lt;iframe&gt;&apos;s Document has the flag set also.

2. In the &lt;iframe&gt; section, I&apos;ll add the new allowfullscreen=&quot;&quot; attribute. (Also in the index.)

3. I&apos;ll add the onfullscreenchange and onfullscreenerror event handlers.

4. As the first substep of step 4 of &quot;traverse the history&quot;, I will invoke &quot;fully exit fullscreen&quot;. (Note that the event fired there will be seen when you come back to the doc, e.g. fullscreen, back, autoexit fullscreen, forward, get event.)

5. I&apos;ll add the terms above (fullscreen enabled flag, fully exit fullscreen) to the dependency section, linking to http://dvcs.w3.org/hg/fullscreen/raw-file/tip/Overview.html

Did I miss anything?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>73642</commentid>
    <comment_count>1</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2012-09-11 22:59:24 +0000</bug_when>
    <thetext>*** Bug 17838 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>73677</commentid>
    <comment_count>2</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2012-09-12 06:50:58 +0000</bug_when>
    <thetext>Sounds good.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>73963</commentid>
    <comment_count>3</comment_count>
    <who name="">contributor</who>
    <bug_when>2012-09-15 18:30:06 +0000</bug_when>
    <thetext>Checked in as WHATWG revision r7351.
Check-in comment: (This should have no normative effect.) Prepare the spec for fullscreen.
http://html5.org/tools/web-apps-tracker?from=7350&amp;to=7351</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>73964</commentid>
    <comment_count>4</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2012-09-15 18:59:41 +0000</bug_when>
    <thetext>I forgot about sandboxed popups. New plan:

0. I&apos;ll create a new &quot;sandboxed fullscreen flag&quot; for sandboxing flag sets, which is set on sandboxed iframes when &quot;allowfullscreen&quot; isn&apos;t set.

1. In &quot;Creating a new Document object&quot; (after I apply CSP) I&apos;ll set the &quot;fullscreen enabled flag&quot; on a Document if it is in a top-level browsing context whose &quot;sandboxed fullscreen flag&quot; is not set, or if it is nested through an &lt;iframe&gt; that has allowfullscreen and the &lt;iframe&gt;&apos;s Document has the &quot;fullscreen enabled flag&quot; set.

2. In the &lt;iframe&gt; section, I&apos;ll add the new allowfullscreen=&quot;&quot; attribute.
(Also in the index.)

3. I&apos;ll add the onfullscreenchange and onfullscreenerror event handlers.

4. As the first substep of step 4 of &quot;traverse the history&quot;, I will invoke
&quot;fully exit fullscreen&quot;. (Note that the event fired there will be seen when you
come back to the doc, e.g. fullscreen, back, autoexit fullscreen, forward, get
event.)

5. I&apos;ll add the terms above (fullscreen enabled flag, fully exit fullscreen) to
the dependency section, linking to
http://dvcs.w3.org/hg/fullscreen/raw-file/tip/Overview.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>78555</commentid>
    <comment_count>5</comment_count>
    <who name="Patrick Ladd">Pat_Ladd2</who>
    <bug_when>2012-11-20 22:06:11 +0000</bug_when>
    <thetext>Are the steps proposed in the 9/11/12 post going to be added soon?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>79458</commentid>
    <comment_count>6</comment_count>
    <who name="">contributor</who>
    <bug_when>2012-12-05 05:16:58 +0000</bug_when>
    <thetext>Checked in as WHATWG revision r7564.
Check-in comment: Fullscreen integration.
http://html5.org/tools/web-apps-tracker?from=7563&amp;to=7564</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>