26 lines
1.9 KiB
HTML
26 lines
1.9 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>It tests that fixed (auto)positioned element is placed properly when the parent element is relative positioned.</title>
|
|
</head>
|
|
<body>
|
|
<div style="position: relative; left: 10px; width: 22px; height: 22px; background-color: green;"></div>
|
|
<div style="position: relative; left: 10px; margin-top: 1px; width: 22px; height: 22px; background-color: green;"></div>
|
|
<div style="position: relative; left: 10px; margin-top: 1px; width: 22px; height: 22px; background-color: green;"></div>
|
|
<div style="position: relative; left: 10px; margin-top: 1px; width: 22px; height: 22px; background-color: green;"></div>
|
|
<div style="position: relative; left: 10px; margin-top: 1px; width: 22px; height: 22px; background-color: green;"></div>
|
|
<div style="position: relative; left: 10px; margin-top: 1px; width: 22px; height: 22px; background-color: green;"></div>
|
|
<div style="position: relative; left: 10px; margin-top: 1px; width: 22px; height: 22px; background-color: green;"></div>
|
|
<div style="position: relative; left: 10px; margin-top: 1px; width: 22px; height: 22px; background-color: green;"></div>
|
|
|
|
<div dir=rtl style="position: absolute; right: 8px; top: 99px;">
|
|
<div style="position: relative; right: 10px; width: 22px; height: 22px; background-color: green;"></div>
|
|
<div style="position: relative; right: 10px; margin-top: 1px; width: 22px; height: 22px; background-color: green;"></div>
|
|
<div style="position: relative; right: 10px; margin-top: 1px; width: 22px; height: 22px; background-color: green;"></div>
|
|
<div style="position: relative; right: 10px; margin-top: 1px; width: 22px; height: 22px; background-color: green;"></div>
|
|
<div style="position: relative; right: 10px; margin-top: 1px; width: 22px; height: 22px; background-color: green;"></div>
|
|
<div style="position: relative; right: 10px; margin-top: 1px; width: 22px; height: 22px; background-color: green;"></div>
|
|
</div>
|
|
</body>
|
|
</html>
|