Closed
Bug 410878
Opened 17 years ago
Closed 3 years ago
iframe height messes up when dynamically set to documents content length using js
Categories
(Core :: Web Painting, defect)
Tracking
()
RESOLVED
INCOMPLETE
People
(Reporter: lenrpk, Unassigned)
References
()
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11 Well, I have spent the last entire week behind this little piece of code which would first inquire the length of a src document in iframe and set the height of the iframe accordingly. All my attempts have gone in vain. I would have never guessed if it were a bug or something untill I tried a little tweaking with iframes in iframes and other stuff. As you can see by clicking the link the iframe does indeed lengthen up to document's complete length but firefox refuses to allow the text to take up the full space in the iframe! This is not an issue with ie or safari. However, it is a huge concern since I would not like to see my favorie browser stuck with this error for years. Try googling and you will see people declaring it as an eternal error in firefox. This issue mainly arises when the src document is a bit heavy. I hope I have posted the issue on the right platform! Reproducible: Always Steps to Reproduce: 1.by simply visiting the url above Actual Results: the html doesn't completely take up the iframe space
Comment 1•17 years ago
|
||
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; en-US; rv:1.9b3pre) Gecko/2008010418 Minefield/3.0b3pre Works fine for me with a Mac trunk build: I can scroll down to the bottom and see "*** END: FULL LICENSE ***". Interesting hack to hide the fact that most of the content is in an iframe.
Comment 2•17 years ago
|
||
Dupe of bug 215055? On Linux, the page looks correct in Firefox 2.0.0.11 after the initial layout - there are no visual artifacts at the top of the document. Visual artifacts appear when I scroll it, but covering the window repairs them and the text looks correct. In a trunk build however, the initial rendering at the top of the document appears correct but if I cover the window it's not repainted correctly, same as when I scroll it. The document is essentially unreadable. On MacOSX, in Firefox 2.0.0.11 I see a large grey area where the main iframe is. In a trunk build it looks correct until you resize the window, then it's clipped at the end.
Assignee: nobody → roc
Component: General → Layout: View Rendering
OS: Windows XP → All
Product: Firefox → Core
QA Contact: general → ian
Updated•15 years ago
|
QA Contact: ian → layout.view-rendering
Updated•14 years ago
|
Summary: iframe height messes up big time when dynamically set to documents content length using js → iframe height messes up when dynamically set to documents content length using js
Assignee: roc → nobody
Assignee | ||
Updated•6 years ago
|
Component: Layout: View Rendering → Layout: Web Painting
Comment 3•3 years ago
|
||
Closing this as resolved:incomplete since the given page layout has changed since this issue was reported and no longer contains iframes that could reproduce the reported issue.
Status: UNCONFIRMED → RESOLVED
Closed: 3 years ago
Resolution: --- → INCOMPLETE
You need to log in
before you can comment on or make changes to this bug.
Description
•