mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 11:55:49 +00:00
Bug 780963 crashtest. r=roc.
This commit is contained in:
parent
862dd24e8c
commit
abbc9d424f
27
layout/svg/crashtests/780963-1.html
Normal file
27
layout/svg/crashtests/780963-1.html
Normal file
@ -0,0 +1,27 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<script>
|
||||
|
||||
function tweak() {
|
||||
document.body.offsetTop;
|
||||
|
||||
var feImage = document.getElementsByTagName("feImage")[0];
|
||||
feImage.setAttribute('filter', 'url(#f1)')
|
||||
document.body.offsetTop;
|
||||
|
||||
var child = document.createElementNS('http://www.w3.org/2000/svg', 'g')
|
||||
feImage.appendChild(child);
|
||||
}
|
||||
|
||||
</script>
|
||||
</head>
|
||||
<body onload="tweak()">
|
||||
<svg xmlns="http://www.w3.org/2000/svg">
|
||||
<filter filterUnits="userSpaceOnUse" id="f1">
|
||||
<feImage/>
|
||||
</filter>
|
||||
<rect height="100" width="100"/>
|
||||
</svg>
|
||||
</body>
|
||||
</html>
|
@ -131,5 +131,6 @@ load 740627-2.svg
|
||||
load 757704-1.svg
|
||||
load 757718-1.svg
|
||||
load 768351.svg
|
||||
load 780963-1.html
|
||||
load 757751-1.svg
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user