Bug 9513 - CSS2: iframe with absolute position top, right, left and bottom specified has no affect on the size
Summary: CSS2: iframe with absolute position top, right, left and bottom specified has...
Status: RESOLVED WONTFIX
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 420+
Hardware: Mac OS X 10.4
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-19 22:53 PDT by Timothy Hatcher
Modified: 2022-07-22 12:00 PDT (History)
8 users (show)

See Also:


Attachments
Testcase (147 bytes, text/html)
2006-06-19 22:54 PDT, Timothy Hatcher
no flags Details
Safari 15.6 matches with other browsers (534.69 KB, image/png)
2022-07-22 08:53 PDT, Ahmad Saleem
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Timothy Hatcher 2006-06-19 22:53:08 PDT
A absolute positioned iframe with top, right, left and bottom specified has no affect on the size of the iframe.

See attached testcase. The red outlined iframe should be inset 10px around the page.
Comment 1 Timothy Hatcher 2006-06-19 22:54:12 PDT
Created attachment 8926 [details]
Testcase
Comment 2 Timothy Hatcher 2006-06-19 22:54:34 PDT
This is not a regression, this happens in Safari 2.0 and TOT.
Comment 3 mitz 2008-02-23 10:03:24 PST
Firefox 3 beta 3 behaves like WebKit. I think the behavior is correct because an iframe has neither intrinsic dimensions nor an intrinsic ratio. Am I missing something?
Comment 4 Dave Hyatt 2008-02-23 15:47:08 PST
Safari's behavior is correct according to the spec (see section 10.3.8).  However, I am working to get the spec changed, so I think keeping this bug open is reasonable.

Comment 5 Ahmad Saleem 2022-07-22 08:53:37 PDT
Created attachment 461139 [details]
Safari 15.6 matches with other browsers

I am unable to reproduce this issue (assuming test case is correct - don't see any console errors and vendor prefixes) in Safari 15.6 on macOS 12.5 and it matches with all other browsers as can be seen from attached screenshot.

I think it was fixed along the way and can be marked as "RESOLVED CONFIGURATION CHANGED". Thanks!
Comment 6 Alexey Proskuryakov 2022-07-22 12:00:52 PDT
I think it's WONTFIX, as the behavior remains not as expected ("should be inset 10px around the page").