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.
use this code: ------------- P{ font-stretch: condensed ; } ------------- font-stretch property is marked as unknown, but it should not be since it's defined in CSS 2.0 specification - unfortunately it's not valid in CSS 2.1 specification, but it's valid again in CSS 3.0 the same problem appears for font-size-adjust property: P{ font-size-adjust: none; } maybe some warning should be shown about property invalidity in 2.1 CSS version, but "unknown property" is not very valuable information for user
We currently support css 2.1 so this could be closed as as design. OTOH I am sure we need some css versions support, so the user is able to set 'target' css version, maybe also target browser. If such version is choosen then the error is valid. I'm not sure how hard would be to make a parser being able to parse all css versions and then just use semantic analysis to make warnings for constructs not currently supported by choosen css version. I'll give it a try, but I am affraid in next version, not 6.5
This issue should involve: 1) parsing based on css 1,2,2.1,(3.0) level 2) features like error checks, UI builder, completion behaves according to target version *and target browser*
CSS2.1 is already supported. CSS 2.0 is outdated so what's currently missing is the css3 support.
Created attachment 115358 [details] maincss
css3 is already supported
verified Product Version: NetBeans IDE 7.3 RC1 (Build 201301162100) Java: 1.6.0_38; Java HotSpot(TM) Client VM 20.13-b02 Runtime: Java(TM) SE Runtime Environment 1.6.0_38-b05 System: Windows 8 version 6.2 running on x86; Cp1252; en_US (nb)