This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 246995 - css cursor url property gives warning
Summary: css cursor url property gives warning
Status: RESOLVED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: CSS Editor (show other bugs)
Version: 8.0.1
Hardware: All All
: P3 normal (vote)
Assignee: Milutin Kristofic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-10 13:49 UTC by rich8379
Modified: 2015-06-01 15:58 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description rich8379 2014-09-10 13:49:39 UTC
The following CSS gives a warning in the editor:
cursor: url('../image/zoom.cur');
cursor: zoom-in;

in both cases the warning is "unexpected characters"

These appear to be valid properties from http://www.w3schools.com/cssref/pr_class_cursor.asp
Comment 1 Vladimir Riha 2014-09-10 15:46:02 UTC
Reproducible

Product Version: NetBeans IDE Dev (Build 201409100001)
Java: 1.8.0_20; Java HotSpot(TM) Client VM 25.20-b23
Runtime: Java(TM) SE Runtime Environment 1.8.0_20-b26
System: Linux version 3.13.0-32-generic running on i386; UTF-8; en_US (nb)
Comment 2 Milutin Kristofic 2015-06-01 15:58:56 UTC
Zoom-in, zoom-out, grab, grabbing added to Cursor. http://hg.netbeans.org/web-main/rev/f99e00b6e59f

With URL, you need to specifice more, you should have something like:
cursor: url('../image/zoom.cur'), auto;