blob: 555c401fedf75c3ec899c0294a4ede626b27cb9c [file] [log] [blame]
<!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.1 plus MathML 2.0 plus SVG 1.1//EN"
"http://www.w3.org/2002/04/xhtml-math-svg/xhtml-math-svg.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<title>Bug 13052 - Text not rendered in a second inline SVG element</title>
</head><body>
<p>Below two svg areas are shown. Both should have the text aligned to the paths in the same way (Bug 13052).</p>
<div>
<svg xmlns="http://www.w3.org/2000/svg" height="100" width="100">
<path d="M38,38c0-12,24-15,23-2c0,9-16,13-16,23v7h11v-4c0-9,17-12,17-27c-2-22-45-22-45,3zM45,70h11v11h-11z" fill="#371"/>
<text x="10px" y="50px">PASS</text>
</svg>
<svg xmlns="http://www.w3.org/2000/svg" height="100" width="100">
<path d="M38,38c0-12,24-15,23-2c0,9-16,13-16,23v7h11v-4c0-9,17-12,17-27c-2-22-45-22-45,3zM45,70h11v11h-11z" fill="#371"/>
<text x="10px" y="50px">PASS</text>
</svg>
</div>
</body>
</html>