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 207572 - css :not selector
Summary: css :not selector
Status: VERIFIED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: CSS Visual Tools (show other bugs)
Version: 7.1
Hardware: Macintosh Mac OS X
: P2 normal (vote)
Assignee: Marek Fukala
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-20 14:36 UTC by mcfedr
Modified: 2012-02-14 08:04 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 mcfedr 2012-01-20 14:36:52 UTC
the ":not" selector is not recognised, and worse is that the rest of the stylesheet is then not highlighted.
So in a way this is two bugs,
-:not
-unknown selectors should be highlighted as such, but not cause the rest of the document to stop being parsed
Comment 1 mcfedr 2012-01-24 13:37:25 UTC
This is also seen to happen for "@-webkit-keyframes" and probably related things. 
Again it would be nice to recognise them, but if not, at least move past the error.
Comment 2 Marek Fukala 2012-02-09 16:00:20 UTC
already fixed in 7.2

for example following code works fine:

body > h2:not(:first-of-type):not(:last-of-type) {
    ...
}
Comment 3 Marek Fukala 2012-02-10 10:18:01 UTC
the code samples from this issue related to the problem works fine. verifying so I can put it into 7.1patch (Feb 13th deadline)
Comment 4 Marek Fukala 2012-02-10 15:46:34 UTC
changeset:   219362:c782618ab772
branch:      release71_fixes
summary:     manually transplanting 71patch1-candidate issues into the release71_fixes branch. #205901, 205925, 207572, 205997, 205893  by transferring every trunk change up to revision 7cff4ed511e4 from css.lib and css.editor modules.
Comment 5 Vladimir Riha 2012-02-14 08:04:11 UTC
verified 7.1.1.

Product Version: NetBeans IDE 7.1.1 RC1 (Build 201202132200)