mirror of
https://github.com/servo/servo.git
synced 2025-06-24 00:54:32 +01:00
33 lines
No EOL
1,000 B
HTML
33 lines
No EOL
1,000 B
HTML
<!DOCTYPE html>
|
|
<html><head>
|
|
<title>CSS Regions region-fragment-break-1</title>
|
|
<link href="mailto:andhall@adobe.com" rel="author" title="Andy Hall">
|
|
<link href="mailto:rhauck@adobe.com" rel="reviewer" title="Rebecca Hauck">
|
|
<link href="http://www.w3.org/TR/css3-regions/#the-region-fragment-property" rel="help">
|
|
<meta content="If the content fits within the CSS Region, then setting region-fragment: break; has no effect. " name="assert">
|
|
<link href="reference/region-fragment-break-1-ref.htm" rel="match">
|
|
<style>
|
|
#region {
|
|
width: 100px;
|
|
height: 200px;
|
|
background-color: red;
|
|
flow-from: f;
|
|
region-fragment: break;
|
|
}
|
|
.box {
|
|
width: 100px;
|
|
height: 100px;
|
|
flow-into: f;
|
|
background-color: green;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<p>
|
|
Test passes if you see a green rectangle and no red.
|
|
</p>
|
|
<div class="box"></div>
|
|
<div class="box"></div>
|
|
<div id="region"></div>
|
|
|
|
</body></html> |