Move text_shadow_blur_a.html to wpt reftests.

This commit is contained in:
Corey Farwell 2015-10-15 21:05:52 -04:00
parent 54d9d813a1
commit 15459e35e8
4 changed files with 25 additions and 1 deletions

View file

@ -615,6 +615,18 @@
"url": "/_mozilla/css/table_specified_width_a.html"
}
],
"css/text_shadow_blur_a.html": [
{
"path": "css/text_shadow_blur_a.html",
"references": [
[
"/_mozilla/css/text_shadow_blur_ref.html",
"=="
]
],
"url": "/_mozilla/css/text_shadow_blur_a.html"
}
],
"css/transform_optimization.html": [
{
"path": "css/transform_optimization.html",
@ -2180,6 +2192,18 @@
"url": "/_mozilla/css/table_specified_width_a.html"
}
],
"css/text_shadow_blur_a.html": [
{
"path": "css/text_shadow_blur_a.html",
"references": [
[
"/_mozilla/css/text_shadow_blur_ref.html",
"=="
]
],
"url": "/_mozilla/css/text_shadow_blur_a.html"
}
],
"css/transform_optimization.html": [
{
"path": "css/transform_optimization.html",

View file

@ -0,0 +1,16 @@
<!DOCTYPE html>
<html>
<head>
<link rel='match' href='text_shadow_blur_ref.html'>
<!-- Tests that `text-shadow` mirrors `box-shadow` in the way that it blurs. -->
<link rel="stylesheet" type="text/css" href="css/ahem.css">
<style>
html, body {
margin: 0;
color: red;
text-shadow: blue 10px 10px 5px;
}
</style>
</head>
<body>X</body>
</html>

View file

@ -0,0 +1,18 @@
<!DOCTYPE html>
<html>
<head>
<!-- Tests that `text-shadow` mirrors `box-shadow` in the way that it blurs. -->
<style>
html, body {
margin: 0;
}
section {
background: red;
width: 100px;
height: 100px;
box-shadow: blue 10px 10px 5px;
}
</style>
</head>
<body><section></section></body>
</html>