blob: 14e645a202c33439f073e3467782cad257b6d7fa [file] [log] [blame]
<!doctype html>
<html style="direction:rtl">
<head>
<style>
#content {
-webkit-flow-into: flow1;
text-align: justify;
padding: 5px;
}
#first-box {
margin:10%
}
#second-box {
position:absolute;
right:0;
top:0;
height:450px;
width:50%;
background-color:green;
border-left:10px solid red;
clip:rect(0 300px 450px 10px)
}
#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 span all the regions. It should fill the right half of every region. Its red borders should be clipped.</p>
<div id="content">
<div id="first-box">
<div id="second-box">
</div>
</div>
</div>
<div id="container">
<div id="region1"></div>
<div id="region2"></div>
<div id="region3"></div>
</div>