1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/svg/crashtests/780963-1.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,27 @@ 1.4 +<!DOCTYPE html> 1.5 +<html> 1.6 + <head> 1.7 + <script> 1.8 + 1.9 +function tweak() { 1.10 + document.body.offsetTop; 1.11 + 1.12 + var feImage = document.getElementsByTagName("feImage")[0]; 1.13 + feImage.setAttribute('filter', 'url(#f1)') 1.14 + document.body.offsetTop; 1.15 + 1.16 + var child = document.createElementNS('http://www.w3.org/2000/svg', 'g') 1.17 + feImage.appendChild(child); 1.18 +} 1.19 + 1.20 + </script> 1.21 + </head> 1.22 + <body onload="tweak()"> 1.23 + <svg xmlns="http://www.w3.org/2000/svg"> 1.24 + <filter filterUnits="userSpaceOnUse" id="f1"> 1.25 + <feImage/> 1.26 + </filter> 1.27 + <rect height="100" width="100"/> 1.28 + </svg> 1.29 + </body> 1.30 +</html>