blob: 95288f1a8084ff2403ab3cbb5abcc6f96d68f89e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
<!DOCTYPE HTML>
<html>
<head>
<style type="text/css">
.cell {display:table-cell}
</style>
<script type="text/javascript">
function doTest() {
ss = document.styleSheets[0];
ss.cssRules[0].style.display="block";
}
</script>
</head>
<body onload="doTest()">
<div class="cell">foo</div><div class="cell">bar</div><div class="cell">baz</div>
</body>
</html>
|