Closed Bug 41096 Opened 24 years ago Closed 17 years ago

overflow:scroll doesn't work with Gfx scrollbars

Categories

(Core :: Layout: Form Controls, defect, P4)

x86
Windows NT
defect

Tracking

()

RESOLVED INCOMPLETE
Future

People

(Reporter: rods, Assigned: kinmoz)

Details

(Keywords: helpwanted, regression, Whiteboard: [nsbeta3-])

There are actually two problems
1) the style rule for textarea in html.css should have "overflow:scroll" so the 
textarea always has scrollbars.

2) When in Gfx mode "overflow:scroll" doesn't create the scrollbars, with native 
scrollbars it does.

One reason might be that the GfxTextControlFrame calls 
sv->SetScrollPreference(scrollPref) where scrollPref is equal to 
"nsScrollPreference_kAlwaysScroll"

The call is really a call to:
nsIScrollableView::SetScrollPreference
which is really a call to:
nsScrollPortView::SetScrollPreference
which doesn't do anything, it just returns

My guess is this is an evaughan bug, but starting out in editor land.
nominating for nsbeta2, because the textarea has to have scrollbars even when 
there is nothing to scroll. making it a regression because it worked with native 
scrollbars
Keywords: nsbeta2, regression
asking Simon to give this a quick look to see if it is ours or whether it should 
move over to Erik
Assignee: beppe → sfraser
kin: you're the input scroll bar dude, can you take a look at this? Thanks!
Reassign duh
Assignee: sfraser → kin
Accepting bug.
Status: NEW → ASSIGNED
Target Milestone: --- → M17
[nsbeta2-] will reconsider if there is a specific scenario that is bad enough.
Whiteboard: [nsbeta2-]
updated priority and severity
Priority: P3 → P1
textareas should have visible vertical and horizontal scrollbars regardless if 
they content or not.
Keywords: nsbeta2correctness, nsbeta3
Whiteboard: [nsbeta2-]
Target Milestone: M17 → M18
setting to nsbeta3+
Whiteboard: nsbeta3+
setting priority in status whiteboard
Priority: P1 → P4
Whiteboard: nsbeta3+ → [nsbeta3+][p:4]
due to the timeframe and the number of issues that need to be addressed, marking 
this as minus, setting to future and adding helpwanted
Keywords: helpwanted
Whiteboard: [nsbeta3+][p:4] → [nsbeta3-]
Target Milestone: M18 → Future
Updating QA contact.
QA Contact: ckritzer → bsharma
QA Contact Update
QA Contact: bsharma → vladimire
removing myself from the cc list
QA Contact: vladimire → tpreston
Is this still an issue?
The code referenced is obsolete, and it's not clear what the bug was really about.
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.