summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-properties-values-api/registered-property-change-style-002-ref.html
blob: 758e769d7821fa55b82e339883f1f9c4d4f0d5e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<!DOCTYPE HTML>
<html>
  <head>
    <meta charset="utf-8">
    <title>Invalidation after CSS.registerProperty (reference)</title>
    <style>
      .failure {
          background: pink;
      }
      #visibility {
          visibility: hidden;
      }
      #display {
          display: none;
      }
    </style>
  </head>
  <body>
    <p>This test PASS if you see no red in the list below.</p>
    <ul>
      <li>visibility <span id="visibility" class="failure">FAIL</span></li>
      <li>display <span id="display" class="failure">FAIL</span></li>
    </ul>
  </body>
</html>