From d71248e3e0c78987b1a555f32ae07f93b6b99fa7 Mon Sep 17 00:00:00 2001 From: Simon Montagu Date: Tue, 20 Nov 2012 06:21:15 -0800 Subject: [PATCH] Dynamic tests for bug 548206, r=ehsan --- .../dirAuto/dir_auto-set-contained-dir-L.html | 74 ++++++++++++++++ .../dirAuto/dir_auto-set-contained-dir-R.html | 71 ++++++++++++++++ .../dir_auto-set-contained-invalid-dir-L.html | 75 +++++++++++++++++ .../dir_auto-set-contained-invalid-dir-R.html | 72 ++++++++++++++++ .../dir_auto-unset-contained-dir-L-ref.html | 61 ++++++++++++++ .../dir_auto-unset-contained-dir-L.html | 71 ++++++++++++++++ .../dir_auto-unset-contained-dir-R-ref.html | 64 ++++++++++++++ .../dir_auto-unset-contained-dir-R.html | 74 ++++++++++++++++ .../dirAuto/dynamicDirAuto-addLTR-Auto.html | 14 ++++ .../dirAuto/dynamicDirAuto-addRTL-Auto.html | 14 ++++ .../dirAuto/dynamicDirAuto-refLTR-LTR.html | 17 ++++ .../dirAuto/dynamicDirAuto-refLTR-RTL.html | 17 ++++ .../dirAuto/dynamicDirAuto-refRTL-LTR.html | 17 ++++ .../dirAuto/dynamicDirAuto-refRTL-NoDir.html | 20 +++++ .../dirAuto/dynamicDirAuto-refRTL-RTL.html | 17 ++++ .../dirAuto/dynamicDirAuto-setLTR-Auto1.html | 18 ++++ .../dirAuto/dynamicDirAuto-setLTR-Auto2.html | 18 ++++ .../dirAuto/dynamicDirAuto-setLTR-Auto3.html | 18 ++++ .../dirAuto/dynamicDirAuto-setLTR-Auto4.html | 18 ++++ .../dirAuto/dynamicDirAuto-setLTR-Auto5.html | 18 ++++ .../dirAuto/dynamicDirAuto-setLTR-Auto6.html | 18 ++++ .../dynamicDirAuto-setLTR-InvalidDir1.html | 18 ++++ .../dynamicDirAuto-setLTR-InvalidDir2.html | 18 ++++ .../dynamicDirAuto-setLTR-InvalidDir3.html | 18 ++++ .../dynamicDirAuto-setLTR-InvalidDir4.html | 18 ++++ .../dynamicDirAuto-setLTR-InvalidDir5.html | 18 ++++ .../dynamicDirAuto-setLTR-InvalidDir6.html | 18 ++++ .../dynamicDirAuto-setLTR-InvalidDir7.html | 18 ++++ .../dynamicDirAuto-setLTR-InvalidDir8.html | 18 ++++ .../dirAuto/dynamicDirAuto-setLTR-LTR1.html | 18 ++++ .../dirAuto/dynamicDirAuto-setLTR-LTR2.html | 18 ++++ .../dirAuto/dynamicDirAuto-setLTR-LTR3.html | 18 ++++ .../dirAuto/dynamicDirAuto-setLTR-LTR4.html | 18 ++++ .../dirAuto/dynamicDirAuto-setLTR-LTR5.html | 18 ++++ .../dirAuto/dynamicDirAuto-setLTR-LTR6.html | 18 ++++ .../dirAuto/dynamicDirAuto-setLTR-LTR7.html | 18 ++++ .../dirAuto/dynamicDirAuto-setLTR-LTR8.html | 18 ++++ .../dirAuto/dynamicDirAuto-setLTR-NoDir1.html | 18 ++++ .../dirAuto/dynamicDirAuto-setLTR-NoDir2.html | 18 ++++ .../dirAuto/dynamicDirAuto-setLTR-NoDir3.html | 18 ++++ .../dirAuto/dynamicDirAuto-setLTR-NoDir4.html | 18 ++++ .../dirAuto/dynamicDirAuto-setLTR-NoDir5.html | 18 ++++ .../dirAuto/dynamicDirAuto-setLTR-NoDir6.html | 18 ++++ .../dirAuto/dynamicDirAuto-setLTR-NoDir7.html | 18 ++++ .../dirAuto/dynamicDirAuto-setLTR-NoDir8.html | 18 ++++ .../dirAuto/dynamicDirAuto-setLTR-RTL1.html | 18 ++++ .../dirAuto/dynamicDirAuto-setLTR-RTL2.html | 18 ++++ .../dirAuto/dynamicDirAuto-setLTR-RTL3.html | 18 ++++ .../dirAuto/dynamicDirAuto-setLTR-RTL4.html | 18 ++++ .../dirAuto/dynamicDirAuto-setLTR-RTL5.html | 18 ++++ .../dirAuto/dynamicDirAuto-setLTR-RTL6.html | 18 ++++ .../dirAuto/dynamicDirAuto-setLTR-RTL7.html | 18 ++++ .../dirAuto/dynamicDirAuto-setLTR-RTL8.html | 18 ++++ .../dirAuto/dynamicDirAuto-setRTL-Auto1.html | 18 ++++ .../dirAuto/dynamicDirAuto-setRTL-Auto2.html | 18 ++++ .../dirAuto/dynamicDirAuto-setRTL-Auto3.html | 18 ++++ .../dirAuto/dynamicDirAuto-setRTL-Auto4.html | 18 ++++ .../dirAuto/dynamicDirAuto-setRTL-Auto5.html | 18 ++++ .../dirAuto/dynamicDirAuto-setRTL-Auto6.html | 18 ++++ .../dynamicDirAuto-setRTL-InvalidDir1.html | 18 ++++ .../dynamicDirAuto-setRTL-InvalidDir2.html | 18 ++++ .../dynamicDirAuto-setRTL-InvalidDir3.html | 18 ++++ .../dynamicDirAuto-setRTL-InvalidDir4.html | 18 ++++ .../dynamicDirAuto-setRTL-InvalidDir5.html | 18 ++++ .../dynamicDirAuto-setRTL-InvalidDir6.html | 18 ++++ .../dynamicDirAuto-setRTL-InvalidDir7.html | 18 ++++ .../dynamicDirAuto-setRTL-InvalidDir8.html | 18 ++++ .../dirAuto/dynamicDirAuto-setRTL-LTR1.html | 18 ++++ .../dirAuto/dynamicDirAuto-setRTL-LTR2.html | 18 ++++ .../dirAuto/dynamicDirAuto-setRTL-LTR3.html | 18 ++++ .../dirAuto/dynamicDirAuto-setRTL-LTR4.html | 18 ++++ .../dirAuto/dynamicDirAuto-setRTL-LTR5.html | 18 ++++ .../dirAuto/dynamicDirAuto-setRTL-LTR6.html | 18 ++++ .../dirAuto/dynamicDirAuto-setRTL-LTR7.html | 18 ++++ .../dirAuto/dynamicDirAuto-setRTL-LTR8.html | 18 ++++ .../dirAuto/dynamicDirAuto-setRTL-NoDir1.html | 18 ++++ .../dirAuto/dynamicDirAuto-setRTL-NoDir2.html | 18 ++++ .../dirAuto/dynamicDirAuto-setRTL-NoDir3.html | 18 ++++ .../dirAuto/dynamicDirAuto-setRTL-NoDir4.html | 18 ++++ .../dirAuto/dynamicDirAuto-setRTL-NoDir5.html | 18 ++++ .../dirAuto/dynamicDirAuto-setRTL-NoDir6.html | 18 ++++ .../dirAuto/dynamicDirAuto-setRTL-NoDir7.html | 18 ++++ .../dirAuto/dynamicDirAuto-setRTL-NoDir8.html | 18 ++++ .../dirAuto/dynamicDirAuto-setRTL-RTL1.html | 18 ++++ .../dirAuto/dynamicDirAuto-setRTL-RTL2.html | 18 ++++ .../dirAuto/dynamicDirAuto-setRTL-RTL3.html | 18 ++++ .../dirAuto/dynamicDirAuto-setRTL-RTL4.html | 18 ++++ .../dirAuto/dynamicDirAuto-setRTL-RTL5.html | 18 ++++ .../dirAuto/dynamicDirAuto-setRTL-RTL6.html | 18 ++++ .../dirAuto/dynamicDirAuto-setRTL-RTL7.html | 18 ++++ .../dirAuto/dynamicDirAuto-setRTL-RTL8.html | 18 ++++ layout/reftests/bidi/dirAuto/reftest.list | 84 +++++++++++++++++++ layout/reftests/bidi/dirAuto/setDir.js | 61 ++++++++++++++ 93 files changed, 2191 insertions(+) create mode 100644 layout/reftests/bidi/dirAuto/dir_auto-set-contained-dir-L.html create mode 100644 layout/reftests/bidi/dirAuto/dir_auto-set-contained-dir-R.html create mode 100644 layout/reftests/bidi/dirAuto/dir_auto-set-contained-invalid-dir-L.html create mode 100644 layout/reftests/bidi/dirAuto/dir_auto-set-contained-invalid-dir-R.html create mode 100644 layout/reftests/bidi/dirAuto/dir_auto-unset-contained-dir-L-ref.html create mode 100644 layout/reftests/bidi/dirAuto/dir_auto-unset-contained-dir-L.html create mode 100644 layout/reftests/bidi/dirAuto/dir_auto-unset-contained-dir-R-ref.html create mode 100644 layout/reftests/bidi/dirAuto/dir_auto-unset-contained-dir-R.html create mode 100644 layout/reftests/bidi/dirAuto/dynamicDirAuto-addLTR-Auto.html create mode 100644 layout/reftests/bidi/dirAuto/dynamicDirAuto-addRTL-Auto.html create mode 100644 layout/reftests/bidi/dirAuto/dynamicDirAuto-refLTR-LTR.html create mode 100644 layout/reftests/bidi/dirAuto/dynamicDirAuto-refLTR-RTL.html create mode 100644 layout/reftests/bidi/dirAuto/dynamicDirAuto-refRTL-LTR.html create mode 100644 layout/reftests/bidi/dirAuto/dynamicDirAuto-refRTL-NoDir.html create mode 100644 layout/reftests/bidi/dirAuto/dynamicDirAuto-refRTL-RTL.html create mode 100644 layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-Auto1.html create mode 100644 layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-Auto2.html create mode 100644 layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-Auto3.html create mode 100644 layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-Auto4.html create mode 100644 layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-Auto5.html create mode 100644 layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-Auto6.html create mode 100644 layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-InvalidDir1.html create mode 100644 layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-InvalidDir2.html create mode 100644 layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-InvalidDir3.html create mode 100644 layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-InvalidDir4.html create mode 100644 layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-InvalidDir5.html create mode 100644 layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-InvalidDir6.html create mode 100644 layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-InvalidDir7.html create mode 100644 layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-InvalidDir8.html create mode 100644 layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-LTR1.html create mode 100644 layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-LTR2.html create mode 100644 layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-LTR3.html create mode 100644 layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-LTR4.html create mode 100644 layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-LTR5.html create mode 100644 layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-LTR6.html create mode 100644 layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-LTR7.html create mode 100644 layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-LTR8.html create mode 100644 layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-NoDir1.html create mode 100644 layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-NoDir2.html create mode 100644 layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-NoDir3.html create mode 100644 layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-NoDir4.html create mode 100644 layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-NoDir5.html create mode 100644 layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-NoDir6.html create mode 100644 layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-NoDir7.html create mode 100644 layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-NoDir8.html create mode 100644 layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-RTL1.html create mode 100644 layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-RTL2.html create mode 100644 layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-RTL3.html create mode 100644 layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-RTL4.html create mode 100644 layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-RTL5.html create mode 100644 layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-RTL6.html create mode 100644 layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-RTL7.html create mode 100644 layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-RTL8.html create mode 100644 layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-Auto1.html create mode 100644 layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-Auto2.html create mode 100644 layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-Auto3.html create mode 100644 layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-Auto4.html create mode 100644 layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-Auto5.html create mode 100644 layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-Auto6.html create mode 100644 layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-InvalidDir1.html create mode 100644 layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-InvalidDir2.html create mode 100644 layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-InvalidDir3.html create mode 100644 layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-InvalidDir4.html create mode 100644 layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-InvalidDir5.html create mode 100644 layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-InvalidDir6.html create mode 100644 layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-InvalidDir7.html create mode 100644 layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-InvalidDir8.html create mode 100644 layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-LTR1.html create mode 100644 layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-LTR2.html create mode 100644 layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-LTR3.html create mode 100644 layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-LTR4.html create mode 100644 layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-LTR5.html create mode 100644 layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-LTR6.html create mode 100644 layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-LTR7.html create mode 100644 layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-LTR8.html create mode 100644 layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-NoDir1.html create mode 100644 layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-NoDir2.html create mode 100644 layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-NoDir3.html create mode 100644 layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-NoDir4.html create mode 100644 layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-NoDir5.html create mode 100644 layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-NoDir6.html create mode 100644 layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-NoDir7.html create mode 100644 layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-NoDir8.html create mode 100644 layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-RTL1.html create mode 100644 layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-RTL2.html create mode 100644 layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-RTL3.html create mode 100644 layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-RTL4.html create mode 100644 layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-RTL5.html create mode 100644 layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-RTL6.html create mode 100644 layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-RTL7.html create mode 100644 layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-RTL8.html create mode 100644 layout/reftests/bidi/dirAuto/setDir.js diff --git a/layout/reftests/bidi/dirAuto/dir_auto-set-contained-dir-L.html b/layout/reftests/bidi/dirAuto/dir_auto-set-contained-dir-L.html new file mode 100644 index 00000000000..41bf37180e9 --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dir_auto-set-contained-dir-L.html @@ -0,0 +1,74 @@ + + + + + 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-set-contained-dir-R.html b/layout/reftests/bidi/dirAuto/dir_auto-set-contained-dir-R.html new file mode 100644 index 00000000000..0c74b3f3b4d --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dir_auto-set-contained-dir-R.html @@ -0,0 +1,71 @@ + + + + + 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-set-contained-invalid-dir-L.html b/layout/reftests/bidi/dirAuto/dir_auto-set-contained-invalid-dir-L.html new file mode 100644 index 00000000000..10a75a4cee8 --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dir_auto-set-contained-invalid-dir-L.html @@ -0,0 +1,75 @@ + + + + + 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-set-contained-invalid-dir-R.html b/layout/reftests/bidi/dirAuto/dir_auto-set-contained-invalid-dir-R.html new file mode 100644 index 00000000000..0ff92cb55d9 --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dir_auto-set-contained-invalid-dir-R.html @@ -0,0 +1,72 @@ + + + + + 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-unset-contained-dir-L-ref.html b/layout/reftests/bidi/dirAuto/dir_auto-unset-contained-dir-L-ref.html new file mode 100644 index 00000000000..a786430499b --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dir_auto-unset-contained-dir-L-ref.html @@ -0,0 +1,61 @@ + + + + + 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-unset-contained-dir-L.html b/layout/reftests/bidi/dirAuto/dir_auto-unset-contained-dir-L.html new file mode 100644 index 00000000000..c2cbdc2415e --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dir_auto-unset-contained-dir-L.html @@ -0,0 +1,71 @@ + + + + + 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-unset-contained-dir-R-ref.html b/layout/reftests/bidi/dirAuto/dir_auto-unset-contained-dir-R-ref.html new file mode 100644 index 00000000000..f383652215c --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dir_auto-unset-contained-dir-R-ref.html @@ -0,0 +1,64 @@ + + + + + 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-unset-contained-dir-R.html b/layout/reftests/bidi/dirAuto/dir_auto-unset-contained-dir-R.html new file mode 100644 index 00000000000..a63f718ce1a --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dir_auto-unset-contained-dir-R.html @@ -0,0 +1,74 @@ + + + + + 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/dynamicDirAuto-addLTR-Auto.html b/layout/reftests/bidi/dirAuto/dynamicDirAuto-addLTR-Auto.html new file mode 100644 index 00000000000..16dc62b5b93 --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dynamicDirAuto-addLTR-Auto.html @@ -0,0 +1,14 @@ + + + + + Set and unset dir="auto" + + + + +
+ + diff --git a/layout/reftests/bidi/dirAuto/dynamicDirAuto-addRTL-Auto.html b/layout/reftests/bidi/dirAuto/dynamicDirAuto-addRTL-Auto.html new file mode 100644 index 00000000000..52c0949c91f --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dynamicDirAuto-addRTL-Auto.html @@ -0,0 +1,14 @@ + + + + + Set and unset dir="auto" + + + + +
+ + diff --git a/layout/reftests/bidi/dirAuto/dynamicDirAuto-refLTR-LTR.html b/layout/reftests/bidi/dirAuto/dynamicDirAuto-refLTR-LTR.html new file mode 100644 index 00000000000..62a74bf334d --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dynamicDirAuto-refLTR-LTR.html @@ -0,0 +1,17 @@ + + + + + Set and unset dir="auto" + + + +
+
ABC אבג
+
+
+
ABC אבג
+ + diff --git a/layout/reftests/bidi/dirAuto/dynamicDirAuto-refLTR-RTL.html b/layout/reftests/bidi/dirAuto/dynamicDirAuto-refLTR-RTL.html new file mode 100644 index 00000000000..60619730a8c --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dynamicDirAuto-refLTR-RTL.html @@ -0,0 +1,17 @@ + + + + + Set and unset dir="auto" + + + +
+
ABC אבג
+
+
+
ABC אבג
+ + diff --git a/layout/reftests/bidi/dirAuto/dynamicDirAuto-refRTL-LTR.html b/layout/reftests/bidi/dirAuto/dynamicDirAuto-refRTL-LTR.html new file mode 100644 index 00000000000..4ea471a8d1c --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dynamicDirAuto-refRTL-LTR.html @@ -0,0 +1,17 @@ + + + + + Set and unset dir="auto" + + + +
+
אבג ABC
+
+
+
אבג ABC
+ + diff --git a/layout/reftests/bidi/dirAuto/dynamicDirAuto-refRTL-NoDir.html b/layout/reftests/bidi/dirAuto/dynamicDirAuto-refRTL-NoDir.html new file mode 100644 index 00000000000..b2f56c1ac11 --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dynamicDirAuto-refRTL-NoDir.html @@ -0,0 +1,20 @@ + + + + + Set and unset dir="auto" + + + +
+
אבג ABC
+
+
+ +
אבג ABC
+ + diff --git a/layout/reftests/bidi/dirAuto/dynamicDirAuto-refRTL-RTL.html b/layout/reftests/bidi/dirAuto/dynamicDirAuto-refRTL-RTL.html new file mode 100644 index 00000000000..71c42ea3e42 --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dynamicDirAuto-refRTL-RTL.html @@ -0,0 +1,17 @@ + + + + + Set and unset dir="auto" + + + +
+
אבג ABC
+
+
+
אבג ABC
+ + diff --git a/layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-Auto1.html b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-Auto1.html new file mode 100644 index 00000000000..2c1c525f97b --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-Auto1.html @@ -0,0 +1,18 @@ + + + + + Set and unset dir="auto" + + + + +
+
ABC אבג
+
+
+
ABC אבג
+ + diff --git a/layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-Auto2.html b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-Auto2.html new file mode 100644 index 00000000000..f0400e0d005 --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-Auto2.html @@ -0,0 +1,18 @@ + + + + + Set and unset dir="auto" + + + + +
+
ABC אבג
+
+
+
ABC אבג
+ + diff --git a/layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-Auto3.html b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-Auto3.html new file mode 100644 index 00000000000..2cbf52716cc --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-Auto3.html @@ -0,0 +1,18 @@ + + + + + Set and unset dir="auto" + + + + +
+
ABC אבג
+
+
+
ABC אבג
+ + diff --git a/layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-Auto4.html b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-Auto4.html new file mode 100644 index 00000000000..5bcec0648d4 --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-Auto4.html @@ -0,0 +1,18 @@ + + + + + Set and unset dir="auto" + + + + +
+
ABC אבג
+
+
+
ABC אבג
+ + diff --git a/layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-Auto5.html b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-Auto5.html new file mode 100644 index 00000000000..a0423c2468c --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-Auto5.html @@ -0,0 +1,18 @@ + + + + + Set and unset dir="auto" + + + + +
+
ABC אבג
+
+
+
ABC אבג
+ + diff --git a/layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-Auto6.html b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-Auto6.html new file mode 100644 index 00000000000..2574c867fa3 --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-Auto6.html @@ -0,0 +1,18 @@ + + + + + Set and unset dir="auto" + + + + +
+
ABC אבג
+
+
+
ABC אבג
+ + diff --git a/layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-InvalidDir1.html b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-InvalidDir1.html new file mode 100644 index 00000000000..1913335b8b9 --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-InvalidDir1.html @@ -0,0 +1,18 @@ + + + + + Set and unset dir="auto" + + + + +
+
ABC אבג
+
+
+
ABC אבג
+ + diff --git a/layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-InvalidDir2.html b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-InvalidDir2.html new file mode 100644 index 00000000000..596f1143af9 --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-InvalidDir2.html @@ -0,0 +1,18 @@ + + + + + Set and unset dir="auto" + + + + +
+
ABC אבג
+
+
+
ABC אבג
+ + diff --git a/layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-InvalidDir3.html b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-InvalidDir3.html new file mode 100644 index 00000000000..f22dd147d1b --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-InvalidDir3.html @@ -0,0 +1,18 @@ + + + + + Set and unset dir="auto" + + + + +
+
ABC אבג
+
+
+
ABC אבג
+ + diff --git a/layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-InvalidDir4.html b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-InvalidDir4.html new file mode 100644 index 00000000000..f876484e4be --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-InvalidDir4.html @@ -0,0 +1,18 @@ + + + + + Set and unset dir="foopy" + + + + +
+
ABC אבג
+
+
+
ABC אבג
+ + diff --git a/layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-InvalidDir5.html b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-InvalidDir5.html new file mode 100644 index 00000000000..6da8dff2f35 --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-InvalidDir5.html @@ -0,0 +1,18 @@ + + + + + Set and unset dir="auto" + + + + +
+
ABC אבג
+
+
+
ABC אבג
+ + diff --git a/layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-InvalidDir6.html b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-InvalidDir6.html new file mode 100644 index 00000000000..b63c0dd0d24 --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-InvalidDir6.html @@ -0,0 +1,18 @@ + + + + + Set and unset dir="auto" + + + + +
+
ABC אבג
+
+
+
ABC אבג
+ + diff --git a/layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-InvalidDir7.html b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-InvalidDir7.html new file mode 100644 index 00000000000..e1b9d82c1cd --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-InvalidDir7.html @@ -0,0 +1,18 @@ + + + + + Set and unset dir="auto" + + + + +
+
ABC אבג
+
+
+
ABC אבג
+ + diff --git a/layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-InvalidDir8.html b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-InvalidDir8.html new file mode 100644 index 00000000000..9b80f42d0b0 --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-InvalidDir8.html @@ -0,0 +1,18 @@ + + + + + Set and unset dir="foopy" + + + + +
+
ABC אבג
+
+
+
ABC אבג
+ + diff --git a/layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-LTR1.html b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-LTR1.html new file mode 100644 index 00000000000..e89fc792119 --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-LTR1.html @@ -0,0 +1,18 @@ + + + + + Set and unset dir="auto" + + + + +
+
ABC אבג
+
+
+
ABC אבג
+ + diff --git a/layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-LTR2.html b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-LTR2.html new file mode 100644 index 00000000000..5a8e4f12216 --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-LTR2.html @@ -0,0 +1,18 @@ + + + + + Set and unset dir="auto" + + + + +
+
ABC אבג
+
+
+
ABC אבג
+ + diff --git a/layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-LTR3.html b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-LTR3.html new file mode 100644 index 00000000000..bbc5f809004 --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-LTR3.html @@ -0,0 +1,18 @@ + + + + + Set and unset dir="auto" + + + + +
+
ABC אבג
+
+
+
ABC אבג
+ + diff --git a/layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-LTR4.html b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-LTR4.html new file mode 100644 index 00000000000..08b21e09a45 --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-LTR4.html @@ -0,0 +1,18 @@ + + + + + Set and unset dir="foopy" + + + + +
+
ABC אבג
+
+
+
ABC אבג
+ + diff --git a/layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-LTR5.html b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-LTR5.html new file mode 100644 index 00000000000..cffe2556b84 --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-LTR5.html @@ -0,0 +1,18 @@ + + + + + Set and unset dir="auto" + + + + +
+
ABC אבג
+
+
+
ABC אבג
+ + diff --git a/layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-LTR6.html b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-LTR6.html new file mode 100644 index 00000000000..b54417b6f4e --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-LTR6.html @@ -0,0 +1,18 @@ + + + + + Set and unset dir="auto" + + + + +
+
ABC אבג
+
+
+
ABC אבג
+ + diff --git a/layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-LTR7.html b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-LTR7.html new file mode 100644 index 00000000000..0baeb9fc6d3 --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-LTR7.html @@ -0,0 +1,18 @@ + + + + + Set and unset dir="auto" + + + + +
+
ABC אבג
+
+
+
ABC אבג
+ + diff --git a/layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-LTR8.html b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-LTR8.html new file mode 100644 index 00000000000..ec1de35425e --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-LTR8.html @@ -0,0 +1,18 @@ + + + + + Set and unset dir="foopy" + + + + +
+
ABC אבג
+
+
+
ABC אבג
+ + diff --git a/layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-NoDir1.html b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-NoDir1.html new file mode 100644 index 00000000000..2040663c359 --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-NoDir1.html @@ -0,0 +1,18 @@ + + + + + Set and unset dir="auto" + + + + +
+
ABC אבג
+
+
+
ABC אבג
+ + diff --git a/layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-NoDir2.html b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-NoDir2.html new file mode 100644 index 00000000000..f8c2e99a744 --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-NoDir2.html @@ -0,0 +1,18 @@ + + + + + Set and unset dir="auto" + + + + +
+
ABC אבג
+
+
+
ABC אבג
+ + diff --git a/layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-NoDir3.html b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-NoDir3.html new file mode 100644 index 00000000000..c295012dba8 --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-NoDir3.html @@ -0,0 +1,18 @@ + + + + + Set and unset dir="auto" + + + + +
+
ABC אבג
+
+
+
ABC אבג
+ + diff --git a/layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-NoDir4.html b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-NoDir4.html new file mode 100644 index 00000000000..13e0e5fc8ff --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-NoDir4.html @@ -0,0 +1,18 @@ + + + + + Set and unset dir="foopy" + + + + +
+
ABC אבג
+
+
+
ABC אבג
+ + diff --git a/layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-NoDir5.html b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-NoDir5.html new file mode 100644 index 00000000000..6dce96a6065 --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-NoDir5.html @@ -0,0 +1,18 @@ + + + + + Set and unset dir="auto" + + + + +
+
ABC אבג
+
+
+
ABC אבג
+ + diff --git a/layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-NoDir6.html b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-NoDir6.html new file mode 100644 index 00000000000..2d9973fa1d3 --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-NoDir6.html @@ -0,0 +1,18 @@ + + + + + Set and unset dir="auto" + + + + +
+
ABC אבג
+
+
+
ABC אבג
+ + diff --git a/layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-NoDir7.html b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-NoDir7.html new file mode 100644 index 00000000000..dd1964e01ff --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-NoDir7.html @@ -0,0 +1,18 @@ + + + + + Set and unset dir="auto" + + + + +
+
ABC אבג
+
+
+
ABC אבג
+ + diff --git a/layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-NoDir8.html b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-NoDir8.html new file mode 100644 index 00000000000..b25d7023236 --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-NoDir8.html @@ -0,0 +1,18 @@ + + + + + Set and unset dir="foopy" + + + + +
+
ABC אבג
+
+
+
ABC אבג
+ + diff --git a/layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-RTL1.html b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-RTL1.html new file mode 100644 index 00000000000..c5a9bf42df7 --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-RTL1.html @@ -0,0 +1,18 @@ + + + + + Set and unset dir="auto" + + + + +
+
ABC אבג
+
+
+
ABC אבג
+ + diff --git a/layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-RTL2.html b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-RTL2.html new file mode 100644 index 00000000000..b8ed6cda812 --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-RTL2.html @@ -0,0 +1,18 @@ + + + + + Set and unset dir="auto" + + + + +
+
ABC אבג
+
+
+
ABC אבג
+ + diff --git a/layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-RTL3.html b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-RTL3.html new file mode 100644 index 00000000000..528ffde04e6 --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-RTL3.html @@ -0,0 +1,18 @@ + + + + + Set and unset dir="auto" + + + + +
+
ABC אבג
+
+
+
ABC אבג
+ + diff --git a/layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-RTL4.html b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-RTL4.html new file mode 100644 index 00000000000..884c8fa852e --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-RTL4.html @@ -0,0 +1,18 @@ + + + + + Set and unset dir="foopy" + + + + +
+
ABC אבג
+
+
+
ABC אבג
+ + diff --git a/layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-RTL5.html b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-RTL5.html new file mode 100644 index 00000000000..5cf486c905b --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-RTL5.html @@ -0,0 +1,18 @@ + + + + + Set and unset dir="auto" + + + + +
+
ABC אבג
+
+
+
ABC אבג
+ + diff --git a/layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-RTL6.html b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-RTL6.html new file mode 100644 index 00000000000..61c7331bd3b --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-RTL6.html @@ -0,0 +1,18 @@ + + + + + Set and unset dir="auto" + + + + +
+
ABC אבג
+
+
+
ABC אבג
+ + diff --git a/layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-RTL7.html b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-RTL7.html new file mode 100644 index 00000000000..c4cc154cbe8 --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-RTL7.html @@ -0,0 +1,18 @@ + + + + + Set and unset dir="auto" + + + + +
+
ABC אבג
+
+
+
ABC אבג
+ + diff --git a/layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-RTL8.html b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-RTL8.html new file mode 100644 index 00000000000..18e333978c8 --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setLTR-RTL8.html @@ -0,0 +1,18 @@ + + + + + Set and unset dir="foopy" + + + + +
+
ABC אבג
+
+
+
ABC אבג
+ + diff --git a/layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-Auto1.html b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-Auto1.html new file mode 100644 index 00000000000..483d79fd518 --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-Auto1.html @@ -0,0 +1,18 @@ + + + + + Set and unset dir="auto" + + + + +
+
אבג ABC
+
+
+
אבג ABC
+ + diff --git a/layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-Auto2.html b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-Auto2.html new file mode 100644 index 00000000000..b0773e6f6c4 --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-Auto2.html @@ -0,0 +1,18 @@ + + + + + Set and unset dir="auto" + + + + +
+
אבג ABC
+
+
+
אבג ABC
+ + diff --git a/layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-Auto3.html b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-Auto3.html new file mode 100644 index 00000000000..77ce26cb3b1 --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-Auto3.html @@ -0,0 +1,18 @@ + + + + + Set and unset dir="auto" + + + + +
+
אבג ABC
+
+
+
אבג ABC
+ + diff --git a/layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-Auto4.html b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-Auto4.html new file mode 100644 index 00000000000..f8cabec1ee8 --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-Auto4.html @@ -0,0 +1,18 @@ + + + + + Set and unset dir="auto" + + + + +
+
אבג ABC
+
+
+
אבג ABC
+ + diff --git a/layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-Auto5.html b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-Auto5.html new file mode 100644 index 00000000000..20621a5a756 --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-Auto5.html @@ -0,0 +1,18 @@ + + + + + Set and unset dir="auto" + + + + +
+
אבג ABC
+
+
+
אבג ABC
+ + diff --git a/layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-Auto6.html b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-Auto6.html new file mode 100644 index 00000000000..c9e1b560f77 --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-Auto6.html @@ -0,0 +1,18 @@ + + + + + Set and unset dir="auto" + + + + +
+
אבג ABC
+
+
+
אבג ABC
+ + diff --git a/layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-InvalidDir1.html b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-InvalidDir1.html new file mode 100644 index 00000000000..a2ddd5292f5 --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-InvalidDir1.html @@ -0,0 +1,18 @@ + + + + + Set and unset dir="auto" + + + + +
+
אבג ABC
+
+
+
אבג ABC
+ + diff --git a/layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-InvalidDir2.html b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-InvalidDir2.html new file mode 100644 index 00000000000..87eb1181902 --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-InvalidDir2.html @@ -0,0 +1,18 @@ + + + + + Set and unset dir="auto" + + + + +
+
אבג ABC
+
+
+
אבג ABC
+ + diff --git a/layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-InvalidDir3.html b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-InvalidDir3.html new file mode 100644 index 00000000000..17ec5b453b5 --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-InvalidDir3.html @@ -0,0 +1,18 @@ + + + + + Set and unset dir="auto" + + + + +
+
אבג ABC
+
+
+
אבג ABC
+ + diff --git a/layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-InvalidDir4.html b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-InvalidDir4.html new file mode 100644 index 00000000000..b4c5ebc0919 --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-InvalidDir4.html @@ -0,0 +1,18 @@ + + + + + Set and unset dir="foopy" + + + + +
+
אבג ABC
+
+
+
אבג ABC
+ + diff --git a/layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-InvalidDir5.html b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-InvalidDir5.html new file mode 100644 index 00000000000..1859e89bc6f --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-InvalidDir5.html @@ -0,0 +1,18 @@ + + + + + Set and unset dir="auto" + + + + +
+
אבג ABC
+
+
+
אבג ABC
+ + diff --git a/layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-InvalidDir6.html b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-InvalidDir6.html new file mode 100644 index 00000000000..06c3d71703e --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-InvalidDir6.html @@ -0,0 +1,18 @@ + + + + + Set and unset dir="auto" + + + + +
+
אבג ABC
+
+
+
אבג ABC
+ + diff --git a/layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-InvalidDir7.html b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-InvalidDir7.html new file mode 100644 index 00000000000..03239e88b70 --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-InvalidDir7.html @@ -0,0 +1,18 @@ + + + + + Set and unset dir="auto" + + + + +
+
אבג ABC
+
+
+
אבג ABC
+ + diff --git a/layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-InvalidDir8.html b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-InvalidDir8.html new file mode 100644 index 00000000000..fc353ac22f7 --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-InvalidDir8.html @@ -0,0 +1,18 @@ + + + + + Set and unset dir="foopy" + + + + +
+
אבג ABC
+
+
+
אבג ABC
+ + diff --git a/layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-LTR1.html b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-LTR1.html new file mode 100644 index 00000000000..52fcf96b37a --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-LTR1.html @@ -0,0 +1,18 @@ + + + + + Set and unset dir="auto" + + + + +
+
אבג ABC
+
+
+
אבג ABC
+ + diff --git a/layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-LTR2.html b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-LTR2.html new file mode 100644 index 00000000000..074eeab1042 --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-LTR2.html @@ -0,0 +1,18 @@ + + + + + Set and unset dir="auto" + + + + +
+
אבג ABC
+
+
+
אבג ABC
+ + diff --git a/layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-LTR3.html b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-LTR3.html new file mode 100644 index 00000000000..2bb5ad2de54 --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-LTR3.html @@ -0,0 +1,18 @@ + + + + + Set and unset dir="auto" + + + + +
+
אבג ABC
+
+
+
אבג ABC
+ + diff --git a/layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-LTR4.html b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-LTR4.html new file mode 100644 index 00000000000..79372c6ed3f --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-LTR4.html @@ -0,0 +1,18 @@ + + + + + Set and unset dir="foopy" + + + + +
+
אבג ABC
+
+
+
אבג ABC
+ + diff --git a/layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-LTR5.html b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-LTR5.html new file mode 100644 index 00000000000..21201701535 --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-LTR5.html @@ -0,0 +1,18 @@ + + + + + Set and unset dir="auto" + + + + +
+
אבג ABC
+
+
+
אבג ABC
+ + diff --git a/layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-LTR6.html b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-LTR6.html new file mode 100644 index 00000000000..272d5f9fcea --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-LTR6.html @@ -0,0 +1,18 @@ + + + + + Set and unset dir="auto" + + + + +
+
אבג ABC
+
+
+
אבג ABC
+ + diff --git a/layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-LTR7.html b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-LTR7.html new file mode 100644 index 00000000000..d1d1185d2d6 --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-LTR7.html @@ -0,0 +1,18 @@ + + + + + Set and unset dir="auto" + + + + +
+
אבג ABC
+
+
+
אבג ABC
+ + diff --git a/layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-LTR8.html b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-LTR8.html new file mode 100644 index 00000000000..a6f9fa09a27 --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-LTR8.html @@ -0,0 +1,18 @@ + + + + + Set and unset dir="foopy" + + + + +
+
אבג ABC
+
+
+
אבג ABC
+ + diff --git a/layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-NoDir1.html b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-NoDir1.html new file mode 100644 index 00000000000..ba2bd8bab5d --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-NoDir1.html @@ -0,0 +1,18 @@ + + + + + Set and unset dir="auto" + + + + +
+
אבג ABC
+
+
+
אבג ABC
+ + diff --git a/layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-NoDir2.html b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-NoDir2.html new file mode 100644 index 00000000000..5833b2e4adf --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-NoDir2.html @@ -0,0 +1,18 @@ + + + + + Set and unset dir="auto" + + + + +
+
אבג ABC
+
+
+
אבג ABC
+ + diff --git a/layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-NoDir3.html b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-NoDir3.html new file mode 100644 index 00000000000..1a031d04381 --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-NoDir3.html @@ -0,0 +1,18 @@ + + + + + Set and unset dir="auto" + + + + +
+
אבג ABC
+
+
+
אבג ABC
+ + diff --git a/layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-NoDir4.html b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-NoDir4.html new file mode 100644 index 00000000000..53074850d35 --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-NoDir4.html @@ -0,0 +1,18 @@ + + + + + Set and unset dir="foopy" + + + + +
+
אבג ABC
+
+
+
אבג ABC
+ + diff --git a/layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-NoDir5.html b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-NoDir5.html new file mode 100644 index 00000000000..63fc1a74658 --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-NoDir5.html @@ -0,0 +1,18 @@ + + + + + Set and unset dir="auto" + + + + +
+
אבג ABC
+
+
+
אבג ABC
+ + diff --git a/layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-NoDir6.html b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-NoDir6.html new file mode 100644 index 00000000000..31af1459d2e --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-NoDir6.html @@ -0,0 +1,18 @@ + + + + + Set and unset dir="auto" + + + + +
+
אבג ABC
+
+
+
אבג ABC
+ + diff --git a/layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-NoDir7.html b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-NoDir7.html new file mode 100644 index 00000000000..5fd61d42e61 --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-NoDir7.html @@ -0,0 +1,18 @@ + + + + + Set and unset dir="auto" + + + + +
+
אבג ABC
+
+
+
אבג ABC
+ + diff --git a/layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-NoDir8.html b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-NoDir8.html new file mode 100644 index 00000000000..d388d5377fd --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-NoDir8.html @@ -0,0 +1,18 @@ + + + + + Set and unset dir="foopy" + + + + +
+
אבג ABC
+
+
+
אבג ABC
+ + diff --git a/layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-RTL1.html b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-RTL1.html new file mode 100644 index 00000000000..45ee5c57137 --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-RTL1.html @@ -0,0 +1,18 @@ + + + + + Set and unset dir="auto" + + + + +
+
אבג ABC
+
+
+
אבג ABC
+ + diff --git a/layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-RTL2.html b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-RTL2.html new file mode 100644 index 00000000000..0df2fc8de19 --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-RTL2.html @@ -0,0 +1,18 @@ + + + + + Set and unset dir="auto" + + + + +
+
אבג ABC
+
+
+
אבג ABC
+ + diff --git a/layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-RTL3.html b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-RTL3.html new file mode 100644 index 00000000000..0dee370b6b3 --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-RTL3.html @@ -0,0 +1,18 @@ + + + + + Set and unset dir="auto" + + + + +
+
אבג ABC
+
+
+
אבג ABC
+ + diff --git a/layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-RTL4.html b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-RTL4.html new file mode 100644 index 00000000000..dbfbe2125ad --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-RTL4.html @@ -0,0 +1,18 @@ + + + + + Set and unset dir="foopy" + + + + +
+
אבג ABC
+
+
+
אבג ABC
+ + diff --git a/layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-RTL5.html b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-RTL5.html new file mode 100644 index 00000000000..1b401367c12 --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-RTL5.html @@ -0,0 +1,18 @@ + + + + + Set and unset dir="auto" + + + + +
+
אבג ABC
+
+
+
אבג ABC
+ + diff --git a/layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-RTL6.html b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-RTL6.html new file mode 100644 index 00000000000..d2c70793c25 --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-RTL6.html @@ -0,0 +1,18 @@ + + + + + Set and unset dir="auto" + + + + +
+
אבג ABC
+
+
+
אבג ABC
+ + diff --git a/layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-RTL7.html b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-RTL7.html new file mode 100644 index 00000000000..ca0153cc2f5 --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-RTL7.html @@ -0,0 +1,18 @@ + + + + + Set and unset dir="auto" + + + + +
+
אבג ABC
+
+
+
אבג ABC
+ + diff --git a/layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-RTL8.html b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-RTL8.html new file mode 100644 index 00000000000..15b323976ee --- /dev/null +++ b/layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-RTL8.html @@ -0,0 +1,18 @@ + + + + + Set and unset dir="foopy" + + + + +
+
אבג ABC
+
+
+
אבג ABC
+ + diff --git a/layout/reftests/bidi/dirAuto/reftest.list b/layout/reftests/bidi/dirAuto/reftest.list index fc032cd353d..74aa0636fc6 100644 --- a/layout/reftests/bidi/dirAuto/reftest.list +++ b/layout/reftests/bidi/dirAuto/reftest.list @@ -2,6 +2,12 @@ == 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-set-contained-dir-L.html dir_auto-contained-dir-L-ref.html +== dir_auto-set-contained-dir-R.html dir_auto-contained-dir-R-ref.html +== dir_auto-set-contained-invalid-dir-L.html dir_auto-contained-dir-L-ref.html +== dir_auto-set-contained-invalid-dir-R.html dir_auto-contained-dir-R-ref.html +== dir_auto-unset-contained-dir-L.html dir_auto-unset-contained-dir-L-ref.html +== dir_auto-unset-contained-dir-R.html dir_auto-unset-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 @@ -49,3 +55,81 @@ == 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 +== dynamicDirAuto-setLTR-Auto1.html dynamicDirAuto-refLTR-LTR.html +== dynamicDirAuto-setLTR-Auto2.html dynamicDirAuto-refLTR-LTR.html +== dynamicDirAuto-setLTR-Auto3.html dynamicDirAuto-refLTR-LTR.html +== dynamicDirAuto-setLTR-Auto4.html dynamicDirAuto-refLTR-LTR.html +== dynamicDirAuto-setLTR-Auto5.html dynamicDirAuto-refLTR-LTR.html +== dynamicDirAuto-setLTR-Auto6.html dynamicDirAuto-refLTR-LTR.html +== dynamicDirAuto-setLTR-LTR1.html dynamicDirAuto-refLTR-LTR.html +== dynamicDirAuto-setLTR-LTR2.html dynamicDirAuto-refLTR-LTR.html +== dynamicDirAuto-setLTR-LTR3.html dynamicDirAuto-refLTR-LTR.html +== dynamicDirAuto-setLTR-LTR4.html dynamicDirAuto-refLTR-LTR.html +== dynamicDirAuto-setLTR-LTR5.html dynamicDirAuto-refLTR-LTR.html +== dynamicDirAuto-setLTR-LTR6.html dynamicDirAuto-refLTR-LTR.html +== dynamicDirAuto-setLTR-LTR7.html dynamicDirAuto-refLTR-LTR.html +== dynamicDirAuto-setLTR-LTR8.html dynamicDirAuto-refLTR-LTR.html +== dynamicDirAuto-setLTR-RTL1.html dynamicDirAuto-refLTR-RTL.html +== dynamicDirAuto-setLTR-RTL2.html dynamicDirAuto-refLTR-RTL.html +== dynamicDirAuto-setLTR-RTL3.html dynamicDirAuto-refLTR-RTL.html +== dynamicDirAuto-setLTR-RTL4.html dynamicDirAuto-refLTR-RTL.html +== dynamicDirAuto-setLTR-RTL5.html dynamicDirAuto-refLTR-RTL.html +== dynamicDirAuto-setLTR-RTL6.html dynamicDirAuto-refLTR-RTL.html +== dynamicDirAuto-setLTR-RTL7.html dynamicDirAuto-refLTR-RTL.html +== dynamicDirAuto-setLTR-RTL8.html dynamicDirAuto-refLTR-RTL.html +== dynamicDirAuto-setLTR-NoDir1.html dynamicDirAuto-refLTR-LTR.html +== dynamicDirAuto-setLTR-NoDir2.html dynamicDirAuto-refLTR-LTR.html +== dynamicDirAuto-setLTR-NoDir3.html dynamicDirAuto-refLTR-LTR.html +== dynamicDirAuto-setLTR-NoDir4.html dynamicDirAuto-refLTR-LTR.html +== dynamicDirAuto-setLTR-NoDir5.html dynamicDirAuto-refLTR-LTR.html +== dynamicDirAuto-setLTR-NoDir6.html dynamicDirAuto-refLTR-LTR.html +== dynamicDirAuto-setLTR-NoDir7.html dynamicDirAuto-refLTR-LTR.html +== dynamicDirAuto-setLTR-NoDir8.html dynamicDirAuto-refLTR-LTR.html +== dynamicDirAuto-setLTR-InvalidDir1.html dynamicDirAuto-refLTR-LTR.html +== dynamicDirAuto-setLTR-InvalidDir2.html dynamicDirAuto-refLTR-LTR.html +== dynamicDirAuto-setLTR-InvalidDir3.html dynamicDirAuto-refLTR-LTR.html +== dynamicDirAuto-setLTR-InvalidDir4.html dynamicDirAuto-refLTR-LTR.html +== dynamicDirAuto-setLTR-InvalidDir5.html dynamicDirAuto-refLTR-LTR.html +== dynamicDirAuto-setLTR-InvalidDir6.html dynamicDirAuto-refLTR-LTR.html +== dynamicDirAuto-setLTR-InvalidDir7.html dynamicDirAuto-refLTR-LTR.html +== dynamicDirAuto-setLTR-InvalidDir7.html dynamicDirAuto-refLTR-LTR.html +== dynamicDirAuto-setRTL-Auto1.html dynamicDirAuto-refRTL-RTL.html +== dynamicDirAuto-setRTL-Auto2.html dynamicDirAuto-refRTL-RTL.html +== dynamicDirAuto-setRTL-Auto3.html dynamicDirAuto-refRTL-RTL.html +== dynamicDirAuto-setRTL-Auto4.html dynamicDirAuto-refRTL-RTL.html +== dynamicDirAuto-setRTL-Auto5.html dynamicDirAuto-refRTL-RTL.html +== dynamicDirAuto-setRTL-Auto6.html dynamicDirAuto-refRTL-RTL.html +== dynamicDirAuto-setRTL-LTR1.html dynamicDirAuto-refRTL-LTR.html +== dynamicDirAuto-setRTL-LTR2.html dynamicDirAuto-refRTL-LTR.html +== dynamicDirAuto-setRTL-LTR3.html dynamicDirAuto-refRTL-LTR.html +== dynamicDirAuto-setRTL-LTR4.html dynamicDirAuto-refRTL-LTR.html +== dynamicDirAuto-setRTL-LTR5.html dynamicDirAuto-refRTL-LTR.html +== dynamicDirAuto-setRTL-LTR6.html dynamicDirAuto-refRTL-LTR.html +== dynamicDirAuto-setRTL-LTR7.html dynamicDirAuto-refRTL-LTR.html +== dynamicDirAuto-setRTL-LTR8.html dynamicDirAuto-refRTL-LTR.html +== dynamicDirAuto-setRTL-RTL1.html dynamicDirAuto-refRTL-RTL.html +== dynamicDirAuto-setRTL-RTL2.html dynamicDirAuto-refRTL-RTL.html +== dynamicDirAuto-setRTL-RTL3.html dynamicDirAuto-refRTL-RTL.html +== dynamicDirAuto-setRTL-RTL4.html dynamicDirAuto-refRTL-RTL.html +== dynamicDirAuto-setRTL-RTL5.html dynamicDirAuto-refRTL-RTL.html +== dynamicDirAuto-setRTL-RTL6.html dynamicDirAuto-refRTL-RTL.html +== dynamicDirAuto-setRTL-RTL7.html dynamicDirAuto-refRTL-RTL.html +== dynamicDirAuto-setRTL-RTL8.html dynamicDirAuto-refRTL-RTL.html +== dynamicDirAuto-setRTL-NoDir1.html dynamicDirAuto-refRTL-NoDir.html +== dynamicDirAuto-setRTL-NoDir2.html dynamicDirAuto-refRTL-NoDir.html +== dynamicDirAuto-setRTL-NoDir3.html dynamicDirAuto-refRTL-NoDir.html +== dynamicDirAuto-setRTL-NoDir4.html dynamicDirAuto-refRTL-NoDir.html +== dynamicDirAuto-setRTL-NoDir5.html dynamicDirAuto-refRTL-NoDir.html +== dynamicDirAuto-setRTL-NoDir6.html dynamicDirAuto-refRTL-NoDir.html +== dynamicDirAuto-setRTL-NoDir7.html dynamicDirAuto-refRTL-NoDir.html +== dynamicDirAuto-setRTL-NoDir8.html dynamicDirAuto-refRTL-NoDir.html +== dynamicDirAuto-setRTL-InvalidDir1.html dynamicDirAuto-refRTL-NoDir.html +== dynamicDirAuto-setRTL-InvalidDir2.html dynamicDirAuto-refRTL-NoDir.html +== dynamicDirAuto-setRTL-InvalidDir3.html dynamicDirAuto-refRTL-NoDir.html +== dynamicDirAuto-setRTL-InvalidDir4.html dynamicDirAuto-refRTL-NoDir.html +== dynamicDirAuto-setRTL-InvalidDir5.html dynamicDirAuto-refRTL-NoDir.html +== dynamicDirAuto-setRTL-InvalidDir6.html dynamicDirAuto-refRTL-NoDir.html +== dynamicDirAuto-setRTL-InvalidDir7.html dynamicDirAuto-refRTL-NoDir.html +== dynamicDirAuto-setRTL-InvalidDir8.html dynamicDirAuto-refRTL-NoDir.html +== dynamicDirAuto-addLTR-Auto.html dynamicDirAuto-refLTR-LTR.html +== dynamicDirAuto-addRTL-Auto.html dynamicDirAuto-refRTL-RTL.html diff --git a/layout/reftests/bidi/dirAuto/setDir.js b/layout/reftests/bidi/dirAuto/setDir.js new file mode 100644 index 00000000000..f96dcfc097a --- /dev/null +++ b/layout/reftests/bidi/dirAuto/setDir.js @@ -0,0 +1,61 @@ +function setAllDir(value) +{ + for (var i = 0; ; ++i) { + try { + theElement = document.getElementById("set" + i); + theElement.dir = value; + } catch(e) { + break; + } + } +} + +function setAllDirAttribute(value) +{ + for (var i = 0; ; ++i) { + try { + theElement = document.getElementById("set" + i); + theElement.setAttribute("dir", value); + } catch(e) { + break; + } + } +} + +function removeAllDirAttribute() +{ + for (var i = 0; ; ++i) { + try { + theElement = document.getElementById("set" + i); + theElement.removeAttribute("dir"); + } catch(e) { + break; + } + } +} + +function addOneElement(innerHTML) +{ + var container = document.getElementById("container"); + var elem = document.createElement("div"); + elem.innerHTML = innerHTML; + container.appendChild(elem); +} + +function addLTRAutoElements() +{ + addOneElement(''); + addOneElement('ABC אבג'); + addOneElement(''); + addOneElement(''); + addOneElement('ABC אבג'); +} + +function addRTLAutoElements() +{ + addOneElement(''); + addOneElement('אבג ABC'); + addOneElement(''); + addOneElement(''); + addOneElement('אבג ABC'); +}