mirror of
https://github.com/servo/servo.git
synced 2025-10-01 00:59:15 +01:00
Move transform_simple_a.html to wpt reftests.
This commit is contained in:
parent
0ae55ed5cc
commit
be594f6c09
4 changed files with 25 additions and 1 deletions
|
@ -603,6 +603,18 @@
|
|||
"url": "/_mozilla/css/stacking_context_rtl.html"
|
||||
}
|
||||
],
|
||||
"css/transform_simple_a.html": [
|
||||
{
|
||||
"path": "css/transform_simple_a.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/transform_simple_ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/transform_simple_a.html"
|
||||
}
|
||||
],
|
||||
"css/transform_skew_a.html": [
|
||||
{
|
||||
"path": "css/transform_skew_a.html",
|
||||
|
@ -2048,6 +2060,18 @@
|
|||
"url": "/_mozilla/css/stacking_context_rtl.html"
|
||||
}
|
||||
],
|
||||
"css/transform_simple_a.html": [
|
||||
{
|
||||
"path": "css/transform_simple_a.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/transform_simple_ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/transform_simple_a.html"
|
||||
}
|
||||
],
|
||||
"css/transform_skew_a.html": [
|
||||
{
|
||||
"path": "css/transform_skew_a.html",
|
||||
|
|
50
tests/wpt/mozilla/tests/css/transform_simple_a.html
Normal file
50
tests/wpt/mozilla/tests/css/transform_simple_a.html
Normal file
|
@ -0,0 +1,50 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel='match' href='transform_simple_ref.html'>
|
||||
<!-- Tests that basic CSS transforms work. -->
|
||||
<style>
|
||||
section {
|
||||
position: absolute;
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
top: 25px;
|
||||
left: 50px;
|
||||
transform: rotate(90deg) scale(1, 2);
|
||||
}
|
||||
div {
|
||||
position: absolute;
|
||||
width: 25px;
|
||||
height: 25px;
|
||||
}
|
||||
#a {
|
||||
background: cyan;
|
||||
}
|
||||
#b {
|
||||
background: magenta;
|
||||
}
|
||||
#c {
|
||||
background: yellow;
|
||||
}
|
||||
#d {
|
||||
background: black;
|
||||
}
|
||||
#a, #b {
|
||||
top: 0;
|
||||
}
|
||||
#c, #d {
|
||||
top: 25px;
|
||||
}
|
||||
#a, #c {
|
||||
left: 0;
|
||||
}
|
||||
#b, #d {
|
||||
left: 25px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<section><div id=a></div><div id=b></div><div id=c></div><div id=d></div></section>
|
||||
</body>
|
||||
</html>
|
||||
|
49
tests/wpt/mozilla/tests/css/transform_simple_ref.html
Normal file
49
tests/wpt/mozilla/tests/css/transform_simple_ref.html
Normal file
|
@ -0,0 +1,49 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<!-- Tests that basic CSS transforms work. -->
|
||||
<style>
|
||||
section {
|
||||
position: absolute;
|
||||
width: 100px;
|
||||
height: 50px;
|
||||
top: 25px;
|
||||
left: 25px;
|
||||
}
|
||||
div {
|
||||
position: absolute;
|
||||
width: 50px;
|
||||
height: 25px;
|
||||
}
|
||||
#a {
|
||||
background: yellow;
|
||||
}
|
||||
#b {
|
||||
background: cyan;
|
||||
}
|
||||
#c {
|
||||
background: black;
|
||||
}
|
||||
#d {
|
||||
background: magenta;
|
||||
}
|
||||
#a, #b {
|
||||
top: 0;
|
||||
}
|
||||
#c, #d {
|
||||
top: 25px;
|
||||
}
|
||||
#a, #c {
|
||||
left: 0;
|
||||
}
|
||||
#b, #d {
|
||||
left: 50px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<section><div id=a></div><div id=b></div><div id=c></div><div id=d></div></section>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue