mirror of
https://github.com/servo/servo.git
synced 2025-08-13 09:25:32 +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,78 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>CSS Regions: flowing content that has position: relative</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">
|
||||
<link rel="help" href="http://www.w3.org/TR/css3-regions/#flow-from">
|
||||
<!-- Section points to section in the ED. Eventually this should be kept in the WD, too. -->
|
||||
<link rel="help" href="http://www.w3.org/TR/css3-break/#transforms">
|
||||
<meta name="assert" content="Test checks that fragments of content flowed in regions are positioned independently, after the fragmentation occurs.">
|
||||
<meta name="flags" content="ahem">
|
||||
<link rel="match" href="reference/position-relative-001-ref.html">
|
||||
<style>
|
||||
.flow {
|
||||
flow-into: f;
|
||||
font-family: Ahem;
|
||||
font-size: 20px;
|
||||
line-height: 1em;
|
||||
color: green;
|
||||
position: relative;
|
||||
top: 20px;
|
||||
left: -20px;
|
||||
}
|
||||
|
||||
.container {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.region {
|
||||
flow-from: f;
|
||||
margin: 0 0 0 20px;
|
||||
}
|
||||
.region p {
|
||||
background-color: red;
|
||||
height: 50%;
|
||||
}
|
||||
.big {
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
}
|
||||
.small {
|
||||
width: 60px;
|
||||
height: 60px;
|
||||
}
|
||||
|
||||
.marker {
|
||||
background: red;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>Test passes if you see two green squares (one bigger and one smaller) and no red.</p>
|
||||
<div class="flow">
|
||||
xxxxx
|
||||
xxxxx
|
||||
xxxxx
|
||||
xxxxx
|
||||
xxxxx
|
||||
xxx
|
||||
xxx
|
||||
xxx
|
||||
</div>
|
||||
<div class="container">
|
||||
<div class="big region">
|
||||
<p> </p>
|
||||
</div>
|
||||
<div class="marker"></div>
|
||||
</div>
|
||||
<div class="container">
|
||||
<div class="small region">
|
||||
<p> </p>
|
||||
</div>
|
||||
<div class="marker"></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,57 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>CSS Reftest Reference</title>
|
||||
<link rel="author" title="Mihai Balan" href="mailto:mibalan@adobe.com">
|
||||
<style>
|
||||
.flow {
|
||||
font-family: Ahem;
|
||||
font-size: 20px;
|
||||
line-height: 1em;
|
||||
color: green;
|
||||
position: relative;
|
||||
top: 20px;
|
||||
left: -20px;
|
||||
}
|
||||
|
||||
.container {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.region {
|
||||
margin: 0 0 0 20px;
|
||||
}
|
||||
.big {
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
}
|
||||
.small {
|
||||
width: 60px;
|
||||
height: 60px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>Test passes if you see two green squares (one bigger and one smaller) and no red.</p>
|
||||
<div class="container">
|
||||
<div class="big region">
|
||||
<div class="flow">
|
||||
xxxxx
|
||||
xxxxx
|
||||
xxxxx
|
||||
xxxxx
|
||||
xxxxx
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="container">
|
||||
<div class="small region">
|
||||
<div class="flow">
|
||||
xxx
|
||||
xxx
|
||||
xxx
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue