gecko/layout/reftests/position-dynamic-changes/relative/move-top-left.html
Ehsan Akhgari 2940bf2f84 Bug 157681 - Part 1: Add a test suite to make sure that dynamic changes to the position CSS properties work correctly; r=dbaron
These series of tests attempt to ensure conformance to the CSS 2.1
sections 10.3.7 and 10.6.4.
2012-06-06 00:53:33 -04:00

17 lines
439 B
HTML

<!DOCTYPE html>
<html class="reftest-wait">
<head>
<link rel="stylesheet" type="text/css" href="style.css">
<script src="animate.js" type="text/javascript"></script>
</head>
<body>
<div id="container"
>surrounding <span id="rel"
style="right: -400px; bottom: -400px;"
>position&#10;relative</span> text</div>
<script>
animate({bottom: 10, right: 20}, 100);
</script>
</body>
</html>