Summary: | REGRESSION: Weird jump in textarea when replying to Bugzilla comment | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | David Kilzer (:ddkilzer) <ddkilzer> | ||||
Component: | HTML Editing | Assignee: | Nobody <webkit-unassigned> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | darin, erickt, justin.garcia, mitz | ||||
Priority: | P1 | Keywords: | InRadar, Regression | ||||
Version: | 420+ | ||||||
Hardware: | Mac | ||||||
OS: | OS X 10.4 | ||||||
Attachments: |
|
Description
David Kilzer (:ddkilzer)
2006-07-28 06:28:58 PDT
Created attachment 9741 [details]
Example movie of bug
Bug 10141 and Bug 10148 rely on this bug's behavior in order to be reproducible! If this bug is fixed, it may fix those bugs as well and/or prevent those bugs from ever occurring. I noticed a similar bug in https://bugreport.apple.com/ while filing a Radar bug. Steps to reproduce: 1. Open https://bugreport.apple.com/ 2. Click on the "description format" link to open a new window in the "Problem Details" section. 3. Hit Cmd-A to select all text in the new window. 4. Hit Cmd-C to copy all selected text. 5. Close the newly opened window. 6. Click in the textarea in the "Problem Details" section. 7. Hit Cmd-V to paste the text into the textarea. 8. Triple-click on "Provide a descriptive summary of the issue." (the line below the "Summary:" line) to highlight the entire line. 9. Hit the Delete key. Expected results: The line would be deleted and the cursor would be left on a blank line below "Summary:". Actual results: The line is deleted, the cursor is moved after "Steps to " and before "Reproduce:" in the "Steps to Reproduce:" line. (Sometimes an additional newline is inserted at the new location.) (In reply to comment #4) > Actual results: > The line is deleted, the cursor is moved after "Steps to " and before > "Reproduce:" in the "Steps to Reproduce:" line. (Sometimes an additional > newline is inserted at the new location.) If you hit Enter in Step 9 instead of Delete, the newline is added at the new cursor location. Hello all, I may have either a new bug, or just another symptom of this one found in the most recent nightly build. Two strange things are happening in the following html page. First off, if you manually enter in a lot of content, a scroll bar never appears in the page. However, if you copy-paste a large block of text into the page, the scroll bar appears. Then, if you scroll to the top of the page and press the 'up' arrow, the page jumps down some. Any idea if this is a new behavior? Here's the page: ##################### <html> <body> <div>hi</div> <div>hi</div> <div>hi</div> <div>hi</div> <div>hi</div> <div>hi</div> <div>hi</div> <div style="position:relative"> <textarea rows="10" cols="78"></textarea> </div> </body> </html> ###################### (In reply to comment #6) > First off, if you manually enter in a lot of content, a scroll bar > never appears in the page. That's bug 10105. radar 4823041 I can't reproduce the steps in Comment #4 anymore using a locally-built debug build of WebKit r19165 with Safari 2.0.4 (419.3) on Mac OS X 10.4.8 (8N1037). Jumping-cursor-weirdness hasn't happened in textareas for a while now. Closing as RESOLVED/FIXED. (In reply to comment #4) Forgot one step in reproduction steps: > Steps to reproduce: > > 1. Open https://bugreport.apple.com/ 1.5 Click on "New Problem" link. > 2. Click on the "description format" link to open a new window in the "Problem Details" section. > 3. Hit Cmd-A to select all text in the new window. > 4. Hit Cmd-C to copy all selected text. > 5. Close the newly opened window. > 6. Click in the textarea in the "Problem Details" section. > 7. Hit Cmd-V to paste the text into the textarea. > 8. Triple-click on "Provide a descriptive summary of the issue." (the line > below the "Summary:" line) to highlight the entire line. > 9. Hit the Delete key. |