Closed Bug 20342 Opened 25 years ago Closed 25 years ago

Gfx Scrollbars appear at the end of empty Gfx TextFields

Categories

(Core :: DOM: Editor, defect, P3)

defect

Tracking

()

VERIFIED DUPLICATE of bug 20387

People

(Reporter: kinmoz, Assigned: kinmoz)

References

Details

Gfx scrollbars are appearing at the right edge of empty Gfx TextFields.

To reproduce:

1. Make sure Gfx Scrollbars are enabled. It should be on by default in all
builds, but to make sure, look at the Debug settings in the preferences dialog.

2. Load a form with a text field in it, or use the URL textfield in the browser.

3. If the textfield is empty type something in it.

4. Place the caret at the end of the text, then backspace over everything.

After you delete the last character in the textfield, a scrollbar should appear
at the right edge of the textfield. The scrollbar shouldn't be there.

This is probably caused by the fact that nsScrollPortView does not implement all
methods that nsScrollingView did.
Status: NEW → ASSIGNED
Target Milestone: M12
Accepting bug.
Target Milestone: M12 → M13
Moving non PDT bugs to M13.
There is a simpler way to reproduce this for INPUT elements - to see it,
view http://bugzilla.mozilla.org/ and click inside the bug number textbox
or TAB to it to give it focus. The top end of a vertical scrollbar will
appear.

The scrollbar will disappear as soon as anything is typed, and re-appear if
the typed text is deleted.

Tested with: 1999-12-08-08-M12 nightly binary on Windows NT 4.0sp3
Depends on: 12825
This also occurs with the Location bar, BTW. Most disconcerting. ;-)
This looks like yet another DUP of bug 20387 "scroll bars appearing in single
line text control", also ASSIGNED to kin@netscape.com - at least, I see
nothing unique in this bug, so one or the other may as well be made a DUP.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → DUPLICATE
it is indeed a dup

*** This bug has been marked as a duplicate of 20387 ***
Status: RESOLVED → VERIFIED
verified in 1/12
You need to log in before you can comment on or make changes to this bug.