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 14143 - Selectors Level 3 - E:javascript AND E:not(:javascript)
Summary: Selectors Level 3 - E:javascript AND E:not(:javascript)
Status: NEW
Alias: None
Product: CSS
Classification: Unclassified
Component: Media Queries (show other bugs)
Version: unspecified
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: Tantek
QA Contact: public-css-bugzilla
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-13 19:11 UTC by bugzilla33
Modified: 2012-02-19 10:33 UTC (History)
3 users (show)

See Also:


Attachments

Description bugzilla33 2011-09-13 19:11:06 UTC
Very useful:

E:javascript
an E element when javascript enabled


E:not(:javascript)
an E element when javascript disabled
Comment 1 Philippe Le Hegaret 2012-01-19 13:43:06 UTC
It seems that you need to raise this against 
 http://www.w3.org/TR/selectors4/

I can't really imagine a reason why this would need to go into the HTML specification.
Comment 2 fantasai 2012-02-19 10:33:01 UTC
Actually, this belongs to Media Queries, since the CSSWG is planning to handle it there. (It's not testing a quality of the element, but of the document environment.)