Tests for bug 1069941, one by jfkthame, r=smontagu; the other by smontagu, r=jfkthame

This commit is contained in:
Simon Montagu 2014-09-30 10:59:12 -07:00
parent 8e7ea7a033
commit 4d9fcff764
5 changed files with 73 additions and 0 deletions

View File

@ -0,0 +1,15 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Test for bug 1069941 -- borders</title>
</head>
<body>
<div dir="ltr">
<span dir="ltr" style="color:transparent;background:gray;border-left:10px solid teal;">+٥</span>
</div>
<div dir="ltr">
<span dir="ltr" style="color:transparent;background:gray;border-right:10px solid teal;">+٥</span>
</div>
</body>
</html>

View File

@ -0,0 +1,15 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Test for bug 1069941 -- borders</title>
</head>
<body>
<div dir="ltr">
<span dir="rtl" style="color:transparent;background:gray;border-left:10px solid teal;">+٥</span>
</div>
<div dir="ltr">
<span dir="rtl" style="color:transparent;background:gray;border-right:10px solid teal;">+٥</span>
</div>
</body>
</html>

View File

@ -0,0 +1,20 @@
<!DOCTYPE html>
<html>
<head>
<title>Test for bug 1069941 -- margins</title>
<style type="text/css">
.outer {
display: inline-block;
border: 1px solid lime;
}
.inner {
color:transparent;
margin-left: 50px;
border: 2px solid teal;
}
</style>
</head>
<body>
<span class="outer"><span class="inner">(12]</span></span>
</body>
</html>

View File

@ -0,0 +1,20 @@
<!DOCTYPE html>
<html>
<head>
<title>Test for bug 1069941 -- margins</title>
<style type="text/css">
.outer {
display: inline-block;
border: 1px solid lime;
}
.inner {
color:transparent;
margin-left: 50px;
border: 2px solid teal;
}
</style>
</head>
<body>
<span class="outer"><span class="inner" dir="rtl">[12)</span></span>
</body>
</html>

View File

@ -142,3 +142,6 @@ skip-if(B2G) == 726420-1.html 726420-1-ref.html
skip-if(B2G&&browserIsRemote) == 869833-1.xul 869833-1-ref.xul
== 922530-1.html 922530-1-ref.html
== 922550-1.html 922550-1-ref.html
== 1069941-inline-bidi-border-1.html 1069941-inline-bidi-border-1-ref.html
== 1069941-inline-bidi-margin-1.html 1069941-inline-bidi-margin-1-ref.html