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 209080

Summary: Style Builder incorrectly displays attribute values in a specific situation
Product: web Reporter: ashrao <ashrao>
Component: CSS Visual ToolsAssignee: Marek Fukala <mfukala>
Status: RESOLVED WONTFIX    
Severity: normal CC: pjiricka, vriha
Priority: P4    
Version: 7.1   
Hardware: Macintosh   
OS: Mac OS X   
Issue Type: DEFECT Exception Reporter:
Attachments: Style Builder screenshot showing the incorrect value of the attribute being shown in the UI
Style Builder screenshot showing the correct value of the attribute being shown in the UI.

Description ashrao 2012-03-02 07:22:47 UTC
Product Version = NetBeans IDE 7.1 (Build 201112071828)
Operating System = Mac OS X version 10.6.8 running on x86_64
Java; VM; Vendor = 1.6.0_29
Runtime = Java HotSpot(TM) 64-Bit Server VM 20.4-b02-402

The Style Builder does not pick up attribute values correctly specifically when there is a "space" at the end of the attribute name,  and just before the ":".

For eg in the code:
.center_content {
    position : relative;
}

The space between the 'n' and ':' in 'position : relative;' results in Style Builder NOT displaying the position attribute as set to "relative" in the UI.

See attachment with file name "stylebuilder_screenshot1.png".

When the space is removed, then Style Builder correctly displays the attribute value.

For eg. in the code:
.center_content {
    position: relative;
}

The removing the space to result in the following attribute setting - 'position: relative;' results in Style Builder displaying the position attribute as set to "relative" in the UI.

See attachment with file name "stylebuilder_screenshot2.png"
Comment 1 ashrao 2012-03-02 07:25:00 UTC
Created attachment 116274 [details]
Style Builder screenshot showing the incorrect value of the attribute being shown in the UI
Comment 2 ashrao 2012-03-02 07:25:07 UTC
Created attachment 116275 [details]
Style Builder screenshot showing the correct value of the attribute being shown in the UI.
Comment 3 Marek Fukala 2012-04-11 14:18:02 UTC
StyleBuilder is going to be removed in 7.2.next.
Comment 4 Vladimir Riha 2013-03-26 12:32:17 UTC
Style builder was removed from NetBeans since 7.3