W3C home > Mailing lists > Public > www-style@w3.org > November 2013

[mediaqueries4] does script MQ react to changes?

From: David Newton <david@davidnewton.ca>
Date: Mon, 4 Nov 2013 13:27:22 -0500
Message-Id: <0B2F9F3F-0086-4DC3-9F8E-C3F775839B15@davidnewton.ca>
To: www-style Mailing List <www-style@w3.org>
The Editor’s Draft for MQ Level 4 says about `script`:

> The ‘script’ media feature is used to query whether ECMAscript is supported on the current document. If the user agent supports ECMAscript, and that support is active for the current document the value must be 1. Otherwise, the value must be 0.

Given the “support is active” requirement, will the value of `script` respond to changes in the browser, the same way a `min-width` query will respond to viewport changes? If so, what would trigger the change?

Would it change from 1 to 0 if a script breaks/errors out? Presumably not, because there might be other scripts that are still functional.

Would it change if a user disables JavaScript while viewing a page? Current behaviour suggests that JavaScript would continue to be enabled until the user reloads the page, so again, presumably not.

Received on Monday, 4 November 2013 18:33:27 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:36 UTC