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

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/abs-pos/relative-row-animation-1.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,28 @@
     1.4 +<!DOCTYPE HTML>
     1.5 +<title>Testcase, bug 845837</title>
     1.6 +<meta charset="UTF-8">
     1.7 +<!--
     1.8 +https://bugzilla.mozilla.org/show_bug.cgi?id=845837
     1.9 +-->
    1.10 +
    1.11 +<div style="height: 20px"></div>
    1.12 +
    1.13 +<table border>
    1.14 +  <tr id="tr" style="position: relative">
    1.15 +    <td>hello
    1.16 +</table>
    1.17 +
    1.18 +<script>
    1.19 +var tr = document.getElementById("tr");
    1.20 +tr.offsetTop;
    1.21 +tr.style.top = '20px';
    1.22 +tr.offsetTop;
    1.23 +tr.style.fontSize = '100px';
    1.24 +tr.offsetTop;
    1.25 +tr.style.fontSize = '';
    1.26 +tr.offsetTop;
    1.27 +tr.style.top = '0px';
    1.28 +tr.offsetTop;
    1.29 +// Just check that we have no relative positioning applied when we're done,
    1.30 +// since we don't currently support relative positioning on table rows.
    1.31 +</script>

mercurial