1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/bugs/328829-1.xhtml Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,32 @@ 1.4 +<?xml version="1.0" encoding="UTF-8"?> 1.5 +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 1.6 + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 1.7 +<html lang="en" xml:lang="en" 1.8 + xmlns="http://www.w3.org/1999/xhtml" 1.9 + xmlns:svg="http://www.w3.org/2000/svg"> 1.10 +<head> 1.11 + <title>Testcase, bug 328829</title> 1.12 + <style type="text/css"> 1.13 + html, body, svg { margin: 0; padding: 0; border: none; } 1.14 + body > svg { display:block; } /* don't leave room for descenders! */ 1.15 + </style> 1.16 + <script type="application/javascript"> 1.17 + 1.18 + function run() { 1.19 + setTimeout("document.getElementById('fonted').style.fontSize = '24px'", 0); 1.20 + } 1.21 + 1.22 + </script> 1.23 +</head> 1.24 +<body onload="run()"> 1.25 + 1.26 +<svg:svg width="100%" height="100%"> 1.27 + <svg:g id="fonted" style="font-size: 12px"> 1.28 + <svg:foreignObject width="100%" height="100%"> 1.29 + <span>hello</span> <span>world</span> 1.30 + </svg:foreignObject> 1.31 + </svg:g> 1.32 +</svg:svg> 1.33 + 1.34 +</body> 1.35 +</html>