mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-06 09:05:45 +00:00
21 lines
532 B
HTML
21 lines
532 B
HTML
<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>
|