blob: 820010489d000449ff054603baa3f459f34c1202 [file] [log] [blame]
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="head">
<script src="../../resources/js-test-pre.js"></script>
<script>
window.jsTestIsAsync = true;
var count = 0;
for (i = 0; i != 50; i++) {
setTimeout(function() {
var head = document.getElementsByTagName("head")[0];
var style = document.createElement("style");
style.innerHTML=":first-of-type {-webkit-border-image:-webkit-cross-fade(url(#head), url(#head), 100%);}";
head.appendChild(style);
count++;
if (count == 50) {
testPassed("test did not crash");
finishJSTest();
}
}, 36);
}
</script>
<script src="../../resources/js-test-post.js"></script>
</head>
</html>