layout/reftests/transform/830299-1.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/transform/830299-1.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,46 @@
     1.4 +<!DOCTYPE html>
     1.5 +<html lang="en-US" class="reftest-wait">
     1.6 +<head>
     1.7 +	<title>Testcase, bug 830299</title>
     1.8 +	<meta charset=UTF-8>
     1.9 +	<style type="text/css">
    1.10 +
    1.11 +	html { margin: 1px; padding: 2px }
    1.12 +	body { margin: 4px; padding: 8px }
    1.13 +
    1.14 +	#outer {
    1.15 +		position: absolute;
    1.16 +		overflow: hidden;
    1.17 +		transform: translateX(0px);
    1.18 +		top: 3px; left: 5px;
    1.19 +		width: 200px; height: 200px;
    1.20 +		background: yellow;
    1.21 +	}
    1.22 +	
    1.23 +	#inner {
    1.24 +		position: fixed;
    1.25 +		top: 7px; left: 9px;
    1.26 +		width: 100px; height: 100px;
    1.27 +		background: aqua;
    1.28 +	}
    1.29 +
    1.30 +	</style>
    1.31 +	<script type="text/javascript">
    1.32 +
    1.33 +	window.addEventListener("load", function(event) {
    1.34 +	                        	setTimeout(function() {
    1.35 +	                        	           	document.getElementById("inner").style.display = "";
    1.36 +	                        	           	document.documentElement.removeAttribute("class");
    1.37 +	                        	           }, 100);
    1.38 +	                        }, false);
    1.39 +
    1.40 +	</script>
    1.41 +</head>
    1.42 +<body>
    1.43 +
    1.44 +<div id="outer">
    1.45 +  <div id="inner" style="display:none">inner</div>
    1.46 +</div>
    1.47 +
    1.48 +</body>
    1.49 +</html>

mercurial