<!DOCTYPE html> | |
<html> | |
<head> | |
<title>It tests that fixed (auto)positioned element is placed properly when the parent element is sticky positioned.</title> | |
</head> | |
<body> | |
<div style="position: relative; left: 42px; width: 22px; height: 22px; background-color: green;"></div> | |
<div style="position: relative; left: 42px; margin-top: 5px; width: 22px; height: 22px; background-color: green;"></div> | |
</body> | |
</html> |