Open Bug 446682 Opened 17 years ago Updated 3 years ago

Textarea doesn't invalidate final line when I insert a newline, on this testcase

Categories

(Core :: Web Painting, defect)

x86
Linux
defect

Tracking

()

People

(Reporter: dholbert, Unassigned)

References

()

Details

Attachments

(1 file)

STEPS TO REPRODUCE: 1. Load the URL (requires login for wiki.mozilla.org) --> Should show "Editing QA/Firefox3.1/TestPlan" with a big textarea 2. Press Ctrl-F 3. Type "acid" --> Now "|ACID 3" is at the bottom of the textarea, with "|-" above it 4. Press 'Esc' to cancel find 5. Pres 'uparrow' twice, and then press 'end' 6. Press 'Enter' SHORTER STEPS TO REPEAT EXPERIMENT: (if you've just done steps-to-reproduce) a) Ctrl-Shift-R. (Full reload; flushes any changes to textarea contents) b) Ctrl-G (to repeat find jump to 'ACID3') c) Then perform steps 5-6 from original steps-to-reproduce. EXPECTED RESULTS: The added newline should push "|-" down one line, and push "|ACID 3" out of view. ACTUAL RESULTS: * "|-" disappears * "|ACID 3" stays visible in the same spot * When I do any of the following, the display updates to match EXPECTED RESULTS: - Change hover status (move mouse over / away from of the textarea) - Click in the textbox - Tab to another field - Alt-Tab to another window Tested using FF3.0.1 / Ubuntu. (Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.1) Gecko/2008070206 Firefox/3.0.1)
Attached file testcase 1
Here's a partly-minimized testcase that reproduces the bug for me.
NOTE: It seems the bug can only be reproduced once per pageload. (Subsequent edits after step 6 from steps-to-reproduce don't seem to trigger the bug for me) ANOTHER NOTE: When I try to reproduce the bug using testcase 1, I occasionally get expected behavior. If I follow up with "SHORTER STEPS TO REPEAT EXPERIMENT", though, I think I always get the bug.
Component: Layout: View Rendering → Layout: Web Painting
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: