blob: 67f43ce0ce21aa7975923e7021f0582046ddac1c [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;
}
#region1 {
width: 300px;
height: 190px;
border: 5px solid green;
background-color: #ddddff;
margin-bottom: 20px;
}
#region2 {
-webkit-flow-from: flow2;
width: 300px;
height: 190px;
border: 5px solid darkred;
background-color: #ddddff;
position: relative;
left: 350px;
top: -220px;
}
#content {
-webkit-flow-into: flow2;
border: 5px solid blue;
background: #aaaacc;;
}
</style>
</head>
<body>
<p>When hovering the <span style="color:blue"><b>blue box</b></span>, it should move to the <span style="color:darkred"><b>second region</b></span> (it's <b>flow-into</b> will change to the 2nd thread)</p>
<div id="region1"></div>
<div id="region2"></div>
<div id="content" class="box">This box is flowed into the <span style="color:green"><b>first region</b></span> when it is <b>not</b> hovered and into the <span style="color:darkred"><b>second region</b></span> when it <b>is</b></div>
</body>
</html>