<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<style> | |
#W { | |
top: 0; | |
left: 0; | |
width: 200px; | |
height: 240px; | |
position: absolute; | |
background-color: rgba(255, 0, 0, 0.2); | |
} | |
iframe { | |
backface-visibility: hidden; /* force compositing */ | |
} | |
</style> | |
</head> | |
<body> | |
<iframe id="I" width="200" height="240" src="/cross-site/baz.com/title1.html" frameborder="0" allowfullscreen=""></iframe> | |
<div id="W"></div> | |
</body> | |
</html> |