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 in fact just a copy of the issue #203568 - Broken Code semantic completion for background property with multiple values The original issue has been resolved in Netbeans 7.1 by disabling the css property values error checks. The issue has been already *properly fixed* in 7.2 so I've created this issue so we can track the 7.1.1 integration. The proper fix: http://hg.netbeans.org/web-main/rev/6d47f0669a2c Also read my comments in http://netbeans.org/bugzilla/show_bug.cgi?id=203568#c2 I propose that QE starts working on the fix verification ASAP since as I already wrote in the comment there still are know issues and some other may be still found. I believe these issues won't require a crucial changes in the bugfix. I'm going to integrate one more change to trunk today which addresses some of the mentioned problems, so you are free to verify it in tomorrows build. Ideally most of the code samples from the css3 w3c's specifications should be collected and used for the testing. If one creates such list I may integrate it as unit tests.
Here's the promised additional fix: changeset: 208009:c939d071f3d0 summary: better support for resolving ambiguous grammars - implementing a precedence for paths matching keywords instead of units
I copied samples w3.org and use some own styles (see attached file). I checked annotation showed for the given css and code completion for most of the properties. Most of the wrong annotations from earlier are gone and the CC problem from issue #203568 is fixed. But I've found these 3 bug: issue #206836 and issue #206837 and issue #206838. Product Version: NetBeans IDE Dev (Build 201201010601) Java: 1.7.0_02; Java HotSpot(TM) Client VM 22.0-b10 System: Linux version 3.0.0-14-generic-pae running on i386; UTF-8; en_US (nb)
Created attachment 114549 [details] template css file
Apart from the mentioned issues the original problem has been fixed by multiple changes to the infrastructure done during early December 2011. All the fixes has been also transplanted to 7.1.1 branch
verified Product Version: NetBeans IDE Dev (Build 201202130400) Java: 1.7.0_02; Java HotSpot(TM) Client VM 22.0-b10 System: Linux version 3.0.0-15-generic-pae running on i386; UTF-8; en_US (nb)