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 117495 - two classes are not well shown in preview
Summary: two classes are not well shown in preview
Status: VERIFIED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: CSS Visual Tools (show other bugs)
Version: 6.x
Hardware: Sun All
: P3 blocker (vote)
Assignee: Marek Fukala
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-02 17:35 UTC by Jindrich Sedek
Modified: 2008-04-28 13:37 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jindrich Sedek 2007-10-02 17:35:08 UTC
Create new CSS file
use this code:
-----------------------
.center {
        color:green;
}
----------------------
set cursor possition into it -> preview is in green color
use this code:
-----------------------
.center .left {
        color:green;
}
----------------------
preview is not green
it's cause by incorect code genereted for preview
--------------------
 <body>
  <div  class="center .left">Sample Text</div>
 </body>
--------------------
Comment 1 Marek Fukala 2007-10-29 16:13:24 UTC
reproducible
Comment 2 Jindrich Sedek 2007-11-05 18:21:16 UTC
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
Comment 3 Jindrich Sedek 2007-11-14 09:47:47 UTC
verified.
NetBeans IDE 6.0 RC1 (Build 200711130000)