mirror of
https://github.com/servo/servo.git
synced 2025-09-11 07:28:19 +01:00
Move text_shadow_simple_a.html to wpt reftests.
This commit is contained in:
parent
15459e35e8
commit
7c4b2aa754
4 changed files with 25 additions and 1 deletions
|
@ -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",
|
||||
|
|
23
tests/wpt/mozilla/tests/css/text_shadow_simple_a.html
Normal file
23
tests/wpt/mozilla/tests/css/text_shadow_simple_a.html
Normal 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>
|
35
tests/wpt/mozilla/tests/css/text_shadow_simple_ref.html
Normal file
35
tests/wpt/mozilla/tests/css/text_shadow_simple_ref.html
Normal 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>
|
Loading…
Add table
Add a link
Reference in a new issue