4 <title>size of box zoom test
</title>
17 border-right:
1px solid black;
42 <div id=
"ruler"></div>
43 <div id=
"test"><div></div></div>
47 var testContainer
= document
.getElementById('test');
48 var rulerElement
= document
.getElementById('ruler');
52 rulerElement
.innerHTML
= '';
53 for (var i
= 0; i
< 10; i
++) {
54 rulerElement
.appendChild(document
.createElement('div'));
55 rulerElement
.lastChild
.appendChild(document
.createTextNode(50 + i
* 50));
61 var testElement
= document
.createElement('div');
62 testElement
.style
.zoom
= zoom
+ '%';
63 for (var i
= 0; i
< 100; i
++)
64 testElement
.appendChild(document
.createElement('div'));
65 testContainer
.appendChild(testElement
);