Closed Bug 59863 Opened 24 years ago Closed 24 years ago

DIV after an LI renders with a superfluous line break

Categories

(Core :: CSS Parsing and Computation, defect, P3)

x86
All
defect

Tracking

()

VERIFIED DUPLICATE of bug 36854

People

(Reporter: bugzilla, Assigned: pierre)

References

()

Details

(Keywords: testcase)

Attachments

(1 file)

If a LI tag is immediately followed by a DIV tag, the bullet item is followed by
an empty line.  All the other browsers I've tried (including NS 4.75, IE 5.5,
and Konqueror 1.9.8) do not render this empty line.
I am guessing that this is invalid because <div> is a block-level element and so
should be rendered as you see it rendered.

Reassigning to style system for evaluation.
Assignee: clayton → pierre
Component: HTML Element → Style System
QA Contact: lorca → chrisd
Attached file Testcase
See also bug 1049.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: testcase
OS: Linux → All
I think this is a layout problem.  I think 'list-style-position: inside' bullets
are causing new lines to be created when they don't need to be.  (The spec is
vague here, but the behavior should be consistent with 'outside'.)

I don't see any problems in part 3 of the testcase.

*** This bug has been marked as a duplicate of 36854 ***
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
Verified duplicate of bug 36854.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: