Closed Bug 256697 Opened 20 years ago Closed 20 years ago

after add "line-height:1.5em" to <ul>, <li> border isn't rendered sometimes

Categories

(Core :: Layout: Block and Inline, defect)

x86
Windows XP
defect
Not set
minor

Tracking

()

RESOLVED DUPLICATE of bug 176237

People

(Reporter: denisvm, Unassigned)

References

()

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040803 Firefox/0.9.3
Build Identifier: Mozilla/5.0ows NT 5.1; en-US; rv:1.7) Gecko/20040803 Firefox/0.9.3 (Windows; U; Wind

with <li>s with background set and border set, as you change the "line-height",
mozilla sometimes "hides" the <li> border.

Reproducible: Always
Steps to Reproduce:
1. create a html with the following style:
li {
	font-size: small;
	background: #afa;
	border-bottom: 1px solid #000;
	line-height: 1.5em;
}
2. add few LIs to the html
<ul>
	<li>Link #1</li>
	<li>Link #2</li>
	<li>Link #3</li>
	<li>Link #4</li>
	<li>Link #5</li>
	<li>Link #6</li>
	<li>Link #7</li>
	<li>Link #8</li>
	<li>Link #9</li>
</ul>
3. view the html

Actual Results:  
sometimes the LIs border doesn't get displayed

Expected Results:  
I supose it should display the LIs border

Opera and IE displayed fine, Mozilla and Firefox didn't
Attached file testcase

*** This bug has been marked as a duplicate of 176237 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 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: