layout/base/crashtests/344300-1-inner.xhtml

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

     1 <hx xmlns="http://www.w3.org/1999/xhtml" style="display: table;">
     2 <script>
     3 /*template*/
     4 var doc = document;
     5 if (document.getElementById('content'))
     6   doc = document.getElementById('content').contentDocument;
     8 function addstyles(){
     9 var x=doc.createElementNS('http://www.w3.org/1999/xhtml','style');
    10 x.innerHTML='\
    11 *::first-line { text-transform: uppercase; background-color:green; font-size:110%;}\
    12 *::after { content:"anonymous text"; float:right;border:3px solid black;text-transform: uppercase;}\
    13 *::before { content:"before text"; float:right;border:3px solid black;font-size: 10px;}\
    14 *::-moz-selection { outline: 2px solid blue;}\
    15 ';
    16 doc.documentElement.appendChild(x);
    17 }
    19 function removestyles(i){
    22 var x=doc.getElementsByTagName('*');
    24 if (x[i])
    25   {
    26 x[i].removeAttribute('style');
    27 }
    28 else { i = 0; }
    29   i++;
    30 setTimeout(removestyles,50,i);
    31 }
    32 setTimeout(addstyles,200);
    33 setTimeout(removestyles,500,0);
    34 /*template*/
    35 </script>
    36 <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>

mercurial