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 - background color is no updated according to selected rule
Summary: background color is no updated according to selected rule
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: Erno Mononen
URL:
Keywords:
Depends on:
Blocks: 120529
  Show dependency tree
 
Reported: 2007-09-05 08:46 UTC by Jindrich Sedek
Modified: 2008-04-28 13:37 UTC (History)
1 user (show)

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-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)