layout/base/crashtests/331679-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 <title>Bug 331679 testcase</title>
     6 <style id="style">
     7 .cat::-moz-table-row-group { overflow: scroll; }
     8 .toad { position: absolute; }
     9 </style>
    11 <script>
    13 function init()
    14 {
    15   document.getElementById("style").textContent += "table::-moz-table-row { opacity: 0.2; }";
    16   document.getElementById("row").setAttribute("class", "toad");
    17   document.getElementById("table").setAttribute("class", "cat");
    18 }
    20 window.addEventListener("load", init, false);
    22 </script>
    24 </head>
    26 <body>
    28 <table id="table">
    29  <tr id="row">
    30   <td>Cell</td>
    31  </tr>
    32 </table>
    35 </body>
    36 </html>

mercurial