blob: a2b2672625f0a07a9e835dc45940252f819d375d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
<!-- The blue and green text boxes should not overlap -->
<html>
<script src="../../resources/ahem.js"></script>
<body style="font: 1em/1 Ahem, sans-serif;">
<ruby id="test" style="color: blue">
ABCD
</ruby>
<div style="font-size: 800%; color: green">
EFGH
</div>
<script>
document.body.offsetTop;
var test = document.getElementById("test");
test.style.fontSize = "800%";
</script>
</body>
</html>
|