Closed Bug 289230 Opened 20 years ago Closed 20 years ago

div width set to 0 (should be auto) when displaying a div after horizontal scrolling

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: hmason, Assigned: bugzilla)

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050317 Firefox/1.0.2 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050317 Firefox/1.0.2 Given an HTML doc with an absolutely positioned div that has CSS 'visibility:hidden' and is off the screen when the page is initially loaded, if the div's visibility property is set to 'visible', it diplays the content correctly, but the border and background attributes apply as if the div width was zero. Reproducible: Always Steps to Reproduce: 1. Load a web page with an offscreen, invisible div. (see test case attached) 2. Trigger Javascript to make div visible. In the test case, scroll all of the way to the right and mouseover the link. Actual Results: The div content displays normally, but the border and background styles display as if the content width equalled zero. Expected Results: Displayed the border and background styles across the full width of the div.
This test case shows the buggy behavior. Load, scroll all of the way to the right, mouse over the rightmost link.
WFM: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050405 Firefox/1.0+ Please test with trunk builds before filing layout issues ftp://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-trunk/ Firefox 1.0.x is using gecko 1.7 (from april 2004) that is outdated when it comes to layout issues. Please reopen if y ou can reproduce using a nightly trunk build.
Status: UNCONFIRMED → RESOLVED
Closed: 20 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: