kdelibs/khtml/css

David Hyatt hyatt at apple.com
Wed Apr 23 19:25:06 CEST 2003


Safari actually doesn't support cursor yet. :(

dave

On Wednesday, April 23, 2003, at 03:42 PM, Fredrik Höglund wrote:

> 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;
>
>
> _______________________________________________
> Khtml-devel at mail.kde.org
> http://mail.kde.org/mailman/listinfo/khtml-devel



More information about the Khtml-devel mailing list