328829-1-ref.xhtml (713B)
1 <?xml version="1.0" encoding="UTF-8"?> 2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 3 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 4 <html lang="en" xml:lang="en" 5 xmlns="http://www.w3.org/1999/xhtml" 6 xmlns:svg="http://www.w3.org/2000/svg"> 7 <head> 8 <title>Testcase, bug 328829</title> 9 <style type="text/css"> 10 html, body, svg { margin: 0; padding: 0; border: none; } 11 body > svg { display:block; } /* don't leave room for descenders! */ 12 </style> 13 </head> 14 <body> 15 16 <svg:svg width="100%" height="100%"> 17 <svg:g style="font-size: 24px"> 18 <svg:foreignObject width="100%" height="100%"> 19 <span>hello</span> <span>world</span> 20 </svg:foreignObject> 21 </svg:g> 22 </svg:svg> 23 24 </body> 25 </html>