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 226007 - Switching rules with same property does not repopulate Rule editor after 2nd switch
Summary: Switching rules with same property does not repopulate Rule editor after 2nd ...
Status: NEW
Alias: None
Product: web
Classification: Unclassified
Component: CSS Visual Tools (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Jan Stola
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-12 08:02 UTC by Vladimir Riha
Modified: 2014-10-06 13:25 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 Vladimir Riha 2013-02-12 08:02:47 UTC
To reproduce, please try following:

- HTML element, e.g.
 <body class="foo" id="bar">
        Test
    </body>


- css file like:

.foo {
    color:blue;
}
#bar{
    color:red;
}

- run the html file, use Inspect mode to select the <body>
- CSS Styles is populated, selected (focused) rule is #bar and Rule editor shows RED color, OK
- in Applied Styles, focus .foo rule => RE is repopulated again
- now focus back the #bar => although title of RE shows #bar as a selected rule, listed properties belongs to .foo (so it still shows color BLUE instead of red)



Product Version: NetBeans IDE 7.3 (Build 201302062200)
Java: 1.6.0_39; Java HotSpot(TM) Client VM 20.14-b01
Runtime: Java(TM) SE Runtime Environment 1.6.0_39-b04
System: Linux version 3.2.0-35-generic-pae running on i386; UTF-8; en_US (nb
Comment 1 Jan Stola 2013-02-12 14:13:53 UTC
The modified title of Rule Editor shows that the correct rule is passed to Rule Editor (by the Selection section of CSS Styles view). Hence, the problem seems to be in Rule Editor => I am reassigning this issue to CSS Visual for evaluation.