blob: 047a3a466343d4202758597ceda53833064c1155 [file] [log] [blame]
<!doctype html>
<html style="direction:rtl">
<head>
<style>
#content {
-webkit-flow-into: flow1;
}
#first-box {
margin: 10%;
height:350px;
background-color:#cccccc;
}
#second-box {
position:absolute;
top:0;
height:450px;
width:50%;
background-color:#00a000;
color:#00a000
}
#region1, #region2, #region3 {
border: 1px solid black;
-webkit-flow-from: flow1;
}
#region1 {
width: 200px;
height: 150px;
}
#region2 {
width: 300px;
height: 180px;
}
#region3 {
width: 120px;
height: 120px;
}
</style>
</head>
<body>
<p style="direction:ltr">The green positioned object should go through all three regions. Its right edge should have the
same offset from the right side of the light grey boxes in each region.</p>
<div id="content">
<div id="first-box">
<span id="second-box">
</span>
</div>
</div>
<div id="container">
<div id="region1"></div>
<div id="region2"></div>
<div id="region3"></div>
</div>