Update CSS tests to revision 31d63cc79bd4c929ed582229e936d7b389f3e6ab

This commit is contained in:
James Graham
2015-03-27 09:18:12 +00:00
parent 1a81b18b9f
commit 2c9faf5363
91915 changed files with 5979820 additions and 0 deletions

View File

@@ -0,0 +1,65 @@
<!DOCTYPE html>
<html lang="en"><head>
<meta charset="UTF-8">
<title>CSS Regions: Changing an element's named flow when hovering over a sibling</title>
<link href="mailto:mibalan@adobe.com" rel="author" title="Mihai Balan">
<link href="http://www.w3.org/TR/css3-regions/#the-flow-into-property" rel="help">
<link href="http://www.w3.org/TR/css3-regions/#the-flow-from-property" rel="help">
<meta content="Changing the named flow an element is extracted in using a rule that contains the :hover pseudoclass should be possible" name="assert">
<meta content="interact" name="flags">
<style>
p {
margin: 0;
}
.box {
float: left;
width: 100px;
height: 200px;
margin: 10px;
}
#content {
background-color: lightgray;
font-family: Ahem;
font-size: 20px;
line-height: 1em;
}
#content p {
flow-into: f;
}
#content p:first-child {
color: lightblue;
}
#content p:first-child:hover + p {
flow-into: g;
}
#region1 {
flow-from: f;
}
#region1 p {
width: 100%;
height: 50%;
background-color: red;
}
#region2 {
flow-from: g;
}
</style>
</head>
<body>
<ol>
<li>You should see no red before or during this test.</li>
<li>Move the mouse over the blue square.</li>
<li>The black square below the blue square should appear on the right of the blue square.</li>
</ol>
<div class="box" id="content">
<p>xxxxx<br>xxxxx<br>xxxxx<br>xxxxx<br>xxxxx</p>
<p>xxxxx<br>xxxxx<br>xxxxx<br>xxxxx<br>xxxxx</p>
</div>
<div class="box" id="region1">
<p></p>
</div>
<div class="box" id="region2">
<p></p>
</div>
</body></html>