This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
Spec section: https://html.spec.whatwg.org/multipage/rendering.html#hidden-elements > The user agent is expected to force the 'display' property of noscript elements for whom scripting is enabled to compute to 'none', irrespective of CSS rules. Can't this just be specified via CSS instead using the `scripting` media feature (http://dev.w3.org/csswg/mediaqueries-4/#scripting )? Something like: ``` noscript { display: block; } @media (scripting: none) { noscript { display: none !important; } } ```
(In reply to Chris Rebert from comment #0) Erm, rather, make that: ``` @media (scripting: none) { noscript { display: block; } } @media (scripting: enabled), (scripting: initial-only) { noscript { display: none !important; } } ```
Fixed by https://github.com/whatwg/html/pull/25