mirror of
https://github.com/servo/servo.git
synced 2025-10-01 09:09:15 +01:00
Move borders_a.html to wpt reftests.
This commit is contained in:
parent
8838133abe
commit
5b08ac9ca9
5 changed files with 25 additions and 1 deletions
|
@ -839,6 +839,18 @@
|
|||
"url": "/_mozilla/css/border_style_none_a.html"
|
||||
}
|
||||
],
|
||||
"css/borders_a.html": [
|
||||
{
|
||||
"path": "css/borders_a.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/borders_b.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/borders_a.html"
|
||||
}
|
||||
],
|
||||
"css/box_shadow_bg.html": [
|
||||
{
|
||||
"path": "css/box_shadow_bg.html",
|
||||
|
@ -5400,6 +5412,18 @@
|
|||
"url": "/_mozilla/css/border_style_none_a.html"
|
||||
}
|
||||
],
|
||||
"css/borders_a.html": [
|
||||
{
|
||||
"path": "css/borders_a.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/borders_b.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/borders_a.html"
|
||||
}
|
||||
],
|
||||
"css/box_shadow_bg.html": [
|
||||
{
|
||||
"path": "css/box_shadow_bg.html",
|
||||
|
|
BIN
tests/wpt/mozilla/tests/css/borders.png
Normal file
BIN
tests/wpt/mozilla/tests/css/borders.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 8 KiB |
88
tests/wpt/mozilla/tests/css/borders_a.html
Normal file
88
tests/wpt/mozilla/tests/css/borders_a.html
Normal file
|
@ -0,0 +1,88 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<link rel=match href=borders_b.html>
|
||||
<style>
|
||||
#none{
|
||||
border-style: none;
|
||||
border-width: 10px;
|
||||
border-color: green red yellow black;
|
||||
width:4096px;
|
||||
}
|
||||
#hidden{
|
||||
border-style: hidden;
|
||||
border-width: 10px;
|
||||
border-color: green red yellow black;
|
||||
width:4096px;
|
||||
}
|
||||
#double{
|
||||
border-style: double;
|
||||
border-width: 10px;
|
||||
border-color: yellow;
|
||||
width:4096px;
|
||||
}
|
||||
#solid{
|
||||
border-style: solid;
|
||||
border-width: 10px;
|
||||
border-color: yellow;
|
||||
width:4096px;
|
||||
}
|
||||
#dashed{
|
||||
border-style: dashed;
|
||||
border-width: 10px;
|
||||
border-color: green yellow black red;
|
||||
width:4096px;
|
||||
}
|
||||
#dotted{
|
||||
border-style: dotted;
|
||||
border-width: 10px;
|
||||
border-color: green red yellow black;
|
||||
width:4096px;
|
||||
}
|
||||
#groove{
|
||||
border-style: groove;
|
||||
border-width: 10px;
|
||||
border-color: green red yellow black;
|
||||
position: relative;
|
||||
left: -30px;
|
||||
width:4096px;
|
||||
}
|
||||
#ridge{
|
||||
border-style: ridge;
|
||||
border-width: 10px;
|
||||
border-color: green red yellow black;
|
||||
position: relative;
|
||||
left: -30px;
|
||||
width:4096px;
|
||||
}
|
||||
#inset{
|
||||
border-style: inset;
|
||||
border-width: 10px;
|
||||
border-color: green red yellow black;
|
||||
position: relative;
|
||||
left: -30px;
|
||||
width:4096px;
|
||||
}
|
||||
#outset{
|
||||
border-style: outset;
|
||||
border-width: 10px;
|
||||
border-color: green red yellow black;
|
||||
position: relative;
|
||||
left: -30px;
|
||||
width:4096px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="none"></div>
|
||||
<div id="hidden"></div>
|
||||
<div id="solid"></div>
|
||||
<div id="double"></div>
|
||||
<div id="dashed"></div>
|
||||
<div id="dotted"></div>
|
||||
<div id="groove"></div>
|
||||
<div id="ridge"></div>
|
||||
<div id="inset"></div>
|
||||
<div id="outset"></div>
|
||||
</body>
|
||||
</HTML>
|
19
tests/wpt/mozilla/tests/css/borders_b.html
Normal file
19
tests/wpt/mozilla/tests/css/borders_b.html
Normal file
|
@ -0,0 +1,19 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<style>
|
||||
html {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
background-color: white;
|
||||
border: none;
|
||||
}
|
||||
body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border: none;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body><img src="borders.png"></body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue