mirror of
https://github.com/servo/servo.git
synced 2025-10-01 00:59:15 +01:00
Move text_shadow_decorations_a.html to wpt reftests.
This commit is contained in:
parent
1fc2989fa6
commit
c8182e78ed
4 changed files with 25 additions and 1 deletions
|
@ -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",
|
||||
|
|
23
tests/wpt/mozilla/tests/css/text_shadow_decorations_a.html
Normal file
23
tests/wpt/mozilla/tests/css/text_shadow_decorations_a.html
Normal 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>
|
||||
|
30
tests/wpt/mozilla/tests/css/text_shadow_decorations_ref.html
Normal file
30
tests/wpt/mozilla/tests/css/text_shadow_decorations_ref.html
Normal 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>
|
||||
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue