-
adele@apple.com authored
Reviewed by Adele. Added the virtual function Node::isTextControl() in order to simplify text field and textarea checks. * css/CSSStyleSelector.cpp: (WebCore::CSSStyleSelector::SelectorChecker::checkOneSelector): Clean up in PseudoReadOnly and PseudoReadWrite cases removing unnecessary checks and casts in favor of the sole isTextControl() check. * dom/Node.h: Added base isTextControl(). * html/HTMLInputElement.h: Added isTextControl() which wraps HTMLInputElement::isTextField(). * html/HTMLTextAreaElement.h: Added isTextControl(). git-svn-id: http://svn.webkit.org/repository/webkit/trunk@35073 268f45cc-cd09-0410-ab3c-d52691b4dbfc
f8491e23