layout/reftests/forms/fieldset/dynamic-legend-scroll-1.html

Thu, 15 Jan 2015 15:55:04 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 15:55:04 +0100
branch
TOR_BUG_9701
changeset 9
a63d609f5ebe
permissions
-rw-r--r--

Back out 97036ab72558 which inappropriately compared turds to third parties.

     1 <!DOCTYPE HTML>
     2 <html class="reftest-wait">
     3 <head>
     4 <style>
     5 fieldset { 
     6   background:pink;
     7   overflow:hidden;
     8   height:100px;
     9 }
    10 legend::after { content:"legend"; }
    11 p {
    12   background:lime;
    13   height:20px;
    14 }
    15 </style>
    16 </head>
    17 <body>
    18 <fieldset id="f1"><p></p></fieldset>
    19 <br>
    20 <fieldset id="f2"><p></p></fieldset>
    21 <br>
    22 <fieldset id="f3"></fieldset>
    23 <script>
    24 function doTest() {
    25   f1.appendChild(document.createElement('legend'));
    26   f2.insertBefore(document.createElement('legend'), f2.firstChild);
    27   f3.appendChild(document.createElement('legend'));
    28   document.documentElement.removeAttribute("class");
    29 }
    30 window.addEventListener("MozReftestInvalidate", doTest);
    31 </script>
    32 </body>
    33 </html>

mercurial