This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 4283 - CSS3 negation selector recognized from text area but not from upload file
Summary: CSS3 negation selector recognized from text area but not from upload file
Status: RESOLVED WORKSFORME
Alias: None
Product: CSSValidator
Classification: Unclassified
Component: upload file (show other bugs)
Version: CSS Validator
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: This bug has no owner yet - up for the taking
QA Contact: qa-dev tracking
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-28 01:42 UTC by Alexander Bocast
Modified: 2007-02-19 17:45 UTC (History)
0 users

See Also:


Attachments
test case as given in bug report (92 bytes, text/css)
2007-02-19 14:01 UTC, Olivier Thereaux
Details

Description Alexander Bocast 2007-01-28 01:42:38 UTC
CSS3 negation selectors are recognized when css file is pasted into text area but generates the error message: "Unknown pseudo-element or pseudo-class %s" for each instance when the same css file is uploaded. Here is a sample:

span.nudgedn:not([class="IE"]) { font-weight: inherit; color: inherit; font-size: inherit; }
Comment 1 Olivier Thereaux 2007-02-19 14:01:01 UTC
Created attachment 456 [details]
test case as given in bug report
Comment 2 Olivier Thereaux 2007-02-19 14:03:00 UTC
I tried with Attachment #456 [details] and got a similar result with upload and direct input, provided of course I set the profile as CSS3 in the options in both cases.

Are you sure you are choosing CSS3 as the profile?

Closing as WORKSFORME, for now.
Comment 3 Alexander Bocast 2007-02-19 17:45:34 UTC
Olivier -- Thanks for looking at this. Yes, I had double-checked the CSS3 setting, primarily because I thought that the negation selector should be recognized by CSS3 validation. A few days ago, I looked at it again and saw that the negation selector is now rejected for both forms of input, although the message still displayed %s formatting instead of the rejected selector string. I assumed that some action had been taken, but I am somewhat perplexed that the negation selector is rejected for CSS3. -- Alex