layout/base/crashtests/488390-1.xhtml

Fri, 16 Jan 2015 04:50:19 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 16 Jan 2015 04:50:19 +0100
branch
TOR_BUG_9701
changeset 13
44a2da4a2ab2
permissions
-rw-r--r--

Replace accessor implementation with direct member state manipulation, by
request https://trac.torproject.org/projects/tor/ticket/9701#comment:32

     1 <html xmlns="http://www.w3.org/1999/xhtml">
     2 <head>
     3 <script type="text/javascript">
     5 function boom()
     6 {
     7   document.getElementById("select").removeAttribute("multiple");
     8   // Trigger a reflow
     9   document.body.style.width = 0;
    10   // And flush layout
    11   document.body.offsetWidth;
    12 }
    14 </script>
    15 </head>
    17 <body onload="boom();"><span>&#x202E;text text text text text&#x202C;<span><dir/></span><span><tr><select id="select" multiple="multiple"/></tr></span></span></body>
    18 </html>

mercurial