diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:47:29 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:47:29 +0000 |
commit | 0ebf5bdf043a27fd3dfb7f92e0cb63d88954c44d (patch) | |
tree | a31f07c9bcca9d56ce61e9a1ffd30ef350d513aa /layout/base/crashtests/344300-1-inner.xhtml | |
parent | Initial commit. (diff) | |
download | firefox-esr-0ebf5bdf043a27fd3dfb7f92e0cb63d88954c44d.tar.xz firefox-esr-0ebf5bdf043a27fd3dfb7f92e0cb63d88954c44d.zip |
Adding upstream version 115.8.0esr.upstream/115.8.0esr
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'layout/base/crashtests/344300-1-inner.xhtml')
-rw-r--r-- | layout/base/crashtests/344300-1-inner.xhtml | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/layout/base/crashtests/344300-1-inner.xhtml b/layout/base/crashtests/344300-1-inner.xhtml new file mode 100644 index 0000000000..3e980e8c7b --- /dev/null +++ b/layout/base/crashtests/344300-1-inner.xhtml @@ -0,0 +1,36 @@ +<hx xmlns="http://www.w3.org/1999/xhtml" style="display: table;"> +<script> +/*template*/ +var doc = document; +if (document.getElementById('content')) + doc = document.getElementById('content').contentDocument; + +function addstyles(){ +var x=doc.createElementNS('http://www.w3.org/1999/xhtml','style'); +x.innerHTML='\ +*::first-line { text-transform: uppercase; background-color:green; font-size:110%;}\ +*::after { content:"anonymous text"; float:right;border:3px solid black;text-transform: uppercase;}\ +*::before { content:"before text"; float:right;border:3px solid black;font-size: 10px;}\ +*::-moz-selection { outline: 2px solid blue;}\ +'; +doc.documentElement.appendChild(x); +} + +function removestyles(i){ + + +var x=doc.getElementsByTagName('*'); + +if (x[i]) + { +x[i].removeAttribute('style'); +} +else { i = 0; } + i++; +setTimeout(removestyles,50,i); +} +setTimeout(addstyles,200); +setTimeout(removestyles,500,0); +/*template*/ +</script> +<var style="display: table-column-group;" onmouseover="this.removeAttribute('style')">ý <q style="display: table-footer-group;" onmouseover="this.removeAttribute('style')">ý </q><ins style="display: table-cell;" onmouseover="this.removeAttribute('style')">ý <p style="display: list-item;" onmouseover="this.removeAttribute('style')">ý </p><object style="display: -moz-inline-box;" onmouseover="this.removeAttribute('style')">ý </object></ins></var><table style="display: -moz-inline-box;" onmouseover="this.removeAttribute('style')">ý <ins style="display: -moz-inline-block;" onmouseover="this.removeAttribute('style')">ý </ins></table><body style="display: table-column-group;" onmouseover="this.removeAttribute('style')">ý </body><q style="display: table;" onmouseover="this.removeAttribute('style')">ý </q></hx>
\ No newline at end of file |