get_scale_for_auto_zoom_into_div_test.html [plain text]
<html>
<body>
<div style="background-color: green; position: absolute; left: 0px; top: 0px; width: 640px; height: 480px">
<p>Top Div</p>
<div style="background-color: white; position: absolute; left: 200px; top: 200px; width: 200px; height: 150px">
<p id="innerDiv">Div to zoom to</p>
<div style="background-color: red; position: fixed; left: 220px; top: 350px; width: 160px; height: 40px">
<p id="innerInnerDiv">Div NOT to zoom to</p>
</div>
</div>
</div>
</body>
</html>