Move text_shadow_decorations_a.html to wpt reftests.

This commit is contained in:
Corey Farwell 2015-10-15 21:22:03 -04:00
parent 1fc2989fa6
commit c8182e78ed
4 changed files with 25 additions and 1 deletions

View file

@ -639,6 +639,18 @@
"url": "/_mozilla/css/text_shadow_blur_a.html"
}
],
"css/text_shadow_decorations_a.html": [
{
"path": "css/text_shadow_decorations_a.html",
"references": [
[
"/_mozilla/css/text_shadow_decorations_ref.html",
"=="
]
],
"url": "/_mozilla/css/text_shadow_decorations_a.html"
}
],
"css/text_shadow_simple_a.html": [
{
"path": "css/text_shadow_simple_a.html",
@ -2240,6 +2252,18 @@
"url": "/_mozilla/css/text_shadow_blur_a.html"
}
],
"css/text_shadow_decorations_a.html": [
{
"path": "css/text_shadow_decorations_a.html",
"references": [
[
"/_mozilla/css/text_shadow_decorations_ref.html",
"=="
]
],
"url": "/_mozilla/css/text_shadow_decorations_a.html"
}
],
"css/text_shadow_simple_a.html": [
{
"path": "css/text_shadow_simple_a.html",

View file

@ -0,0 +1,23 @@
<!DOCTYPE html>
<html>
<head>
<link rel='match' href='text_shadow_decorations_ref.html'>
<!-- Tests that `text-shadow` shadows decorations. -->
<style>
#a {
text-decoration: underline;
text-shadow: 6px 6px black;
color: red;
font-size: 96px;
position: absolute;
top: 0;
left: 0;
width: 300px;
}
</style>
</head>
<body>
<div id=a>Foo</div>
</body>
</html>

View file

@ -0,0 +1,30 @@
<!DOCTYPE html>
<html>
<head>
<!-- Tests that `text-shadow` shadows decorations. -->
<style>
section {
text-decoration: underline;
font-size: 96px;
position: absolute;
width: 300px;
}
#a {
color: red;
top: 0;
left: 0;
}
#b {
color: black;
top: 6px;
left: 6px;
}
</style>
</head>
<body>
<section id=b>Foo</section>
<section id=a>Foo</section>
</body>
</html>