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 228270 - Unexpected character(s) "scale" found
Summary: Unexpected character(s) "scale" found
Status: REOPENED
Alias: None
Product: web
Classification: Unclassified
Component: CSS Editor (show other bugs)
Version: 7.3
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Marek Fukala
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-05 04:25 UTC by _ gtzabari
Modified: 2017-04-24 20:01 UTC (History)
2 users (show)

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 _ gtzabari 2013-04-05 04:25:57 UTC
Product Version: NetBeans IDE 7.3 (Build 201302132200)
Java: 1.7.0_17; Java HotSpot(TM) 64-Bit Server VM 23.7-b01
Runtime: Java(TM) SE Runtime Environment 1.7.0_17-b02
System: Windows 7 version 6.1 running on amd64; Cp1252; en_CA (nb)
User directory: C:\Users\Gili\AppData\Roaming\NetBeans\7.3
Cache directory: C:\Users\Gili\AppData\Local\NetBeans\Cache\7.3

1. Create a CSS rule containing "transform: scale(-1, 1);"
2. Netbeans will flag this with a warning: Unexpected character(s) "scale" found
3. Notice that "transform: scale(-1, 1);" does not trigger the warning

Expected behavior: the IDE should accept negative numbers without warning.
Comment 1 Vladimir Riha 2013-04-05 06:41:10 UTC
Thanks for reporting. Reproducible in 7.3 but works fine in Dev build.

(In reply to comment #0)
> 3. Notice that "transform: scale(-1, 1);" does not trigger the warning

Please, what do you mean by that? It is the same as in #1 so what's the difference?


Product Version: NetBeans IDE Dev (Build web-main-10243-on-20130404)
Java: 1.7.0_17; Java HotSpot(TM) Client VM 23.7-b01
Runtime: Java(TM) SE Runtime Environment 1.7.0_17-b32
System: Linux version 3.2.0-39-generic-pae running on i386; UTF-8; en_US (nb)
Comment 2 _ gtzabari 2013-04-05 16:58:13 UTC
Sorry, that was a typo.

scale(-1, 1) triggers a warning. scale(1, 1) does not.
Comment 3 Vladimir Riha 2013-04-08 07:13:09 UTC
Thanks for clarification, both work in Dev builds


Product Version: NetBeans IDE Dev (Build web-main-10256-on-20130406)
Java: 1.7.0_17; Java HotSpot(TM) Client VM 23.7-b01
Runtime: Java(TM) SE Runtime Environment 1.7.0_17-b32
System: Linux version 3.2.0-39-generic-pae running on i386; UTF-8; en_US (nb)
Comment 4 xracoonx 2017-04-24 20:01:20 UTC
Can still reproduce in NetBeans 8.2.