mirror of
https://github.com/servo/servo.git
synced 2025-06-23 16:44:33 +01:00
41 lines
No EOL
1.3 KiB
HTML
41 lines
No EOL
1.3 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
|
<html>
|
|
<head>
|
|
<title>CSS Test: Redirect content through two regions</title>
|
|
<link rel="author" title="Alan Stearns" href="mailto:stearns@adobe.com">
|
|
<link rel="help" href="http://www.w3.org/TR/css3-regions/#the-flow-into-property">
|
|
<link rel="help" href="http://www.w3.org/TR/css3-regions/#flow-from">
|
|
<link rel="match" href="reference/flow-content-002-ref.htm">
|
|
<meta name="flags" content="">
|
|
<meta name="assert" content="If multiple elements have their flow-from property set to a named flow, the named flow content will be consumed by the chain of elements.">
|
|
<style type="text/css">
|
|
.source{
|
|
flow-into: main-thread;
|
|
color: green;
|
|
}
|
|
.region{
|
|
flow-from: main-thread;
|
|
width: 10em;
|
|
height: 2em;
|
|
}
|
|
.error{
|
|
color: red;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="source">
|
|
<div>line one</div>
|
|
<div>line two</div>
|
|
</div>
|
|
<div class="region">
|
|
<div class="error">FAIL.</div>
|
|
</div>
|
|
<p>
|
|
The words "line one" should appear on a single line above, and the words "line two" should appear on a single line below.
|
|
</p>
|
|
<div class="region">
|
|
<div class="error">FAIL.</div>
|
|
</div>
|
|
</body>
|
|
</html> |