Commit 9fcac210 authored by adele@apple.com's avatar adele@apple.com

Fixing my typo from the last checkin


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@35075 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent d19daf6c
......@@ -2055,9 +2055,9 @@ bool CSSStyleSelector::SelectorChecker::checkOneSelector(CSSSelector* sel, Eleme
return !e->isEnabled();
break;
case CSSSelector::PseudoReadOnly:
return e & e->isTextControl() && e->isReadOnlyControl();
return e && e->isTextControl() && e->isReadOnlyControl();
case CSSSelector::PseudoReadWrite:
return e & e->isTextControl() && !e->isReadOnlyControl();
return e && e->isTextControl() && !e->isReadOnlyControl();
case CSSSelector::PseudoChecked:
// Even though WinIE allows checked and indeterminate to co-exist, the CSS selector spec says that
// you can't be both checked and indeterminate. We will behave like WinIE behind the scenes and just
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment