Closed Bug 361559 Opened 19 years ago Closed 19 years ago

LI is rendered outside of the OL box

Categories

(Core :: Layout, defect)

1.8 Branch
x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: mark, Unassigned)

References

()

Details

(Keywords: testcase)

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1) Gecko/20061010 Firefox/2.0 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1) Gecko/20061010 Firefox/2.0 Take a look at the specified URL. At the buttom of the page There is text in an LI element which is rendered outside (to the right) of its OL, and actually outside the entire table. Reproducible: Always Expected Results: The LI text should render inside the borders of the table.
Component: General → Layout
Product: Firefox → Core
QA Contact: general → layout
Version: unspecified → 1.8 Branch
Attached file Testcase
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Keywords: testcase
Resolution: --- → WORKSFORME
While it is much better in minefield, it is still not rendered correctly. The text should occupy the whole of the horizontal space. If you have an available windows machine, please compare it to the rendering of IE7. Please let me know if it is better to open a new bug for this issue.
<ol> has a default margin-top:1em in Gecko. This is not enough to push it below the left floating box, so the <li> floats beside it. Given the styles involved this is the correct rendering. If you add margin-top:1.5em to the <ol> you will get the desired layout. Even better is to add clear:both which will work regardless of the height of the floats.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: