mirror of
https://github.com/servo/servo.git
synced 2025-08-16 10:55:34 +01:00
Move letter_spacing_a.html to wpt reftests.
This commit is contained in:
parent
8bb3445565
commit
3b72bb6fce
4 changed files with 25 additions and 1 deletions
|
@ -743,6 +743,18 @@
|
|||
"url": "/_mozilla/css/legacy_td_bgcolor_attribute_a.html"
|
||||
}
|
||||
],
|
||||
"css/letter_spacing_a.html": [
|
||||
{
|
||||
"path": "css/letter_spacing_a.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/letter_spacing_ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/letter_spacing_a.html"
|
||||
}
|
||||
],
|
||||
"css/nth_child_pseudo_a.html": [
|
||||
{
|
||||
"path": "css/nth_child_pseudo_a.html",
|
||||
|
@ -3720,6 +3732,18 @@
|
|||
"url": "/_mozilla/css/legacy_td_bgcolor_attribute_a.html"
|
||||
}
|
||||
],
|
||||
"css/letter_spacing_a.html": [
|
||||
{
|
||||
"path": "css/letter_spacing_a.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/letter_spacing_ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/letter_spacing_a.html"
|
||||
}
|
||||
],
|
||||
"css/nth_child_pseudo_a.html": [
|
||||
{
|
||||
"path": "css/nth_child_pseudo_a.html",
|
||||
|
|
18
tests/wpt/mozilla/tests/css/letter_spacing_a.html
Normal file
18
tests/wpt/mozilla/tests/css/letter_spacing_a.html
Normal file
|
@ -0,0 +1,18 @@
|
|||
<html>
|
||||
<head>
|
||||
<link rel='match' href='letter_spacing_ref.html'>
|
||||
<!-- Tests that `letter-spacing` works. -->
|
||||
<link rel="stylesheet" type="text/css" href="css/ahem.css">
|
||||
<style>
|
||||
* {
|
||||
letter-spacing: 100px;
|
||||
color: blue;
|
||||
}
|
||||
body {
|
||||
margin: 0;
|
||||
}
|
||||
</style>
|
||||
<body>XXX</body>
|
||||
</head>
|
||||
|
||||
|
26
tests/wpt/mozilla/tests/css/letter_spacing_ref.html
Normal file
26
tests/wpt/mozilla/tests/css/letter_spacing_ref.html
Normal file
|
@ -0,0 +1,26 @@
|
|||
<html>
|
||||
<head>
|
||||
<!-- Tests that `letter-spacing` works. -->
|
||||
<style>
|
||||
section, nav, main {
|
||||
background-color: blue;
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
}
|
||||
section {
|
||||
left: 0;
|
||||
}
|
||||
nav {
|
||||
left: 200px;
|
||||
}
|
||||
main {
|
||||
left: 400px;
|
||||
}
|
||||
</style>
|
||||
<body><section></section><nav></nav><main></main></body>
|
||||
</head>
|
||||
|
||||
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue