This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 17983 - "the height of the bounding box around the content" is not precise enough. Does it include floats? Absolutely positioned elements? Fixed positioned elements? (If so, how.) Box shadows and other visual effects?
Summary: "the height of the bounding box around the content" is not precise enough. D...
Status: RESOLVED FIXED
Alias: None
Product: WHATWG
Classification: Unclassified
Component: HTML (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: Unsorted
Assignee: Ian 'Hixie' Hickson
QA Contact: contributor
URL: http://www.whatwg.org/specs/web-apps/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-18 07:28 UTC by contributor
Modified: 2012-09-28 05:23 UTC (History)
5 users (show)

See Also:


Attachments

Description contributor 2012-07-18 07:28:35 UTC
This was was cloned from bug 15035 as part of operation convergence.
Originally filed: 2011-12-02 00:35:00 +0000

================================================================================
 #0   contributor@whatwg.org                          2011-12-02 00:35:38 +0000 
--------------------------------------------------------------------------------
Specification: http://www.whatwg.org/specs/web-apps/current-work/
Multipage: http://www.whatwg.org/C#the-iframe-element
Complete: http://www.whatwg.org/c#the-iframe-element

Comment:
"the height of the bounding box around the content" is not precise enough. 
Does it include floats?  Absolutely positioned elements?  Fixed positioned
elements?  (If so, how.)  Box shadows and other visual effects?

Posted from: 159.63.23.38
User agent: Mozilla/5.0 (X11; Linux x86_64; rv:11.0a1) Gecko/20100101 Firefox/11.0a1
================================================================================
 #1   L. David Baron (Mozilla)                        2011-12-02 00:37:54 +0000 
--------------------------------------------------------------------------------
And, to be clear, I'm referring to this item within the definition of the seamless attribute on iframe:

 # In visual media, in a CSS-supporting user agent: the user agent should set
 # the intrinsic height of the iframe to the height of the bounding box around
 # the content rendered in the iframe at its current width (as given in the
 # previous bullet point), as it would be if the scrolling position was such
 # that the top of the viewport for the content rendered in the iframe was
 # aligned with the origin of that content's canvas.
================================================================================
 #2   Ian 'Hixie' Hickson                             2011-12-07 23:24:28 +0000 
--------------------------------------------------------------------------------
It includes whatever would cause normal overflow for the purpose of rendering scrollbars. Any idea how to phrase that?
================================================================================
 #3   L. David Baron (Mozilla)                        2011-12-08 00:10:45 +0000 
--------------------------------------------------------------------------------
Maybe something like:

In visual media, in a CSS-supporting user agent: the user agent should set the intrinsic height of the iframe to the smallest height that would make the content rendered in the iframe at its current width (as given in the previous bullet point) have no scrollable overflow at its bottom edge.  Scrollable overflow is any overflow that would increase the range to which a scrollbar or other scrolling mechanism can scroll.

(Should this text at some point be written so it works for vertical writing?)
================================================================================
Comment 1 Silvia Pfeiffer 2012-09-22 00:15:48 UTC
I supposed you meant to close this bug instead of the cloned 15035 ?
Comment 2 Silvia Pfeiffer 2012-09-28 05:23:16 UTC
Copying what Ian said on the cloned bug and closing this:

Checked in as WHATWG revision r7314.
Check-in comment: Try to clarify the 'bounding box' stuff for seamless.
http://html5.org/tools/web-apps-tracker?from=7313&to=7314