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)
Core
Layout: Form Controls
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.
Reporter | ||
Comment 1•25 years ago
|
||
nominatiing for nsbeta2 because it is a regression and the textarea should
really look like a textarea
Keywords: nsbeta2,
regression
Comment 2•25 years ago
|
||
need info: is this breaking any of the NS6 apps? How many users will see this?
Whiteboard: [need info]
Reporter | ||
Comment 3•25 years ago
|
||
It doesn't keep people from doing work but textarea don't look like a textarea
without this fix
Comment 4•25 years ago
|
||
[nsbeta2-] added nsbeta3 keyword
Keywords: nsbeta3
Whiteboard: [need info] → [nsbeta2-][need info]
Updated•25 years ago
|
Target Milestone: --- → M17
Updated•25 years ago
|
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.
Comment 6•25 years ago
|
||
As per meeting with ChrisD today, taking QA.
Keywords: correctness,
css2
QA Contact: ckritzer → py8ieh=bugzilla
Comment 7•25 years ago
|
||
nsbeta3+, reassigning to hyatt who knows of a trivial fix.
Assignee: evaughan → hyatt
Whiteboard: [nsbeta3+]
Target Milestone: M17 → M18
Assignee | ||
Comment 9•25 years ago
|
||
This bug is contingent on fixing 46505. Once I get the <div> in XBL, I can work
the appropriate mojo to fix this bug.
Assignee | ||
Updated•25 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Comment 11•25 years ago
|
||
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
Reporter | ||
Comment 12•25 years ago
|
||
Reopening bug because change had to be backed out to fix tree breakage.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Updated•25 years ago
|
Status: REOPENED → ASSIGNED
Assignee | ||
Comment 13•25 years ago
|
||
fixed without breakin the mac this time. :)
Status: ASSIGNED → RESOLVED
Closed: 25 years ago → 25 years ago
Resolution: --- → FIXED
Comment 14•25 years ago
|
||
Chris, maybe you understand how to verify this. ;-)
QA Contact: py8ieh=bugzilla → ckritzer
Comment 15•25 years ago
|
||
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.
Comment 16•25 years ago
|
||
Reporter | ||
Comment 17•25 years ago
|
||
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.
Comment 18•25 years ago
|
||
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?
Assignee | ||
Comment 19•25 years ago
|
||
You have to put overflow: scroll on a textarea to verify this bug.
Comment 20•25 years ago
|
||
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
Assignee | ||
Comment 22•25 years ago
|
||
I don't know the exact moz props. Could you show me the sample rules that I'd
use to do what you want?
Assignee | ||
Comment 23•25 years ago
|
||
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
Reporter | ||
Comment 24•25 years ago
|
||
Dave, please add a patch file with what we need to do to fix this. Thanks
Status: NEW → ASSIGNED
Assignee | ||
Comment 25•25 years ago
|
||
Check out line 1722 or so in nsGfxTextControlFrame2.cpp. Just add the
individual moz-overflow cases to the series of if/else statements.
Comment 26•25 years ago
|
||
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-]
Reporter | ||
Updated•25 years ago
|
Target Milestone: M18 → Future
Reporter | ||
Comment 27•25 years ago
|
||
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
![]() |
||
Comment 28•22 years ago
|
||
jkeiser, wanna do this? ;)
Comment 29•22 years ago
|
||
This is a new testcase with overflow:scroll explicitly set.
Comment 30•22 years ago
|
||
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.
Comment 31•22 years ago
|
||
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.
Comment 32•21 years ago
|
||
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
![]() |
||
Comment 33•21 years ago
|
||
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 ago → 21 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•