mirror of
https://github.com/servo/servo.git
synced 2025-06-23 16:44:33 +01:00
36 lines
No EOL
1.1 KiB
HTML
36 lines
No EOL
1.1 KiB
HTML
<!DOCTYPE html>
|
|
<html><head>
|
|
<title>CSS Test: flowing content that's relatively positioned and get fragmented</title>
|
|
<link href="mailto:mibalan@adobe.com" rel="author" title="Mihai Balan">
|
|
<link href="http://www.w3.org/TR/css3-regions/#the-flow-into-property" rel="help">
|
|
<link href="http://www.w3.org/TR/css3-regions/#flow-from" rel="help">
|
|
<meta content="ahem" name="flags">
|
|
<meta content="Test checks that content that's relatively positioned gets properly fragmented between regions." name="assert">
|
|
<link href="reference/content-node-layers-003-ref.htm" rel="match">
|
|
<style>
|
|
#content {
|
|
font-family: Ahem;
|
|
font-size: 20px;
|
|
line-height: 1em;
|
|
color: lime;
|
|
flow-into: f;
|
|
}
|
|
.region {
|
|
margin: .5em;
|
|
width: 100px;
|
|
height: 100px;
|
|
background-color: red;
|
|
flow-from: f;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<ol>
|
|
<li>You should see no red.</li>
|
|
<li>Test passes if you see two green squares below.</li>
|
|
</ol>
|
|
<div id="content">xxxxx<br>xxxxx<br>xxxxx<br>xxxxx<br>xxxxx<br>xxxxx<br>xxxxx<br>xxxxx<br>xxxxx<br>xxxxx</div>
|
|
<div class="region"></div>
|
|
<div class="region"></div>
|
|
|
|
</body></html> |