Move text_shadow_multiple_shadows_a.html to wpt reftests.

This commit is contained in:
Corey Farwell 2015-10-15 21:53:49 -04:00
parent 7d45db1ea8
commit 5bf38ab538
4 changed files with 25 additions and 1 deletions

View file

@ -747,6 +747,18 @@
"url": "/_mozilla/css/text_shadow_decorations_a.html"
}
],
"css/text_shadow_multiple_shadows_a.html": [
{
"path": "css/text_shadow_multiple_shadows_a.html",
"references": [
[
"/_mozilla/css/text_shadow_multiple_shadows_ref.html",
"=="
]
],
"url": "/_mozilla/css/text_shadow_multiple_shadows_a.html"
}
],
"css/text_shadow_simple_a.html": [
{
"path": "css/text_shadow_simple_a.html",
@ -2492,6 +2504,18 @@
"url": "/_mozilla/css/text_shadow_decorations_a.html"
}
],
"css/text_shadow_multiple_shadows_a.html": [
{
"path": "css/text_shadow_multiple_shadows_a.html",
"references": [
[
"/_mozilla/css/text_shadow_multiple_shadows_ref.html",
"=="
]
],
"url": "/_mozilla/css/text_shadow_multiple_shadows_a.html"
}
],
"css/text_shadow_simple_a.html": [
{
"path": "css/text_shadow_simple_a.html",

View file

@ -0,0 +1,22 @@
<!DOCTYPE html>
<html>
<head>
<link rel='match' href='text_shadow_multiple_shadows_ref.html'>
<!-- Tests that multiple `text-shadow`s paint in the right order. -->
<style>
#a {
text-shadow: 6px 6px black, 12px 12px blue;
color: red;
font-size: 96px;
position: absolute;
top: 100px;
left: 100px;
width: 300px;
}
</style>
</head>
<body>
<div id=a>Foo</div>
</body>
</html>

View file

@ -0,0 +1,34 @@
<!DOCTYPE html>
<html>
<head>
<!-- Tests that multiple `text-shadow`s paint in the right order. -->
<style>
section {
position: absolute;
width: 300px;
font-size: 96px;
}
#a {
top: 100px;
left: 100px;
color: red;
}
#b {
top: 106px;
left: 106px;
color: black;
}
#c {
top: 112px;
left: 112px;
color: blue;
}
</style>
</head>
<body>
<section id=c>Foo</section>
<section id=b>Foo</section>
<section id=a>Foo</section>
</body>
</html>