mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +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,52 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en"><head>
|
||||
<meta charset="UTF-8">
|
||||
<title>CSS Regions: CSS cursor on region</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="CSS cursors are properly displayed even when an element is turned into a region" name="assert">
|
||||
<meta content="interact ahem" name="flags">
|
||||
<style>
|
||||
p {
|
||||
margin: 0;
|
||||
}
|
||||
#content {
|
||||
font-family: Ahem;
|
||||
font-size: 20px;
|
||||
line-height: 1em;
|
||||
color: lightgreen;
|
||||
}
|
||||
#content p {
|
||||
flow-into: f;
|
||||
}
|
||||
#region {
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
flow-from: f;
|
||||
cursor: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAT0lEQVR42u2WMQoAIAwD+/9Px9VFoUJNhjvoKDmKhVQBQA9tYw3/LiGngJwChBN+CtfjWMOvEp0HIwL2DUT8gYgrQAKJyD4Q0YgiOiHACAvTEtAwKdXD6AAAAABJRU5ErkJggg==") 1 17, w-resize;
|
||||
border-left: 100px solid lightblue;
|
||||
}
|
||||
#region p {
|
||||
width: 100%;
|
||||
height: 50%;
|
||||
background-color: red;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>The test fails if you see any red or if any of the expected results below don't happen.</p>
|
||||
<ol>
|
||||
<li>You should see a green and a blue square below.</li>
|
||||
<li>
|
||||
Move the mouse over the blue square. <strong>Expected: </strong>The mouse cursor should change to a large, left pointing, black arrow.</li>
|
||||
|
||||
</ol>
|
||||
<div id="content">
|
||||
<p>xxxxx<br>xxxxx<br>xxxxx<br>xxxxx<br>xxxxx</p>
|
||||
</div>
|
||||
<div id="region">
|
||||
<p></p>
|
||||
</div>
|
||||
|
||||
</body></html>
|
Loading…
Add table
Add a link
Reference in a new issue