Wed, 31 Dec 2014 07:16:47 +0100
Revert simplistic fix pending revisit of Mozilla integration attempt.
michael@0 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
michael@0 | 2 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" |
michael@0 | 3 | "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> |
michael@0 | 4 | <html lang="en" xml:lang="en" class="reftest-wait" |
michael@0 | 5 | xmlns="http://www.w3.org/1999/xhtml" |
michael@0 | 6 | xmlns:svg="http://www.w3.org/2000/svg"> |
michael@0 | 7 | <head> |
michael@0 | 8 | <title>Testcase, bug 328829</title> |
michael@0 | 9 | <style type="text/css"> |
michael@0 | 10 | html, body, svg { margin: 0; padding: 0; border: none; } |
michael@0 | 11 | body > svg { display:block; } /* don't leave room for descenders! */ |
michael@0 | 12 | </style> |
michael@0 | 13 | <script type="application/javascript"> |
michael@0 | 14 | |
michael@0 | 15 | function run() { |
michael@0 | 16 | document.getElementById('fonted').style.fontSize = '24px'; |
michael@0 | 17 | document.documentElement.removeAttribute('class'); |
michael@0 | 18 | } |
michael@0 | 19 | |
michael@0 | 20 | document.addEventListener("MozReftestInvalidate", run, false); |
michael@0 | 21 | </script> |
michael@0 | 22 | </head> |
michael@0 | 23 | <body id="fonted" style="font-size: 12px"> |
michael@0 | 24 | |
michael@0 | 25 | <svg:svg width="100%" height="100%"> |
michael@0 | 26 | <svg:g> |
michael@0 | 27 | <svg:foreignObject width="100%" height="100%"> |
michael@0 | 28 | <span>hello</span> <span>world</span> |
michael@0 | 29 | </svg:foreignObject> |
michael@0 | 30 | </svg:g> |
michael@0 | 31 | </svg:svg> |
michael@0 | 32 | |
michael@0 | 33 | </body> |
michael@0 | 34 | </html> |