Closed Bug 40407 Opened 24 years ago Closed 24 years ago

wide images cause text to disappear off side of page

Categories

(Core :: Layout, defect, P3)

x86
Windows NT
defect

Tracking

()

VERIFIED DUPLICATE of bug 35681

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.
*** Bug 40409 has been marked as a duplicate of this bug. ***
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: 24 years ago
Resolution: --- → INVALID
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 → ---
Attached file html testcase
Reassinging to Buster.
Assignee: clayton → buster
Status: REOPENED → NEW
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: 24 years ago24 years ago
Resolution: --- → DUPLICATE
Verified dupe.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: