[Bug 16380] New: Define what happens if content is in a display: none iframe

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

           Summary: Define what happens if content is in a display: none
                    iframe
           Product: CSS
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: CSSOM View
        AssignedTo: dave.null@w3.org
        ReportedBy: ayg@aryeh.name
         QAContact: public-css-bugzilla@w3.org


Lots of stuff refers to the viewport or initial containing block.  It's not
clear whether these exist in a display: none iframe.  Here's a test-case that
illustrates a problem that just bit me:

data:text/html,<!doctype html>
<iframe style="display:none"
onload="this.style.display = ''"
src='data:text/html,<!doctype html>
<body style="height:1000px">
<script>scroll(0,200)</script>
'></iframe>

In Firefox 14.0a1 and Chrome 19 dev, the iframe isn't scrolled.  In Opera Next
12.00 alpha, it is.  IE 10 Developer Preview doesn't support data: as the
source for iframes, but I think it's not scrolled here.  But a similar case in
Chrome did scroll.  What should happen here?

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Wednesday, 14 March 2012 21:04:34 UTC