Commit 9fcac210 authored by's avatar

Fixing my typo from the last checkin

git-svn-id: 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent d19daf6c
......@@ -2055,9 +2055,9 @@ bool CSSStyleSelector::SelectorChecker::checkOneSelector(CSSSelector* sel, Eleme
return !e->isEnabled();
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