mirror of
https://github.com/servo/servo.git
synced 2025-07-10 08:53:41 +01:00
44 lines
No EOL
1.6 KiB
HTML
44 lines
No EOL
1.6 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
|
<title>CSS Test: Redirect content to a region</title>
|
|
<style type="text/css">
|
|
@page { font: italic 8pt sans-serif; color: gray;
|
|
margin: 7%;
|
|
counter-increment: page;
|
|
@top-left { content: "CSS Regions Module Level 1 CR Test Suite"; }
|
|
@top-right { content: "Test flow-content-001"; }
|
|
@bottom-right { content: counter(page); }
|
|
}
|
|
</style>
|
|
<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-001-ref.xht" />
|
|
<meta name="flags" content="" />
|
|
<meta name="assert" content="Content placed into a named flow with the flow-into property should display in the element whose flow-from property specifies that named flow." />
|
|
<style type="text/css">
|
|
.source{
|
|
flow-into: main-thread;
|
|
color: green;
|
|
}
|
|
.region{
|
|
flow-from: main-thread;
|
|
}
|
|
.error{
|
|
color: red;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="source">
|
|
flow content
|
|
</div>
|
|
<p>
|
|
The words "flow content" in green should be in a single line below.
|
|
</p>
|
|
<div class="region">
|
|
<div class="error">FAIL.</div>
|
|
</div>
|
|
</body>
|
|
</html> |