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)
Tracking
()
People
(Reporter: bugzilla, Assigned: pierre)
References
()
Details
(Keywords: testcase)
Attachments
(1 file)
1.29 KB,
text/html
|
Details |
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.
![]() |
||
Comment 1•24 years ago
|
||
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
Comment 2•24 years ago
|
||
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
You need to log in
before you can comment on or make changes to this bug.
Description
•