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 114715

Summary: background color is no updated according to selected rule
Product: web Reporter: Jindrich Sedek <jsedek>
Component: CSS Visual ToolsAssignee: Erno Mononen <emononen>
Status: VERIFIED FIXED    
Severity: blocker CC: mfukala
Priority: P3    
Version: 6.x   
Hardware: Sun   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 120529    

Description Jindrich Sedek 2007-09-05 08:46:44 UTC
Create new WebApplication
Create new CSS style
use this code like as a new rule:
------------------------
h1{
    background-color: purple;
}
-----------------------
select this rule and switch style builder to Background pane
purple is selected as background color
move cursor possition to root rule in editor

background color is not updated and purple stays selected
Comment 1 Marek Fukala 2007-10-29 16:23:47 UTC
reproducible
Comment 2 Erno Mononen 2007-10-30 18:40:49 UTC
I'll take a look at this.
Comment 3 Erno Mononen 2007-10-31 11:31:27 UTC
Fixed in trunk. Seemed to be trivial, but please review. 

Checking in BackgroundStyleEditor.java;
/cvs/web/css/src/org/netbeans/modules/css/visual/ui/BackgroundStyleEditor.java,v  <--  BackgroundStyleEditor.java
new revision: 1.9; previous revision: 1.8
done

Comment 4 Jindrich Sedek 2007-11-14 09:17:00 UTC
verified.
NetBeans IDE 6.0 RC1 (Build 200711130000)