Closed Bug 292452 Opened 20 years ago Closed 20 years ago

css cursor with multiple values is ignored

Categories

(Core :: CSS Parsing and Computation, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: urddd, Assigned: dbaron)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.7) Gecko/20050414
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.7) Gecko/20050414

This line, which contains multiple values for the propety cursor, should work
but  doesn't. Normaly, if one value desn't work, it should try the next and so on.

.grab { cursor: -moz-grab,url('images/grab.cur'),hand,pointer; }

If I put only ont attribute it works:
.grab { cursor: -moz-grab; }

Incidently IE6 has it right.

CSS21 and 3 says the same thing: 
"
:link,:visited { cursor: url(example.svg#linkcursor), url(hyper.cur), pointer }

This example sets the cursor on all hyperlinks (whether visited or not) to an
external SVG cursor. User agents that don't support SVG cursors would simply
skip to the next value and attempt to use the "hyper.cur" cursor. If that cursor
format was also not supported, the UA would skip to the next value and simply
render the 'pointer' cursor. 
"

Reproducible: Always
http://www.w3.org/TR/CSS21/ui.html#cursor-props

the URI values must be first, and there can be at most one non-URI value. invalid.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.