Move transform_simple_a.html to wpt reftests.

This commit is contained in:
Corey Farwell 2015-10-14 00:09:15 -04:00
parent 0ae55ed5cc
commit be594f6c09
4 changed files with 25 additions and 1 deletions

View file

@ -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",

View 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>

View 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>