RESOLVED FIXED 23789
REGRESSION: Changing disabled state of a textarea does not do a repaint
https://bugs.webkit.org/show_bug.cgi?id=23789
Summary REGRESSION: Changing disabled state of a textarea does not do a repaint
Konstantin Käfer
Reported 2009-02-06 10:29:13 PST
In the most recent nightly build, changing the disabled state of a textarea does not do a repaint, thus, the textarea still appears as before even though the status has changed. As soon as the user (e.g.) resizes it, it's repainted and the status is reflected. This worked in Safari 3.1. This behavior seems to be broken on textareas. I tested this checkboxes and textfields (input type=text) and it seemed to work correctly for those, but not for textarea.
Attachments
Proposed change: land a repaint test covering the existing test case. (2.73 KB, patch)
2011-12-08 14:21 PST, Julien Chaffraix
no flags
Konstantin Käfer
Comment 1 2009-02-06 10:30:06 PST
URL: http://dump.kkaefer.com/disabled.html (This is not necessarily restricted to Mac OS X 10.5, but I can only confirm it for 10.5)
Konstantin Käfer
Comment 2 2009-02-06 10:32:01 PST
You might not see the effect when clicking on the link for the first time. After you reload the page, the bug should appear.
Eric Seidel (no email)
Comment 3 2009-02-06 10:33:29 PST
This seems to be a recent regression. ToT fails his test case, but my unreleased Safari build from several months ago does not.
Julien Chaffraix
Comment 4 2011-12-08 10:30:32 PST
The bug does not reproduce on ToT (not sure when it was solved). I haven't found out a repaint test for this case so I will turn the original test case into one and land it.
Julien Chaffraix
Comment 5 2011-12-08 14:21:28 PST
Created attachment 118469 [details] Proposed change: land a repaint test covering the existing test case.
Konstantin Käfer
Comment 6 2011-12-08 14:25:34 PST
I can confirm that the original bug I reported is fixed in current builds.
WebKit Review Bot
Comment 7 2011-12-08 16:59:04 PST
Comment on attachment 118469 [details] Proposed change: land a repaint test covering the existing test case. Clearing flags on attachment: 118469 Committed r102399: <http://trac.webkit.org/changeset/102399>
WebKit Review Bot
Comment 8 2011-12-08 16:59:08 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.