Tests for bug 670226. r=roc
authorSimon Montagu <smontagu@smontagu.org>
Tue, 12 Jul 2011 10:34:50 +0300
changeset 72614 c847d67a09f8239d8339eb91f6e303103bf1b7b3
parent 72613 f7f3f4ad573c9b6dc05d3fac53b476f9d3e1dc63
child 72615 e899fed03195b3980280b2cf46fb90261e5f72c8
push id20747
push usersmontagu@mozilla.com
push dateTue, 12 Jul 2011 07:36:20 +0000
treeherdermozilla-central@e899fed03195 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersroc
bugs670226
milestone8.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Tests for bug 670226. r=roc
layout/base/crashtests/670226.html
layout/base/crashtests/crashtests.list
layout/reftests/bidi/670226-1-ref.html
layout/reftests/bidi/670226-1.html
layout/reftests/bidi/reftest.list
new file mode 100644
--- /dev/null
+++ b/layout/base/crashtests/670226.html
@@ -0,0 +1,10 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style>body:first-letter { float: left; }</style>
+</head>
+
+<body style="white-space: pre-line;">&#x062A;
+</body>
+
+</html>
--- a/layout/base/crashtests/crashtests.list
+++ b/layout/base/crashtests/crashtests.list
@@ -336,8 +336,9 @@ load 645193.html
 load 650475.xhtml
 load 650489.xhtml
 load 653133-1.html
 load 663295.html
 load 663662-1.html
 load 663662-2.html
 load 665837.html
 load 668941.xhtml
+load 670226.html
new file mode 100644
--- /dev/null
+++ b/layout/reftests/bidi/670226-1-ref.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+ <head>
+  <title>Bug 670226</title>
+  <style type="text/css">
+   pre:first-letter { float:left; color: lime}
+   pre { font-size: 16pt }
+  </style>
+ </head>
+ <body>
+  <pre dir="rtl">a+b
+c</pre>
+ </body>
+</html>
new file mode 100644
--- /dev/null
+++ b/layout/reftests/bidi/670226-1.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+ <head>
+  <title>Bug 670226</title>
+  <style type="text/css">
+   pre:first-letter { float:left; color: lime}
+  </style>
+  <script type="text/javascript">
+function boom()
+{
+  var p = document.getElementById("p");
+  p.style.fontSize="16pt";
+}
+ </script>
+ </head>
+ <body onload="boom()">
+  <pre id="p" dir="rtl">a+b
+c</pre>
+ </body>
+</html>
--- a/layout/reftests/bidi/reftest.list
+++ b/layout/reftests/bidi/reftest.list
@@ -77,8 +77,9 @@ fails-if(Android) == 386339.html 386339-
 == 525740-1.html 525740-1-ref.html
 == 536963-1.html 536963-1-ref.html
 == 588739-1.html 588739-ref.html
 == 588739-2.html 588739-ref.html
 == 588739-3.html 588739-ref.html
 == 612843-1.html 612843-1-ref.html
 == 613157-1.html 613157-1-ref.html
 == 613157-2.html 613157-2-ref.html
+== 670226-1.html 670226-1-ref.html