Closed Bug 1014807 Opened 11 years ago Closed 11 years ago

Newlines at the end of a textarea do not increase its scrollable area, if there's a character typed at the bottom of the textarea

Categories

(Core :: Layout, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 439462

People

(Reporter: dholbert, Unassigned)

Details

(Keywords: regression, testcase)

Attachments

(1 file)

STR: 0. View attached testcase. Then follow steps in testcase (copypasted here): 1. Click in the text area. 2. Hit/hold "Enter" key until a scrollbar appears. 3. Type a character 4. Hit/hold "Enter" some more. 5. Try to scroll to the bottom of all the newlines you just added. Did they add any scrollable space? ACTUAL RESULTS: The newlines added in step 4 do not have any visual effect -- they don't affect the scrollbar, and they don't add any scrollable space, according to how PageUp/PageDown/uparrow/downarrow. (The cursor does disappear navigating through the newlines when I hit downarrow, but the scroll position / scrollbar don't change -- they indicate that I'm already at the end of the scrollable area.) I think this is a recent regression. I noticed this when completing the "Description" field for a bug at Bugzilla.
Attached file testcase 1
smontagu, do you have cycles to look into this in the next day or two? (I wonder if perhaps we should back out bug 421436 until we have a fix for this? This bug is easy to hit & fairly annoying when typing in text areas, e.g. in bugzilla bug-description/comment fields & in Zimbra's email-composing view, and probably in heaps of other places.)
Flags: needinfo?(smontagu)
Flags: in-testsuite?
Yes, dammit, I probably won't be able to look at this before Sunday so we should probably back out bug 421436 for now. FWIW, this sounds similar to bug 439462, which was a regression from the first reincarnation of bug 421436.
Flags: needinfo?(smontagu)
Yup. Looks like a dupe, but the STR over there just weren't quite specific enough. Duping. (I only hit this bug when there's text that's been entered after the first "page" of the textbox - not if the textbox remains empty, and not if the only text I've entered is above the region where scrolling becomes necessary.)
Status: NEW → RESOLVED
Closed: 11 years ago
Flags: in-testsuite?
Resolution: --- → DUPLICATE
No longer blocks: 421436
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: