Move vertical-lr-blocks.html to wpt reftests.

This commit is contained in:
Ms2ger 2015-12-02 16:05:22 +01:00
parent d8fe60ccb1
commit 81a5948b23
5 changed files with 30 additions and 1 deletions

View file

@ -4651,6 +4651,18 @@
"url": "/_mozilla/css/upper_id_attr.html"
}
],
"css/vertical-lr-blocks.html": [
{
"path": "css/vertical-lr-blocks.html",
"references": [
[
"/_mozilla/css/vertical-lr-blocks_ref.html",
"=="
]
],
"url": "/_mozilla/css/vertical-lr-blocks.html"
}
],
"css/vertical_align_bottom_a.html": [
{
"path": "css/vertical_align_bottom_a.html",
@ -10446,6 +10458,18 @@
"url": "/_mozilla/css/upper_id_attr.html"
}
],
"css/vertical-lr-blocks.html": [
{
"path": "css/vertical-lr-blocks.html",
"references": [
[
"/_mozilla/css/vertical-lr-blocks_ref.html",
"=="
]
],
"url": "/_mozilla/css/vertical-lr-blocks.html"
}
],
"css/vertical_align_bottom_a.html": [
{
"path": "css/vertical_align_bottom_a.html",

View file

@ -0,0 +1,5 @@
prefs: [layout.writing-mode.enabled:true]
[vertical-lr-blocks.html]
type: reftest
expected: FAIL
bug: https://github.com/servo/servo/issues/3926

View file

@ -0,0 +1,19 @@
<!doctype html>
<html>
<head>
<link rel=match href=vertical-lr-blocks_ref.html>
<style>
html { writing-mode: vertical-rl }
body { margin: 10px }
div { border: blue solid 5px; line-height: 30px; height: 500px }
p { background: green; margin: 40px 20px }
p + p { margin-top: 60px }
</style>
</head>
<body>
<div>
<p>&nbsp;</p>
<p>&nbsp;</p>
</div>
</body>
</html>

View file

@ -0,0 +1,18 @@
<!doctype html>
<html>
<head>
<style>
div { border: blue solid 5px; position: absolute;
top: 10px; right: 10px; bottom: 10px; width: 120px; height: 500px }
p { background: green; margin: 0; position: absolute;
top: 40px; right: 20px; bottom: 40px; width: 30px }
p + p { right: 70px; top: 60px }
</style>
</head>
<body>
<div>
<p>&nbsp;</p>
<p>&nbsp;</p>
</div>
</body>
</html>