[Webkit-unassigned] [Bug 57731] [CSS 3] missing cursor support for 'none' on Windows

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu May 26 05:59:25 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=57731





--- Comment #12 from Adam Roben (:aroben) <aroben at apple.com>  2011-05-26 05:59:25 PST ---
(In reply to comment #11)
> (In reply to comment #9)
> > (From update of attachment 88773 [details] [details])
> > Is there a way we can assert that if we're calling ::SetCursor(0) it's because Cursor::None is being used? That would help us catch mistakes where we're calling ::SetCursor(0) for some incorrect reason.
> 
> This should be straightforward for WebKit, but less so for WebKit2 for at least two reasons:
> 
> 1. The WebView class stores only HCURSORs, so it doesn't have any information about the intended type of the cursor. Would be acceptable to change the HCURSOR members to WebCore::Cursors?

Yes.

> 2. The overrideCursor only seems to be set with an HCURSOR, so it also has no information about its intended cursor type.

setOverrideCursor(0) means not to use an override cursor at all, so that shouldn't be a problem for the assertion.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list