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.

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

mercurial