WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
118714
Use toHTMLSelectElement and dismiss isHTMLSelectElement
https://bugs.webkit.org/show_bug.cgi?id=118714
Summary
Use toHTMLSelectElement and dismiss isHTMLSelectElement
Kangil Han
Reported
2013-07-15 23:55:29 PDT
Use toHTMLSelectElement and dismiss isHTMLSelectElement
Attachments
Patch
(9.42 KB, patch)
2013-07-15 23:57 PDT
,
Kangil Han
no flags
Details
Formatted Diff
Diff
Patch
(9.23 KB, patch)
2013-07-16 01:35 PDT
,
Kangil Han
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Kangil Han
Comment 1
2013-07-15 23:57:39 PDT
Created
attachment 206731
[details]
Patch
Kangil Han
Comment 2
2013-07-16 00:05:23 PDT
After having time for thought on isFooElement, I've reached a conclusion that using isFooElement would bring us more drawbacks than advantages. For example, as Ryosuke concerned, all elements aren't presented by tag names. Moreover, it will bring unnecessary header includes, it actually is refactoring though. Therefore, from now on, I will introduce or use toFooElement and dismiss isFooElement step by step. :)
Ryosuke Niwa
Comment 3
2013-07-16 00:11:52 PDT
Comment on
attachment 206731
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=206731&action=review
> Source/WebCore/ChangeLog:9 > + Additionally, this patch dismisses isHTMLSelectElement because it doesn't cover all element and basically accompanies unnecessary header includes.
I don't really understand what you mean here.
EFL EWS Bot
Comment 4
2013-07-16 00:20:41 PDT
Comment on
attachment 206731
[details]
Patch
Attachment 206731
[details]
did not pass efl-wk2-ews (efl-wk2): Output:
http://webkit-queues.appspot.com/results/1090104
Kangil Han
Comment 5
2013-07-16 00:21:52 PDT
(In reply to
comment #3
)
> (From update of
attachment 206731
[details]
) > View in context:
https://bugs.webkit.org/attachment.cgi?id=206731&action=review
> > > Source/WebCore/ChangeLog:9 > > + Additionally, this patch dismisses isHTMLSelectElement because it doesn't cover all element and basically accompanies unnecessary header includes. > > I don't really understand what you mean here.
How about this? :) Additionally, this patch dismisses isHTMLSelectElement because all elements aren't presented by tag names and it will bring unnecessary header includes; it actually is refactoring though.
Kangil Han
Comment 6
2013-07-16 00:23:21 PDT
(In reply to
comment #4
)
> (From update of
attachment 206731
[details]
) >
Attachment 206731
[details]
did not pass efl-wk2-ews (efl-wk2): > Output:
http://webkit-queues.appspot.com/results/1090104
Below error is not related to this patch. :) *** Error during phase checkout of libseccomp: ########## Error running git remote update origin ***
Ryosuke Niwa
Comment 7
2013-07-16 00:50:47 PDT
(In reply to
comment #5
)
> (In reply to
comment #3
) > > (From update of
attachment 206731
[details]
[details]) > > View in context:
https://bugs.webkit.org/attachment.cgi?id=206731&action=review
> > > > > Source/WebCore/ChangeLog:9 > > > + Additionally, this patch dismisses isHTMLSelectElement because it doesn't cover all element and basically accompanies unnecessary header includes. > > > > I don't really understand what you mean here. > > How about this? :) > > Additionally, this patch dismisses isHTMLSelectElement because all elements aren't presented by tag names and it will bring unnecessary header includes; it actually is refactoring though.
How about /dismisses/removes/ and mention that "not all element subclasses can be checked by a combination of tag names". I don't think unnecessary header includes is applicable here. I don't think you have to say this is refactoring since the entire patch is refactoring.
Kangil Han
Comment 8
2013-07-16 01:35:28 PDT
Created
attachment 206738
[details]
Patch
Kangil Han
Comment 9
2013-07-16 01:36:39 PDT
(In reply to
comment #7
)
> > How about /dismisses/removes/ and mention that "not all element subclasses can be checked by a combination of tag names". I don't think unnecessary header includes is applicable here. I don't think you have to say this is refactoring since the entire patch is refactoring.
Thx Ryosuke! :) Took Ryosuke's comment into consideration.
WebKit Commit Bot
Comment 10
2013-07-16 02:19:10 PDT
Comment on
attachment 206738
[details]
Patch Clearing flags on attachment: 206738 Committed
r152709
: <
http://trac.webkit.org/changeset/152709
>
WebKit Commit Bot
Comment 11
2013-07-16 02:19:13 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.
Top of Page
Format For Printing
XML
Clone This Bug