[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdelibs/khtml/css
From:       Maks Orlovich <maksim () kde ! org>
Date:       2005-06-23 23:18:59
Message-ID: 1119568739.290468.31751.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 428384 by orlovich:

Initialize CSSSelector to have namespace=any and not none by default, so 
that selectors that do not specify tags work (this is normally hidden by a 
special-case hack for HTML tags). 
Previous commit was a testcase. 


 M  +1 -1      css_base.h  


--- trunk/KDE/kdelibs/khtml/css/css_base.h #428383:428384
@@ -74,7 +74,7 @@
     {
     public:
 	CSSSelector()
-	    : tagHistory(0), simpleSelector(0), attr(0), tag(0xffff), relation( Descendant ),
+	    : tagHistory(0), simpleSelector(0), attr(0), tag(anyQName), relation( Descendant ),
 	      match( None ), nonCSSHint( false ), pseudoId( 0 ), _pseudoType(PseudoNotParsed)
         {}
 
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic