summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/315620-1-ref.html
blob: b2a443226832a41ba1a00bf574320698df012494 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<html>
<head>
  <style>
    div { background: red; height: 3em; }
    div:empty { background: lime; }
  </style>
</head>
<body>
  <div style="display: none"></div>
  <script>
    var div = document.getElementsByTagName("div")[0];
    div.style.display = "";
  </script>
</body>
</html>