RESOLVED FIXED 69908
Cleanup of HTMLSelectElement
https://bugs.webkit.org/show_bug.cgi?id=69908
Summary Cleanup of HTMLSelectElement
Kent Tamura
Reported 2011-10-12 00:19:59 PDT
Cleanup of HTMLSelectElement
Attachments
Patch (40.24 KB, patch)
2011-10-12 03:09 PDT, Kent Tamura
no flags
Patch 2 (40.44 KB, patch)
2011-10-12 03:37 PDT, Kent Tamura
no flags
Patch 3 (43.79 KB, patch)
2011-10-12 03:56 PDT, Kent Tamura
no flags
Patch for landing (45.27 KB, patch)
2011-10-13 00:58 PDT, Kent Tamura
no flags
Kent Tamura
Comment 1 2011-10-12 03:09:10 PDT
WebKit Review Bot
Comment 2 2011-10-12 03:17:42 PDT
Comment on attachment 110657 [details] Patch Attachment 110657 [details] did not pass chromium-ews (chromium-xvfb): Output: http://queues.webkit.org/results/10026839
Kent Tamura
Comment 3 2011-10-12 03:37:23 PDT
Created attachment 110658 [details] Patch 2 Fix Chromium build
WebKit Review Bot
Comment 4 2011-10-12 03:44:29 PDT
Comment on attachment 110658 [details] Patch 2 Attachment 110658 [details] did not pass chromium-ews (chromium-xvfb): Output: http://queues.webkit.org/results/10032648
Kent Tamura
Comment 5 2011-10-12 03:56:34 PDT
Created attachment 110660 [details] Patch 3 Fix Chromium build again
Darin Adler
Comment 6 2011-10-12 09:44:05 PDT
Comment on attachment 110660 [details] Patch 3 If you’re going to change the type, please change it to HTMLFormControlElement, not just HTMLElement. Unless maybe there was a reason you couldn’t do that?
Darin Adler
Comment 7 2011-10-12 09:45:22 PDT
Comment on attachment 110660 [details] Patch 3 I think the class is using the listItems() function too much internally with lots of local variables that have a reference to the list; this is leftover from where the list was in a separate object. I’d prefer a design where, inside the class, we call an explicit updateListItems function and then use m_listItems directly.
Gustavo Noronha (kov)
Comment 8 2011-10-12 14:41:46 PDT
Kent Tamura
Comment 9 2011-10-13 00:42:58 PDT
(In reply to comment #6) > (From update of attachment 110660 [details]) > If you’re going to change the type, please change it to HTMLFormControlElement, not just HTMLElement. Unless maybe there was a reason you couldn’t do that? m_listItems contains <hr> elements. This behavior was introduced by http://trac.webkit.org/changeset/10433. I don't know this behavior is needed now.
Kent Tamura
Comment 10 2011-10-13 00:58:45 PDT
Created attachment 110809 [details] Patch for landing Fix GTK build.
WebKit Review Bot
Comment 11 2011-10-13 02:07:27 PDT
Comment on attachment 110809 [details] Patch for landing Clearing flags on attachment: 110809 Committed r97354: <http://trac.webkit.org/changeset/97354>
WebKit Review Bot
Comment 12 2011-10-13 02:07:33 PDT
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.