Closed Bug 9665 Opened 25 years ago Closed 24 years ago

[feature] Cursor support: define xp api

Categories

(Core :: XUL, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED

People

(Reporter: trudelle, Assigned: joki)

References

Details

Define xp api for some subset of cursor management	0.5 days	scc
0%
Mass changing all XPToolkit M10 feature 'bugs' to target as p2 enhancement for
M10
Blocks: 9673
Status: NEW → ASSIGNED
Whiteboard: 0.5 day
added estimated remaining duration in status whiteboard field
Blocks: 9668
Assignee: scc → pavlov
Status: ASSIGNED → NEW
reassigning to pavlov, cc pink. Since this is now understood to be an XP task,
I'm closing the associated platform-specific tasks. Please update whiteboard to
include implementation.
Target Milestone: M10 → M11
moving to m11
No longer blocks: 9673
peter?  is this needed for dogfood (or beta?)?
Summary: sched: Cursor support: define xp api → [dogfood]sched: Cursor support: define xp api
putting on dogfood candidate radar.
Whiteboard: 0.5 day → [PDT-]0.5 day
brendan, is this dogfood infrustucture?  Putting on [PDT-] radar for now.
Target Milestone: M11 → M14
Blocks: 18958
giving me rest of phillips open qa contact bugs, sorry for spam
Target Milestone: M14 → M15
Blocks: 10977
Blocks: 15774
Blocks: 9805
Putting dogfood in the keyword field.
Keywords: dogfood
Summary: [dogfood]sched: Cursor support: define xp api → sched: Cursor support: define xp api
*IGNORE* - massive spam changing open XPToolkit bug's QA contact to
jrgm@netscape.com
QA Contact: paulmac → jrgm
Keywords: dogfood
Priority: P2 → P3
Summary: sched: Cursor support: define xp api → [feature] Cursor support: define xp api
Whiteboard: [PDT-]0.5 day
Status: NEW → ASSIGNED
Whiteboard: 1 day
argh.
Target Milestone: M15 → M16
Whiteboard: 1 day → 1 day -- 4/28/00
reassigning to joki as per our conversation
Assignee: pavlov → joki
Status: ASSIGNED → NEW
Whiteboard: 1 day -- 4/28/00
Okay, not sure why this is a new bug from 9668 but here is the comment I 
included when I closed 9668 which includes the api I created.

Okay, per my earlier discussion with pavlov we were unable to accomplish this 
feature using style alone since we would have to set the cursor style on every 
element and then change it back.  This is because the cursor attribute is 
inherited so if we set the cursor on the document using style any lower level 
element which specified its own cursor (as we do for elements in ua.css) would 
override the desired cursor.  So instead a method was added to nsIDOMWindow.  
The method is

SetCursor(in DOMString cursor);

This method takes any of the cursor strings specified in the CSS2 spec and sets 
the cursor.  This method overrides the cursor change as it moves about a page 
and only works within the bounds of the page.  In order to reset the cursor to 
allow it to change normally as it moves the cursor must be set back to 'auto' 
using the SetCursor method.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.