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 125008 - "<Not Set>" removes others if defined in the same line
Summary: "<Not Set>" removes others if defined in the same line
Status: RESOLVED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: CSS Visual Tools (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Marek Fukala
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-10 04:01 UTC by Masaki Katakai
Modified: 2008-09-27 05:31 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 Masaki Katakai 2008-01-10 04:01:02 UTC
It seems that setting "<Not Set>" removes other element if it's defines in the same line.

1. Start NB and open CSS file

2. Add the following line

  a:hover { color: #fff; background-color:#000; }

3. Select the line

4. Change "#000" to "<Not Set>" on CSS editor

 it should be

  a:hover { color: #fff; }

but the actual result is below. "color" is also deleted.

  a:hover { }

When I changed it to "orange" instead of "<Not Set>",
it works.

  a:hover { color: #fff; background-color:orange; }
Comment 1 Marek Fukala 2008-01-14 22:45:40 UTC
CSSEditorSuport's CSSModel events handling needs to be fixed.
Comment 2 Jiri Prox 2008-04-11 01:15:18 UTC
moving opened issues from TM <= 6.1 to TM=Dev
Comment 3 Marek Fukala 2008-09-26 16:10:39 UTC
fixed

changeset:   104122:240099bafd25
tag:         tip
user:        Marek Fukala <mfukala@netbeans.org>
date:        Fri Sep 26 17:08:33 2008 +0200
summary:     #125008 - "<Not Set>" removes others if defined in the same line
Comment 4 Quality Engineering 2008-09-27 05:31:22 UTC
Integrated into 'main-golden', will be available in build *200809270201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/240099bafd25
User: Marek Fukala <mfukala@netbeans.org>
Log: #125008 - "<Not Set>" removes others if defined in the same line