diff options
author | Matt A. Tobin <mattatobin@localhost.localdomain> | 2018-02-02 04:16:08 -0500 |
---|---|---|
committer | Matt A. Tobin <mattatobin@localhost.localdomain> | 2018-02-02 04:16:08 -0500 |
commit | 5f8de423f190bbb79a62f804151bc24824fa32d8 (patch) | |
tree | 10027f336435511475e392454359edea8e25895d /layout/generic/crashtests/309322-3.html | |
parent | 49ee0794b5d912db1f95dce6eb52d781dc210db5 (diff) | |
download | UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.gz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.lz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.xz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.zip |
Add m-esr52 at 52.6.0
Diffstat (limited to 'layout/generic/crashtests/309322-3.html')
-rw-r--r-- | layout/generic/crashtests/309322-3.html | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/layout/generic/crashtests/309322-3.html b/layout/generic/crashtests/309322-3.html new file mode 100644 index 000000000..96148ffe4 --- /dev/null +++ b/layout/generic/crashtests/309322-3.html @@ -0,0 +1,48 @@ +<html><head> +<title>Testcase3 bug 309322 - Evil testcase using multiple display:table-caption causes crash</title> +<style> +*[toggle_style],*[toggle_style1],*[toggle_style2],*[toggle_style3],*[toggle_style4]{ +display:table-caption; +} +</style> +<script> +function doe(i){ +var x=document.body.getElementsByTagName('*'); +var xl=x.length;i=i+1; +x[i-1].removeAttribute('toggle_style'); +x[i].setAttribute('toggle_style','toggle_style'); +if ((i+1)<xl) {x[i+1].setAttribute('toggle_style1','toggle_style'); +x[i].removeAttribute('toggle_style1'); +} +if ((i+2)<xl) {x[i+2].setAttribute('toggle_style2','toggle_style'); +x[i+1].removeAttribute('toggle_style2'); +} +if ((i+3)<xl) {x[i+3].setAttribute('toggle_style3','toggle_style'); +x[i+2].removeAttribute('toggle_style3'); +} +if ((i+4)<xl) {x[i+4].setAttribute('toggle_style4','toggle_style'); +x[i+3].removeAttribute('toggle_style4'); +} +if ((i+4)==xl) { +x[i+3].removeAttribute('toggle_style4'); +} +if ((i+3)==xl) { +x[i+2].removeAttribute('toggle_style3'); +} +if ((i+2)==xl) { +x[i+1].removeAttribute('toggle_style2'); +} +if ((i+1)==xl) { +x[i].removeAttribute('toggle_style1'); +} +setTimeout(doe,20,i); +} + + +</script></head><body onload="doe(3)"> +<button onclick="doe(3)">Clicking on this button should not create extra "Galloway" text</button> +<table><tbody><tr><td> +<span><br></span> +<a href="#">Galloway</a> +</td></tr></tbody></table> +</body></html> |