Closed
Bug 40407
Opened 26 years ago
Closed 26 years ago
wide images cause text to disappear off side of page
Categories
(Core :: Layout, defect, P3)
Tracking
()
People
(Reporter: unapersson, Assigned: buster)
References
Details
Attachments
(2 files)
When an HTML page contains an image wider than the viewport, any
text on the page doesn't wrap within the viewport (the behaviour
standard to every browser I've ever used) but instead extends off
the edge of the page. So repeated use of the scrollbar is
required to read the text.
You wind up with a situation like this:
----------------
| Page |
| |
|--------| |
|Viewport| |
| | |
| txttxt |txt |
|------------ |
| Image | | |
|------------ |
| txttxt |txt |
---------- |
| |
----------------
I would expect the text to wrap within the viewport,
no matter how wide the image happens to be.
Comment 2•26 years ago
|
||
The wide image increases the width of the page and the text before and after
gets wrapped according to the new width. This is correct layout behavior. If
it isn't please provide a reduced test case that is rendered differently by
IE/Nav 4.X and Mozilla. Thanks.
Marking invalid
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → INVALID
| Reporter | ||
Comment 3•26 years ago
|
||
Turns out it was a little more complicated than I thought, this only occurs
when a CSS margin is set on the body. I'm attaching a test case which displays
the problem. Works fine in NS4 and IE4 (I don't have IE5).
Status: RESOLVED → REOPENED
Resolution: INVALID → ---
| Reporter | ||
Comment 4•26 years ago
|
||
| Reporter | ||
Comment 5•26 years ago
|
||
Marking as duplicate of recently fixed bug - this should be fixed in builds
07-08 or later.
*** This bug has been marked as a duplicate of 35681 ***
Status: NEW → RESOLVED
Closed: 26 years ago → 26 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•