kdelibs/khtml/css

Fredrik Höglund fredrik at kde.org
Thu Apr 24 01:42:51 CEST 2003


CVS commit by fredrik: 

Reapplied the hand cursor fix that got reverted in the latest
Safari merge.

This fix should probably be applied to WebCore as well, since
without it the wrong cursor ends up being used when a webpage
specifies "cursor: hand" when in compat mode.

CCMAIL: khtml-devel at kde.org


  M +4 -3      cssparser.cpp   1.266


--- kdelibs/khtml/css/cssparser.cpp  #1.265:1.266
@@ -737,7 +737,8 @@ bool CSSParser::parseValue( int propId, 
         // wait | help ] ] | inherit
     // MSIE 5 compatibility :/
-        if ( !strict && id == CSS_VAL_HAND )
+        if ( !strict && id == CSS_VAL_HAND ) {
+            id = CSS_VAL_POINTER;
             valid_primitive = true;
-        else if ( id >= CSS_VAL_AUTO && id <= CSS_VAL_HELP )
+        } else if ( id >= CSS_VAL_AUTO && id <= CSS_VAL_HELP )
             valid_primitive = true;
         break;




More information about the Khtml-devel mailing list