зеркало из https://github.com/mozilla/pjs.git
21 строка
532 B
HTML
21 строка
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>
|