<?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>24232</bug_id>
          
          <creation_ts>2014-01-08 05:59:33 +0000</creation_ts>
          <short_desc>The containing block of fixpos elements in the top layer shouldn&apos;t be the ICB</short_desc>
          <delta_ts>2014-01-10 16:36:58 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebAppsWG</product>
          <component>Fullscreen</component>
          <version>unspecified</version>
          <rep_platform>All</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>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Matt Falkenhagen">falken</reporter>
          <assigned_to name="Anne">annevk</assigned_to>
          <cc>cpearce</cc>
    
    <cc>fantasai.bugs</cc>
    
    <cc>ian</cc>
    
    <cc>jackalmage</cc>
    
    <cc>mike</cc>
    
    <cc>public-webapps</cc>
    
    <cc>roc</cc>
          
          <qa_contact>public-webapps-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>98120</commentid>
    <comment_count>0</comment_count>
    <who name="Matt Falkenhagen">falken</who>
    <bug_when>2014-01-08 05:59:33 +0000</bug_when>
    <thetext>The spec says the containing block of an element in the top layer is the initial containing block. However, this would mean elements with fixed positioning don&apos;t behave as such: they would be positioned relative to the document&apos;s origin rather than the viewport&apos;s. Instead, the containing block of fixpos elements should be the viewport, as normal.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98122</commentid>
    <comment_count>1</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2014-01-08 09:10:49 +0000</bug_when>
    <thetext>Ian and Robert came up with this if I remember correctly. I&apos;d like them to comment here first.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98123</commentid>
    <comment_count>2</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2014-01-08 09:11:43 +0000</bug_when>
    <thetext>To be clear, comment 0 is about http://fullscreen.spec.whatwg.org/#rendering which should eventually move into CSS.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98180</commentid>
    <comment_count>3</comment_count>
    <who name="Robert O&apos;Callahan (Mozilla)">roc</who>
    <bug_when>2014-01-09 04:03:59 +0000</bug_when>
    <thetext>I don&apos;t think it was me. However, viewport sounds right.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98200</commentid>
    <comment_count>4</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2014-01-09 13:30:40 +0000</bug_when>
    <thetext>So, instead of &quot;Its containing block is the initial containing block.&quot; we should have &quot;If its position property computes to fixed, its containing block is the viewport, and the initial containing block otherwise.&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98246</commentid>
    <comment_count>5</comment_count>
    <who name="Matt Falkenhagen">falken</who>
    <bug_when>2014-01-10 04:26:44 +0000</bug_when>
    <thetext>comment 4 looks good to me.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98262</commentid>
    <comment_count>6</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2014-01-10 16:36:58 +0000</bug_when>
    <thetext>Thanks!

https://github.com/whatwg/fullscreen/commit/d77e0158a10a2e1904ade9eac6d03531437c3ef7</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>