blob: 9981861d23f75619a8c28e1676078dce35281569 [file] [log] [blame]
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>foreignObject can be styled</title>
<style type="text/css">
p { color: navy; }
div { text-align: center; }
</style>
</head>
<body onload="runRepaintTest()">
<p>There should be a blue circle with the word "TEST" in it below.</p>
<svg xmlns="http://www.w3.org/2000/svg" width="400" height="400">
<rect x="0" y="0" width="400" height="400" fill="blue"/>
<circle cx="200" cy="200" r="200" fill="navy"/>
<foreignObject x="0" y="175" width="400" height="50" color="white" font-size="50">
<div xmlns="http://www.w3.org/1999/xhtml"> TEST </div>
</foreignObject>
</svg>
<script>var zoomCount = 2;</script>
<script src="../../../fast/repaint/resources/repaint.js"/>
<script src="../resources/testTextZoom.js"/>
</body>
</html>