Closed
Bug 263687
Opened 20 years ago
Closed 19 years ago
{inc} Scrollbar that has nothing to scroll becomes active when focused
Categories
(Core :: Layout, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: MatsPalmgren_bugz, Unassigned)
References
Details
(Keywords: testcase)
Attachments
(2 files, 1 obsolete file)
1.35 KB,
patch
|
Details | Diff | Splinter Review | |
772 bytes,
text/html
|
Details |
Scrollbar that has nothing to scroll becomes active when focused. STEPS TO REPRODUCE: 1. Load testcase 2. Press TAB key (to focus the red box) ACTUAL RESULTS: The (inactive) horizontal scrollbar of the red box shows a short slider that indicates that there is a lot of content to scroll, it is painted as an active scrollbar. (A page scrollbar may also appear - this is a separate known bug) EXPECTED RESULTS: Scrollbar should still be inactive. PLATFORMS AND BUILDS TESTED: Bug occurs in Mozilla trunk 2004-10-09-07 Linux. Bug occurs in Mozilla trunk 2004-09-10-07 Linux (which is before the change that removed the sliders for inactive scrollbars). ADDITIONAL INFORMATION: The bug does not occur when there is padding on BODY.
Reporter | ||
Comment 1•20 years ago
|
||
Reporter | ||
Updated•20 years ago
|
Summary: Scrollbar that has nothing to scroll becomes active when focused → {inc} Scrollbar that has nothing to scroll becomes active when focused
Reporter | ||
Comment 2•20 years ago
|
||
This fixes the problem but it's probably not the correct fix... The root cause seems to be that the inner view returns a narrow width in the call in nsGfxScrollFrameInner::GetScrolledSize(): view->GetBounds() This propagates to 'scrolledContentSize.width' which becomes less than 'scrollAreaRect.width' which makes 'maxX' negative...
Reporter | ||
Comment 3•20 years ago
|
||
It's not the focusing of the DIV that causes the problem, it's when the overflow is created...
Attachment #161622 -
Attachment is obsolete: true
Comment 4•20 years ago
|
||
Mozilla Windows Trunk Nightly Build Regression Window Pass: 2004071609 Fail: 2004071808
Comment 5•19 years ago
|
||
This is wfm now, with a build with the fix for bug 240276 built in.
You need to log in
before you can comment on or make changes to this bug.
Description
•