summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-properties-values-api/at-property-non-matching-media-crash.html
blob: c5b894f349669cf0664e3f4593d2f02cbbd2f728 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<!DOCTYPE html>
<html class="test-wait">
  <link rel="help" href="https://crbug.com/1085994">
  <style id="style">
    @property --x {
      syntax: "<length>";
      inherits: false;
      initial-value: 0px;
    }
  </style>
  <script>
      document.documentElement.offsetTop;
      style.setAttribute('media', 'braille');
      document.documentElement.className = '';
  </script>
  <p>
    PASS if no crash
  </p>
</html>