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

Summary: Style builder is not activated while having simple error in different rule
Product: web Reporter: Jindrich Sedek <jsedek>
Component: CSS Visual ToolsAssignee: Marek Fukala <mfukala>
Severity: blocker CC: dkonecny
Priority: P3 Keywords: SIMPLEFIX
Version: 6.x   
Hardware: Sun   
OS: All   
Issue Type: DEFECT Exception Reporter:

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 (upload may still be in progress)
User: Marek Fukala <>
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
NetBeans IDE Dev (Build 201004270201)