blob: 45e6c833760d5fd28a4232466e7753886204225d [file] [log] [blame]
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>foreignObject can be transformed</title>
<style type="text/css">
p, div { color: navy; margin: 10px 0; }
.test { fill: #EEEEEE; font-size: 10px; }
.control { width: 400px; height: 120px; background: #EEEEEE; font-size: 100px; }
</style>
</head>
<body onload="runRepaintTest()">
<p>The word "TEST " should appear twice below, the same size each time.</p>
<svg xmlns="http://www.w3.org/2000/svg" width="400" height="120" class="test">
<rect x="0" y="0" width="60" height="12" transform="scale(10)"/>
<foreignObject x="0" y="0" width="60" height="10" transform="scale(10)">
<div xmlns="http://www.w3.org/1999/xhtml"> TEST </div>
</foreignObject>
</svg>
<div class="control">TEST</div>
<script>var zoomCount = 2;</script>
<script src="../../../fast/repaint/resources/repaint.js"/>
<script src="../resources/testPageZoom.js"/>
</body>
</html>