NEW 12798
Resizing right-aligned textarea moves the left edge
https://bugs.webkit.org/show_bug.cgi?id=12798
Summary Resizing right-aligned textarea moves the left edge
Adele Peterson
Reported 2007-02-17 11:28:01 PST
Resizing right-aligned textarea moves the left edge In the attached test case, try resizing the textarea. It looks pretty weird when the left edge moves as you drag the lower-right corner. Maybe we need to do more than just change the width / height when resizing. I'm not exactly sure how this would work, but maybe we can somehow keep the top/left corner pinned to the position where it started.
Attachments
testcase (178 bytes, text/html)
2007-02-17 11:29 PST, Adele Peterson
no flags
patch that should help Gmail To field, doesn't resolve this bug based on title (34.51 KB, patch)
2007-04-29 01:50 PDT, Darin Adler
no flags
Adele Peterson
Comment 1 2007-02-17 11:29:33 PST
Created attachment 13214 [details] testcase
Adele Peterson
Comment 2 2007-02-17 11:31:11 PST
<rdar://problem/4977927> Btw, I made this a P1 since its a problem with a new feature (resize)
mitz
Comment 3 2007-02-17 12:07:46 PST
Bug 9223 mentions the possibility of moving the resize corner to the left for RTL textareas (which are commonly right-aligned). As long as textareas are not resizable by default, I suppose authors will not make them resizable where it would not make sense given how the feature works.
mitz
Comment 4 2007-02-23 04:11:25 PST
My opinion is that for the time being, it would be best to limiting resizing to the vertical axis in this case.
mitz
Comment 5 2007-02-23 04:12:04 PST
s/limiting/limit/
Darin Adler
Comment 6 2007-04-29 01:47:56 PDT
Darin Adler
Comment 7 2007-04-29 01:50:26 PDT
Created attachment 14257 [details] patch that should help Gmail To field, doesn't resolve this bug based on title
Darin Adler
Comment 8 2007-04-29 13:55:58 PDT
Comment on attachment 14257 [details] patch that should help Gmail To field, doesn't resolve this bug based on title Landed this patch. Clearing the review flag since the bug isn't necessarily fixed yet.
Dave Hyatt
Comment 9 2007-04-29 14:17:12 PDT
All that code about resizing in Element.cpp is completely misplaced.
Dave Hyatt
Comment 10 2007-04-29 14:58:13 PDT
resize is purely presentational, so you shouldn't have to touch the DOM at all to change its behavior.
Daniel Bates
Comment 11 2010-03-13 23:54:44 PST
For completeness, the patch <https://bugs.webkit.org/attachment.cgi?id=14257> was committed in changeset 21184 <http://trac.webkit.org/changeset/21184>.
Note You need to log in before you can comment on or make changes to this bug.