[Webkit-unassigned] [Bug 6001] CSS2: WebKit does not handle fallback custom cursors
bugzilla-daemon at opendarwin.org
bugzilla-daemon at opendarwin.org
Wed Sep 6 00:57:05 PDT 2006
http://bugzilla.opendarwin.org/show_bug.cgi?id=6001
------- Comment #5 from macdome at opendarwin.org 2006-09-06 00:57 PDT -------
I spoke with hyatt and darin this evening. We've come up with a pretty simple
fix for this.
1. We will need a new class, perhaps called CursorDescription. (like
FontDescription). This will contain CurorType enum (just like
RenderStyle::cursor() does today), as well as a CachedImage* (just like
cursorImage() does today), as well as a CursorDescription next pointer
(CursorDescription* m_next; CursorDescription* next() const;)
2. RenderStyle::cursor() will stay (to optimize for the common single-specified
cursor case). RenderStyle::cursorImage() will change to CursorDescription*
RenderStyle::cursorList().
3. Either cursor() will return a special CURSOR_LIST enum value, or simply
cursorList() returning non-null will trigger the cursor list fallback behavior
instead of the normal single-cursor case.
That's pretty much it. This should be a pretty small patch and shouldn't take
more than a couple hours to code up.
--
Configure bugmail: http://bugzilla.opendarwin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list