From 7f45c42647ba885affbeb0de84f65a6ab1509f4b Mon Sep 17 00:00:00 2001 From: Matitiahu Allouche Date: Tue, 20 Nov 2012 06:21:14 -0800 Subject: [PATCH] Tests for dir=auto (Bug 548206) from w3c HTML5 test suite, r=smontagu --- .../bidi/dirAuto/dir_auto-EN-L-ref.html | 58 +++++++++++ .../reftests/bidi/dirAuto/dir_auto-EN-L.html | 58 +++++++++++ .../bidi/dirAuto/dir_auto-EN-R-ref.html | 58 +++++++++++ .../reftests/bidi/dirAuto/dir_auto-EN-R.html | 58 +++++++++++ .../reftests/bidi/dirAuto/dir_auto-L-ref.html | 58 +++++++++++ layout/reftests/bidi/dirAuto/dir_auto-L.html | 58 +++++++++++ .../bidi/dirAuto/dir_auto-N-EN-L-ref.html | 58 +++++++++++ .../bidi/dirAuto/dir_auto-N-EN-L.html | 58 +++++++++++ .../bidi/dirAuto/dir_auto-N-EN-R-ref.html | 58 +++++++++++ .../bidi/dirAuto/dir_auto-N-EN-R.html | 58 +++++++++++ .../bidi/dirAuto/dir_auto-N-EN-ref.html | 51 ++++++++++ .../reftests/bidi/dirAuto/dir_auto-N-EN.html | 51 ++++++++++ .../bidi/dirAuto/dir_auto-N-L-ref.html | 58 +++++++++++ .../reftests/bidi/dirAuto/dir_auto-N-L.html | 58 +++++++++++ .../bidi/dirAuto/dir_auto-N-R-ref.html | 58 +++++++++++ .../reftests/bidi/dirAuto/dir_auto-N-R.html | 58 +++++++++++ .../reftests/bidi/dirAuto/dir_auto-R-ref.html | 59 +++++++++++ layout/reftests/bidi/dirAuto/dir_auto-R.html | 58 +++++++++++ .../dirAuto/dir_auto-contained-L-ref.html | 62 ++++++++++++ .../bidi/dirAuto/dir_auto-contained-L.html | 62 ++++++++++++ .../dirAuto/dir_auto-contained-R-ref.html | 58 +++++++++++ .../bidi/dirAuto/dir_auto-contained-R.html | 58 +++++++++++ .../dirAuto/dir_auto-contained-bdi-L-ref.html | 64 ++++++++++++ .../dirAuto/dir_auto-contained-bdi-L.html | 64 ++++++++++++ .../dirAuto/dir_auto-contained-bdi-R-ref.html | 61 ++++++++++++ .../dirAuto/dir_auto-contained-bdi-R.html | 61 ++++++++++++ .../dirAuto/dir_auto-contained-dir-L-ref.html | 61 ++++++++++++ .../dirAuto/dir_auto-contained-dir-L.html | 61 ++++++++++++ .../dirAuto/dir_auto-contained-dir-R-ref.html | 58 +++++++++++ .../dirAuto/dir_auto-contained-dir-R.html | 58 +++++++++++ .../dir_auto-contained-dir_auto-L-ref.html | 61 ++++++++++++ .../dir_auto-contained-dir_auto-L.html | 61 ++++++++++++ .../dir_auto-contained-dir_auto-R-ref.html | 58 +++++++++++ .../dir_auto-contained-dir_auto-R.html | 58 +++++++++++ .../dir_auto-contained-script-L-ref.html | 58 +++++++++++ .../dirAuto/dir_auto-contained-script-L.html | 58 +++++++++++ .../dir_auto-contained-script-R-ref.html | 58 +++++++++++ .../dirAuto/dir_auto-contained-script-R.html | 58 +++++++++++ .../dir_auto-contained-style-L-ref.html | 70 +++++++++++++ .../dirAuto/dir_auto-contained-style-L.html | 70 +++++++++++++ .../dir_auto-contained-style-R-ref.html | 70 +++++++++++++ .../dirAuto/dir_auto-contained-style-R.html | 70 +++++++++++++ .../dir_auto-contained-textarea-L-ref.html | 61 ++++++++++++ .../dir_auto-contained-textarea-L.html | 61 ++++++++++++ .../dir_auto-contained-textarea-R-ref.html | 58 +++++++++++ .../dir_auto-contained-textarea-R.html | 58 +++++++++++ .../bidi/dirAuto/dir_auto-input-EN-L-ref.html | 59 +++++++++++ .../bidi/dirAuto/dir_auto-input-EN-L.html | 59 +++++++++++ .../bidi/dirAuto/dir_auto-input-EN-R-ref.html | 59 +++++++++++ .../bidi/dirAuto/dir_auto-input-EN-R.html | 59 +++++++++++ .../bidi/dirAuto/dir_auto-input-L-ref.html | 59 +++++++++++ .../bidi/dirAuto/dir_auto-input-L.html | 59 +++++++++++ .../dirAuto/dir_auto-input-N-EN-L-ref.html | 59 +++++++++++ .../bidi/dirAuto/dir_auto-input-N-EN-L.html | 59 +++++++++++ .../dirAuto/dir_auto-input-N-EN-R-ref.html | 59 +++++++++++ .../bidi/dirAuto/dir_auto-input-N-EN-R.html | 59 +++++++++++ .../bidi/dirAuto/dir_auto-input-N-EN-ref.html | 54 ++++++++++ .../bidi/dirAuto/dir_auto-input-N-EN.html | 54 ++++++++++ .../bidi/dirAuto/dir_auto-input-N-L-ref.html | 59 +++++++++++ .../bidi/dirAuto/dir_auto-input-N-L.html | 59 +++++++++++ .../bidi/dirAuto/dir_auto-input-N-R-ref.html | 59 +++++++++++ .../bidi/dirAuto/dir_auto-input-N-R.html | 59 +++++++++++ .../bidi/dirAuto/dir_auto-input-R-ref.html | 59 +++++++++++ .../bidi/dirAuto/dir_auto-input-R.html | 59 +++++++++++ .../dir_auto-input-script-EN-L-ref.html | 59 +++++++++++ .../dirAuto/dir_auto-input-script-EN-L.html | 68 +++++++++++++ .../dir_auto-input-script-EN-R-ref.html | 59 +++++++++++ .../dirAuto/dir_auto-input-script-EN-R.html | 68 +++++++++++++ .../dirAuto/dir_auto-input-script-L-ref.html | 59 +++++++++++ .../bidi/dirAuto/dir_auto-input-script-L.html | 68 +++++++++++++ .../dir_auto-input-script-N-EN-L-ref.html | 59 +++++++++++ .../dirAuto/dir_auto-input-script-N-EN-L.html | 68 +++++++++++++ .../dir_auto-input-script-N-EN-R-ref.html | 59 +++++++++++ .../dirAuto/dir_auto-input-script-N-EN-R.html | 68 +++++++++++++ .../dir_auto-input-script-N-EN-ref.html | 54 ++++++++++ .../dirAuto/dir_auto-input-script-N-EN.html | 63 ++++++++++++ .../dir_auto-input-script-N-L-ref.html | 59 +++++++++++ .../dirAuto/dir_auto-input-script-N-L.html | 68 +++++++++++++ .../dir_auto-input-script-N-R-ref.html | 59 +++++++++++ .../dirAuto/dir_auto-input-script-N-R.html | 68 +++++++++++++ .../dirAuto/dir_auto-input-script-R-ref.html | 59 +++++++++++ .../bidi/dirAuto/dir_auto-input-script-R.html | 68 +++++++++++++ .../bidi/dirAuto/dir_auto-isolate-ref.html | 56 +++++++++++ .../bidi/dirAuto/dir_auto-isolate.html | 58 +++++++++++ .../bidi/dirAuto/dir_auto-pre-N-EN-ref.html | 49 ++++++++++ .../bidi/dirAuto/dir_auto-pre-N-EN.html | 66 +++++++++++++ .../dir_auto-pre-N-between-Rs-ref.html | 61 ++++++++++++ .../dirAuto/dir_auto-pre-N-between-Rs.html | 76 ++++++++++++++ .../bidi/dirAuto/dir_auto-pre-mixed-ref.html | 61 ++++++++++++ .../bidi/dirAuto/dir_auto-pre-mixed.html | 77 +++++++++++++++ .../dirAuto/dir_auto-textarea-N-EN-ref.html | 49 ++++++++++ .../bidi/dirAuto/dir_auto-textarea-N-EN.html | 66 +++++++++++++ .../dir_auto-textarea-N-between-Rs-ref.html | 65 ++++++++++++ .../dir_auto-textarea-N-between-Rs.html | 79 +++++++++++++++ .../dirAuto/dir_auto-textarea-mixed-ref.html | 64 ++++++++++++ .../bidi/dirAuto/dir_auto-textarea-mixed.html | 80 +++++++++++++++ .../dir_auto-textarea-script-N-EN-ref.html | 49 ++++++++++ .../dir_auto-textarea-script-N-EN.html | 75 ++++++++++++++ ...auto-textarea-script-N-between-Rs-ref.html | 65 ++++++++++++ ...dir_auto-textarea-script-N-between-Rs.html | 84 ++++++++++++++++ .../dir_auto-textarea-script-mixed-ref.html | 64 ++++++++++++ .../dir_auto-textarea-script-mixed.html | 98 +++++++++++++++++++ layout/reftests/bidi/dirAuto/reftest.list | 51 ++++++++++ layout/reftests/bidi/reftest.list | 1 + 104 files changed, 6326 insertions(+) create mode 100644 layout/reftests/bidi/dirAuto/dir_auto-EN-L-ref.html create mode 100644 layout/reftests/bidi/dirAuto/dir_auto-EN-L.html create mode 100644 layout/reftests/bidi/dirAuto/dir_auto-EN-R-ref.html create mode 100644 layout/reftests/bidi/dirAuto/dir_auto-EN-R.html create mode 100644 layout/reftests/bidi/dirAuto/dir_auto-L-ref.html create mode 100644 layout/reftests/bidi/dirAuto/dir_auto-L.html create mode 100644 layout/reftests/bidi/dirAuto/dir_auto-N-EN-L-ref.html create mode 100644 layout/reftests/bidi/dirAuto/dir_auto-N-EN-L.html create mode 100644 layout/reftests/bidi/dirAuto/dir_auto-N-EN-R-ref.html create mode 100644 layout/reftests/bidi/dirAuto/dir_auto-N-EN-R.html create mode 100644 layout/reftests/bidi/dirAuto/dir_auto-N-EN-ref.html create mode 100644 layout/reftests/bidi/dirAuto/dir_auto-N-EN.html create mode 100644 layout/reftests/bidi/dirAuto/dir_auto-N-L-ref.html create mode 100644 layout/reftests/bidi/dirAuto/dir_auto-N-L.html create mode 100644 layout/reftests/bidi/dirAuto/dir_auto-N-R-ref.html create mode 100644 layout/reftests/bidi/dirAuto/dir_auto-N-R.html create mode 100644 layout/reftests/bidi/dirAuto/dir_auto-R-ref.html create mode 100644 layout/reftests/bidi/dirAuto/dir_auto-R.html create mode 100644 layout/reftests/bidi/dirAuto/dir_auto-contained-L-ref.html create mode 100644 layout/reftests/bidi/dirAuto/dir_auto-contained-L.html create mode 100644 layout/reftests/bidi/dirAuto/dir_auto-contained-R-ref.html create mode 100644 layout/reftests/bidi/dirAuto/dir_auto-contained-R.html create mode 100644 layout/reftests/bidi/dirAuto/dir_auto-contained-bdi-L-ref.html create mode 100644 layout/reftests/bidi/dirAuto/dir_auto-contained-bdi-L.html create mode 100644 layout/reftests/bidi/dirAuto/dir_auto-contained-bdi-R-ref.html create mode 100644 layout/reftests/bidi/dirAuto/dir_auto-contained-bdi-R.html create mode 100644 layout/reftests/bidi/dirAuto/dir_auto-contained-dir-L-ref.html create mode 100644 layout/reftests/bidi/dirAuto/dir_auto-contained-dir-L.html create mode 100644 layout/reftests/bidi/dirAuto/dir_auto-contained-dir-R-ref.html create mode 100644 layout/reftests/bidi/dirAuto/dir_auto-contained-dir-R.html create mode 100644 layout/reftests/bidi/dirAuto/dir_auto-contained-dir_auto-L-ref.html create mode 100644 layout/reftests/bidi/dirAuto/dir_auto-contained-dir_auto-L.html create mode 100644 layout/reftests/bidi/dirAuto/dir_auto-contained-dir_auto-R-ref.html create mode 100644 layout/reftests/bidi/dirAuto/dir_auto-contained-dir_auto-R.html create mode 100644 layout/reftests/bidi/dirAuto/dir_auto-contained-script-L-ref.html create mode 100644 layout/reftests/bidi/dirAuto/dir_auto-contained-script-L.html create mode 100644 layout/reftests/bidi/dirAuto/dir_auto-contained-script-R-ref.html create mode 100644 layout/reftests/bidi/dirAuto/dir_auto-contained-script-R.html create mode 100644 layout/reftests/bidi/dirAuto/dir_auto-contained-style-L-ref.html create mode 100644 layout/reftests/bidi/dirAuto/dir_auto-contained-style-L.html create mode 100644 layout/reftests/bidi/dirAuto/dir_auto-contained-style-R-ref.html create mode 100644 layout/reftests/bidi/dirAuto/dir_auto-contained-style-R.html create mode 100644 layout/reftests/bidi/dirAuto/dir_auto-contained-textarea-L-ref.html create mode 100644 layout/reftests/bidi/dirAuto/dir_auto-contained-textarea-L.html create mode 100644 layout/reftests/bidi/dirAuto/dir_auto-contained-textarea-R-ref.html create mode 100644 layout/reftests/bidi/dirAuto/dir_auto-contained-textarea-R.html create mode 100644 layout/reftests/bidi/dirAuto/dir_auto-input-EN-L-ref.html create mode 100644 layout/reftests/bidi/dirAuto/dir_auto-input-EN-L.html create mode 100644 layout/reftests/bidi/dirAuto/dir_auto-input-EN-R-ref.html create mode 100644 layout/reftests/bidi/dirAuto/dir_auto-input-EN-R.html create mode 100644 layout/reftests/bidi/dirAuto/dir_auto-input-L-ref.html create mode 100644 layout/reftests/bidi/dirAuto/dir_auto-input-L.html create mode 100644 layout/reftests/bidi/dirAuto/dir_auto-input-N-EN-L-ref.html create mode 100644 layout/reftests/bidi/dirAuto/dir_auto-input-N-EN-L.html create mode 100644 layout/reftests/bidi/dirAuto/dir_auto-input-N-EN-R-ref.html create mode 100644 layout/reftests/bidi/dirAuto/dir_auto-input-N-EN-R.html create mode 100644 layout/reftests/bidi/dirAuto/dir_auto-input-N-EN-ref.html create mode 100644 layout/reftests/bidi/dirAuto/dir_auto-input-N-EN.html create mode 100644 layout/reftests/bidi/dirAuto/dir_auto-input-N-L-ref.html create mode 100644 layout/reftests/bidi/dirAuto/dir_auto-input-N-L.html create mode 100644 layout/reftests/bidi/dirAuto/dir_auto-input-N-R-ref.html create mode 100644 layout/reftests/bidi/dirAuto/dir_auto-input-N-R.html create mode 100644 layout/reftests/bidi/dirAuto/dir_auto-input-R-ref.html create mode 100644 layout/reftests/bidi/dirAuto/dir_auto-input-R.html create mode 100644 layout/reftests/bidi/dirAuto/dir_auto-input-script-EN-L-ref.html create mode 100644 layout/reftests/bidi/dirAuto/dir_auto-input-script-EN-L.html create mode 100644 layout/reftests/bidi/dirAuto/dir_auto-input-script-EN-R-ref.html create mode 100644 layout/reftests/bidi/dirAuto/dir_auto-input-script-EN-R.html create mode 100644 layout/reftests/bidi/dirAuto/dir_auto-input-script-L-ref.html create mode 100644 layout/reftests/bidi/dirAuto/dir_auto-input-script-L.html create mode 100644 layout/reftests/bidi/dirAuto/dir_auto-input-script-N-EN-L-ref.html create mode 100644 layout/reftests/bidi/dirAuto/dir_auto-input-script-N-EN-L.html create mode 100644 layout/reftests/bidi/dirAuto/dir_auto-input-script-N-EN-R-ref.html create mode 100644 layout/reftests/bidi/dirAuto/dir_auto-input-script-N-EN-R.html create mode 100644 layout/reftests/bidi/dirAuto/dir_auto-input-script-N-EN-ref.html create mode 100644 layout/reftests/bidi/dirAuto/dir_auto-input-script-N-EN.html create mode 100644 layout/reftests/bidi/dirAuto/dir_auto-input-script-N-L-ref.html create mode 100644 layout/reftests/bidi/dirAuto/dir_auto-input-script-N-L.html create mode 100644 layout/reftests/bidi/dirAuto/dir_auto-input-script-N-R-ref.html create mode 100644 layout/reftests/bidi/dirAuto/dir_auto-input-script-N-R.html create mode 100644 layout/reftests/bidi/dirAuto/dir_auto-input-script-R-ref.html create mode 100644 layout/reftests/bidi/dirAuto/dir_auto-input-script-R.html create mode 100644 layout/reftests/bidi/dirAuto/dir_auto-isolate-ref.html create mode 100644 layout/reftests/bidi/dirAuto/dir_auto-isolate.html create mode 100644 layout/reftests/bidi/dirAuto/dir_auto-pre-N-EN-ref.html create mode 100644 layout/reftests/bidi/dirAuto/dir_auto-pre-N-EN.html create mode 100644 layout/reftests/bidi/dirAuto/dir_auto-pre-N-between-Rs-ref.html create mode 100644 layout/reftests/bidi/dirAuto/dir_auto-pre-N-between-Rs.html create mode 100644 layout/reftests/bidi/dirAuto/dir_auto-pre-mixed-ref.html create mode 100644 layout/reftests/bidi/dirAuto/dir_auto-pre-mixed.html create mode 100644 layout/reftests/bidi/dirAuto/dir_auto-textarea-N-EN-ref.html create mode 100644 layout/reftests/bidi/dirAuto/dir_auto-textarea-N-EN.html create mode 100644 layout/reftests/bidi/dirAuto/dir_auto-textarea-N-between-Rs-ref.html create mode 100644 layout/reftests/bidi/dirAuto/dir_auto-textarea-N-between-Rs.html create mode 100644 layout/reftests/bidi/dirAuto/dir_auto-textarea-mixed-ref.html create mode 100644 layout/reftests/bidi/dirAuto/dir_auto-textarea-mixed.html create mode 100644 layout/reftests/bidi/dirAuto/dir_auto-textarea-script-N-EN-ref.html create mode 100644 layout/reftests/bidi/dirAuto/dir_auto-textarea-script-N-EN.html create mode 100644 layout/reftests/bidi/dirAuto/dir_auto-textarea-script-N-between-Rs-ref.html create mode 100644 layout/reftests/bidi/dirAuto/dir_auto-textarea-script-N-between-Rs.html create mode 100644 layout/reftests/bidi/dirAuto/dir_auto-textarea-script-mixed-ref.html create mode 100644 layout/reftests/bidi/dirAuto/dir_auto-textarea-script-mixed.html create mode 100644 layout/reftests/bidi/dirAuto/reftest.list diff --git a/layout/reftests/bidi/dirAuto/dir_auto-EN-L-ref.html b/layout/reftests/bidi/dirAuto/dir_auto-EN-L-ref.html new file mode 100644 index 00000000000..b53ed1fb795 --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dir_auto-EN-L-ref.html @@ -0,0 +1,58 @@ + + + + + HTML Test: dir=auto, start with EN, then L + + + + + + + + + +

Test passes if the two boxes below look exactly the same.

+
+ Key to entities used below: + א - The Hebrew letter Alef (strongly RTL). + ב - The Hebrew letter Bet (strongly RTL). + ג - The Hebrew letter Gimel (strongly RTL). +
+
+
+

123ABCאבג.

+
+
+

123ABCאבג.

+
+
+
+
+

123ABCאבג.

+
+
+

123ABCאבג.

+
+
+ + diff --git a/layout/reftests/bidi/dirAuto/dir_auto-EN-L.html b/layout/reftests/bidi/dirAuto/dir_auto-EN-L.html new file mode 100644 index 00000000000..57f074a2bc1 --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dir_auto-EN-L.html @@ -0,0 +1,58 @@ + + + + + HTML Test: dir=auto, start with EN, then L + + + + + + + + + +

Test passes if the two boxes below look exactly the same.

+
+ Key to entities used below: + א - The Hebrew letter Alef (strongly RTL). + ב - The Hebrew letter Bet (strongly RTL). + ג - The Hebrew letter Gimel (strongly RTL). +
+
+
+

123ABCאבג.

+
+
+

123ABCאבג.

+
+
+
+
+

123ABCאבג.

+
+
+

123ABCאבג.

+
+
+ + diff --git a/layout/reftests/bidi/dirAuto/dir_auto-EN-R-ref.html b/layout/reftests/bidi/dirAuto/dir_auto-EN-R-ref.html new file mode 100644 index 00000000000..d695e5ab570 --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dir_auto-EN-R-ref.html @@ -0,0 +1,58 @@ + + + + + HTML Test: dir=auto, start with EN, then R + + + + + + + + + +

Test passes if the two boxes below look exactly the same.

+
+ Key to entities used below: + א - The Hebrew letter Alef (strongly RTL). + ב - The Hebrew letter Bet (strongly RTL). + ג - The Hebrew letter Gimel (strongly RTL). +
+
+
+

123אבגABC.

+
+
+

123אבגABC.

+
+
+
+
+

123אבגABC.

+
+
+

123אבגABC.

+
+
+ + diff --git a/layout/reftests/bidi/dirAuto/dir_auto-EN-R.html b/layout/reftests/bidi/dirAuto/dir_auto-EN-R.html new file mode 100644 index 00000000000..1ab3112440f --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dir_auto-EN-R.html @@ -0,0 +1,58 @@ + + + + + HTML Test: dir=auto, start with EN, then R + + + + + + + + + +

Test passes if the two boxes below look exactly the same.

+
+ Key to entities used below: + א - The Hebrew letter Alef (strongly RTL). + ב - The Hebrew letter Bet (strongly RTL). + ג - The Hebrew letter Gimel (strongly RTL). +
+
+
+

123אבגABC.

+
+
+

123אבגABC.

+
+
+
+
+

123אבגABC.

+
+
+

123אבגABC.

+
+
+ + diff --git a/layout/reftests/bidi/dirAuto/dir_auto-L-ref.html b/layout/reftests/bidi/dirAuto/dir_auto-L-ref.html new file mode 100644 index 00000000000..64b178d7b59 --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dir_auto-L-ref.html @@ -0,0 +1,58 @@ + + + + + HTML Test: dir=auto, start with L + + + + + + + + + +

Test passes if the two boxes below look exactly the same.

+
+ Key to entities used below: + א - The Hebrew letter Alef (strongly RTL). + ב - The Hebrew letter Bet (strongly RTL). + ג - The Hebrew letter Gimel (strongly RTL). +
+
+
+

ABCאבג.

+
+
+

ABCאבג.

+
+
+
+
+

ABCאבג.

+
+
+

ABCאבג.

+
+
+ + diff --git a/layout/reftests/bidi/dirAuto/dir_auto-L.html b/layout/reftests/bidi/dirAuto/dir_auto-L.html new file mode 100644 index 00000000000..1da642cc19b --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dir_auto-L.html @@ -0,0 +1,58 @@ + + + + + HTML Test: dir=auto, start with L + + + + + + + + + +

Test passes if the two boxes below look exactly the same.

+
+ Key to entities used below: + א - The Hebrew letter Alef (strongly RTL). + ב - The Hebrew letter Bet (strongly RTL). + ג - The Hebrew letter Gimel (strongly RTL). +
+
+
+

ABCאבג.

+
+
+

ABCאבג.

+
+
+
+
+

ABCאבג.

+
+
+

ABCאבג.

+
+
+ + diff --git a/layout/reftests/bidi/dirAuto/dir_auto-N-EN-L-ref.html b/layout/reftests/bidi/dirAuto/dir_auto-N-EN-L-ref.html new file mode 100644 index 00000000000..71da52633ea --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dir_auto-N-EN-L-ref.html @@ -0,0 +1,58 @@ + + + + + HTML Test: dir=auto, start with N, then EN, then L + + + + + + + + + +

Test passes if the two boxes below look exactly the same.

+
+ Key to entities used below: + א - The Hebrew letter Alef (strongly RTL). + ב - The Hebrew letter Bet (strongly RTL). + ג - The Hebrew letter Gimel (strongly RTL). +
+
+
+

.-=123ABCאבג.

+
+
+

.-=123ABCאבג.

+
+
+
+
+

.-=123ABCאבג.

+
+
+

.-=123ABCאבג.

+
+
+ + diff --git a/layout/reftests/bidi/dirAuto/dir_auto-N-EN-L.html b/layout/reftests/bidi/dirAuto/dir_auto-N-EN-L.html new file mode 100644 index 00000000000..9372a42628d --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dir_auto-N-EN-L.html @@ -0,0 +1,58 @@ + + + + + HTML Test: dir=auto, start with N, then EN, then L + + + + + + + + + +

Test passes if the two boxes below look exactly the same.

+
+ Key to entities used below: + א - The Hebrew letter Alef (strongly RTL). + ב - The Hebrew letter Bet (strongly RTL). + ג - The Hebrew letter Gimel (strongly RTL). +
+
+
+

.-=123ABCאבג.

+
+
+

.-=123ABCאבג.

+
+
+
+
+

.-=123ABCאבג.

+
+
+

.-=123ABCאבג.

+
+
+ + diff --git a/layout/reftests/bidi/dirAuto/dir_auto-N-EN-R-ref.html b/layout/reftests/bidi/dirAuto/dir_auto-N-EN-R-ref.html new file mode 100644 index 00000000000..856a6ee3e2e --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dir_auto-N-EN-R-ref.html @@ -0,0 +1,58 @@ + + + + + HTML Test: dir=auto, start with N, then EN, then R + + + + + + + + + +

Test passes if the two boxes below look exactly the same.

+
+ Key to entities used below: + א - The Hebrew letter Alef (strongly RTL). + ב - The Hebrew letter Bet (strongly RTL). + ג - The Hebrew letter Gimel (strongly RTL). +
+
+
+

.-=123אבגABC.

+
+
+

.-=123אבגABC.

+
+
+
+
+

.-=123אבגABC.

+
+
+

.-=123אבגABC.

+
+
+ + diff --git a/layout/reftests/bidi/dirAuto/dir_auto-N-EN-R.html b/layout/reftests/bidi/dirAuto/dir_auto-N-EN-R.html new file mode 100644 index 00000000000..4f0126b1a48 --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dir_auto-N-EN-R.html @@ -0,0 +1,58 @@ + + + + + HTML Test: dir=auto, start with N, then EN, then R + + + + + + + + + +

Test passes if the two boxes below look exactly the same.

+
+ Key to entities used below: + א - The Hebrew letter Alef (strongly RTL). + ב - The Hebrew letter Bet (strongly RTL). + ג - The Hebrew letter Gimel (strongly RTL). +
+
+
+

.-=123אבגABC.

+
+
+

.-=123אבגABC.

+
+
+
+
+

.-=123אבגABC.

+
+
+

.-=123אבגABC.

+
+
+ + diff --git a/layout/reftests/bidi/dirAuto/dir_auto-N-EN-ref.html b/layout/reftests/bidi/dirAuto/dir_auto-N-EN-ref.html new file mode 100644 index 00000000000..df0339f1342 --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dir_auto-N-EN-ref.html @@ -0,0 +1,51 @@ + + + + + HTML Test: dir=auto, start with N, then EN, then L + + + + + + + + + +

Test passes if the two boxes below look exactly the same.

+
+
+

@123!

+
+
+

@123!

+
+
+
+
+

@123!

+
+
+

@123!

+
+
+ + diff --git a/layout/reftests/bidi/dirAuto/dir_auto-N-EN.html b/layout/reftests/bidi/dirAuto/dir_auto-N-EN.html new file mode 100644 index 00000000000..a7c6db6d6a7 --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dir_auto-N-EN.html @@ -0,0 +1,51 @@ + + + + + HTML Test: dir=auto, start with N, then EN, then L + + + + + + + + + +

Test passes if the two boxes below look exactly the same.

+
+
+

@123!

+
+
+

@123!

+
+
+
+
+

@123!

+
+
+

@123!

+
+
+ + diff --git a/layout/reftests/bidi/dirAuto/dir_auto-N-L-ref.html b/layout/reftests/bidi/dirAuto/dir_auto-N-L-ref.html new file mode 100644 index 00000000000..818b9c0e674 --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dir_auto-N-L-ref.html @@ -0,0 +1,58 @@ + + + + + HTML Test: dir=auto, start with N, then L + + + + + + + + + +

Test passes if the two boxes below look exactly the same.

+
+ Key to entities used below: + א - The Hebrew letter Alef (strongly RTL). + ב - The Hebrew letter Bet (strongly RTL). + ג - The Hebrew letter Gimel (strongly RTL). +
+
+
+

.-=ABCאבג.

+
+
+

.-=ABCאבג.

+
+
+
+
+

.-=ABCאבג.

+
+
+

.-=ABCאבג.

+
+
+ + diff --git a/layout/reftests/bidi/dirAuto/dir_auto-N-L.html b/layout/reftests/bidi/dirAuto/dir_auto-N-L.html new file mode 100644 index 00000000000..eab63560c7b --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dir_auto-N-L.html @@ -0,0 +1,58 @@ + + + + + HTML Test: dir=auto, start with N, then L + + + + + + + + + +

Test passes if the two boxes below look exactly the same.

+
+ Key to entities used below: + א - The Hebrew letter Alef (strongly RTL). + ב - The Hebrew letter Bet (strongly RTL). + ג - The Hebrew letter Gimel (strongly RTL). +
+
+
+

.-=ABCאבג.

+
+
+

.-=ABCאבג.

+
+
+
+
+

.-=ABCאבג.

+
+
+

.-=ABCאבג.

+
+
+ + diff --git a/layout/reftests/bidi/dirAuto/dir_auto-N-R-ref.html b/layout/reftests/bidi/dirAuto/dir_auto-N-R-ref.html new file mode 100644 index 00000000000..a2c82541a55 --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dir_auto-N-R-ref.html @@ -0,0 +1,58 @@ + + + + + HTML Test: dir=auto, start with N, then R + + + + + + + + + +

Test passes if the two boxes below look exactly the same.

+
+ Key to entities used below: + א - The Hebrew letter Alef (strongly RTL). + ב - The Hebrew letter Bet (strongly RTL). + ג - The Hebrew letter Gimel (strongly RTL). +
+
+
+

.-=אבגABC.

+
+
+

.-=אבגABC.

+
+
+
+
+

.-=אבגABC.

+
+
+

.-=אבגABC.

+
+
+ + diff --git a/layout/reftests/bidi/dirAuto/dir_auto-N-R.html b/layout/reftests/bidi/dirAuto/dir_auto-N-R.html new file mode 100644 index 00000000000..352b8f80a7d --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dir_auto-N-R.html @@ -0,0 +1,58 @@ + + + + + HTML Test: dir=auto, start with N, then R + + + + + + + + + +

Test passes if the two boxes below look exactly the same.

+
+ Key to entities used below: + א - The Hebrew letter Alef (strongly RTL). + ב - The Hebrew letter Bet (strongly RTL). + ג - The Hebrew letter Gimel (strongly RTL). +
+
+
+

.-=אבגABC.

+
+
+

.-=אבגABC.

+
+
+
+
+

.-=אבגABC.

+
+
+

.-=אבגABC.

+
+
+ + diff --git a/layout/reftests/bidi/dirAuto/dir_auto-R-ref.html b/layout/reftests/bidi/dirAuto/dir_auto-R-ref.html new file mode 100644 index 00000000000..61ff12f2f8f --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dir_auto-R-ref.html @@ -0,0 +1,59 @@ + + + + + HTML Test: dir=auto, start with R + + + + + + + + + +

Test passes if the two boxes below look exactly the same.

+
+ Key to entities used below: + א - The Hebrew letter Alef (strongly RTL). + ב - The Hebrew letter Bet (strongly RTL). + ג - The Hebrew letter Gimel (strongly RTL). +
+ +
+
+

אבגABC.

+
+
+

אבגABC.

+
+
+
+
+

אבגABC.

+
+
+

אבגABC.

+
+
+ + diff --git a/layout/reftests/bidi/dirAuto/dir_auto-R.html b/layout/reftests/bidi/dirAuto/dir_auto-R.html new file mode 100644 index 00000000000..52677931cab --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dir_auto-R.html @@ -0,0 +1,58 @@ + + + + + HTML Test: dir=auto, start with R + + + + + + + + + +

Test passes if the two boxes below look exactly the same.

+
+ Key to entities used below: + א - The Hebrew letter Alef (strongly RTL). + ב - The Hebrew letter Bet (strongly RTL). + ג - The Hebrew letter Gimel (strongly RTL). +
+
+
+

אבגABC.

+
+
+

אבגABC.

+
+
+
+
+

אבגABC.

+
+
+

אבגABC.

+
+
+ + diff --git a/layout/reftests/bidi/dirAuto/dir_auto-contained-L-ref.html b/layout/reftests/bidi/dirAuto/dir_auto-contained-L-ref.html new file mode 100644 index 00000000000..9048362d0a7 --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dir_auto-contained-L-ref.html @@ -0,0 +1,62 @@ + + + + + HTML Test: dir=auto, start with L within contained element + + + + + + + + + +

Test passes if the two boxes below look exactly the same.

+
+ Key to entities used below: + א - The Hebrew letter Alef (strongly RTL). + ב - The Hebrew letter Bet (strongly RTL). + ג - The Hebrew letter Gimel (strongly RTL). + ד - The Hebrew letter Dalet (strongly RTL). + ה - The Hebrew letter He (strongly RTL). + ו - The Hebrew letter Vav (strongly RTL). + ז - The Hebrew letter Zayin (strongly RTL). +
+
+
+
ABCאבג.
דה
ו
+
+
+
ABCאבג.
דה
ו
+
+
+
+
+
ABCאבג.
דה
ו
+
+
+
ABCאבג.
דה
ו
+
+
+ + diff --git a/layout/reftests/bidi/dirAuto/dir_auto-contained-L.html b/layout/reftests/bidi/dirAuto/dir_auto-contained-L.html new file mode 100644 index 00000000000..994bfbe7845 --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dir_auto-contained-L.html @@ -0,0 +1,62 @@ + + + + + HTML Test: dir=auto, start with L within contained element + + + + + + + + + +

Test passes if the two boxes below look exactly the same.

+
+ Key to entities used below: + א - The Hebrew letter Alef (strongly RTL). + ב - The Hebrew letter Bet (strongly RTL). + ג - The Hebrew letter Gimel (strongly RTL). + ד - The Hebrew letter Dalet (strongly RTL). + ה - The Hebrew letter He (strongly RTL). + ו - The Hebrew letter Vav (strongly RTL). + ז - The Hebrew letter Zayin (strongly RTL). +
+
+
+
ABCאבג.
דה
ו
+
+
+
ABCאבג.
דה
ו
+
+
+
+
+
ABCאבג.
דה
ו
+
+
+
ABCאבג.
דה
ו
+
+
+ + diff --git a/layout/reftests/bidi/dirAuto/dir_auto-contained-R-ref.html b/layout/reftests/bidi/dirAuto/dir_auto-contained-R-ref.html new file mode 100644 index 00000000000..0cee718c43d --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dir_auto-contained-R-ref.html @@ -0,0 +1,58 @@ + + + + + HTML Test: dir=auto, start with R within contained element + + + + + + + + + +

Test passes if the two boxes below look exactly the same.

+
+ Key to entities used below: + א - The Hebrew letter Alef (strongly RTL). + ב - The Hebrew letter Bet (strongly RTL). + ג - The Hebrew letter Gimel (strongly RTL). +
+
+
+
אבגABC.
XY
Z
+
+
+
אבגABC.
XY
Z
+
+
+
+
+
אבגABC.
XY
Z
+
+
+
אבגABC.
XY
Z
+
+
+ + diff --git a/layout/reftests/bidi/dirAuto/dir_auto-contained-R.html b/layout/reftests/bidi/dirAuto/dir_auto-contained-R.html new file mode 100644 index 00000000000..113eb073cca --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dir_auto-contained-R.html @@ -0,0 +1,58 @@ + + + + + HTML Test: dir=auto, start with R within contained element + + + + + + + + + +

Test passes if the two boxes below look exactly the same.

+
+ Key to entities used below: + א - The Hebrew letter Alef (strongly RTL). + ב - The Hebrew letter Bet (strongly RTL). + ג - The Hebrew letter Gimel (strongly RTL). +
+
+
+
אבגABC.
XY
Z
+
+
+
אבגABC.
XY
Z
+
+
+
+
+
אבגABC.
XY
Z
+
+
+
אבגABC.
XY
Z
+
+
+ + diff --git a/layout/reftests/bidi/dirAuto/dir_auto-contained-bdi-L-ref.html b/layout/reftests/bidi/dirAuto/dir_auto-contained-bdi-L-ref.html new file mode 100644 index 00000000000..745eea114eb --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dir_auto-contained-bdi-L-ref.html @@ -0,0 +1,64 @@ + + + + + HTML Test: dir=auto, start with bdi, then L + + + + + + + + + +

Test passes if the two boxes below look exactly the same.

+
+ Key to entities used below: + א - The Hebrew letter Alef (strongly RTL). + ב - The Hebrew letter Bet (strongly RTL). + ג - The Hebrew letter Gimel (strongly RTL). + ד - The Hebrew letter Dalet (strongly RTL). + ה - The Hebrew letter He (strongly RTL). + ו - The Hebrew letter Vav (strongly RTL). +
+
+
+
123דהוABCאבג.
+
+
+
123דהוABCאבג.
+
+
+
+
+
123דהוABCאבג.
+
+
+
123דהוABCאבג.
+
+
+ + diff --git a/layout/reftests/bidi/dirAuto/dir_auto-contained-bdi-L.html b/layout/reftests/bidi/dirAuto/dir_auto-contained-bdi-L.html new file mode 100644 index 00000000000..cd0292c5cf4 --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dir_auto-contained-bdi-L.html @@ -0,0 +1,64 @@ + + + + + HTML Test: dir=auto, start with bdi, then L + + + + + + + + + +

Test passes if the two boxes below look exactly the same.

+
+ Key to entities used below: + א - The Hebrew letter Alef (strongly RTL). + ב - The Hebrew letter Bet (strongly RTL). + ג - The Hebrew letter Gimel (strongly RTL). + ד - The Hebrew letter Dalet (strongly RTL). + ה - The Hebrew letter He (strongly RTL). + ו - The Hebrew letter Vav (strongly RTL). +
+
+
+
123דהוABCאבג.
+
+
+
123דהוABCאבג.
+
+
+
+
+
123דהוABCאבג.
+
+
+
123דהוABCאבג.
+
+
+ + diff --git a/layout/reftests/bidi/dirAuto/dir_auto-contained-bdi-R-ref.html b/layout/reftests/bidi/dirAuto/dir_auto-contained-bdi-R-ref.html new file mode 100644 index 00000000000..43405ea6e79 --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dir_auto-contained-bdi-R-ref.html @@ -0,0 +1,61 @@ + + + + + HTML Test: dir=auto, start with bdi, then R + + + + + + + + + +

Test passes if the two boxes below look exactly the same.

+
+ Key to entities used below: + א - The Hebrew letter Alef (strongly RTL). + ב - The Hebrew letter Bet (strongly RTL). + ג - The Hebrew letter Gimel (strongly RTL). +
+
+
+
123DEFאבגABC.
+
+
+
123DEFאבגABC.
+
+
+
+
+
123DEFאבגABC.
+
+
+
123DEFאבגABC.
+
+
+ + diff --git a/layout/reftests/bidi/dirAuto/dir_auto-contained-bdi-R.html b/layout/reftests/bidi/dirAuto/dir_auto-contained-bdi-R.html new file mode 100644 index 00000000000..cce36bddf2a --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dir_auto-contained-bdi-R.html @@ -0,0 +1,61 @@ + + + + + HTML Test: dir=auto, start with bdi, then R + + + + + + + + + +

Test passes if the two boxes below look exactly the same.

+
+ Key to entities used below: + א - The Hebrew letter Alef (strongly RTL). + ב - The Hebrew letter Bet (strongly RTL). + ג - The Hebrew letter Gimel (strongly RTL). +
+
+
+
123DEFאבגABC.
+
+
+
123DEFאבגABC.
+
+
+
+
+
123DEFאבגABC.
+
+
+
123DEFאבגABC.
+
+
+ + diff --git a/layout/reftests/bidi/dirAuto/dir_auto-contained-dir-L-ref.html b/layout/reftests/bidi/dirAuto/dir_auto-contained-dir-L-ref.html new file mode 100644 index 00000000000..d5935d83f61 --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dir_auto-contained-dir-L-ref.html @@ -0,0 +1,61 @@ + + + + + HTML Test: dir=auto, start with dir, then L + + + + + + + + + +

Test passes if the two boxes below look exactly the same.

+
+ Key to entities used below: + א - The Hebrew letter Alef (strongly RTL). + ב - The Hebrew letter Bet (strongly RTL). + ג - The Hebrew letter Gimel (strongly RTL). + ד - The Hebrew letter Dalet (strongly RTL). + ה - The Hebrew letter He (strongly RTL). + ו - The Hebrew letter Vav (strongly RTL). +
+
+
+

דהו

ABCאבג.
+
+
+

דהו

ABCאבג.
+
+
+
+
+

דהו

ABCאבג.
+
+
+

דהו

ABCאבג.
+
+
+ + diff --git a/layout/reftests/bidi/dirAuto/dir_auto-contained-dir-L.html b/layout/reftests/bidi/dirAuto/dir_auto-contained-dir-L.html new file mode 100644 index 00000000000..292c753fdd1 --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dir_auto-contained-dir-L.html @@ -0,0 +1,61 @@ + + + + + HTML Test: dir=auto, start with dir, then L + + + + + + + + + +

Test passes if the two boxes below look exactly the same.

+
+ Key to entities used below: + א - The Hebrew letter Alef (strongly RTL). + ב - The Hebrew letter Bet (strongly RTL). + ג - The Hebrew letter Gimel (strongly RTL). + ד - The Hebrew letter Dalet (strongly RTL). + ה - The Hebrew letter He (strongly RTL). + ו - The Hebrew letter Vav (strongly RTL). +
+
+
+

דהו

ABCאבג.
+
+
+

דהו

ABCאבג.
+
+
+
+
+

דהו

ABCאבג.
+
+
+

דהו

ABCאבג.
+
+
+ + diff --git a/layout/reftests/bidi/dirAuto/dir_auto-contained-dir-R-ref.html b/layout/reftests/bidi/dirAuto/dir_auto-contained-dir-R-ref.html new file mode 100644 index 00000000000..5ae48d89704 --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dir_auto-contained-dir-R-ref.html @@ -0,0 +1,58 @@ + + + + + HTML Test: dir=auto, start with dir, then R + + + + + + + + + +

Test passes if the two boxes below look exactly the same.

+
+ Key to entities used below: + א - The Hebrew letter Alef (strongly RTL). + ב - The Hebrew letter Bet (strongly RTL). + ג - The Hebrew letter Gimel (strongly RTL). +
+
+
+

DEF

אבגABC.
+
+
+

DEF

אבגABC.
+
+
+
+
+

DEF

אבגABC.
+
+
+

DEF

אבגABC.
+
+
+ + diff --git a/layout/reftests/bidi/dirAuto/dir_auto-contained-dir-R.html b/layout/reftests/bidi/dirAuto/dir_auto-contained-dir-R.html new file mode 100644 index 00000000000..cc625553f82 --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dir_auto-contained-dir-R.html @@ -0,0 +1,58 @@ + + + + + HTML Test: dir=auto, start with dir, then R + + + + + + + + + +

Test passes if the two boxes below look exactly the same.

+
+ Key to entities used below: + א - The Hebrew letter Alef (strongly RTL). + ב - The Hebrew letter Bet (strongly RTL). + ג - The Hebrew letter Gimel (strongly RTL). +
+
+
+

DEF

אבגABC.
+
+
+

DEF

אבגABC.
+
+
+
+
+

DEF

אבגABC.
+
+
+

DEF

אבגABC.
+
+
+ + diff --git a/layout/reftests/bidi/dirAuto/dir_auto-contained-dir_auto-L-ref.html b/layout/reftests/bidi/dirAuto/dir_auto-contained-dir_auto-L-ref.html new file mode 100644 index 00000000000..ac1f178799a --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dir_auto-contained-dir_auto-L-ref.html @@ -0,0 +1,61 @@ + + + + + HTML Test: dir=auto, start with dir=auto, then L + + + + + + + + + +

Test passes if the two boxes below look exactly the same.

+
+ Key to entities used below: + א - The Hebrew letter Alef (strongly RTL). + ב - The Hebrew letter Bet (strongly RTL). + ג - The Hebrew letter Gimel (strongly RTL). + ד - The Hebrew letter Dalet (strongly RTL). + ה - The Hebrew letter He (strongly RTL). + ו - The Hebrew letter Vav (strongly RTL). +
+
+
+

דהו

ABCאבג.
+
+
+

דהו

ABCאבג.
+
+
+
+
+

דהו

ABCאבג.
+
+
+

דהו

ABCאבג.
+
+
+ + diff --git a/layout/reftests/bidi/dirAuto/dir_auto-contained-dir_auto-L.html b/layout/reftests/bidi/dirAuto/dir_auto-contained-dir_auto-L.html new file mode 100644 index 00000000000..892894e8e99 --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dir_auto-contained-dir_auto-L.html @@ -0,0 +1,61 @@ + + + + + HTML Test: dir=auto, start with dir=auto, then L + + + + + + + + + +

Test passes if the two boxes below look exactly the same.

+
+ Key to entities used below: + א - The Hebrew letter Alef (strongly RTL). + ב - The Hebrew letter Bet (strongly RTL). + ג - The Hebrew letter Gimel (strongly RTL). + ד - The Hebrew letter Dalet (strongly RTL). + ה - The Hebrew letter He (strongly RTL). + ו - The Hebrew letter Vav (strongly RTL). +
+
+
+

דהו

ABCאבג.
+
+
+

דהו

ABCאבג.
+
+
+
+
+

דהו

ABCאבג.
+
+
+

דהו

ABCאבג.
+
+
+ + diff --git a/layout/reftests/bidi/dirAuto/dir_auto-contained-dir_auto-R-ref.html b/layout/reftests/bidi/dirAuto/dir_auto-contained-dir_auto-R-ref.html new file mode 100644 index 00000000000..d7157de5c89 --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dir_auto-contained-dir_auto-R-ref.html @@ -0,0 +1,58 @@ + + + + + HTML Test: dir=auto, start with dir=auto, then R + + + + + + + + + +

Test passes if the two boxes below look exactly the same.

+
+ Key to entities used below: + א - The Hebrew letter Alef (strongly RTL). + ב - The Hebrew letter Bet (strongly RTL). + ג - The Hebrew letter Gimel (strongly RTL). +
+
+
+

DEF

.-=123אבגABC.
+
+
+

DEF

.-=123אבגABC.
+
+
+
+
+

DEF

.-=123אבגABC.
+
+
+

DEF

.-=123אבגABC.
+
+
+ + diff --git a/layout/reftests/bidi/dirAuto/dir_auto-contained-dir_auto-R.html b/layout/reftests/bidi/dirAuto/dir_auto-contained-dir_auto-R.html new file mode 100644 index 00000000000..328104cb878 --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dir_auto-contained-dir_auto-R.html @@ -0,0 +1,58 @@ + + + + + HTML Test: dir=auto, start with dir=auto, then R + + + + + + + + + +

Test passes if the two boxes below look exactly the same.

+
+ Key to entities used below: + א - The Hebrew letter Alef (strongly RTL). + ב - The Hebrew letter Bet (strongly RTL). + ג - The Hebrew letter Gimel (strongly RTL). +
+
+
+

DEF

.-=123אבגABC.
+
+
+

DEF

.-=123אבגABC.
+
+
+
+
+

DEF

.-=123אבגABC.
+
+
+

DEF

.-=123אבגABC.
+
+
+ + diff --git a/layout/reftests/bidi/dirAuto/dir_auto-contained-script-L-ref.html b/layout/reftests/bidi/dirAuto/dir_auto-contained-script-L-ref.html new file mode 100644 index 00000000000..ad844fd1da2 --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dir_auto-contained-script-L-ref.html @@ -0,0 +1,58 @@ + + + + + HTML Test: dir=auto, start with script, then L + + + + + + + + + +

Test passes if the two boxes below look exactly the same.

+
+ Key to entities used below: + א - The Hebrew letter Alef (strongly RTL). + ב - The Hebrew letter Bet (strongly RTL). + ג - The Hebrew letter Gimel (strongly RTL). +
+
+
+
ABCאבג.
+
+
+
ABCאבג.
+
+
+
+
+
ABCאבג.
+
+
+
ABCאבג.
+
+
+ + diff --git a/layout/reftests/bidi/dirAuto/dir_auto-contained-script-L.html b/layout/reftests/bidi/dirAuto/dir_auto-contained-script-L.html new file mode 100644 index 00000000000..d5e685ee0eb --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dir_auto-contained-script-L.html @@ -0,0 +1,58 @@ + + + + + HTML Test: dir=auto, start with script, then L + + + + + + + + + +

Test passes if the two boxes below look exactly the same.

+
+ Key to entities used below: + א - The Hebrew letter Alef (strongly RTL). + ב - The Hebrew letter Bet (strongly RTL). + ג - The Hebrew letter Gimel (strongly RTL). +
+
+
+
ABCאבג.
+
+
+
ABCאבג.
+
+
+
+
+
ABCאבג.
+
+
+
ABCאבג.
+
+
+ + diff --git a/layout/reftests/bidi/dirAuto/dir_auto-contained-script-R-ref.html b/layout/reftests/bidi/dirAuto/dir_auto-contained-script-R-ref.html new file mode 100644 index 00000000000..8225443c86a --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dir_auto-contained-script-R-ref.html @@ -0,0 +1,58 @@ + + + + + HTML Test: dir=auto, start with script, then R + + + + + + + + + +

Test passes if the two boxes below look exactly the same.

+
+ Key to entities used below: + א - The Hebrew letter Alef (strongly RTL). + ב - The Hebrew letter Bet (strongly RTL). + ג - The Hebrew letter Gimel (strongly RTL). +
+
+
+
אבגABC.
+
+
+
אבגABC.
+
+
+
+
+
אבגABC.
+
+
+
אבגABC.
+
+
+ + diff --git a/layout/reftests/bidi/dirAuto/dir_auto-contained-script-R.html b/layout/reftests/bidi/dirAuto/dir_auto-contained-script-R.html new file mode 100644 index 00000000000..4d131a2d480 --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dir_auto-contained-script-R.html @@ -0,0 +1,58 @@ + + + + + HTML Test: dir=auto, start with script, then R + + + + + + + + + +

Test passes if the two boxes below look exactly the same.

+
+ Key to entities used below: + א - The Hebrew letter Alef (strongly RTL). + ב - The Hebrew letter Bet (strongly RTL). + ג - The Hebrew letter Gimel (strongly RTL). +
+
+
+
אבגABC.
+
+
+
אבגABC.
+
+
+
+
+
אבגABC.
+
+
+
אבגABC.
+
+
+ + diff --git a/layout/reftests/bidi/dirAuto/dir_auto-contained-style-L-ref.html b/layout/reftests/bidi/dirAuto/dir_auto-contained-style-L-ref.html new file mode 100644 index 00000000000..46e71377405 --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dir_auto-contained-style-L-ref.html @@ -0,0 +1,70 @@ + + + + + HTML Test: dir=auto, start with style, then L + + + + + + + + + +

Test passes if the two boxes below look exactly the same.

+
+ Key to entities used below: + א - The Hebrew letter Alef (strongly RTL). + ב - The Hebrew letter Bet (strongly RTL). + ג - The Hebrew letter Gimel (strongly RTL). +
+
+
+
ABCאבג.
+
+
+
ABCאבג.
+
+
+
+
+
ABCאבג.
+
+
+
ABCאבג.
+
+
+ + diff --git a/layout/reftests/bidi/dirAuto/dir_auto-contained-style-L.html b/layout/reftests/bidi/dirAuto/dir_auto-contained-style-L.html new file mode 100644 index 00000000000..5ad03180f2e --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dir_auto-contained-style-L.html @@ -0,0 +1,70 @@ + + + + + HTML Test: dir=auto, start with style, then L + + + + + + + + + +

Test passes if the two boxes below look exactly the same.

+
+ Key to entities used below: + א - The Hebrew letter Alef (strongly RTL). + ב - The Hebrew letter Bet (strongly RTL). + ג - The Hebrew letter Gimel (strongly RTL). +
+
+
+
ABCאבג.
+
+
+
ABCאבג.
+
+
+
+
+
ABCאבג.
+
+
+
ABCאבג.
+
+
+ + diff --git a/layout/reftests/bidi/dirAuto/dir_auto-contained-style-R-ref.html b/layout/reftests/bidi/dirAuto/dir_auto-contained-style-R-ref.html new file mode 100644 index 00000000000..6cf5e1d24b2 --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dir_auto-contained-style-R-ref.html @@ -0,0 +1,70 @@ + + + + + HTML Test: dir=auto, start with style, then R + + + + + + + + + +

Test passes if the two boxes below look exactly the same.

+
+ Key to entities used below: + א - The Hebrew letter Alef (strongly RTL). + ב - The Hebrew letter Bet (strongly RTL). + ג - The Hebrew letter Gimel (strongly RTL). +
+
+
+
אבגABC.
+
+
+
אבגABC.
+
+
+
+
+
אבגABC.
+
+
+
אבגABC.
+
+
+ + diff --git a/layout/reftests/bidi/dirAuto/dir_auto-contained-style-R.html b/layout/reftests/bidi/dirAuto/dir_auto-contained-style-R.html new file mode 100644 index 00000000000..133ce1be051 --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dir_auto-contained-style-R.html @@ -0,0 +1,70 @@ + + + + + HTML Test: dir=auto, start with style, then R + + + + + + + + + +

Test passes if the two boxes below look exactly the same.

+
+ Key to entities used below: + א - The Hebrew letter Alef (strongly RTL). + ב - The Hebrew letter Bet (strongly RTL). + ג - The Hebrew letter Gimel (strongly RTL). +
+
+
+
אבגABC.
+
+
+
אבגABC.
+
+
+
+
+
אבגABC.
+
+
+
אבגABC.
+
+
+ + diff --git a/layout/reftests/bidi/dirAuto/dir_auto-contained-textarea-L-ref.html b/layout/reftests/bidi/dirAuto/dir_auto-contained-textarea-L-ref.html new file mode 100644 index 00000000000..d13f702557a --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dir_auto-contained-textarea-L-ref.html @@ -0,0 +1,61 @@ + + + + + HTML Test: dir=auto, start with textarea, then L + + + + + + + + + +

Test passes if the two boxes below look exactly the same.

+
+ Key to entities used below: + א - The Hebrew letter Alef (strongly RTL). + ב - The Hebrew letter Bet (strongly RTL). + ג - The Hebrew letter Gimel (strongly RTL). + ד - The Hebrew letter Dalet (strongly RTL). + ה - The Hebrew letter He (strongly RTL). + ו - The Hebrew letter Vav (strongly RTL). +
+
+
+
ABCאבג.
+
+
+
ABCאבג.
+
+
+
+
+
ABCאבג.
+
+
+
ABCאבג.
+
+
+ + diff --git a/layout/reftests/bidi/dirAuto/dir_auto-contained-textarea-L.html b/layout/reftests/bidi/dirAuto/dir_auto-contained-textarea-L.html new file mode 100644 index 00000000000..51468ce17c8 --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dir_auto-contained-textarea-L.html @@ -0,0 +1,61 @@ + + + + + HTML Test: dir=auto, start with textarea, then L + + + + + + + + + +

Test passes if the two boxes below look exactly the same.

+
+ Key to entities used below: + א - The Hebrew letter Alef (strongly RTL). + ב - The Hebrew letter Bet (strongly RTL). + ג - The Hebrew letter Gimel (strongly RTL). + ד - The Hebrew letter Dalet (strongly RTL). + ה - The Hebrew letter He (strongly RTL). + ו - The Hebrew letter Vav (strongly RTL). +
+
+
+
ABCאבג.
+
+
+
ABCאבג.
+
+
+
+
+
ABCאבג.
+
+
+
ABCאבג.
+
+
+ + diff --git a/layout/reftests/bidi/dirAuto/dir_auto-contained-textarea-R-ref.html b/layout/reftests/bidi/dirAuto/dir_auto-contained-textarea-R-ref.html new file mode 100644 index 00000000000..ffa5ba5c92c --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dir_auto-contained-textarea-R-ref.html @@ -0,0 +1,58 @@ + + + + + HTML Test: dir=auto, start with textarea, then R + + + + + + + + + +

Test passes if the two boxes below look exactly the same.

+
+ Key to entities used below: + א - The Hebrew letter Alef (strongly RTL). + ב - The Hebrew letter Bet (strongly RTL). + ג - The Hebrew letter Gimel (strongly RTL). +
+
+
+
אבגABC.
+
+
+
אבגABC.
+
+
+
+
+
אבגABC.
+
+
+
אבגABC.
+
+
+ + diff --git a/layout/reftests/bidi/dirAuto/dir_auto-contained-textarea-R.html b/layout/reftests/bidi/dirAuto/dir_auto-contained-textarea-R.html new file mode 100644 index 00000000000..83875ef58a4 --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dir_auto-contained-textarea-R.html @@ -0,0 +1,58 @@ + + + + + HTML Test: dir=auto, start with textarea, then R + + + + + + + + + +

Test passes if the two boxes below look exactly the same.

+
+ Key to entities used below: + א - The Hebrew letter Alef (strongly RTL). + ב - The Hebrew letter Bet (strongly RTL). + ג - The Hebrew letter Gimel (strongly RTL). +
+
+
+
אבגABC.
+
+
+
אבגABC.
+
+
+
+
+
אבגABC.
+
+
+
אבגABC.
+
+
+ + diff --git a/layout/reftests/bidi/dirAuto/dir_auto-input-EN-L-ref.html b/layout/reftests/bidi/dirAuto/dir_auto-input-EN-L-ref.html new file mode 100644 index 00000000000..cedc14acf02 --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dir_auto-input-EN-L-ref.html @@ -0,0 +1,59 @@ + + + + + HTML Test: input with dir=auto, start with EN+L + + + + + + + + + + +

Test passes if the two boxes below look exactly the same.

+
+ Key to entities used below: + א - The Hebrew letter Alef (strongly RTL). + ב - The Hebrew letter Bet (strongly RTL). + ג - The Hebrew letter Gimel (strongly RTL). +
+
+
+ +
+
+ +
+
+
+
+ +
+
+ +
+
+ + diff --git a/layout/reftests/bidi/dirAuto/dir_auto-input-EN-L.html b/layout/reftests/bidi/dirAuto/dir_auto-input-EN-L.html new file mode 100644 index 00000000000..9d32b7a5908 --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dir_auto-input-EN-L.html @@ -0,0 +1,59 @@ + + + + + HTML Test: input with dir=auto, start with EN+L + + + + + + + + + + +

Test passes if the two boxes below look exactly the same.

+
+ Key to entities used below: + א - The Hebrew letter Alef (strongly RTL). + ב - The Hebrew letter Bet (strongly RTL). + ג - The Hebrew letter Gimel (strongly RTL). +
+
+
+ +
+
+ +
+
+
+
+ +
+
+ +
+
+ + diff --git a/layout/reftests/bidi/dirAuto/dir_auto-input-EN-R-ref.html b/layout/reftests/bidi/dirAuto/dir_auto-input-EN-R-ref.html new file mode 100644 index 00000000000..91c1bf56869 --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dir_auto-input-EN-R-ref.html @@ -0,0 +1,59 @@ + + + + + HTML Test: input with dir=auto, start with EN+R + + + + + + + + + + +

Test passes if the two boxes below look exactly the same.

+
+ Key to entities used below: + א - The Hebrew letter Alef (strongly RTL). + ב - The Hebrew letter Bet (strongly RTL). + ג - The Hebrew letter Gimel (strongly RTL). +
+
+
+ +
+
+ +
+
+
+
+ +
+
+ +
+
+ + diff --git a/layout/reftests/bidi/dirAuto/dir_auto-input-EN-R.html b/layout/reftests/bidi/dirAuto/dir_auto-input-EN-R.html new file mode 100644 index 00000000000..7ac8b11f6c0 --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dir_auto-input-EN-R.html @@ -0,0 +1,59 @@ + + + + + HTML Test: input with dir=auto, start with EN+R + + + + + + + + + + +

Test passes if the two boxes below look exactly the same.

+
+ Key to entities used below: + א - The Hebrew letter Alef (strongly RTL). + ב - The Hebrew letter Bet (strongly RTL). + ג - The Hebrew letter Gimel (strongly RTL). +
+
+
+ +
+
+ +
+
+
+
+ +
+
+ +
+
+ + diff --git a/layout/reftests/bidi/dirAuto/dir_auto-input-L-ref.html b/layout/reftests/bidi/dirAuto/dir_auto-input-L-ref.html new file mode 100644 index 00000000000..a16ecdbd12d --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dir_auto-input-L-ref.html @@ -0,0 +1,59 @@ + + + + + HTML Test: input with dir=auto, start with L + + + + + + + + + + +

Test passes if the two boxes below look exactly the same.

+
+ Key to entities used below: + א - The Hebrew letter Alef (strongly RTL). + ב - The Hebrew letter Bet (strongly RTL). + ג - The Hebrew letter Gimel (strongly RTL). +
+
+
+ +
+
+ +
+
+
+
+ +
+
+ +
+
+ + diff --git a/layout/reftests/bidi/dirAuto/dir_auto-input-L.html b/layout/reftests/bidi/dirAuto/dir_auto-input-L.html new file mode 100644 index 00000000000..adefc3b8029 --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dir_auto-input-L.html @@ -0,0 +1,59 @@ + + + + + HTML Test: input with dir=auto, start with L + + + + + + + + + + +

Test passes if the two boxes below look exactly the same.

+
+ Key to entities used below: + א - The Hebrew letter Alef (strongly RTL). + ב - The Hebrew letter Bet (strongly RTL). + ג - The Hebrew letter Gimel (strongly RTL). +
+
+
+ +
+
+ +
+
+
+
+ +
+
+ +
+
+ + diff --git a/layout/reftests/bidi/dirAuto/dir_auto-input-N-EN-L-ref.html b/layout/reftests/bidi/dirAuto/dir_auto-input-N-EN-L-ref.html new file mode 100644 index 00000000000..1e68258423b --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dir_auto-input-N-EN-L-ref.html @@ -0,0 +1,59 @@ + + + + + HTML Test: input with dir=auto, start with N+EN+L + + + + + + + + + + +

Test passes if the two boxes below look exactly the same.

+
+ Key to entities used below: + א - The Hebrew letter Alef (strongly RTL). + ב - The Hebrew letter Bet (strongly RTL). + ג - The Hebrew letter Gimel (strongly RTL). +
+
+
+ +
+
+ +
+
+
+
+ +
+
+ +
+
+ + diff --git a/layout/reftests/bidi/dirAuto/dir_auto-input-N-EN-L.html b/layout/reftests/bidi/dirAuto/dir_auto-input-N-EN-L.html new file mode 100644 index 00000000000..5ad1d24a14d --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dir_auto-input-N-EN-L.html @@ -0,0 +1,59 @@ + + + + + HTML Test: input with dir=auto, start with N+EN+L + + + + + + + + + + +

Test passes if the two boxes below look exactly the same.

+
+ Key to entities used below: + א - The Hebrew letter Alef (strongly RTL). + ב - The Hebrew letter Bet (strongly RTL). + ג - The Hebrew letter Gimel (strongly RTL). +
+
+
+ +
+
+ +
+
+
+
+ +
+
+ +
+
+ + diff --git a/layout/reftests/bidi/dirAuto/dir_auto-input-N-EN-R-ref.html b/layout/reftests/bidi/dirAuto/dir_auto-input-N-EN-R-ref.html new file mode 100644 index 00000000000..fe2ba0b3f71 --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dir_auto-input-N-EN-R-ref.html @@ -0,0 +1,59 @@ + + + + + HTML Test: input with dir=auto, start with N+EN+R + + + + + + + + + + +

Test passes if the two boxes below look exactly the same.

+
+ Key to entities used below: + א - The Hebrew letter Alef (strongly RTL). + ב - The Hebrew letter Bet (strongly RTL). + ג - The Hebrew letter Gimel (strongly RTL). +
+
+
+ +
+
+ +
+
+
+
+ +
+
+ +
+
+ + diff --git a/layout/reftests/bidi/dirAuto/dir_auto-input-N-EN-R.html b/layout/reftests/bidi/dirAuto/dir_auto-input-N-EN-R.html new file mode 100644 index 00000000000..fba3dda4549 --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dir_auto-input-N-EN-R.html @@ -0,0 +1,59 @@ + + + + + HTML Test: input with dir=auto, start with N+EN+R + + + + + + + + + + +

Test passes if the two boxes below look exactly the same.

+
+ Key to entities used below: + א - The Hebrew letter Alef (strongly RTL). + ב - The Hebrew letter Bet (strongly RTL). + ג - The Hebrew letter Gimel (strongly RTL). +
+
+
+ +
+
+ +
+
+
+
+ +
+
+ +
+
+ + diff --git a/layout/reftests/bidi/dirAuto/dir_auto-input-N-EN-ref.html b/layout/reftests/bidi/dirAuto/dir_auto-input-N-EN-ref.html new file mode 100644 index 00000000000..6a9db60ab10 --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dir_auto-input-N-EN-ref.html @@ -0,0 +1,54 @@ + + + + + HTML Test: input with dir=auto, all N+EN + + + + + + + + + + +

Test passes if the two boxes below look exactly the same.

+
+
+ +
+
+ +
+
+
+
+ +
+
+ +
+
+ + diff --git a/layout/reftests/bidi/dirAuto/dir_auto-input-N-EN.html b/layout/reftests/bidi/dirAuto/dir_auto-input-N-EN.html new file mode 100644 index 00000000000..649beca1a6e --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dir_auto-input-N-EN.html @@ -0,0 +1,54 @@ + + + + + HTML Test: input with dir=auto, all N+EN + + + + + + + + + + +

Test passes if the two boxes below look exactly the same.

+
+
+ +
+
+ +
+
+
+
+ +
+
+ +
+
+ + diff --git a/layout/reftests/bidi/dirAuto/dir_auto-input-N-L-ref.html b/layout/reftests/bidi/dirAuto/dir_auto-input-N-L-ref.html new file mode 100644 index 00000000000..03b396d4bff --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dir_auto-input-N-L-ref.html @@ -0,0 +1,59 @@ + + + + + HTML Test: input with dir=auto, start with N+L + + + + + + + + + + +

Test passes if the two boxes below look exactly the same.

+
+ Key to entities used below: + א - The Hebrew letter Alef (strongly RTL). + ב - The Hebrew letter Bet (strongly RTL). + ג - The Hebrew letter Gimel (strongly RTL). +
+
+
+ +
+
+ +
+
+
+
+ +
+
+ +
+
+ + diff --git a/layout/reftests/bidi/dirAuto/dir_auto-input-N-L.html b/layout/reftests/bidi/dirAuto/dir_auto-input-N-L.html new file mode 100644 index 00000000000..14bd05fb270 --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dir_auto-input-N-L.html @@ -0,0 +1,59 @@ + + + + + HTML Test: input with dir=auto, start with N+L + + + + + + + + + + +

Test passes if the two boxes below look exactly the same.

+
+ Key to entities used below: + א - The Hebrew letter Alef (strongly RTL). + ב - The Hebrew letter Bet (strongly RTL). + ג - The Hebrew letter Gimel (strongly RTL). +
+
+
+ +
+
+ +
+
+
+
+ +
+
+ +
+
+ + diff --git a/layout/reftests/bidi/dirAuto/dir_auto-input-N-R-ref.html b/layout/reftests/bidi/dirAuto/dir_auto-input-N-R-ref.html new file mode 100644 index 00000000000..474b5c7e762 --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dir_auto-input-N-R-ref.html @@ -0,0 +1,59 @@ + + + + + HTML Test: input with dir=auto, start with N+R + + + + + + + + + + +

Test passes if the two boxes below look exactly the same.

+
+ Key to entities used below: + א - The Hebrew letter Alef (strongly RTL). + ב - The Hebrew letter Bet (strongly RTL). + ג - The Hebrew letter Gimel (strongly RTL). +
+
+
+ +
+
+ +
+
+
+
+ +
+
+ +
+
+ + diff --git a/layout/reftests/bidi/dirAuto/dir_auto-input-N-R.html b/layout/reftests/bidi/dirAuto/dir_auto-input-N-R.html new file mode 100644 index 00000000000..f78f2898180 --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dir_auto-input-N-R.html @@ -0,0 +1,59 @@ + + + + + HTML Test: input with dir=auto, start with N+R + + + + + + + + + + +

Test passes if the two boxes below look exactly the same.

+
+ Key to entities used below: + א - The Hebrew letter Alef (strongly RTL). + ב - The Hebrew letter Bet (strongly RTL). + ג - The Hebrew letter Gimel (strongly RTL). +
+
+
+ +
+
+ +
+
+
+
+ +
+
+ +
+
+ + diff --git a/layout/reftests/bidi/dirAuto/dir_auto-input-R-ref.html b/layout/reftests/bidi/dirAuto/dir_auto-input-R-ref.html new file mode 100644 index 00000000000..6942d3ffb8a --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dir_auto-input-R-ref.html @@ -0,0 +1,59 @@ + + + + + HTML Test: input with dir=auto, start with R + + + + + + + + + + +

Test passes if the two boxes below look exactly the same.

+
+ Key to entities used below: + א - The Hebrew letter Alef (strongly RTL). + ב - The Hebrew letter Bet (strongly RTL). + ג - The Hebrew letter Gimel (strongly RTL). +
+
+
+ +
+
+ +
+
+
+
+ +
+
+ +
+
+ + diff --git a/layout/reftests/bidi/dirAuto/dir_auto-input-R.html b/layout/reftests/bidi/dirAuto/dir_auto-input-R.html new file mode 100644 index 00000000000..70163671dcf --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dir_auto-input-R.html @@ -0,0 +1,59 @@ + + + + + HTML Test: input with dir=auto, start with R + + + + + + + + + + +

Test passes if the two boxes below look exactly the same.

+
+ Key to entities used below: + א - The Hebrew letter Alef (strongly RTL). + ב - The Hebrew letter Bet (strongly RTL). + ג - The Hebrew letter Gimel (strongly RTL). +
+
+
+ +
+
+ +
+
+
+
+ +
+
+ +
+
+ + diff --git a/layout/reftests/bidi/dirAuto/dir_auto-input-script-EN-L-ref.html b/layout/reftests/bidi/dirAuto/dir_auto-input-script-EN-L-ref.html new file mode 100644 index 00000000000..a58f6c16669 --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dir_auto-input-script-EN-L-ref.html @@ -0,0 +1,59 @@ + + + + + HTML Test: input with dir=auto, script assigns to start with EN+L + + + + + + + + + + +

Test passes if the two boxes below look exactly the same.

+
+ Key to entities used below: + א - The Hebrew letter Alef (strongly RTL). + ב - The Hebrew letter Bet (strongly RTL). + ג - The Hebrew letter Gimel (strongly RTL). +
+
+
+ +
+
+ +
+
+
+
+ +
+
+ +
+
+ + diff --git a/layout/reftests/bidi/dirAuto/dir_auto-input-script-EN-L.html b/layout/reftests/bidi/dirAuto/dir_auto-input-script-EN-L.html new file mode 100644 index 00000000000..03850c990de --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dir_auto-input-script-EN-L.html @@ -0,0 +1,68 @@ + + + + + HTML Test: input with dir=auto, script assigns to start with EN+L + + + + + + + + + + +

Test passes if the two boxes below look exactly the same.

+
+ Key to entities used below: + א - The Hebrew letter Alef (strongly RTL). + ב - The Hebrew letter Bet (strongly RTL). + ג - The Hebrew letter Gimel (strongly RTL). +
+
+ +
+ +
+
+ +
+
+
+
+ +
+
+ +
+
+ + diff --git a/layout/reftests/bidi/dirAuto/dir_auto-input-script-EN-R-ref.html b/layout/reftests/bidi/dirAuto/dir_auto-input-script-EN-R-ref.html new file mode 100644 index 00000000000..33061e92917 --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dir_auto-input-script-EN-R-ref.html @@ -0,0 +1,59 @@ + + + + + HTML Test: input with dir=auto, script assigns to start with EN+R + + + + + + + + + + +

Test passes if the two boxes below look exactly the same.

+
+ Key to entities used below: + א - The Hebrew letter Alef (strongly RTL). + ב - The Hebrew letter Bet (strongly RTL). + ג - The Hebrew letter Gimel (strongly RTL). +
+
+
+ +
+
+ +
+
+
+
+ +
+
+ +
+
+ + diff --git a/layout/reftests/bidi/dirAuto/dir_auto-input-script-EN-R.html b/layout/reftests/bidi/dirAuto/dir_auto-input-script-EN-R.html new file mode 100644 index 00000000000..207652d2505 --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dir_auto-input-script-EN-R.html @@ -0,0 +1,68 @@ + + + + + HTML Test: input with dir=auto, script assigns to start with EN+R + + + + + + + + + + +

Test passes if the two boxes below look exactly the same.

+
+ Key to entities used below: + א - The Hebrew letter Alef (strongly RTL). + ב - The Hebrew letter Bet (strongly RTL). + ג - The Hebrew letter Gimel (strongly RTL). +
+
+ +
+ +
+
+ +
+
+
+
+ +
+
+ +
+
+ + diff --git a/layout/reftests/bidi/dirAuto/dir_auto-input-script-L-ref.html b/layout/reftests/bidi/dirAuto/dir_auto-input-script-L-ref.html new file mode 100644 index 00000000000..b14ec45e674 --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dir_auto-input-script-L-ref.html @@ -0,0 +1,59 @@ + + + + + HTML Test: input with dir=auto, script assigns to start with L + + + + + + + + + + +

Test passes if the two boxes below look exactly the same.

+
+ Key to entities used below: + א - The Hebrew letter Alef (strongly RTL). + ב - The Hebrew letter Bet (strongly RTL). + ג - The Hebrew letter Gimel (strongly RTL). +
+
+
+ +
+
+ +
+
+
+
+ +
+
+ +
+
+ + diff --git a/layout/reftests/bidi/dirAuto/dir_auto-input-script-L.html b/layout/reftests/bidi/dirAuto/dir_auto-input-script-L.html new file mode 100644 index 00000000000..6ee4ee471ef --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dir_auto-input-script-L.html @@ -0,0 +1,68 @@ + + + + + HTML Test: input with dir=auto, script assigns to start with L + + + + + + + + + + +

Test passes if the two boxes below look exactly the same.

+
+ Key to entities used below: + א - The Hebrew letter Alef (strongly RTL). + ב - The Hebrew letter Bet (strongly RTL). + ג - The Hebrew letter Gimel (strongly RTL). +
+
+ +
+ +
+
+ +
+
+
+
+ +
+
+ +
+
+ + diff --git a/layout/reftests/bidi/dirAuto/dir_auto-input-script-N-EN-L-ref.html b/layout/reftests/bidi/dirAuto/dir_auto-input-script-N-EN-L-ref.html new file mode 100644 index 00000000000..eda0b659dea --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dir_auto-input-script-N-EN-L-ref.html @@ -0,0 +1,59 @@ + + + + + HTML Test: input with dir=auto, script assigns to start with N+EN+L + + + + + + + + + + +

Test passes if the two boxes below look exactly the same.

+
+ Key to entities used below: + א - The Hebrew letter Alef (strongly RTL). + ב - The Hebrew letter Bet (strongly RTL). + ג - The Hebrew letter Gimel (strongly RTL). +
+
+
+ +
+
+ +
+
+
+
+ +
+
+ +
+
+ + diff --git a/layout/reftests/bidi/dirAuto/dir_auto-input-script-N-EN-L.html b/layout/reftests/bidi/dirAuto/dir_auto-input-script-N-EN-L.html new file mode 100644 index 00000000000..50222dd07f0 --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dir_auto-input-script-N-EN-L.html @@ -0,0 +1,68 @@ + + + + + HTML Test: input with dir=auto, script assigns to start with N+EN+L + + + + + + + + + + +

Test passes if the two boxes below look exactly the same.

+
+ Key to entities used below: + א - The Hebrew letter Alef (strongly RTL). + ב - The Hebrew letter Bet (strongly RTL). + ג - The Hebrew letter Gimel (strongly RTL). +
+
+ +
+ +
+
+ +
+
+
+
+ +
+
+ +
+
+ + diff --git a/layout/reftests/bidi/dirAuto/dir_auto-input-script-N-EN-R-ref.html b/layout/reftests/bidi/dirAuto/dir_auto-input-script-N-EN-R-ref.html new file mode 100644 index 00000000000..f78ef0bbc9a --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dir_auto-input-script-N-EN-R-ref.html @@ -0,0 +1,59 @@ + + + + + HTML Test: input with dir=auto, script assigns to start with N+EN+R + + + + + + + + + + +

Test passes if the two boxes below look exactly the same.

+
+ Key to entities used below: + א - The Hebrew letter Alef (strongly RTL). + ב - The Hebrew letter Bet (strongly RTL). + ג - The Hebrew letter Gimel (strongly RTL). +
+
+
+ +
+
+ +
+
+
+
+ +
+
+ +
+
+ + diff --git a/layout/reftests/bidi/dirAuto/dir_auto-input-script-N-EN-R.html b/layout/reftests/bidi/dirAuto/dir_auto-input-script-N-EN-R.html new file mode 100644 index 00000000000..e87f8f13bb8 --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dir_auto-input-script-N-EN-R.html @@ -0,0 +1,68 @@ + + + + + HTML Test: input with dir=auto, script assigns to start with N+EN+R + + + + + + + + + + +

Test passes if the two boxes below look exactly the same.

+
+ Key to entities used below: + א - The Hebrew letter Alef (strongly RTL). + ב - The Hebrew letter Bet (strongly RTL). + ג - The Hebrew letter Gimel (strongly RTL). +
+
+ +
+ +
+
+ +
+
+
+
+ +
+
+ +
+
+ + diff --git a/layout/reftests/bidi/dirAuto/dir_auto-input-script-N-EN-ref.html b/layout/reftests/bidi/dirAuto/dir_auto-input-script-N-EN-ref.html new file mode 100644 index 00000000000..b61f677dc71 --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dir_auto-input-script-N-EN-ref.html @@ -0,0 +1,54 @@ + + + + + HTML Test: input with dir=auto, script assigns to all N+EN + + + + + + + + + + +

Test passes if the two boxes below look exactly the same.

+
+
+ +
+
+ +
+
+
+
+ +
+
+ +
+
+ + diff --git a/layout/reftests/bidi/dirAuto/dir_auto-input-script-N-EN.html b/layout/reftests/bidi/dirAuto/dir_auto-input-script-N-EN.html new file mode 100644 index 00000000000..088036a2551 --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dir_auto-input-script-N-EN.html @@ -0,0 +1,63 @@ + + + + + HTML Test: input with dir=auto, script assigns to all N+EN + + + + + + + + + + +

Test passes if the two boxes below look exactly the same.

+
+ +
+ +
+
+ +
+
+
+
+ +
+
+ +
+
+ + diff --git a/layout/reftests/bidi/dirAuto/dir_auto-input-script-N-L-ref.html b/layout/reftests/bidi/dirAuto/dir_auto-input-script-N-L-ref.html new file mode 100644 index 00000000000..55ff0d53c43 --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dir_auto-input-script-N-L-ref.html @@ -0,0 +1,59 @@ + + + + + HTML Test: input with dir=auto, script assigns to start with N+L + + + + + + + + + + +

Test passes if the two boxes below look exactly the same.

+
+ Key to entities used below: + א - The Hebrew letter Alef (strongly RTL). + ב - The Hebrew letter Bet (strongly RTL). + ג - The Hebrew letter Gimel (strongly RTL). +
+
+
+ +
+
+ +
+
+
+
+ +
+
+ +
+
+ + diff --git a/layout/reftests/bidi/dirAuto/dir_auto-input-script-N-L.html b/layout/reftests/bidi/dirAuto/dir_auto-input-script-N-L.html new file mode 100644 index 00000000000..1f3486c0ed1 --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dir_auto-input-script-N-L.html @@ -0,0 +1,68 @@ + + + + + HTML Test: input with dir=auto, script assigns to start with N+L + + + + + + + + + + +

Test passes if the two boxes below look exactly the same.

+
+ Key to entities used below: + א - The Hebrew letter Alef (strongly RTL). + ב - The Hebrew letter Bet (strongly RTL). + ג - The Hebrew letter Gimel (strongly RTL). +
+
+ +
+ +
+
+ +
+
+
+
+ +
+
+ +
+
+ + diff --git a/layout/reftests/bidi/dirAuto/dir_auto-input-script-N-R-ref.html b/layout/reftests/bidi/dirAuto/dir_auto-input-script-N-R-ref.html new file mode 100644 index 00000000000..f06f47738ed --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dir_auto-input-script-N-R-ref.html @@ -0,0 +1,59 @@ + + + + + HTML Test: input with dir=auto, script assigns to start with N+R + + + + + + + + + + +

Test passes if the two boxes below look exactly the same.

+
+ Key to entities used below: + א - The Hebrew letter Alef (strongly RTL). + ב - The Hebrew letter Bet (strongly RTL). + ג - The Hebrew letter Gimel (strongly RTL). +
+
+
+ +
+
+ +
+
+
+
+ +
+
+ +
+
+ + diff --git a/layout/reftests/bidi/dirAuto/dir_auto-input-script-N-R.html b/layout/reftests/bidi/dirAuto/dir_auto-input-script-N-R.html new file mode 100644 index 00000000000..941b5514354 --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dir_auto-input-script-N-R.html @@ -0,0 +1,68 @@ + + + + + HTML Test: input with dir=auto, script assigns to start with N+R + + + + + + + + + + +

Test passes if the two boxes below look exactly the same.

+
+ Key to entities used below: + א - The Hebrew letter Alef (strongly RTL). + ב - The Hebrew letter Bet (strongly RTL). + ג - The Hebrew letter Gimel (strongly RTL). +
+
+ +
+ +
+
+ +
+
+
+
+ +
+
+ +
+
+ + diff --git a/layout/reftests/bidi/dirAuto/dir_auto-input-script-R-ref.html b/layout/reftests/bidi/dirAuto/dir_auto-input-script-R-ref.html new file mode 100644 index 00000000000..2b9ea5d7336 --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dir_auto-input-script-R-ref.html @@ -0,0 +1,59 @@ + + + + + HTML Test: input with dir=auto, script assigns to start with R + + + + + + + + + + +

Test passes if the two boxes below look exactly the same.

+
+ Key to entities used below: + א - The Hebrew letter Alef (strongly RTL). + ב - The Hebrew letter Bet (strongly RTL). + ג - The Hebrew letter Gimel (strongly RTL). +
+
+
+ +
+
+ +
+
+
+
+ +
+
+ +
+
+ + diff --git a/layout/reftests/bidi/dirAuto/dir_auto-input-script-R.html b/layout/reftests/bidi/dirAuto/dir_auto-input-script-R.html new file mode 100644 index 00000000000..304189e189b --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dir_auto-input-script-R.html @@ -0,0 +1,68 @@ + + + + + HTML Test: input with dir=auto, script assigns to start with R + + + + + + + + + + +

Test passes if the two boxes below look exactly the same.

+
+ Key to entities used below: + א - The Hebrew letter Alef (strongly RTL). + ב - The Hebrew letter Bet (strongly RTL). + ג - The Hebrew letter Gimel (strongly RTL). +
+
+ +
+ +
+
+ +
+
+
+
+ +
+
+ +
+
+ + diff --git a/layout/reftests/bidi/dirAuto/dir_auto-isolate-ref.html b/layout/reftests/bidi/dirAuto/dir_auto-isolate-ref.html new file mode 100644 index 00000000000..4583ac2c7a6 --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dir_auto-isolate-ref.html @@ -0,0 +1,56 @@ + + + + + HTML Test: dir=auto, isolated in LTR text + + + + + + + + + +

Test passes if the two boxes below look exactly the same.

+
+ Key to entities used below: + א - The Hebrew letter Alef (strongly RTL). +
+
+
+ ‭1 a! א‬ +
+
+ ‭a !א 1‬ +
+
+
+
+ ‭1 a! א‬ +
+
+ ‭a !א 1‬ +
+
+ + diff --git a/layout/reftests/bidi/dirAuto/dir_auto-isolate.html b/layout/reftests/bidi/dirAuto/dir_auto-isolate.html new file mode 100644 index 00000000000..71f929204ed --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dir_auto-isolate.html @@ -0,0 +1,58 @@ + + + + + HTML Test: dir=auto, isolated in LTR text + + + + + + + + + +

Test passes if the two boxes below look exactly the same.

+
+ Key to entities used below: + א - The Hebrew letter Alef (strongly RTL). + ‭ - The LRO (left-to-right-override) formatting character. + ‬ - The PDF (pop directional formatting) formatting character; closes LRO. +
+
+
+ א a! 1 +
+
+ a א! 1 +
+
+
+
+ ‭1 a! א‬ +
+
+ ‭a !א 1‬ +
+
+ + diff --git a/layout/reftests/bidi/dirAuto/dir_auto-pre-N-EN-ref.html b/layout/reftests/bidi/dirAuto/dir_auto-pre-N-EN-ref.html new file mode 100644 index 00000000000..c951c30b202 --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dir_auto-pre-N-EN-ref.html @@ -0,0 +1,49 @@ + + + + + + + + + +

Test passes if the two boxes below look exactly the same.

+
+
+
+@123!
+        
+
+
+
+@123!
+        
+
+
+
+
+
+@123!
+        
+
+
+
+@123!
+        
+
+
+ + diff --git a/layout/reftests/bidi/dirAuto/dir_auto-pre-N-EN.html b/layout/reftests/bidi/dirAuto/dir_auto-pre-N-EN.html new file mode 100644 index 00000000000..ed923a908d9 --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dir_auto-pre-N-EN.html @@ -0,0 +1,66 @@ + + + + + HTML Test: pre with dir=auto, all N+EN + + + + + + + + + +

Test passes if the two boxes below look exactly the same.

+
+ Key to entities used below: + ‎ - LRM, the invisible left-to-right mark (strongly LTR). + ‏ - RLM, the invisible right-to-left mark (strongly RTL). + We use text-align:left because neither the dir="auto" nor the unicode-bidi:plaintext + specification states whether text-align:start and text-align:end should obey the paragraph + direction or the direction property in a unicode-bidi:plaintext element. +
+
+
+
+@123!
+        
+
+
+
+@123!
+        
+
+
+
+
+
+@123!
+        
+
+
+
+@123!
+        
+
+
+ + diff --git a/layout/reftests/bidi/dirAuto/dir_auto-pre-N-between-Rs-ref.html b/layout/reftests/bidi/dirAuto/dir_auto-pre-N-between-Rs-ref.html new file mode 100644 index 00000000000..2d9caf062d2 --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dir_auto-pre-N-between-Rs-ref.html @@ -0,0 +1,61 @@ + + + + + + + + + +

Test passes if the two boxes below look exactly the same.

+
+ Key to entities used below: + א - The Hebrew letter Alef (strongly RTL). +
+
+
+
+א
+!...
+א
+        
+
+
+
+א
+!...
+א
+        
+
+
+
+
+
+א
+!...
+א
+        
+
+
+
+א
+!...
+א
+        
+
+
+ + diff --git a/layout/reftests/bidi/dirAuto/dir_auto-pre-N-between-Rs.html b/layout/reftests/bidi/dirAuto/dir_auto-pre-N-between-Rs.html new file mode 100644 index 00000000000..00115a40100 --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dir_auto-pre-N-between-Rs.html @@ -0,0 +1,76 @@ + + + + + HTML Test: pre with dir=auto, all-N between all-Rs + + + + + + + + + +

Test passes if the two boxes below look exactly the same.

+
+ Key to entities used below: + א - The Hebrew letter Alef (strongly RTL). + We use text-align:left because neither the dir="auto" nor the unicode-bidi:plaintext + specification states whether text-align:start and text-align:end should obey the paragraph + direction or the direction property in a unicode-bidi:plaintext element. + The ...! paragraph, being neutral, is supposed to be displayed LTR (i.e. as ...!, not as !...) + despite both the paragraph before it and the paragraph after it being all-RTL, which makes the + element as a whole RTL. +
+
+
+
+א
+...!
+א
+        
+
+
+
+א
+...!
+א
+        
+
+
+
+
+
+א
+!...
+א
+        
+
+
+
+א
+!...
+א
+        
+
+
+ + diff --git a/layout/reftests/bidi/dirAuto/dir_auto-pre-mixed-ref.html b/layout/reftests/bidi/dirAuto/dir_auto-pre-mixed-ref.html new file mode 100644 index 00000000000..10bd02433b4 --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dir_auto-pre-mixed-ref.html @@ -0,0 +1,61 @@ + + + + + + + + + +

Test passes if the two boxes below look exactly the same.

+
+
+
+@123!
+@123!
+@123!
+@123!
+        
+
+
+
+@123!
+@123!
+@123!
+@123!
+        
+
+
+
+
+
+@123!
+@123!
+@123!
+@123!
+        
+
+
+
+@123!
+@123!
+@123!
+@123!
+        
+
+
+ + diff --git a/layout/reftests/bidi/dirAuto/dir_auto-pre-mixed.html b/layout/reftests/bidi/dirAuto/dir_auto-pre-mixed.html new file mode 100644 index 00000000000..46eac9551d4 --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dir_auto-pre-mixed.html @@ -0,0 +1,77 @@ + + + + + HTML Test: pre with dir=auto, mixed L and R paragraphs + + + + + + + + + +

Test passes if the two boxes below look exactly the same.

+
+ Key to entities used below: + ‎ - LRM, the invisible left-to-right mark (strongly LTR). + ‏ - RLM, the invisible right-to-left mark (strongly RTL). + We use text-align:left because neither the dir="auto" nor the unicode-bidi:plaintext + specification states whether text-align:start and text-align:end should obey the paragraph + direction or the direction property in a unicode-bidi:plaintext element. +
+
+
+
+@‎123‏!
+!‏123‎@
+@123‎‏!
+!123‏‎@
+        
+
+
+
+@‎123‏!
+!‏123‎@
+@123‎‏!
+!123‏‎@
+        
+
+
+
+
+
+@123!
+@123!
+@123!
+@123!
+        
+
+
+
+@123!
+@123!
+@123!
+@123!
+        
+
+
+ + diff --git a/layout/reftests/bidi/dirAuto/dir_auto-textarea-N-EN-ref.html b/layout/reftests/bidi/dirAuto/dir_auto-textarea-N-EN-ref.html new file mode 100644 index 00000000000..253b84459ee --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dir_auto-textarea-N-EN-ref.html @@ -0,0 +1,49 @@ + + + + + + + + + +

Test passes if the two boxes below look exactly the same.

+
+
+ +
+
+ +
+
+
+
+ +
+
+ +
+
+ + diff --git a/layout/reftests/bidi/dirAuto/dir_auto-textarea-N-EN.html b/layout/reftests/bidi/dirAuto/dir_auto-textarea-N-EN.html new file mode 100644 index 00000000000..fd05e30dec6 --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dir_auto-textarea-N-EN.html @@ -0,0 +1,66 @@ + + + + + HTML Test: textarea with dir=auto, all N+EN + + + + + + + + + +

Test passes if the two boxes below look exactly the same.

+
+ Key to entities used below: + ‎ - LRM, the invisible left-to-right mark (strongly LTR). + ‏ - RLM, the invisible right-to-left mark (strongly RTL). + We use text-align:left because neither the dir="auto" nor the unicode-bidi:plaintext + specification states whether text-align:start and text-align:end should obey the paragraph + direction or the direction property in a unicode-bidi:plaintext element. +
+
+
+ +
+
+ +
+
+
+
+ +
+
+ +
+
+ + diff --git a/layout/reftests/bidi/dirAuto/dir_auto-textarea-N-between-Rs-ref.html b/layout/reftests/bidi/dirAuto/dir_auto-textarea-N-between-Rs-ref.html new file mode 100644 index 00000000000..558e27171bc --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dir_auto-textarea-N-between-Rs-ref.html @@ -0,0 +1,65 @@ + + + + + + + + + + +

Test passes if the two boxes below look exactly the same.

+
+ Key to entities used below: + א - The Hebrew letter Alef (strongly RTL). +
+
+
+ +
+
+ +
+
+
+
+ +
+
+ +
+
+ + diff --git a/layout/reftests/bidi/dirAuto/dir_auto-textarea-N-between-Rs.html b/layout/reftests/bidi/dirAuto/dir_auto-textarea-N-between-Rs.html new file mode 100644 index 00000000000..d48a6141d87 --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dir_auto-textarea-N-between-Rs.html @@ -0,0 +1,79 @@ + + + + + HTML Test: textarea with dir=auto, all-N between all-Rs + + + + + + + + + +

Test passes if the two boxes below look exactly the same.

+
+ Key to entities used below: + א - The Hebrew letter Alef (strongly RTL). + We use text-align:left because neither the dir="auto" nor the unicode-bidi:plaintext + specification states whether text-align:start and text-align:end should obey the paragraph + direction or the direction property in a unicode-bidi:plaintext element. + The ...! paragraph, being neutral, is supposed to be displayed LTR (i.e. as ...!, not as !...) + despite both the paragraph before it and the paragraph after it being all-RTL, which makes the + element as a whole RTL. +
+
+
+ +
+
+ +
+
+
+
+ +
+
+ +
+
+ + diff --git a/layout/reftests/bidi/dirAuto/dir_auto-textarea-mixed-ref.html b/layout/reftests/bidi/dirAuto/dir_auto-textarea-mixed-ref.html new file mode 100644 index 00000000000..a5a84480f6f --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dir_auto-textarea-mixed-ref.html @@ -0,0 +1,64 @@ + + + + + + + + + +

Test passes if the two boxes below look exactly the same.

+
+
+ +
+
+ +
+
+
+
+ +
+
+ +
+
+ + diff --git a/layout/reftests/bidi/dirAuto/dir_auto-textarea-mixed.html b/layout/reftests/bidi/dirAuto/dir_auto-textarea-mixed.html new file mode 100644 index 00000000000..db53d8ff43f --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dir_auto-textarea-mixed.html @@ -0,0 +1,80 @@ + + + + + HTML Test: textarea with dir=auto, mixed L and R paragraphs + + + + + + + + + +

Test passes if the two boxes below look exactly the same.

+
+ Key to entities used below: + ‎ - LRM, the invisible left-to-right mark (strongly LTR). + ‏ - RLM, the invisible right-to-left mark (strongly RTL). + We use text-align:left because neither the dir="auto" nor the unicode-bidi:plaintext + specification states whether text-align:start and text-align:end should obey the paragraph + direction or the direction property in a unicode-bidi:plaintext element. +
+
+
+ +
+
+ +
+
+
+
+ +
+
+ +
+
+ + diff --git a/layout/reftests/bidi/dirAuto/dir_auto-textarea-script-N-EN-ref.html b/layout/reftests/bidi/dirAuto/dir_auto-textarea-script-N-EN-ref.html new file mode 100644 index 00000000000..253b84459ee --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dir_auto-textarea-script-N-EN-ref.html @@ -0,0 +1,49 @@ + + + + + + + + + +

Test passes if the two boxes below look exactly the same.

+
+
+ +
+
+ +
+
+
+
+ +
+
+ +
+
+ + diff --git a/layout/reftests/bidi/dirAuto/dir_auto-textarea-script-N-EN.html b/layout/reftests/bidi/dirAuto/dir_auto-textarea-script-N-EN.html new file mode 100644 index 00000000000..a622db584b5 --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dir_auto-textarea-script-N-EN.html @@ -0,0 +1,75 @@ + + + + + HTML Test: textarea with dir=auto, script assigns to all N+EN + + + + + + + + + +

Test passes if the two boxes below look exactly the same.

+
+ Key to entities used below: + ‎ - LRM, the invisible left-to-right mark (strongly LTR). + ‏ - RLM, the invisible right-to-left mark (strongly RTL). + We use text-align:left because neither the dir="auto" nor the unicode-bidi:plaintext + specification states whether text-align:start and text-align:end should obey the paragraph + direction or the direction property in a unicode-bidi:plaintext element. +
+
+ +
+ +
+
+ +
+
+
+
+ +
+
+ +
+
+ + diff --git a/layout/reftests/bidi/dirAuto/dir_auto-textarea-script-N-between-Rs-ref.html b/layout/reftests/bidi/dirAuto/dir_auto-textarea-script-N-between-Rs-ref.html new file mode 100644 index 00000000000..558e27171bc --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dir_auto-textarea-script-N-between-Rs-ref.html @@ -0,0 +1,65 @@ + + + + + + + + + + +

Test passes if the two boxes below look exactly the same.

+
+ Key to entities used below: + א - The Hebrew letter Alef (strongly RTL). +
+
+
+ +
+
+ +
+
+
+
+ +
+
+ +
+
+ + diff --git a/layout/reftests/bidi/dirAuto/dir_auto-textarea-script-N-between-Rs.html b/layout/reftests/bidi/dirAuto/dir_auto-textarea-script-N-between-Rs.html new file mode 100644 index 00000000000..407e3414fb3 --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dir_auto-textarea-script-N-between-Rs.html @@ -0,0 +1,84 @@ + + + + + HTML Test: textarea with dir=auto, script assigns to all-N between all-Rs + + + + + + + + + +

Test passes if the two boxes below look exactly the same.

+
+ Key to entities used below: + א - The Hebrew letter Alef (strongly RTL). + We use text-align:left because neither the dir="auto" nor the unicode-bidi:plaintext + specification states whether text-align:start and text-align:end should obey the paragraph + direction or the direction property in a unicode-bidi:plaintext element. + The ...! paragraph, being neutral, is supposed to be displayed LTR (i.e. as ...!, not as !...) + despite both the paragraph before it and the paragraph after it being all-RTL, which makes the + element as a whole RTL. +
+
+ +
+ +
+
+ +
+
+
+
+ +
+
+ +
+
+ + diff --git a/layout/reftests/bidi/dirAuto/dir_auto-textarea-script-mixed-ref.html b/layout/reftests/bidi/dirAuto/dir_auto-textarea-script-mixed-ref.html new file mode 100644 index 00000000000..a5a84480f6f --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dir_auto-textarea-script-mixed-ref.html @@ -0,0 +1,64 @@ + + + + + + + + + +

Test passes if the two boxes below look exactly the same.

+
+
+ +
+
+ +
+
+
+
+ +
+
+ +
+
+ + diff --git a/layout/reftests/bidi/dirAuto/dir_auto-textarea-script-mixed.html b/layout/reftests/bidi/dirAuto/dir_auto-textarea-script-mixed.html new file mode 100644 index 00000000000..f5a5ece56f2 --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dir_auto-textarea-script-mixed.html @@ -0,0 +1,98 @@ + + + + + HTML Test: textarea with dir=auto, script assigns to mixed L and R paragraphs + + + + + + + + + +

Test passes if the two boxes below look exactly the same.

+
+ Key to entities used below: + ‎ - LRM, the invisible left-to-right mark (strongly LTR). + ‏ - RLM, the invisible right-to-left mark (strongly RTL). + We use text-align:left because neither the dir="auto" nor the unicode-bidi:plaintext + specification states whether text-align:start and text-align:end should obey the paragraph + direction or the direction property in a unicode-bidi:plaintext element. +
+
+ +
+ +
+
+ +
+
+
+
+ +
+
+ +
+
+ + diff --git a/layout/reftests/bidi/dirAuto/reftest.list b/layout/reftests/bidi/dirAuto/reftest.list new file mode 100644 index 00000000000..fc032cd353d --- /dev/null +++ b/layout/reftests/bidi/dirAuto/reftest.list @@ -0,0 +1,51 @@ +== dir_auto-contained-bdi-L.html dir_auto-contained-bdi-L-ref.html +== dir_auto-contained-bdi-R.html dir_auto-contained-bdi-R-ref.html +== dir_auto-contained-dir-L.html dir_auto-contained-dir-L-ref.html +== dir_auto-contained-dir-R.html dir_auto-contained-dir-R-ref.html +== dir_auto-contained-dir_auto-L.html dir_auto-contained-dir_auto-L-ref.html +== dir_auto-contained-dir_auto-R.html dir_auto-contained-dir_auto-R-ref.html +== dir_auto-contained-L.html dir_auto-contained-L-ref.html +== dir_auto-contained-R.html dir_auto-contained-R-ref.html +== dir_auto-contained-script-L.html dir_auto-contained-script-L-ref.html +== dir_auto-contained-script-R.html dir_auto-contained-script-R-ref.html +== dir_auto-contained-style-L.html dir_auto-contained-style-L-ref.html +== dir_auto-contained-style-R.html dir_auto-contained-style-R-ref.html +== dir_auto-contained-textarea-L.html dir_auto-contained-textarea-L-ref.html +== dir_auto-contained-textarea-R.html dir_auto-contained-textarea-R-ref.html +== dir_auto-EN-L.html dir_auto-EN-L-ref.html +== dir_auto-EN-R.html dir_auto-EN-R-ref.html +== dir_auto-input-EN-L.html dir_auto-input-EN-L-ref.html +== dir_auto-input-EN-R.html dir_auto-input-EN-R-ref.html +== dir_auto-input-L.html dir_auto-input-L-ref.html +== dir_auto-input-N-EN-L.html dir_auto-input-N-EN-L-ref.html +== dir_auto-input-N-EN-R.html dir_auto-input-N-EN-R-ref.html +== dir_auto-input-N-EN.html dir_auto-input-N-EN-ref.html +== dir_auto-input-N-L.html dir_auto-input-N-L-ref.html +== dir_auto-input-N-R.html dir_auto-input-N-R-ref.html +== dir_auto-input-R.html dir_auto-input-R-ref.html +== dir_auto-input-script-EN-L.html dir_auto-input-script-EN-L-ref.html +== dir_auto-input-script-EN-R.html dir_auto-input-script-EN-R-ref.html +== dir_auto-input-script-L.html dir_auto-input-script-L-ref.html +== dir_auto-input-script-N-EN-L.html dir_auto-input-script-N-EN-L-ref.html +== dir_auto-input-script-N-EN-R.html dir_auto-input-script-N-EN-R-ref.html +== dir_auto-input-script-N-EN.html dir_auto-input-script-N-EN-ref.html +== dir_auto-input-script-N-L.html dir_auto-input-script-N-L-ref.html +== dir_auto-input-script-N-R.html dir_auto-input-script-N-R-ref.html +== dir_auto-input-script-R.html dir_auto-input-script-R-ref.html +== dir_auto-isolate.html dir_auto-isolate-ref.html +== dir_auto-L.html dir_auto-L-ref.html +== dir_auto-N-EN-L.html dir_auto-N-EN-L-ref.html +== dir_auto-N-EN-R.html dir_auto-N-EN-R-ref.html +== dir_auto-N-EN.html dir_auto-N-EN-ref.html +== dir_auto-N-L.html dir_auto-N-L-ref.html +== dir_auto-N-R.html dir_auto-N-R-ref.html +== dir_auto-pre-mixed.html dir_auto-pre-mixed-ref.html +== dir_auto-pre-N-between-Rs.html dir_auto-pre-N-between-Rs-ref.html +== dir_auto-pre-N-EN.html dir_auto-pre-N-EN-ref.html +== dir_auto-R.html dir_auto-R-ref.html +== dir_auto-textarea-mixed.html dir_auto-textarea-mixed-ref.html +== dir_auto-textarea-N-between-Rs.html dir_auto-textarea-N-between-Rs-ref.html +== dir_auto-textarea-N-EN.html dir_auto-textarea-N-EN-ref.html +== dir_auto-textarea-script-mixed.html dir_auto-textarea-script-mixed-ref.html +== dir_auto-textarea-script-N-between-Rs.html dir_auto-textarea-script-N-between-Rs-ref.html +== dir_auto-textarea-script-N-EN.html dir_auto-textarea-script-N-EN-ref.html diff --git a/layout/reftests/bidi/reftest.list b/layout/reftests/bidi/reftest.list index f0347219da9..bf2191c7dd4 100644 --- a/layout/reftests/bidi/reftest.list +++ b/layout/reftests/bidi/reftest.list @@ -1,3 +1,4 @@ +include dirAuto/reftest.list == bdi-element.html bdi-element-ref.html == bidi-000.html bidi-000-ref.html == bidi-001.html bidi-001-ref.html