mirror of
https://github.com/servo/servo.git
synced 2025-08-25 15:18:22 +01:00
Update web-platform-tests to revision 58b72393db0bd273bb93268c33666cf893feb985
This commit is contained in:
parent
43a4f01647
commit
64e0a52537
12717 changed files with 59835 additions and 59820 deletions
|
@ -0,0 +1,55 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>CSS Regions: named flow contains multiple floats</title>
|
||||
<link rel="author" title="Mihai Balan" href="mailto:mibalan@adobe.com">
|
||||
<link rel="help" href="http://www.w3.org/TR/css3-regions/#the-flow-into-property">
|
||||
<meta name="flags" content="">
|
||||
<meta name="assert" content="Test checks that when a named flow contains multiple floats they
|
||||
are floated relative to the region container and not their initial container.">
|
||||
<link rel="match" href="reference/floats-in-named-flow-002-ref.html">
|
||||
<style>
|
||||
.flow {
|
||||
flow-into: f;
|
||||
color: gray;
|
||||
}
|
||||
.float {
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
}
|
||||
.right {
|
||||
float: right;
|
||||
background: lightgreen;
|
||||
}
|
||||
.left {
|
||||
float: left;
|
||||
background: lightblue;
|
||||
}
|
||||
.region {
|
||||
flow-from: f;
|
||||
width: 200px;
|
||||
border: 2px solid black;
|
||||
margin: 5px;
|
||||
}
|
||||
.region p {
|
||||
background: red;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>
|
||||
Test passes if you see a black-bordered rectangle with the following contents: a light blue
|
||||
square in the top left corner, a light green square in the top right with some filler gray
|
||||
text in between the squares and under them.<br>
|
||||
Test fails is you see any red.
|
||||
</p>
|
||||
<div class="flow">
|
||||
<div class="float right"></div>
|
||||
<div class="float left"></div>
|
||||
This is filler text. This is filler text. This is filler text. This is filler text. This is filler text. This is filler text. This is filler text.
|
||||
</div>
|
||||
<div class="region">
|
||||
<p> </p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue