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 10091 - As far as I can tell, nothing specifies what the intrinsic width/height/ratio for iframes should be. You'd assume it's the height/width/ratio of the document, but of course that's wrong unless the iframe is seamless.
Summary: As far as I can tell, nothing specifies what the intrinsic width/height/ratio...
Status: CLOSED WONTFIX
Alias: None
Product: HTML WG
Classification: Unclassified
Component: pre-LC1 HTML5 spec (editor: Ian Hickson) (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: ---
Assignee: Ian 'Hixie' Hickson
QA Contact: HTML WG Bugzilla archive list
URL: http://www.whatwg.org/specs/web-apps/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-05 21:00 UTC by contributor
Modified: 2010-10-04 13:58 UTC (History)
6 users (show)

See Also:


Attachments

Description contributor 2010-07-05 21:00:51 UTC
Section: http://www.whatwg.org/specs/web-apps/current-work/#embedded-content-2

Comment:
As far as I can tell, nothing specifies what the intrinsic width/height/ratio
for iframes should be.	You'd assume it's the height/width/ratio of the
document, but of course that's wrong unless the iframe is seamless.

Posted from: 68.175.61.233
Comment 1 Henri Sivonen 2010-07-06 07:12:11 UTC
IIRC, CSS specifies this.
Comment 2 Aryeh Gregor 2010-07-06 10:13:38 UTC
I don't see the string "iframe" anywhere in CSS 2.1:

http://www.w3.org/TR/CSS2/css2.txt
Comment 3 Henri Sivonen 2010-07-06 19:05:46 UTC
"   Otherwise, if 'width' has a computed value of 'auto', but none of the
   conditions above are met, then the used value of 'width' becomes 300px.
   If 300px is too wide to fit the device, UAs should use the width of the
   largest rectangle that has a 2:1 ratio and fits the device instead.
"

"   Otherwise, if 'height' has a computed value of 'auto', but none of the
   conditions above are met, then the used value of 'height' must be set
   to the height of the largest rectangle that has a 2:1 ratio, has a
   height not greater than 150px, and has a width not greater than the
   device width.
"

So 300px by 150px (or smaller if that doesn't fit).
Comment 4 Aryeh Gregor 2010-07-06 19:07:38 UTC
That applies to inline replaced elements that have no intrinsic height, width, or ratio.  What spec says that iframes have no intrinsic height, width, or ratio?
Comment 5 Ian 'Hixie' Hickson 2010-08-30 17:57:25 UTC
EDITOR'S RESPONSE: This is an Editor's Response to your comment. If you are satisfied with this response, please change the state of this bug to CLOSED. If you have additional information and would like the editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the tracker issue; or you may create a tracker issue yourself, if you are able to do so. For more details, see this document:
   http://dev.w3.org/html5/decision-policy/decision-policy.html

Status: Rejected
Change Description: no spec change
Rationale: The same spec that says they have no intrinsic colour, no wife, and no US tax code: it's implied by the fact that nothing says they _do_ have any.
Comment 6 Aryeh Gregor 2010-08-30 17:58:51 UTC
Hmm.  Okay, I'll buy that.
Comment 7 contributor 2010-08-30 17:58:55 UTC
Checked in as WHATWG revision r5395.
Check-in comment: typo
http://html5.org/tools/web-apps-tracker?from=5394&to=5395