From 9407714b55a638fa06aeeefc568d4c065a7d7481 Mon Sep 17 00:00:00 2001 From: Simon Montagu Date: Thu, 24 Mar 2011 11:28:45 +0200 Subject: [PATCH] Tests for bug 263359 --- layout/reftests/bidi/263359-1-ref.html | 11 ++++++ layout/reftests/bidi/263359-1.html | 12 +++++++ layout/reftests/bidi/263359-1a.html | 20 +++++++++++ layout/reftests/bidi/263359-1b.html | 20 +++++++++++ layout/reftests/bidi/263359-2-ref.html | 47 ++++++++++++++++++++++++++ layout/reftests/bidi/263359-2.html | 46 +++++++++++++++++++++++++ layout/reftests/bidi/263359-3-ref.html | 35 +++++++++++++++++++ layout/reftests/bidi/263359-3.html | 36 ++++++++++++++++++++ layout/reftests/bidi/263359-4-ref.html | 16 +++++++++ layout/reftests/bidi/263359-4.html | 24 +++++++++++++ layout/reftests/bidi/reftest.list | 6 ++++ 11 files changed, 273 insertions(+) create mode 100644 layout/reftests/bidi/263359-1-ref.html create mode 100644 layout/reftests/bidi/263359-1.html create mode 100644 layout/reftests/bidi/263359-1a.html create mode 100644 layout/reftests/bidi/263359-1b.html create mode 100644 layout/reftests/bidi/263359-2-ref.html create mode 100644 layout/reftests/bidi/263359-2.html create mode 100644 layout/reftests/bidi/263359-3-ref.html create mode 100644 layout/reftests/bidi/263359-3.html create mode 100644 layout/reftests/bidi/263359-4-ref.html create mode 100644 layout/reftests/bidi/263359-4.html diff --git a/layout/reftests/bidi/263359-1-ref.html b/layout/reftests/bidi/263359-1-ref.html new file mode 100644 index 00000000000..203a055e5f3 --- /dev/null +++ b/layout/reftests/bidi/263359-1-ref.html @@ -0,0 +1,11 @@ + + + + preformatted-paragraph-break-as-bidi-paragraph-break + + + +
א -->‎
+--> ב
+ + diff --git a/layout/reftests/bidi/263359-1.html b/layout/reftests/bidi/263359-1.html new file mode 100644 index 00000000000..71f78338c40 --- /dev/null +++ b/layout/reftests/bidi/263359-1.html @@ -0,0 +1,12 @@ + + + + preformatted-paragraph-break-as-bidi-paragraph-break + + + +
א -->
+--> ב
+ + + diff --git a/layout/reftests/bidi/263359-1a.html b/layout/reftests/bidi/263359-1a.html new file mode 100644 index 00000000000..11cc5cd8217 --- /dev/null +++ b/layout/reftests/bidi/263359-1a.html @@ -0,0 +1,20 @@ + + + + preformatted-paragraph-break-as-bidi-paragraph-break + + + + +
א -->
+--> ב
+ + + diff --git a/layout/reftests/bidi/263359-1b.html b/layout/reftests/bidi/263359-1b.html new file mode 100644 index 00000000000..029384af8a2 --- /dev/null +++ b/layout/reftests/bidi/263359-1b.html @@ -0,0 +1,20 @@ + + + + preformatted-paragraph-break-as-bidi-paragraph-break + + + + +
א -->
+--> ב
+ + + diff --git a/layout/reftests/bidi/263359-2-ref.html b/layout/reftests/bidi/263359-2-ref.html new file mode 100644 index 00000000000..bca0323d6e0 --- /dev/null +++ b/layout/reftests/bidi/263359-2-ref.html @@ -0,0 +1,47 @@ + + + + + BIDI Layout Testing + + +
+Test1: No space +This is a testing for BiDi layout issues. ‏ +This is a testing for BiDi layout issues.‏ + +

This is a testing for BiDi layout issues.‏ +

+
This is a testing for BiDi layout issues.‏ +
+ +Test2: 3 spaces at the end +This is a testing for BiDi layout issues.‏    +This is a testing for BiDi layout issues.‏    + + +

This is a testing for BiDi layout issues.‏    +

+
This is a testing for BiDi layout issues.‏    +
+ +Test3: 3 spaces at the beginning +   This is a testing for BiDi layout issues.‏ +   This is a testing for BiDi layout issues.‏ + +

   This is a testing for BiDi layout issues.‏ +

+
   This is a testing for BiDi layout issues.‏ +
+ +Test4: 3 spaces at the end and the beginning +   This is a testing for BiDi layout issues.‏    +   This is a testing for BiDi layout issues.‏    + +

   This is a testing for BiDi layout issues.‏    +

+
   This is a testing for BiDi layout issues.‏    +
+
+ + diff --git a/layout/reftests/bidi/263359-2.html b/layout/reftests/bidi/263359-2.html new file mode 100644 index 00000000000..9e6ab5ed47c --- /dev/null +++ b/layout/reftests/bidi/263359-2.html @@ -0,0 +1,46 @@ + + + + + BIDI Layout Testing + + +
+Test1: No space +This is a testing for BiDi layout issues. +This is a testing for BiDi layout issues. + +

This is a testing for BiDi layout issues. +

+
This is a testing for BiDi layout issues.
+ +Test2: 3 spaces at the end +This is a testing for BiDi layout issues.    +This is a testing for BiDi layout issues.    + + +

This is a testing for BiDi layout issues.    +

+
This is a testing for BiDi layout issues.    +
+ +Test3: 3 spaces at the beginning +   This is a testing for BiDi layout issues. +   This is a testing for BiDi layout issues. + +

   This is a testing for BiDi layout issues. +

+
   This is a testing for BiDi layout issues. +
+ +Test4: 3 spaces at the end and the beginning +   This is a testing for BiDi layout issues.    +   This is a testing for BiDi layout issues.    + +

   This is a testing for BiDi layout issues.    +

+
   This is a testing for BiDi layout issues.    +
+
+ + diff --git a/layout/reftests/bidi/263359-3-ref.html b/layout/reftests/bidi/263359-3-ref.html new file mode 100644 index 00000000000..92e017b7137 --- /dev/null +++ b/layout/reftests/bidi/263359-3-ref.html @@ -0,0 +1,35 @@ + + + + + + Bug 263359 + + + +

במה מדליקין,

+

ובמה אין מדליקין?

+

אין מדליקין לא בלכש,

+

ולא בחוסן,

+

ולא בכלך,

+

ולא בפתילת האידן,

+

ולא בפתילת המדבר,

+

ולא בירוקה שעל פני המים.

+

לא בזפת,

+

ולא בשעווה,

+

ולא בשמן קיק,

+

ולא בשמן שריפה,

+

ולא באליה,

+

ולא בחלב.

+

נחום המדי אומר,

+

מדליקין בחלב מבושל;

+

וחכמים אומרים,

+

אחד מבושל ואחד שאינו מבושל,

+

אין מדליקין בו.

+ + diff --git a/layout/reftests/bidi/263359-3.html b/layout/reftests/bidi/263359-3.html new file mode 100644 index 00000000000..b225517bdde --- /dev/null +++ b/layout/reftests/bidi/263359-3.html @@ -0,0 +1,36 @@ + + + + + + Bug 263359 + + + +

במה מדליקין, +ובמה אין מדליקין? +אין מדליקין לא בלכש, +ולא בחוסן, +ולא בכלך, +ולא בפתילת האידן, +ולא בפתילת המדבר, +ולא בירוקה שעל פני המים. +לא בזפת, +ולא בשעווה, +ולא בשמן קיק, +ולא בשמן שריפה, +ולא באליה, +ולא בחלב. +נחום המדי אומר, +מדליקין בחלב מבושל; +וחכמים אומרים, +אחד מבושל ואחד שאינו מבושל, +אין מדליקין בו. + + + diff --git a/layout/reftests/bidi/263359-4-ref.html b/layout/reftests/bidi/263359-4-ref.html new file mode 100644 index 00000000000..e155f79d432 --- /dev/null +++ b/layout/reftests/bidi/263359-4-ref.html @@ -0,0 +1,16 @@ + + + + change direction of pre with bidi text + + + +

	can_be_executable=TRUE
+	[he]description=סוג לא ידוע
+	description=Unknown type
+	[ar]description=نوع غير معروف
+	[az]description=Namə'lum növ
+
+ + + diff --git a/layout/reftests/bidi/263359-4.html b/layout/reftests/bidi/263359-4.html new file mode 100644 index 00000000000..d766c862c6f --- /dev/null +++ b/layout/reftests/bidi/263359-4.html @@ -0,0 +1,24 @@ + + + + change direction of pre with bidi text + + + + +
	can_be_executable=TRUE
+	[he]description=סוג לא ידוע
+	description=Unknown type
+	[ar]description=نوع غير معروف
+	[az]description=Namə'lum növ
+
+ + + diff --git a/layout/reftests/bidi/reftest.list b/layout/reftests/bidi/reftest.list index f092adc8107..d79092c5ea1 100644 --- a/layout/reftests/bidi/reftest.list +++ b/layout/reftests/bidi/reftest.list @@ -39,6 +39,12 @@ random-if(cocoaWidget) == mirroring-02.html mirroring-02-ref.html == 229367-2.html 229367-2-ref.html == 229367-3.html 229367-3-ref.html == 258928-1.html 258928-1-ref.html +== 263359-1.html 263359-1-ref.html +== 263359-1a.html 263359-1-ref.html +!= 263359-1b.html 263359-1-ref.html +== 263359-2.html 263359-2-ref.html +== 263359-3.html 263359-3-ref.html +== 263359-4.html 263359-4-ref.html random-if(winWidget) == 267459-1.html 267459-1-ref.html # depends on windows version, see bug 590101 == 267459-2.html 267459-2-ref.html == 299065-1.html 299065-1-ref.html