Commit 76287b3e authored by hyatt's avatar hyatt

operator== on CSSSelectors needed to be updated to compare

	_pseudoTypes.  A nice subtle bug from the mega-patch.

        Reviewed by mjs

        * khtml/css/cssparser.cpp:
        (CSSSelector::operator == ):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@3060 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent e2fbbd40
2002-12-15 David Hyatt <hyatt@apple.com>
operator== on CSSSelectors needed to be updated to compare
_pseudoTypes. A nice subtle bug from the mega-patch.
Reviewed by mjs
* khtml/css/cssparser.cpp:
(CSSSelector::operator == ):
2002-12-15 David Hyatt <hyatt@apple.com>
Fix for 3128429, sans-serif font got broken. Just a typo
......
2002-12-15 David Hyatt <hyatt@apple.com>
operator== on CSSSelectors needed to be updated to compare
_pseudoTypes. A nice subtle bug from the mega-patch.
Reviewed by mjs
* khtml/css/cssparser.cpp:
(CSSSelector::operator == ):
2002-12-15 David Hyatt <hyatt@apple.com>
Fix for 3128429, sans-serif font got broken. Just a typo
......
......@@ -3127,7 +3127,7 @@ bool CSSSelector::operator == ( const CSSSelector &other )
if ( sel1->tag != sel2->tag || sel1->attr != sel2->attr ||
sel1->relation != sel2->relation || sel1->match != sel2->match ||
sel1->nonCSSHint != sel2->nonCSSHint ||
sel1->value != sel2->value )
sel1->value != sel2->value || sel1->_pseudoType != sel2->_pseudoType)
return false;
sel1 = sel1->tagHistory;
sel2 = sel2->tagHistory;
......
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