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 170728 - [MS css syntax] css property starting with hash marked as error
Summary: [MS css syntax] css property starting with hash marked as error
Status: RESOLVED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: CSS Visual Tools (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Marek Fukala
URL:
Keywords:
Depends on:
Blocks: 110333
  Show dependency tree
 
Reported: 2009-08-20 18:18 UTC by rdelaplante
Modified: 2010-04-20 05:12 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
screenshot (43.03 KB, text/plain)
2009-08-20 18:18 UTC, rdelaplante
Details
same screenshot, but this time I set the correct MIME type (43.03 KB, image/png)
2009-08-20 18:19 UTC, rdelaplante
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rdelaplante 2009-08-20 18:18:06 UTC
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.
Comment 1 rdelaplante 2009-08-20 18:18:40 UTC
Created attachment 86513 [details]
screenshot
Comment 2 rdelaplante 2009-08-20 18:19:25 UTC
Created attachment 86514 [details]
same screenshot, but this time I set the correct MIME type
Comment 3 Jiri Kovalsky 2009-08-21 13:48:54 UTC
Marku, can you please take a look at this bug? Thanks!
Comment 4 Marek Fukala 2009-10-16 17:14:42 UTC
underscore works because it is valid according to the w3c css specification, hash doesn't. I'll try to fix.
Comment 5 Marek Fukala 2009-11-05 08:40:47 UTC
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.
Comment 6 Marek Fukala 2010-04-19 10:09:46 UTC
fixed in web-main#f277eed101b8
Comment 7 Quality Engineering 2010-04-20 05:12:25 UTC
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