1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/base/crashtests/344300-1-inner.xhtml Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,36 @@ 1.4 +<hx xmlns="http://www.w3.org/1999/xhtml" style="display: table;"> 1.5 +<script> 1.6 +/*template*/ 1.7 +var doc = document; 1.8 +if (document.getElementById('content')) 1.9 + doc = document.getElementById('content').contentDocument; 1.10 + 1.11 +function addstyles(){ 1.12 +var x=doc.createElementNS('http://www.w3.org/1999/xhtml','style'); 1.13 +x.innerHTML='\ 1.14 +*::first-line { text-transform: uppercase; background-color:green; font-size:110%;}\ 1.15 +*::after { content:"anonymous text"; float:right;border:3px solid black;text-transform: uppercase;}\ 1.16 +*::before { content:"before text"; float:right;border:3px solid black;font-size: 10px;}\ 1.17 +*::-moz-selection { outline: 2px solid blue;}\ 1.18 +'; 1.19 +doc.documentElement.appendChild(x); 1.20 +} 1.21 + 1.22 +function removestyles(i){ 1.23 + 1.24 + 1.25 +var x=doc.getElementsByTagName('*'); 1.26 + 1.27 +if (x[i]) 1.28 + { 1.29 +x[i].removeAttribute('style'); 1.30 +} 1.31 +else { i = 0; } 1.32 + i++; 1.33 +setTimeout(removestyles,50,i); 1.34 +} 1.35 +setTimeout(addstyles,200); 1.36 +setTimeout(removestyles,500,0); 1.37 +/*template*/ 1.38 +</script> 1.39 +<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> 1.40 \ No newline at end of file