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.
create new CSS file use this code: ------------------------- a.trida{ color: green; } a.trida#a20{ font-size: 20mm; } -------------------------- set cursor possition into second selector area code generated for preview is: <html> <head><style type="text/css"> a.trida { color: green; } a.trida#a20 { font-size: 20mm; } </style></head> <body> <a class="trida#a20">Sample Text</a> </body> </html> -------------------------------- I excpect it should be <a class="trida" id="a20">Sample Text</a> because a.trida#a20 is more special case of a.trida specialized by "id" it should inherit green color, but it doesn't now
reproducible
fixed. Checking in CssPreviewGenerator.java; /cvs/web/css/src/org/netbeans/modules/css/visual/ui/preview/CssPreviewGenerator.java,v <-- CssPreviewGenerator.java new revision: 1.8; previous revision: 1.7 done
verified. NetBeans IDE Dev (Build 20071108133813)