blob: 0462c4e256055cd27d56c9f959a4615698e5cdad [file] [log] [blame]
<!doctype html>
<html lang="en">
<head>
<style>
p, div {
font: 12px/1 monospace;
}
.box {
width: 260px;
height: 120px;
padding: 5px;
margin: 10px;
}
#region {
-webkit-flow-from: flow;
width: 300px;
height: 190px;
border: 5px solid green;
border-left: 100px solid green;
background-color: #ddddff;
}
#content {
-webkit-flow-into: none;
border: 5px solid blue;
background: #aaaacc;
}
</style>
</head>
<body>
<p>When hovering the <span style="color:blue"><b>blue box</b></span>, it should get out of the region (it's <b>flow-into</b> will change to "none")</p>
<div id="content" class="box">This box is flowed into the <span style="color:green"><b>region</b></span> when it is <b>not</b> hovered</div>
<div id="region"></div>
</body>
</html>