Bug 11442

Summary: [CSS 3] support for cursor: all-scroll
Product: WebKit Reporter: Lars Næsbye Christensen <lars>
Component: WebKit Misc.Assignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: ddkilzer, mjs
Priority: P2    
Version: 420+   
Hardware: Mac   
OS: OS X 10.4   
Attachments:
Description Flags
adds support for CSS cursor style all-scroll
mjs: review+
Fix missing "break;" statement from previous patch mitz: review+

Description Lars Næsbye Christensen 2006-10-28 01:41:49 PDT
We should support more of the CSS 3 cursor style selectors. All-scroll could (for now) be the same as our 'move' cursor.
Comment 1 Lars Næsbye Christensen 2006-10-28 01:49:07 PDT
Created attachment 11265 [details]
adds support for CSS cursor style all-scroll

Sets the 'move' cursor to be used for CSS cursor style="all-scroll"
Comment 2 Maciej Stachowiak 2006-10-31 10:25:16 PST
Comment on attachment 11265 [details]
adds support for CSS cursor style all-scroll

r=me
Comment 3 Timothy Hatcher 2006-10-31 13:10:43 PST
Landed in r17493
Comment 4 David Kilzer (:ddkilzer) 2006-10-31 16:31:34 PST
Comment on attachment 11265 [details]
adds support for CSS cursor style all-scroll

>Index: WebCore/css/CSSComputedStyleDeclaration.cpp
>===================================================================
>--- WebCore/css/CSSComputedStyleDeclaration.cpp	(revision 17395)
>+++ WebCore/css/CSSComputedStyleDeclaration.cpp	(working copy)
>@@ -680,6 +680,9 @@ PassRefPtr<CSSValue> CSSComputedStyleDec
>                 break;
>             case CURSOR_HELP:
>                 value = new CSSPrimitiveValue(CSS_VAL_HELP);
>+            case CURSOR_ALL_SCROLL:
>+                value = new CSSPrimitiveValue(CSS_VAL_ALL_SCROLL);
>+                break;
>         }
>         ASSERT(value);
>         if (list) {

I believe there is a missing "break;" statement after "case CURSOR_HELP:" now.  Patch forthcoming.
Comment 5 David Kilzer (:ddkilzer) 2006-10-31 16:31:53 PST
Reopening to fix missing "break;" statement.
Comment 6 David Kilzer (:ddkilzer) 2006-10-31 16:33:17 PST
Created attachment 11315 [details]
Fix missing "break;" statement from previous patch
Comment 7 mitz 2006-10-31 22:00:34 PST
Comment on attachment 11315 [details]
Fix missing "break;" statement from previous patch

r=me
Comment 8 David Kilzer (:ddkilzer) 2006-11-01 03:55:05 PST
Committed revision 17516 for Attachment 11315 [details].