Closed Bug 396397 Opened 17 years ago Closed 17 years ago

Right border of centered block element disappears sometimes on non-integer width and overflow:auto

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
minor

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: tgirmann, Unassigned)

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.6) Gecko/20070725 Firefox/2.0.0.6 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.6) Gecko/20070725 Firefox/2.0.0.6 When creating a block element (e.g. DIV) with the following properties: * centered (i.e. margin-left:auto; margin-right:auto;) * overflow:auto * a border * a non-integer pixel width (or anything that leads to a non-integer pixel width), e.g. 700.5px or 70% visibility of the right border depends on the browser window's width. Resizing the window will make the border appear and disappear. Reproducible: Always Steps to Reproduce: Try the example. Actual Results: Border disappears sometimes. Expected Results: Border should never disappear.
Attached file Test case
Load this into a new browser window and watch the right border of the boxes while resizing the browser window horizontally.
This was fixed-on-trunk somewhere in the second quarter of this year so Firefox 3 will not have this bug anymore. I don't know what bug exactly fixed this issue, so resolving WORKSFORME.
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: