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.
For example: .some-class { width: 450px; _width: 425px; #width: 400px; } The one that starts with underscore is used by IE6. The one that starts with a # is used by IE6 and IE7. The one with no prefix is used by all other browsers. The IDE marks lines that start with # as an error, but not lines that start with _. I will attach a screenshot.
Created attachment 86513 [details] screenshot
Created attachment 86514 [details] same screenshot, but this time I set the correct MIME type
Marku, can you please take a look at this bug? Thanks!
underscore works because it is valid according to the w3c css specification, hash doesn't. I'll try to fix.
Property name starting with hash is not a valid css syntax. OTOH we should also support the properietary, mosty MS, syntaxes. I am keeping one P2 issue for that.
fixed in web-main#f277eed101b8
Integrated into 'main-golden', will be available in build *201004200200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/f277eed101b8 User: Marek Fukala <mfukala@netbeans.org> Log: #170728 - [MS css syntax] css property starting with hash marked as error