25 lines
727 B
HTML
25 lines
727 B
HTML
<!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>
|