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 - Valid CSS marked as invalid
Summary: Valid CSS marked as invalid
Status: RESOLVED DUPLICATE of bug 110333
Alias: None
Product: web
Classification: Unclassified
Component: HTML Editor (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Marek Fukala
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-03 15:57 UTC by tkellerer
Modified: 2009-05-18 10:47 UTC (History)
0 users

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 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 ***