diff options
Diffstat (limited to '')
-rw-r--r-- | layout/generic/crashtests/769303-1.html | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/layout/generic/crashtests/769303-1.html b/layout/generic/crashtests/769303-1.html new file mode 100644 index 0000000000..9a0ff128e3 --- /dev/null +++ b/layout/generic/crashtests/769303-1.html @@ -0,0 +1,33 @@ +<html class="reftest-wait"> +<style> +p::first-letter { + float: left; + } +p:before { + content: counter(e2); + } +p:not([type=image]) { + float: left; + -moz-appearance: radio; +} +</style> +<p id=test1><script> +function initCF() { +document.removeEventListener("DOMContentLoaded", initCF); +test2 = test1.cloneNode(false); +test3 = test2.cloneNode(false); +document.documentElement.appendChild(test3); +setTimeout("CFcrash()", 21); +} +document.addEventListener("DOMContentLoaded", initCF); +window.onload = initCF; + +var gCallCount = 0; +function CFcrash() { +test3.appendChild(document.createTextNode(" bBCV5.3kvwoaU O8k l i!4c`Ei;N-#/ Qg QBZi$8A [8xlL#cN U4l !%lP S% Z9[H } {2Jk A00F8 TjQQ1KHx zf k]F-G ,%lz8?@ 2ZB!-")); +window.scrollBy(-463, -480); +if (++gCallCount == 2) { + document.documentElement.classList.remove("reftest-wait"); +} +} +</script> |