Test for bug 1067268. r=jfkthame, a=lmandel
authorSimon Montagu <smontagu@smontagu.org>
Sat, 04 Oct 2014 23:02:37 -0700
changeset 225709 4f904d9bcff2
parent 225708 1f7f807b6362
child 225710 29dd7b8ee41f
push id3988
push userryanvm@gmail.com
push date2014-10-17 01:37 +0000
treeherdermozilla-beta@c3fa7201e034 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjfkthame, lmandel
bugs1067268
milestone34.0
Test for bug 1067268. r=jfkthame, a=lmandel
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,8 +137,9 @@ 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