layout/reftests/abs-pos/relative-row-animation-1.html

Wed, 31 Dec 2014 06:55:50 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:55:50 +0100
changeset 2
7e26c7da4463
permissions
-rw-r--r--

Added tag UPSTREAM_283F7C6 for changeset ca08bd8f51b2

     1 <!DOCTYPE HTML>
     2 <title>Testcase, bug 845837</title>
     3 <meta charset="UTF-8">
     4 <!--
     5 https://bugzilla.mozilla.org/show_bug.cgi?id=845837
     6 -->
     8 <div style="height: 20px"></div>
    10 <table border>
    11   <tr id="tr" style="position: relative">
    12     <td>hello
    13 </table>
    15 <script>
    16 var tr = document.getElementById("tr");
    17 tr.offsetTop;
    18 tr.style.top = '20px';
    19 tr.offsetTop;
    20 tr.style.fontSize = '100px';
    21 tr.offsetTop;
    22 tr.style.fontSize = '';
    23 tr.offsetTop;
    24 tr.style.top = '0px';
    25 tr.offsetTop;
    26 // Just check that we have no relative positioning applied when we're done,
    27 // since we don't currently support relative positioning on table rows.
    28 </script>

mercurial