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 145259 - Style builder is not activated while having simple error in different rule
Summary: Style builder is not activated while having simple error in different 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: Marek Fukala
URL:
Keywords: SIMPLEFIX
Depends on:
Blocks:
 
Reported: 2008-08-27 09:39 UTC by Jindrich Sedek
Modified: 2010-04-28 13:30 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 2008-08-27 09:39:03 UTC
create new CSS style
use this code inside:
----------------------------
html{ margin: 0; padding: 0; }
h1 { font-size: 1em; font-weight: normal; font-style: normal; }

#sp-result-none.viewall {bottom: -27px; *bottom: -27px;}
----------------------------
4th line is marked with error because of "*"
set cursor at first or second line -> style builder doesn't start running (No Css Rule Selected)
style builder should not be running for rule on 4th line, but it should be running for the rest of document - incorrect 
rules should be ignored
Comment 1 David Konecny 2008-11-12 23:01:08 UTC
Worth to fix.
Comment 2 Marek Fukala 2009-04-24 16:23:31 UTC
Needs to be fixed in StyleBuilder
Comment 3 Marek Fukala 2010-04-17 07:42:38 UTC
fixed in web-main#6995e0138aef

The SB is disabled only if the caret is set to a rule with an error. Error/s in another rule/s doesn't matter.
Comment 4 Quality Engineering 2010-04-18 04:18:31 UTC
Integrated into 'main-golden', will be available in build *201004180201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/6995e0138aef
User: Marek Fukala <mfukala@netbeans.org>
Log: #145259 -  Style builder is not activated while having simple error in different rule
Comment 5 Jindrich Sedek 2010-04-28 13:30:11 UTC
verified.
NetBeans IDE Dev (Build 201004270201)