summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/631352-1.html
blob: 197e0aadc94bae6002fcd0cfa29a0b5d1130279b (plain)
1
2
3
4
5
6
7
8
9
10
11
<!DOCTYPE html>
<html>
  <head>
    <style>
      div:not(:lang(foo)) { display: none; }
    </style>
  </head>
  <body onload="document.body.offsetWidth; document.body.lang = 'foo'">
    <div>This text should be visible</div>
  </body>
</html>