Closed Bug 240844 Opened 21 years ago Closed 21 years ago

list marker set to none still takes up space, when margins on the ul are set to 0

Categories

(Core :: CSS Parsing and Computation, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 27851

People

(Reporter: phiw2, Assigned: dbaron)

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7b) Gecko/20040316 Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7b) Gecko/20040415 Firefox/0.8.0+ An unordered list [ul] is placed within a width defined container [width:xx em]. The left and right margins on the ul are set to zero; the list-style is set to none. But the browser keeps on generating a horizontal scroll bar on the parent box, showing that the browser is still adding a marker box next to the principal box generated by the [li]. The content of the box does not call for such. Sample file http://dev.l-c-n.com/Gecko/listmarker.php Reproducible: Always Steps to Reproduce: 1. Place an unordered list in a width defined container 2. set the margins on the ul to 0 (zero) 3. set the list-style to none Actual Results: gecko browsers display a persistent horizontal scrollbar on the parent box, even though the each list item is very short. Expected Results: Not generate any horizontal scrollbar.
Attached file testcase (deleted) —
Simple test case displaying the problem (the left gray box).
*** This bug has been marked as a duplicate of 27851 *** *** This bug has been marked as a duplicate of 27851 ***
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: