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 - Style Builder incorrectly displays attribute values in a specific situation
Summary: Style Builder incorrectly displays attribute values in a specific situation
Status: RESOLVED WONTFIX
Alias: None
Product: web
Classification: Unclassified
Component: CSS Visual Tools (show other bugs)
Version: 7.1
Hardware: Macintosh Mac OS X
: P4 normal (vote)
Assignee: Marek Fukala
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-02 07:22 UTC by ashrao
Modified: 2013-03-26 12:32 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Style Builder screenshot showing the incorrect value of the attribute being shown in the UI (106.84 KB, image/png)
2012-03-02 07:25 UTC, ashrao
Details
Style Builder screenshot showing the correct value of the attribute being shown in the UI. (104.41 KB, image/png)
2012-03-02 07:25 UTC, ashrao
Details

Note You need to log in before you can comment on or make changes to this bug.
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