mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +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
54
tests/wpt/css-tests/css-transforms-1_dev/html/translate.htm
Normal file
54
tests/wpt/css-tests/css-transforms-1_dev/html/translate.htm
Normal file
|
@ -0,0 +1,54 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml"><head>
|
||||
<title>CSS Test: test translate</title>
|
||||
<link href="xiatian@ebay.com" rel="author" title="Ebay Inc.">
|
||||
<link href="http://www.w3.org/TR/css-transforms-1/#3d-transform-rendering" rel="help">
|
||||
<link href="reference/translate-ref.htm" rel="match">
|
||||
<meta content="" name="flags">
|
||||
<meta content="translate x, y " name="assert">
|
||||
<style type="text/css">
|
||||
.container {
|
||||
border: 1px solid gray;
|
||||
width: 300px;
|
||||
height: 300px;
|
||||
}
|
||||
|
||||
.inner {
|
||||
z-index: 98;
|
||||
position: relative;
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
background-color: green;
|
||||
|
||||
//-webkit-transform: translate(100px, 100px);
|
||||
|
||||
//-o-transform:translate(100px, 100px) ;
|
||||
|
||||
|
||||
transform: translate(100px, 100px);
|
||||
}
|
||||
|
||||
.hidden {
|
||||
z-index: 67;
|
||||
position: relative;
|
||||
left: 100px;
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
background-color: red;
|
||||
}
|
||||
</style>
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<p style="margin-top:70px;">You should see only one green area, no red area</p>
|
||||
|
||||
<div class="container">
|
||||
|
||||
<div class="inner">
|
||||
</div>
|
||||
<div class="hidden">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</body></html>
|
Loading…
Add table
Add a link
Reference in a new issue