mirror of
https://github.com/servo/servo.git
synced 2025-08-13 09:25:32 +01:00
Update CSS tests to revision 31d63cc79bd4c929ed582229e936d7b389f3e6ab
This commit is contained in:
parent
1a81b18b9f
commit
2c9faf5363
91915 changed files with 5979820 additions and 0 deletions
|
@ -0,0 +1,39 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<title>CSS Test: Regions establish a new block formatting context</title>
|
||||
<link rel="author" title="Alan Stearns" href="mailto:stearns@adobe.com">
|
||||
<link rel="help" href="http://www.w3.org/TR/css3-regions/#properties">
|
||||
<link rel="help" href="http://www.w3.org/TR/css3-regions/#the-flow-from-property">
|
||||
<link rel="match" href="reference/flow-into-BFC-001-ref.htm">
|
||||
<meta name="flags" content="">
|
||||
<meta name="assert" content="A region set next to a float will clear the float in a new block formatting context.">
|
||||
<style type="text/css">
|
||||
.flow{
|
||||
flow-into: block;
|
||||
}
|
||||
.region{
|
||||
background-color: blue;
|
||||
height: 100px;
|
||||
width: 100px;
|
||||
flow-from: block;
|
||||
}
|
||||
.floatLeft{
|
||||
float: left;
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
background-color: green;
|
||||
}
|
||||
.error{
|
||||
color: red;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>Test passes if you see a blue square to the right of a green square.</p>
|
||||
<div class="floatLeft"></div>
|
||||
<div class="region">
|
||||
<div class="error">FAIL</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue