<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Composited iframe test</title> | |
<style type="text/css" media="screen"> | |
iframe { | |
position: absolute; | |
left:100px; | |
top:100px; | |
border: 20px solid black; | |
padding: 0; | |
height: 300px; | |
width: 400px; | |
-webkit-box-shadow: 0 0 20px black; | |
} | |
</style> | |
</head> | |
<body> | |
Simple test of composited iframe content. There should be a blue box with a gray background | |
inside the black border. The gray background should fit perfectly within the block border | |
with no gaps. | |
<br><br> | |
<iframe id="parent-iframe" src="resources/composited-subframe.html"></iframe> | |
</body> | |
</html> |