mirror of
https://github.com/servo/servo.git
synced 2025-08-11 08:25:32 +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><head>
|
||||
<title>CSS Test: left float, inset, px units</title>
|
||||
<link href="mailto:rhauck@adobe.com" rel="author" title="Rebecca Hauck">
|
||||
<link href="http://www.w3.org/TR/css-shapes-1/#funcdef-inset" rel="help">
|
||||
<link href="http://www.w3.org/TR/css-shapes-1/#shape-outside-property" rel="help">
|
||||
<link href="reference/shape-outside-inset-010-ref.htm" rel="match">
|
||||
<meta content="ahem" name="flags">
|
||||
<meta content="The test verfies that text flows around a
|
||||
left float with a shape-outside defined as
|
||||
an inset rectangle in px units." name="assert">
|
||||
<style>
|
||||
#container {
|
||||
position: relative;
|
||||
margin-left: 25px;
|
||||
}
|
||||
#test-container {
|
||||
width: 200px;
|
||||
height: 200px;
|
||||
font-family: Ahem;
|
||||
font-size: 25px;
|
||||
background-color: red;
|
||||
color: green;
|
||||
}
|
||||
#test-shape {
|
||||
float: left;
|
||||
width: 200px;
|
||||
height: 200px;
|
||||
shape-outside: inset(50px 100px 50px 0px);
|
||||
}
|
||||
#static-shape {
|
||||
position: absolute;
|
||||
left: 0px;
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
top: 50px;
|
||||
background-color: green;
|
||||
}
|
||||
</style></head>
|
||||
|
||||
<body>
|
||||
<p>The test passes if there is a green square and no red.</p>
|
||||
<div id="container">
|
||||
<div id="test-container">
|
||||
<div id="test-shape"></div>
|
||||
XXXXXXXX XXXXXXXX XXXX XXXX XXXX XXXX XXXXXXXX XXXXXXXX
|
||||
</div>
|
||||
<div id="static-shape"></div>
|
||||
</div>
|
||||
|
||||
|
||||
</body></html>
|
Loading…
Add table
Add a link
Reference in a new issue