summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/mediaqueries/scripting-print-script.html
blob: e80dba4d83f586df8ba48fde04356a0361861b69 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<!DOCTYPE html>
<link rel="help" href="https://drafts.csswg.org/mediaqueries/#scripting">
<link rel="match" href="scripting-print-script-ref.html">
<style>
  #script {
    display: none;
  }

  @media (scripting) {
    #script {
      display: block;
    }
  }
</style>
<div id="script">
  Script is enabled
</div>