blob: f385f9d3cd21f4029424a397a9af676cc04d253a [file] [log] [blame]
<!DOCTYPE HTML>
<html>
<head>
<!-- This test checks that content can be redirected to a region. It also
tries out a validation strategy that recreates the intended display
using non-region markup. If top does not match the bottom then the
result should be rejected. -->
<style type="text/css">
#source{
-webkit-flow-into: main-thread;
}
.region{
-webkit-flow-from: main-thread;
height:100px;
width:300px;
}
.pass{
color: green;
}
.error{
color: red;
}
</style>
</head>
<body>
<div id="source" class="pass">
<p>flow content</p>
</div>
<div>
The words "flow content" in green should display after this div,
and there should be two copies of this content that match.
</div>
<div id="region1" class="region">
<div class="error">FAIL if this text is displayed.</div>
</div>
<div>
The words "flow content" in green should display after this div,
and there should be two copies of this content that match.
</div>
<div class="pass">
<p>flow content</p>
</div>
</body>
</html>