blob: 1890ece6248a5ccdec6b9db6757f99ad631e7432 [file] [log] [blame]
<!DOCTYPE HTML>
<html>
<head>
<title>This tests that first line text-indent is applied properly when the child is a statically positioned out-of-flow renderer.</title>
<style>
body {
margin: 40px;
}
.container {
display: block;
background-color: green;
width: 100px;
height: 20px;
color: green;
font-family: Ahem;
font-size: 10px;
}
.inner {
display: block;
background-color: blue;
width: 20px;
height: 20px;
}
</style>
</head>
<body>
<div>
<div class=container><div class=inner style="margin-left: 20px;"></div></div>
<div class=container><div class=inner style="margin-left: 20px;"></div></div>
<div class=container><div class=inner style="margin-left: 20px;"></div></div>
<div class=container><div class=inner style="margin-left: 20px;"></div></div>
<div class=container><div class=inner style="position: relative; left: 70px;"></div></div>
<div class=container><div class=inner style="margin-left: -20px;"></div></div>
<div class=container><div class=inner style="left: 40px;"></div></div>
<div class=container><div class=inner></div></div>
<div class=container><div class=inner></div></div>
<div class=container><div class=inner style="position: relative; top: 10px"></div></div>
<div class=container><div class=inner></div></div>
</div>
<div style="direction: rtl;">
<div class=container><div class=inner style="margin-right: 20px;"></div></div>
<div class=container><div class=inner style="margin-right: 20px;"></div></div>
<div class=container><div class=inner style="margin-right: 20px;"></div></div>
<div class=container><div class=inner style="margin-right: 20px;"></div></div>
<div class=container><div class=inner style="position: relative; right: 70px;"></div></div>
<div class=container><div class=inner style="margin-right: -20px;"></div></div>
<div class=container><div class=inner style="right: 40px;"></div></div>
<div class=container><div class=inner></div></div>
<div class=container><div class=inner></div></div>
<div class=container><div class=inner style="position: relative; top: 10px"></div></div>
<div class=container><div class=inner></div></div>
</div>
</body>
</html>