Test for bug 1067268, r=jfkthame
authorSimon Montagu <smontagu@smontagu.org>
Sat, 04 Oct 2014 23:02:37 -0700
changeset 208836 69910e2c2a5dd7389e8d4c14e49c0ceae2a30da2
parent 208835 e2ae0efd508a8d67b31dc567315898046d1de597
child 208837 9cafd64208c31616df1df0f135d780edec36d77e
push id1
push userroot
push dateMon, 20 Oct 2014 17:29:22 +0000
reviewersjfkthame
bugs1067268
milestone35.0a1
Test for bug 1067268, r=jfkthame
layout/reftests/bidi/1067268-1-ref.html
layout/reftests/bidi/1067268-1.html
layout/reftests/bidi/reftest.list
new file mode 100644
--- /dev/null
+++ b/layout/reftests/bidi/1067268-1-ref.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html dir="rtl">
+  <head>
+    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
+    <meta charset="utf-8">
+    <title>Testcase for bug 1067268</title>
+    <style type="text/css">
+      .drowning { height: 24px; padding-right: 26px; }
+    </style>
+  </head>
+  <body>
+    <ul>
+      <li>
+        <div>
+          <div class="drowning"><div class="text">חדשות</div></div>
+        </div>
+      </li>
+      <li>
+        <div>
+          <div class="drowning"><div class="text">הודעות</div></div>
+        </div>
+      </li>
+    </ul>
+  </body>
+</html>
new file mode 100644
--- /dev/null
+++ b/layout/reftests/bidi/1067268-1.html
@@ -0,0 +1,32 @@
+<!DOCTYPE html>
+<html dir="rtl">
+<head>
+  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
+  <meta charset="utf-8">
+  <style type="text/css">
+      li { clear: both; }
+
+      .text { overflow: hidden; }
+
+      .floating { float: left; width: 21px; height: 24px}
+
+      .drowning { height: 24px; padding-right: 26px; }
+  </style>
+  <title>Testcase for bug 1067268</title>
+  </head>
+  <body>
+    <ul>
+      <li>
+        <div>
+          <div class="floating"></div>
+          <div class="drowning"><div class="text">חדשות</div></div>
+        </div>
+      </li>
+      <li>
+        <div>
+          <div class="drowning"><div class="text">הודעות</div></div>
+        </div>
+      </li>
+    </ul>
+  </body>
+</html>
--- a/layout/reftests/bidi/reftest.list
+++ b/layout/reftests/bidi/reftest.list
@@ -137,11 +137,12 @@ skip-if(B2G) == 726420-1.html 726420-1-r
 == 746987-3.html 746987-3-ref.html
 == 746987-4.html 746987-4-ref.html
 == 779003-1.html 779003-1-ref.html
 == 779003-1-dynamic.html 779003-1-ref.html
 == 847242-1.html 847242-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
+== 1067268-1.html 1067268-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