<?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>16380</bug_id>
          
          <creation_ts>2012-03-14 21:04:27 +0000</creation_ts>
          <short_desc>Define what happens if content is in a display: none iframe</short_desc>
          <delta_ts>2013-08-08 13:28:39 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>CSS</product>
          <component>CSSOM View</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>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Aryeh Gregor">ayg</reporter>
          <assigned_to name="Simon Pieters">zcorpan</assigned_to>
          <cc>zcorpan</cc>
          
          <qa_contact>public-css-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>65571</commentid>
    <comment_count>0</comment_count>
    <who name="Aryeh Gregor">ayg</who>
    <bug_when>2012-03-14 21:04:27 +0000</bug_when>
    <thetext>Lots of stuff refers to the viewport or initial containing block.  It&apos;s not clear whether these exist in a display: none iframe.  Here&apos;s a test-case that illustrates a problem that just bit me:

data:text/html,&lt;!doctype html&gt;
&lt;iframe style=&quot;display:none&quot;
onload=&quot;this.style.display = &apos;&apos;&quot;
src=&apos;data:text/html,&lt;!doctype html&gt;
&lt;body style=&quot;height:1000px&quot;&gt;
&lt;script&gt;scroll(0,200)&lt;/script&gt;
&apos;&gt;&lt;/iframe&gt;

In Firefox 14.0a1 and Chrome 19 dev, the iframe isn&apos;t scrolled.  In Opera Next 12.00 alpha, it is.  IE 10 Developer Preview doesn&apos;t support data: as the source for iframes, but I think it&apos;s not scrolled here.  But a similar case in Chrome did scroll.  What should happen here?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71806</commentid>
    <comment_count>1</comment_count>
    <who name="Glenn Adams">glenn</who>
    <bug_when>2012-08-03 05:55:19 +0000</bug_when>
    <thetext>reassign to myself; apparently i am not the default assignee for this component</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>87712</commentid>
    <comment_count>2</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2013-05-15 10:51:52 +0000</bug_when>
    <thetext>I think I&apos;ll hook into HTML&apos;s &quot;being rendered&quot; for this, and I filed https://www.w3.org/Bugs/Public/show_bug.cgi?id=22040 to make it cover the display:none iframe case.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>87769</commentid>
    <comment_count>3</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2013-05-16 13:00:26 +0000</bug_when>
    <thetext>(Turns out I didn&apos;t need &quot;being rendered&quot;.)

https://dvcs.w3.org/hg/csswg/rev/a3aa467d947d</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>