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 123266

Summary: Valid CSS marked as invalid
Product: web Reporter: tkellerer <tkellerer>
Component: HTML EditorAssignee: Marek Fukala <mfukala>
Status: RESOLVED DUPLICATE    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description tkellerer 2007-12-03 15:57:37 UTC
The follow CSS code

ul.dropDown ul {
  height: expression(this.scrollHeight > 120 ? "120px" : "auto"); 
}

the line starting with height: is marked as an error in the editor. 
But to my knowledge this is valid CSS (at least it is recognized correctly by FF and IE)

It also breaks the Navigator display. Anything after the 120 is no displayed there (the last entry in the Navigator is
"120 ?" - without the quotes)
Comment 1 Marek Fukala 2007-12-04 09:21:46 UTC
The code is not valid css according to the spec, check on http://jigsaw.w3.org/css-validator/. OTOH I admit we should
support also this non-spec extenstions.
Comment 2 Marek Fukala 2008-02-26 11:01:30 UTC

*** This issue has been marked as a duplicate of 110333 ***