NEW 119580
Move :optional/:required/:*range selector related virtuals off of Element.
https://bugs.webkit.org/show_bug.cgi?id=119580
Summary Move :optional/:required/:*range selector related virtuals off of Element.
Andreas Kling
Reported 2013-08-08 10:20:35 PDT
Move :optional/:required/:*range selector related virtuals off of Element.
Attachments
Patch (11.16 KB, patch)
2013-08-08 10:21 PDT, Andreas Kling
darin: review+
eflews.bot: commit-queue-
Andreas Kling
Comment 1 2013-08-08 10:21:01 PDT
WebKit Commit Bot
Comment 2 2013-08-08 10:23:12 PDT
Attachment 208355 [details] did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebCore/ChangeLog', u'Source/WebCore/css/SelectorChecker.cpp', u'Source/WebCore/css/StyleResolver.cpp', u'Source/WebCore/dom/Element.cpp', u'Source/WebCore/dom/Element.h', u'Source/WebCore/html/HTMLButtonElement.h', u'Source/WebCore/html/HTMLFormControlElement.h', u'Source/WebCore/html/HTMLInputElement.h', u'Source/WebCore/html/HTMLKeygenElement.h', u'Source/WebCore/html/HTMLSelectElement.h', u'Source/WebCore/html/HTMLTextAreaElement.h']" exit_code: 1 Source/WebCore/html/HTMLSelectElement.h:149: Missing space before { [whitespace/braces] [5] Total errors found: 1 in 10 files If any of these errors are false positives, please file a bug against check-webkit-style.
Darin Adler
Comment 3 2013-08-08 11:06:49 PDT
Comment on attachment 208355 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=208355&action=review > Source/WebCore/html/HTMLFormControlElement.h:70 > + virtual bool isOptionalFormControl() const { return false; } > + virtual bool isRequiredFormControl() const { return false; } Since these are moved down from Element to HTMLFormControlElement, they could just be named isOptional and isRequired. The longer names were needed because this was in Element. >> Source/WebCore/html/HTMLSelectElement.h:149 >> + virtual bool isOptionalFormControl() const OVERRIDE{ return !isRequiredFormControl(); } > > Missing space before { [whitespace/braces] [5] The stylebot, he’s right!
EFL EWS Bot
Comment 4 2013-08-08 11:17:21 PDT
Build Bot
Comment 5 2013-08-22 05:21:44 PDT
Note You need to log in before you can comment on or make changes to this bug.