mirror of
https://github.com/servo/servo.git
synced 2025-09-11 15:38:24 +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,65 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>CSS Regions: float with relative sizing fragmented in differently sized regions</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="ahem">
|
||||
<meta name="assert" content="Test checks that the fragments of floats with relative sizing
|
||||
(width specified using percents) that are fragmented in regions with varying sizes
|
||||
will be sized relative to each separate region.">
|
||||
<link rel="match" href="reference/floats-in-named-flow-024-ref.html">
|
||||
<style>
|
||||
article {
|
||||
font-family: Ahem;
|
||||
font-size: 20px;
|
||||
line-height: 1em;
|
||||
color: green;
|
||||
}
|
||||
.flow {
|
||||
flow-into: f;
|
||||
}
|
||||
.float {
|
||||
width: 50%;
|
||||
float: right;
|
||||
color: blue;
|
||||
}
|
||||
|
||||
.region {
|
||||
width: 200px;
|
||||
height: 100px;
|
||||
border: 10px solid black;
|
||||
margin-bottom: 10px;
|
||||
flow-from: f;
|
||||
}
|
||||
|
||||
.wide {
|
||||
width: 400px;
|
||||
}
|
||||
|
||||
.region > p {
|
||||
background: red;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>
|
||||
Test passes if you see two black bordered rectangles separated by a small vertical space.
|
||||
The bottom rectangle should be twice as wide as the top one and both rectangles should
|
||||
have the left half green and the right half blue.<br>
|
||||
You should see no red.
|
||||
</p>
|
||||
|
||||
<div class="region">
|
||||
<p> </p>
|
||||
</div>
|
||||
<div class="wide region">
|
||||
<p> </p>
|
||||
</div>
|
||||
|
||||
<article class="flow">
|
||||
<div class="float">xxxxx​xxxxx​xxxxx​xxxxx​xxxxx​xxxxx​xxxxx​xxxxx​xxxxx​xxxxx​xxxxx​xxxxx​xxxxx​xxxxx​xxxxx​</div>
|
||||
xxxxx​xxxxx​xxxxx​xxxxx​xxxxx​xxxxx​xxxxx​xxxxx​xxxxx​xxxxx​xxxxx​xxxxx​xxxxx​xxxxx​xxxxx​
|
||||
</article>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue