Closed Bug 42492 Opened 25 years ago Closed 21 years ago

overflow:scroll no longer shows scrollbars on textarea

Categories

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

defect

Tracking

()

RESOLVED WORKSFORME
Future

People

(Reporter: rods, Assigned: hyatt)

References

Details

(Keywords: css2, regression, testcase, Whiteboard: [nsbeta3-])

Attachments

(2 files)

Not that long ago both scrollbars were showing for textareas and this made them visually compatiable with Nav 4.x. The textareas no longer have scrollbars, and adding the rule overflow:scroll no longer works.
nominatiing for nsbeta2 because it is a regression and the textarea should really look like a textarea
Keywords: nsbeta2, regression
need info: is this breaking any of the NS6 apps? How many users will see this?
Whiteboard: [need info]
It doesn't keep people from doing work but textarea don't look like a textarea without this fix
[nsbeta2-] added nsbeta3 keyword
Keywords: nsbeta3
Whiteboard: [need info] → [nsbeta2-][need info]
Target Milestone: --- → M17
Severity: normal → major
Priority: P3 → P1
more work for evaughn i think. We need a way to turn on/off enable/disable scrollbars on scrollframes. assigning to evaughn.
Assignee: mjudge → evaughan
Keywords: nsbeta2
Whiteboard: [nsbeta2-][need info]
As per meeting with ChrisD today, taking QA.
Keywords: correctness, css2
QA Contact: ckritzer → py8ieh=bugzilla
nsbeta3+, reassigning to hyatt who knows of a trivial fix.
Assignee: evaughan → hyatt
Whiteboard: [nsbeta3+]
Target Milestone: M17 → M18
P4
Priority: P1 → P4
This bug is contingent on fixing 46505. Once I get the <div> in XBL, I can work the appropriate mojo to fix this bug.
Status: NEW → ASSIGNED
trudelle --> p3
Priority: P4 → P3
fixed. i added support for overflow:hidden as well, since it also made sense to me.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Reopening bug because change had to be backed out to fix tree breakage.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Status: REOPENED → ASSIGNED
fixed without breakin the mac this time. :)
Status: ASSIGNED → RESOLVED
Closed: 25 years ago25 years ago
Resolution: --- → FIXED
Chris, maybe you understand how to verify this. ;-)
QA Contact: py8ieh=bugzilla → ckritzer
Okay. Grayed-out (non-usable) scrollbars do *not* appear on Seamonkey for a text area in which the text is completely visable. Scrollbars automaticly appear (horizontal & vertical) when the rows/cols are too small for the text to be completely visable. Peachy, as long as that is the expected behaviour. Rod, I've attached a simple testcase with two textarea fields. Each contains the same text and textspacing, with the exception that the first has rows=5 cols=10 and the second has rows=10 cols=40. Do they look and behave as expected? Judging by your original comments, I'm tempted to re-open the bug.
Attached file simple testcase
textareas are suppose have "overflow:scroll;" in the html.css and this has been removed. The idea was that the scrollbars should always be visible for textareas which is why I filed this bug. So when I put it back in it works fine. So this is now fixed.
Okay, I think I understand, and I'm gonna parrot it back to be absolutely certain: 1) "overflow:scroll" was checked in and worked, but broke the mac 2) "overflow:scroll" was backed out 3) "overflow:scroll" was put back in with no problems, and now works fine. And what "overflow:scroll" does is force the scroll bars to appear even when there is really no text to scroll. Did I get it?
You have to put overflow: scroll on a textarea to verify this bug.
reopening, since we need to update html.css to have this... hyatt: as per e-mail discussion, please implement overflow:-moz-* on textarea then modify the html.css file (adding one line). Note that we still want a horizontal scrollbar if we need one, and always want a vertical scrollbar.
Status: RESOLVED → REOPENED
OS: Windows NT → All
Priority: P3 → P2
QA Contact: ckritzer → py8ieh=bugzilla
Hardware: PC → All
Resolution: FIXED → ---
Whiteboard: [nsbeta3+] → [nsbeta3+] easy fix
clearing nsbeta3+ for re-consideration.
Whiteboard: [nsbeta3+] easy fix
I don't know the exact moz props. Could you show me the sample rules that I'd use to do what you want?
There's no way this is going to get + by anyone on XPToolkit. If you guys want to do this, it should probably be + and handled by someone in layout. I'm happy to show you the right place in the code to patch.
Assignee: hyatt → rods
Status: REOPENED → NEW
Dave, please add a patch file with what we need to do to fix this. Thanks
Status: NEW → ASSIGNED
Check out line 1722 or so in nsGfxTextControlFrame2.cpp. Just add the individual moz-overflow cases to the series of if/else statements.
Marking nsbeta3-. Agreed that a textarea should look like a textarea but this is really a polish issue. Not enough time before nsbeta3 to fix it.
Whiteboard: [nsbeta3-]
Target Milestone: M18 → Future
reassigning back to xptoolkit because we won't get to it either. Hyatt you may want to assign this to evaughan
Assignee: rods → hyatt
Status: ASSIGNED → NEW
Keywords: testcase
jkeiser, wanna do this? ;)
Attached file new testcase
This is a new testcase with overflow:scroll explicitly set.
it looks ok to me with build 2003041508. If drivers think that overflow.scroll should be the default behaviour, perhaps the bug summary should be changed, otherwise I think it should be marked as fixed.
I'm not clear what we want to do here. It sounds like the bug was originally that textareas should always have scrollbars on no matter what, and others are saying that didn't work, but Pascal's testcase shows that it does. I think IE's behavior is pretty sane; we should turn on scrollbars but show them greyed out if the area is not big enough to scroll. We should probably do that for overflow:scroll in all cases.
Is this still an issue? And if comment 20 is the way to go: > Note that we still want a horizontal scrollbar if we need one, and always > want a vertical scrollbar. We need to fix bug 72747
Depends on: 72747
This worksforme (as described). Changes to the default overflow value should go into other bugs (make sure to cc Ian and David on those).
Status: NEW → RESOLVED
Closed: 25 years ago21 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: