This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
ideas:media-features [2012/01/19 08:41]
florian created
ideas:media-features [2014/12/09 15:48] (current)
Line 5: Line 5:
 <​note>​See [[http://​www.w3.org/​mid/​4F0FE53B.30203@inkedblade.net|here]] for the resolution in which the CSS WG approved of drafting this feature.</​note>​ <​note>​See [[http://​www.w3.org/​mid/​4F0FE53B.30203@inkedblade.net|here]] for the resolution in which the CSS WG approved of drafting this feature.</​note>​
-<​code>​Value<​integer>​ +http://dev.w3.org/​csswg/​css4-mediaqueries/#​script
-Applies to: all media types +
-Accepts min/max prefixes: no +
-</code> +
- +
-The '​script'​ media feature is used to query whether ECMAscript is supported on the current documentIf the user agent supports ECMAscript, and that support is active for the current document the value must be 1Otherwise, the value must be 0. +
- +
-Some user agents have the ability to turn off ECMAscript support on a per script basis or per domain basis, allowing some, but not all, scripts to run in a particular document. The '​script'​ media feature does not allow fine grained detection of which script is allowed to run. In this scenario, the value of the '​script'​ media feature should be 1 if scripts originating on the same domain as the document are allowed to run, and 0 otherwise. +
- +
-<​note>​A future level of CSS may extend this media feature to allow fine-grained detection of which script ​is allowed to run.</​note>​ +
- +
-Only 0 and 1 are valid values. (This includes -0.) Thus everything else creates a malformed media query. +
- +
ideas/media-features.txt · Last modified: 2014/12/09 15:48 (external edit)
Recent changes RSS feed Valid XHTML 1.0 Valid CSS Driven by DokuWiki