mirror of
https://github.com/servo/servo.git
synced 2025-09-30 16:49:16 +01:00
Move table_caption_bottom_a.html to wpt reftests.
This commit is contained in:
parent
91588f555e
commit
bb22a642b9
4 changed files with 25 additions and 1 deletions
|
@ -603,6 +603,18 @@
|
|||
"url": "/_mozilla/css/stacking_context_rtl.html"
|
||||
}
|
||||
],
|
||||
"css/table_caption_bottom_a.html": [
|
||||
{
|
||||
"path": "css/table_caption_bottom_a.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/table_caption_bottom_ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/table_caption_bottom_a.html"
|
||||
}
|
||||
],
|
||||
"css/table_caption_top_a.html": [
|
||||
{
|
||||
"path": "css/table_caption_top_a.html",
|
||||
|
@ -2564,6 +2576,18 @@
|
|||
"url": "/_mozilla/css/stacking_context_rtl.html"
|
||||
}
|
||||
],
|
||||
"css/table_caption_bottom_a.html": [
|
||||
{
|
||||
"path": "css/table_caption_bottom_a.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/table_caption_bottom_ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/table_caption_bottom_a.html"
|
||||
}
|
||||
],
|
||||
"css/table_caption_top_a.html": [
|
||||
{
|
||||
"path": "css/table_caption_top_a.html",
|
||||
|
|
29
tests/wpt/mozilla/tests/css/table_caption_bottom_a.html
Normal file
29
tests/wpt/mozilla/tests/css/table_caption_bottom_a.html
Normal file
|
@ -0,0 +1,29 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel='match' href='table_caption_bottom_ref.html'>
|
||||
<!-- Tests that `caption-side` places the caption on the right side. -->
|
||||
<style>
|
||||
caption {
|
||||
background-color: blue;
|
||||
color: white;
|
||||
caption-side: bottom;
|
||||
padding: 0;
|
||||
text-align: left;
|
||||
width: 500px;
|
||||
}
|
||||
table {
|
||||
width: 500px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<table border=0 cellspacing=0 cellpadding=0>
|
||||
<tr><td>Kitten</td><td>Kätzchen</td><td>Chaton</td><td>Koneko</td></tr>
|
||||
<tr><td>Cat</td><td>Katze</td><td>Chat</td><td>Neko</td></tr>
|
||||
<caption>Vocabulary</caption>
|
||||
<tr><td>Dog</td><td>Hund</td><td>Chien</td><td>Inu</td></tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
|
27
tests/wpt/mozilla/tests/css/table_caption_bottom_ref.html
Normal file
27
tests/wpt/mozilla/tests/css/table_caption_bottom_ref.html
Normal file
|
@ -0,0 +1,27 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<!-- Tests that `caption-side` places the caption on the right side. -->
|
||||
<style>
|
||||
section {
|
||||
background-color: blue;
|
||||
color: white;
|
||||
padding: 0;
|
||||
text-align: left;
|
||||
width: 500px;
|
||||
}
|
||||
table {
|
||||
width: 500px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<table border=0 cellspacing=0 cellpadding=0>
|
||||
<tr><td>Kitten</td><td>Kätzchen</td><td>Chaton</td><td>Koneko</td></tr>
|
||||
<tr><td>Cat</td><td>Katze</td><td>Chat</td><td>Neko</td></tr>
|
||||
<tr><td>Dog</td><td>Hund</td><td>Chien</td><td>Inu</td></tr>
|
||||
</table>
|
||||
<section>Vocabulary</section>
|
||||
</body>
|
||||
</html>
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue