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.
This is a regression from 7.3 and it causes css file and parent folder to have error badge. IMO it should be fixed for 7.4 Please try following in css file: .test { background: -moz-linear-gradient(center top, #f3f3f3, #dddddd); } Product Version: NetBeans IDE Dev (Build web-main-10157-on-20130325) Java: 1.7.0_17; Java HotSpot(TM) Client VM 23.7-b01 Runtime: Java(TM) SE Runtime Environment 1.7.0_17-b02 System: Linux version 3.2.0-39-generic-pae running on i386; UTF-8; en_US (nb)
Looks, it is considered as error every time first argument of gradient is build by 2 words. For example in case of "to bottom". I suggest to verify all possible options to make sure all of them are considered correct. background: -moz-linear-gradient(top, #b02000 0%, #dc4a00 100%); background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#b02000), color-stop(100%,#dc4a00)); background: -webkit-linear-gradient(top, #b02000 0%,#dc4a00 100%); background: -o-linear-gradient(top, #b02000 0%,#dc4a00 100%); background: -ms-linear-gradient(top, #b02000 0%,#dc4a00 100%); background: linear-gradient(to bottom, #b02000 0%,#dc4a00 100%);
already fixed
I'm sorry but both samples above still show error Product Version: NetBeans IDE Dev (Build web-main-10169-on-20130326) 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)
I'm sorry, now it is really fixed. web-main#36960802b5d0
Integrated into 'main-golden', will be available in build *201303262300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/36960802b5d0 User: Marek Fukala <mfukala@netbeans.org> Log: #227880 - moz-linear-gradient causes parser error
Thanks, now it is OK Product Version: NetBeans IDE Dev (Build web-main-10182-on-20130327) 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)
*** Bug 228987 has been marked as a duplicate of this bug. ***
Product Version: NetBeans IDE Dev (Build 201306202301) Java: 1.7.0_25; Java HotSpot(TM) 64-Bit Server VM 23.25-b01 Runtime: Java(TM) SE Runtime Environment 1.7.0_25-b16 System: Windows 7 version 6.1 running on amd64; Cp1252; en_CA (nb) User directory: C:\Users\Gili\AppData\Roaming\NetBeans\dev Cache directory: C:\Users\Gili\AppData\Local\NetBeans\Cache\dev The issue is still reproducible for: background-image: linear-gradient(to left, rgba(79,99,31,1) 0%,rgba(47,67,33,1) 44%,rgba(20,45,19,1) 100%);
reproducible, I've added new testcases to the Css3ParserTest.testFunctionArgumentWithMultipleTermsSeparatedByWS() test, will fix later
Still present in 8.0.1, e.g. background-image: linear-gradient(to bottom, #0088CC, #0044CC); Produces the 'Unexpected character(s)' warning.
Another case still happening in 8.0.1, triggered by "to bottom": background: linear-gradient(to bottom, rgba(125,126,125,1) 0%,rgba(14,14,14,1) 100%); Workaround: you can safely swap out "to bottom" for "180deg", eg: background: linear-gradient(180deg, rgba(125,126,125,1) 0%,rgba(14,14,14,1) 100%);
Fixed in #244711
Product Version: NetBeans IDE 8.0.2 (Build 201411181905) Updates: NetBeans IDE is updated to version NetBeans 8.0.2 Patch 2 Java: 1.8.0_60; Java HotSpot(TM) 64-Bit Server VM 25.60-b23 Runtime: Java(TM) SE Runtime Environment 1.8.0_60-b27 System: Windows 10 version 10.0 running on amd64; Cp1252; it_IT (nb) The issue is still open here, triggered by: background:linear-gradient(to bottom, #768d87 5%, #6c7c7c 100%); and by: background:linear-gradient(to bottom, #6c7c7c 5%, #768d87 100%);
You have old build. It was fixed for 8.1. Try 8.1 Beta, or dev build. Thank you