summaryrefslogtreecommitdiffstats
path: root/layout/base/crashtests/344300-1-inner.xhtml
blob: 3e980e8c7b19e4cbc736445c3cdf802a808765d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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>