mirror of
https://github.com/servo/servo.git
synced 2025-09-10 23:18:20 +01:00
Move rtl_margin_a.html to wpt reftests.
This commit is contained in:
parent
4029560e63
commit
a76dc54d54
4 changed files with 25 additions and 1 deletions
|
@ -683,6 +683,18 @@
|
|||
"url": "/_mozilla/css/flex_nochild.html"
|
||||
}
|
||||
],
|
||||
"css/rtl_margin_a.html": [
|
||||
{
|
||||
"path": "css/rtl_margin_a.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/rtl_margin_ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/rtl_margin_a.html"
|
||||
}
|
||||
],
|
||||
"css/rtl_simple.html": [
|
||||
{
|
||||
"path": "css/rtl_simple.html",
|
||||
|
@ -2892,6 +2904,18 @@
|
|||
"url": "/_mozilla/css/flex_nochild.html"
|
||||
}
|
||||
],
|
||||
"css/rtl_margin_a.html": [
|
||||
{
|
||||
"path": "css/rtl_margin_a.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/rtl_margin_ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/rtl_margin_a.html"
|
||||
}
|
||||
],
|
||||
"css/rtl_simple.html": [
|
||||
{
|
||||
"path": "css/rtl_simple.html",
|
||||
|
|
36
tests/wpt/mozilla/tests/css/rtl_margin_a.html
Normal file
36
tests/wpt/mozilla/tests/css/rtl_margin_a.html
Normal file
|
@ -0,0 +1,36 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel='match' href='rtl_margin_ref.html'>
|
||||
<meta charset="UTF-8">
|
||||
<title>RTL margin test</title>
|
||||
<style>
|
||||
body {
|
||||
margin: 8px;
|
||||
}
|
||||
#a {
|
||||
direction: rtl;
|
||||
}
|
||||
#b {
|
||||
border: 1px solid red;
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
}
|
||||
#c {
|
||||
border: 1px solid blue;
|
||||
margin: 10px;
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="a">
|
||||
<div id="b">
|
||||
<div id="c">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
34
tests/wpt/mozilla/tests/css/rtl_margin_ref.html
Normal file
34
tests/wpt/mozilla/tests/css/rtl_margin_ref.html
Normal file
|
@ -0,0 +1,34 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>RTL margin test</title>
|
||||
<style>
|
||||
#b {
|
||||
border: 1px solid red;
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
position: absolute;
|
||||
top: 8px;
|
||||
right: 8px;
|
||||
}
|
||||
#c {
|
||||
border: 1px solid blue;
|
||||
position: absolute;
|
||||
top: 10px;
|
||||
right: 10px;
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="a">
|
||||
<div id="b">
|
||||
<div id="c">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue