<!DOCTYPE html> | |
<html> | |
<head> | |
<style> | |
#moveMe { | |
position: fixed; | |
background: green; | |
width: 100px; | |
height: 100px; | |
top: 150px; | |
left: 150px; | |
} | |
</style> | |
</head> | |
<body> | |
<p>This test checks that we correctly invalidate a shifted fixed positioned element overlapping another fixed positioned element.</p> | |
<p>For this test, there should be only one green square below.</p> | |
<div id="moveMe"></div> | |
</body> |