1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/bugs/328829-2.xhtml Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,34 @@ 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" class="reftest-wait" 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 + document.getElementById('fonted').style.fontSize = '24px'; 1.20 + document.documentElement.removeAttribute('class'); 1.21 + } 1.22 + 1.23 + document.addEventListener("MozReftestInvalidate", run, false); 1.24 + </script> 1.25 +</head> 1.26 +<body id="fonted" style="font-size: 12px"> 1.27 + 1.28 +<svg:svg width="100%" height="100%"> 1.29 + <svg:g> 1.30 + <svg:foreignObject width="100%" height="100%"> 1.31 + <span>hello</span> <span>world</span> 1.32 + </svg:foreignObject> 1.33 + </svg:g> 1.34 +</svg:svg> 1.35 + 1.36 +</body> 1.37 +</html>