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 205843 - broken semantic code completion and error checks for background property with multiple values
Summary: broken semantic code completion and error checks for background property with...
Status: VERIFIED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: CSS Visual Tools (show other bugs)
Version: 7.1
Hardware: PC Mac OS X
: P2 normal (vote)
Assignee: Marek Fukala
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-02 12:47 UTC by Marek Fukala
Modified: 2012-02-13 15:08 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
template css file (4.30 KB, text/css)
2012-01-02 10:36 UTC, Vladimir Riha
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marek Fukala 2011-12-02 12:47:07 UTC
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.
Comment 1 Marek Fukala 2011-12-02 14:14:49 UTC
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
Comment 2 Vladimir Riha 2012-01-02 10:35:58 UTC
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)
Comment 3 Vladimir Riha 2012-01-02 10:36:21 UTC
Created attachment 114549 [details]
template css file
Comment 4 Marek Fukala 2012-02-13 14:57:59 UTC
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
Comment 5 Vladimir Riha 2012-02-13 15:07:47 UTC
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)