Move text_shadow_simple_a.html to wpt reftests.

This commit is contained in:
Corey Farwell 2015-10-15 21:08:37 -04:00
parent 15459e35e8
commit 7c4b2aa754
4 changed files with 25 additions and 1 deletions

View file

@ -627,6 +627,18 @@
"url": "/_mozilla/css/text_shadow_blur_a.html"
}
],
"css/text_shadow_simple_a.html": [
{
"path": "css/text_shadow_simple_a.html",
"references": [
[
"/_mozilla/css/text_shadow_simple_ref.html",
"=="
]
],
"url": "/_mozilla/css/text_shadow_simple_a.html"
}
],
"css/transform_optimization.html": [
{
"path": "css/transform_optimization.html",
@ -2204,6 +2216,18 @@
"url": "/_mozilla/css/text_shadow_blur_a.html"
}
],
"css/text_shadow_simple_a.html": [
{
"path": "css/text_shadow_simple_a.html",
"references": [
[
"/_mozilla/css/text_shadow_simple_ref.html",
"=="
]
],
"url": "/_mozilla/css/text_shadow_simple_a.html"
}
],
"css/transform_optimization.html": [
{
"path": "css/transform_optimization.html",

View file

@ -0,0 +1,23 @@
<!DOCTYPE html>
<html>
<head>
<link rel='match' href='text_shadow_simple_ref.html'>
<!--
Tests that `text-shadow` works with multiple unblurred shadows in the right order with the
right offsets.
-->
<link rel="stylesheet" type="text/css" href="css/ahem.css">
<style>
section {
position: absolute;
top: 0;
left: 0;
width: 500px;
height: 500px;
color: green;
text-shadow: 20px 10px blue, 30px 40px red;
}
</style>
</head>
<body><section>X</section></body>
</html>

View file

@ -0,0 +1,35 @@
<!DOCTYPE html>
<html>
<head>
<!--
Tests that `text-shadow` works with multiple unblurred shadows in the right order with the
right offsets.
-->
<style>
html, body {
margin: 0;
}
div {
width: 100px;
height: 100px;
position: absolute;
}
#c {
background: green;
left: 0;
top: 0;
}
#b {
background: blue;
left: 20px;
top: 10px;
}
#a {
background: red;
left: 30px;
top: 40px;
}
</style>
</head>
<body><div id=a></div><div id=b></div><div id=c></div></body>
</html>