layout/reftests/bugs/203727.html

Wed, 31 Dec 2014 13:27:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 13:27:57 +0100
branch
TOR_BUG_3246
changeset 6
8bccb770b82d
permissions
-rw-r--r--

Ignore runtime configuration files generated during quality assurance.

michael@0 1 <!DOCTYPE HTML>
michael@0 2 <html><head>
michael@0 3 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
michael@0 4 <title>Testcase for bug 203727</title>
michael@0 5 </head>
michael@0 6 <body>
michael@0 7
michael@0 8 <ol id="ol">
michael@0 9 <li>x</li>
michael@0 10 <li>x</li>
michael@0 11 <li>x</li>
michael@0 12 <li>x</li>
michael@0 13 <li>x</li>
michael@0 14 <li>x</li>
michael@0 15 <li>x</li>
michael@0 16 <li>x</li>
michael@0 17 <li>x</li>
michael@0 18 <li>x</li>
michael@0 19 <li>x</li>
michael@0 20 <li>x</li>
michael@0 21 <li>x</li>
michael@0 22 <li>x</li>
michael@0 23 <li>x</li>
michael@0 24 </ol>
michael@0 25
michael@0 26 <script>
michael@0 27 var x = document.body.offsetHeight;
michael@0 28
michael@0 29 var ol = document.getElementById('ol');
michael@0 30 var lis = document.getElementsByTagName('li');
michael@0 31 var child1 = lis[3];
michael@0 32 var child2 = lis[4];
michael@0 33 var child3 = lis[5];
michael@0 34 ol.removeChild(child1);
michael@0 35 ol.removeChild(child2);
michael@0 36 ol.removeChild(child3);
michael@0 37 </script>
michael@0 38
michael@0 39 </body>
michael@0 40 </html>

mercurial