Move border_spacing_a.html to wpt reftests.

This commit is contained in:
Ms2ger 2015-10-20 15:31:58 +02:00
parent 50a6f9986c
commit cb379861cc
4 changed files with 64 additions and 1 deletions

View file

@ -767,6 +767,18 @@
"url": "/_mozilla/css/border_rounding_1px_invisible_issue_7184_a.html"
}
],
"css/border_spacing_a.html": [
{
"path": "css/border_spacing_a.html",
"references": [
[
"/_mozilla/css/border_spacing_ref.html",
"=="
]
],
"url": "/_mozilla/css/border_spacing_a.html"
}
],
"css/class-namespaces.html": [
{
"path": "css/class-namespaces.html",
@ -4596,6 +4608,18 @@
"url": "/_mozilla/css/border_rounding_1px_invisible_issue_7184_a.html"
}
],
"css/border_spacing_a.html": [
{
"path": "css/border_spacing_a.html",
"references": [
[
"/_mozilla/css/border_spacing_ref.html",
"=="
]
],
"url": "/_mozilla/css/border_spacing_a.html"
}
],
"css/class-namespaces.html": [
{
"path": "css/class-namespaces.html",

View file

@ -0,0 +1,34 @@
<!DOCTYPE html>
<html>
<head>
<!-- Tests that `border-spacing` works. -->
<link rel=match href=border_spacing_ref.html>
<style>
body, html {
margin: 0;
}
table {
border: none;
border-spacing: 6px;
padding: 0;
}
tr {
border-spacing: 64px; /* should have no effect */
padding: 0;
}
td {
border: none;
border-spacing: 100px; /* should have no effect */
padding: 0;
background: blue;
}
</style>
</head>
<body>
<table>
<tr><td width=32 style="height: 32px;"></td><td width=64></td></tr>
<tr><td width=32 style="height: 32px;"></td><td width=64></td></tr>
</table>
</body>
</html>

View file

@ -0,0 +1,39 @@
<!DOCTYPE html>
<html>
<head>
<!-- Tests that `border-spacing` works. -->
<style>
div {
background: blue;
position: absolute;
height: 32px;
}
#a, #c {
width: 32px;
}
#b, #d {
width: 64px;
}
#a, #b {
top: 6px;
}
#c, #d {
top: 44px;
}
#a, #c {
left: 6px;
}
#b, #d {
left: 44px;
}
</style>
</head>
<body>
<div id=a></div>
<div id=b></div>
<div id=c></div>
<div id=d></div>
</body>
</html>