Closed Bug 389956 Opened 17 years ago Closed 17 years ago

Lengthy text in a LI does not wrap correctly around a picture

Categories

(Firefox :: General, defect)

2.0 Branch
x86
Windows XP
defect
Not set
minor

Tracking

()

RESOLVED DUPLICATE of bug 143162

People

(Reporter: bathwatchdog, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.5) Gecko/20070713 Firefox/2.0.0.5
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.5) Gecko/20070713 Firefox/2.0.0.5

When the text of a LI continues past the end of a picture aligned right, the text does not extend to the right margin below the picture, but is laid out as though the picture continues down for the remainder of the LI text. After the end of the LI, the next LI aligns correctly.  Although found and reported for Firefox 2.0.0.5 on Windows XP, the same error shows using Firefox 0.92 on Windows 98.  Internet Explorer 6 formats correctly, with text extending to the right margin on the line below the picture.  Screen resolution is set to 1024x768 on PC that shows the problem.  There is a CSS style entry for LI formatting, that is linked to in the <head> of the page.

Reproducible: Always

Steps to Reproduce:
1. Set screen resolution to 1024x768 (others not tested, might show problem)
2. Enter the URL given
3.
Actual Results:  
Large right margin under picture until </li> processed.

Expected Results:  
Text to extend to right margin immediately below the picture.

I am the author of the web page that shows the problem.  It was not produced by any web page generator - I wrote it as HTML.  Running it through an HTML validator shows no errors.  The offending page might need to be updated in the future.  I will keep the problem page under a different name if I do, and update the URL on the bug.
Version: unspecified → 2.0 Branch
It is similar to bug 141974 but there are differences; and the URL for 141974 no longer works so I can't look at that page to see what HTML was used.
Differences: 141974 describes a floated picture, and judging from the attachment illustration it is part of the list, while 389956 is an aligned right pictire and attached to the paragraph preceding the list. 141974 says Firefox and IE6 behave similarly while 389956 says only Firefox shows the error.
So while 141974 and 389956 are similar, there are enough differences for me to be uncertain whether it is the same bug. I am happy to have 389956 dealt with as 141974 if someone assures me that the underlying cause is likely to be the same, or left as a separate bug if the differences are considered significant.
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.