Closed Bug 461508 Opened 16 years ago Closed 16 years ago

border-left and border-right on div not rendered when div is a certain height

Categories

(Firefox :: General, defect)

x86
Windows Vista
defect
Not set
minor

Tracking

()

RESOLVED DUPLICATE of bug 422661

People

(Reporter: tomas.ekeli, Unassigned)

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.0; nb-NO; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3 (.NET CLR 3.5.30729)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.0; nb-NO; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3 (.NET CLR 3.5.30729)

divs with styles indicating they should have border-left and border-right solid (1px black) are rendered without borders at height 32760px. They are rendered with correct borders at 32759px and are rendered correctly at 32760px if border is set explicitly to 0px solid.

I have tested this at resolution 3200x1600 and 1024x768

Testcase as html:
<html>
<head>
</head>
<body>
<div style="margin-right: 5em; float: left; background-color:#d6d6d6; width: 10em; height: 32760px; border-left: 1px solid black; border-right: 1px solid black;">
bug at 32760px
</div>
<div style="margin-right: 5em; float: left; background-color:#d6d6d6; width: 10em; height: 32759px; border-left: 1px solid black; border-right: 1px solid black;">
works until 32759px
</div>
<div style="margin-right: 5em; float: left; background-color:#d6d6d6; width: 10em; height: 32760px; border: 0px solid; border-left: 1px solid black; border-right: 1px solid black;">
Workaround at 32760px with border set explicitly to 0px solid
</div>
</body>
</html>



Reproducible: Always

Steps to Reproduce:
1. Load included code as a html file in Mozilla Firefox 3.0.3
2. Observe that the leftmost div has no borders.
3. Try scrolling to see borders appear intermittently (sometimes along the entire div, sometimes just in the middle-section
Actual Results:  
div with height 32760px and border-left & border-right set to "1px solid black" is shown without borders

Expected Results:  
div with height 32760px and border-left & border-right set to "1px solid black" is shown with single-pixel solid black borders on the left and right

Try setting the height to something really large to see the borders reappear.
Attached file Testcase showing bug
Can you retest with the latest trunk build Tomas, for I see the bug in Firefox 3 but I can't reproduce it in the latest nightly.
http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-trunk/
If the problem is not present anymore, you can resolve this bug as Worksforme.
This is fixed or Fx3.1
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: