17 lines
652 B
HTML
17 lines
652 B
HTML
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<body>
|
|
<div style="width: 100px; height: 100px; position: absolute; top: 30px; left: 0; background-color: red;"></div>
|
|
<div style="width: 200px; height: 200px; position: absolute; top: 30px; left: 0;">
|
|
<svg id="svgRoot" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100">
|
|
<rect id="rect" width="50%" height="50%" fill="green" />
|
|
</svg>
|
|
</div>
|
|
<script>
|
|
if (window.eventSender)
|
|
eventSender.textZoomIn();
|
|
else
|
|
document.body.appendChild(document.createTextNode("Use the View menu to zoom in. There should be no red."));
|
|
</script>
|
|
</body>
|
|
</html>
|