summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/363247-1.html
blob: a017f8fa2c4e013c9ea62856ff20dda6ed82eb1e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<html>
  <head>
    <title>bug 363247</title>
    <link rel="stylesheet" href="data:text/css,body {font-size: 10pt}" id="main-css">
  </head>
  <body>
    <table id="table" style="position: absolute; font-size: inherit;">
      <tbody>
        <tr>
          <td>foo</td><td>bar</td>
        </tr>
      </tbody>
    </table>
    <script>
      document.body.offsetHeight;
      var node = document.getElementById("main-css");
      node.setAttribute("href", 'data:text/css,body {font-size: 20pt}');
    </script>
  </body>
</html>