[webkit-reviews] review requested: [Bug 18703] changing the 'size' property on a text input does not affect its length : [Attachment 22803] Possible fix to bug 18703

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Aug 14 17:30:56 PDT 2008


Glenn Wilson <wilsong at gmail.com> has asked  for review:
Bug 18703: changing the 'size' property on a text input does not affect its
length
https://bugs.webkit.org/show_bug.cgi?id=18703

Attachment 22803: Possible fix to bug 18703
https://bugs.webkit.org/attachment.cgi?id=22803&action=edit

------- Additional Comments from Glenn Wilson <wilsong at gmail.com>
This patch should fix bug 18703.  Input fields did not repaint themselves when
their "size" attributes were changed.  When a text input field's size was
changed, nothing happened on Safari, but the field resized on FF/IE.

This fix tells the html element to recalculate and repaint itself if it is a
text field element and has been resized.

Also included is a layout test (not sure I put it in the right directory,
though.)


More information about the webkit-reviews mailing list