From 5f8de423f190bbb79a62f804151bc24824fa32d8 Mon Sep 17 00:00:00 2001 From: "Matt A. Tobin" Date: Fri, 2 Feb 2018 04:16:08 -0500 Subject: Add m-esr52 at 52.6.0 --- .../text-level-semantics/the-bdi-element/.gitkeep | 0 .../the-bdi-element/bdi-auto-dir-default-ref.html | 36 +++++++++++ .../the-bdi-element/bdi-auto-dir-default.html | 46 ++++++++++++++ .../bdi-neutral-missing-pdf-ref.html | 44 +++++++++++++ .../the-bdi-element/bdi-neutral-missing-pdf.html | 56 +++++++++++++++++ .../the-bdi-element/bdi-neutral-nested-ref.html | 44 +++++++++++++ .../the-bdi-element/bdi-neutral-nested.html | 52 +++++++++++++++ .../the-bdi-element/bdi-neutral-number-ref.html | 44 +++++++++++++ .../the-bdi-element/bdi-neutral-number.html | 53 ++++++++++++++++ .../the-bdi-element/bdi-neutral-separate-ref.html | 36 +++++++++++ .../the-bdi-element/bdi-neutral-separate.html | 47 ++++++++++++++ .../bdi-neutral-to-another-bdi-1-ref.html | 47 ++++++++++++++ .../bdi-neutral-to-another-bdi-1.html | 58 +++++++++++++++++ .../bdi-neutral-to-another-bdi-2-ref.html | 47 ++++++++++++++ .../bdi-neutral-to-another-bdi-2.html | 59 +++++++++++++++++ .../bdi-neutral-to-letter-following-1-ref.html | 45 +++++++++++++ .../bdi-neutral-to-letter-following-1.html | 54 ++++++++++++++++ .../bdi-neutral-to-letter-following-2-ref.html | 45 +++++++++++++ .../bdi-neutral-to-letter-following-2.html | 54 ++++++++++++++++ .../bdi-neutral-to-letter-preceding-1-ref.html | 45 +++++++++++++ .../bdi-neutral-to-letter-preceding-1.html | 54 ++++++++++++++++ .../bdi-neutral-to-letter-preceding-2-ref.html | 45 +++++++++++++ .../bdi-neutral-to-letter-preceding-2.html | 54 ++++++++++++++++ .../bdi-neutral-to-number-following-1-ref.html | 45 +++++++++++++ .../bdi-neutral-to-number-following-1.html | 54 ++++++++++++++++ .../bdi-neutral-to-number-following-2-ref.html | 45 +++++++++++++ .../bdi-neutral-to-number-following-2.html | 53 ++++++++++++++++ .../bdi-neutral-to-surrounding-run-ref.html | 44 +++++++++++++ .../bdi-neutral-to-surrounding-run.html | 56 +++++++++++++++++ .../the-bdi-element/bdi-neutral-wrapped-ref.html | 52 +++++++++++++++ .../the-bdi-element/bdi-neutral-wrapped.html | 73 ++++++++++++++++++++++ .../bdi-paragraph-level-container-ref.html | 36 +++++++++++ .../bdi-paragraph-level-container.html | 46 ++++++++++++++ 33 files changed, 1569 insertions(+) create mode 100644 testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/.gitkeep create mode 100644 testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-auto-dir-default-ref.html create mode 100644 testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-auto-dir-default.html create mode 100644 testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-neutral-missing-pdf-ref.html create mode 100644 testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-neutral-missing-pdf.html create mode 100644 testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-neutral-nested-ref.html create mode 100644 testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-neutral-nested.html create mode 100644 testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-neutral-number-ref.html create mode 100644 testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-neutral-number.html create mode 100644 testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-neutral-separate-ref.html create mode 100644 testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-neutral-separate.html create mode 100644 testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-neutral-to-another-bdi-1-ref.html create mode 100644 testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-neutral-to-another-bdi-1.html create mode 100644 testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-neutral-to-another-bdi-2-ref.html create mode 100644 testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-neutral-to-another-bdi-2.html create mode 100644 testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-neutral-to-letter-following-1-ref.html create mode 100644 testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-neutral-to-letter-following-1.html create mode 100644 testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-neutral-to-letter-following-2-ref.html create mode 100644 testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-neutral-to-letter-following-2.html create mode 100644 testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-neutral-to-letter-preceding-1-ref.html create mode 100644 testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-neutral-to-letter-preceding-1.html create mode 100644 testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-neutral-to-letter-preceding-2-ref.html create mode 100644 testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-neutral-to-letter-preceding-2.html create mode 100644 testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-neutral-to-number-following-1-ref.html create mode 100644 testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-neutral-to-number-following-1.html create mode 100644 testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-neutral-to-number-following-2-ref.html create mode 100644 testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-neutral-to-number-following-2.html create mode 100644 testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-neutral-to-surrounding-run-ref.html create mode 100644 testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-neutral-to-surrounding-run.html create mode 100644 testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-neutral-wrapped-ref.html create mode 100644 testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-neutral-wrapped.html create mode 100644 testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-paragraph-level-container-ref.html create mode 100644 testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-paragraph-level-container.html (limited to 'testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element') diff --git a/testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/.gitkeep b/testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/.gitkeep new file mode 100644 index 000000000..e69de29bb diff --git a/testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-auto-dir-default-ref.html b/testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-auto-dir-default-ref.html new file mode 100644 index 000000000..eff61bb41 --- /dev/null +++ b/testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-auto-dir-default-ref.html @@ -0,0 +1,36 @@ + + + + + + + + + +

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

+
+ Key to entities used below: + א ... ו - The first six Hebrew letters (strongly RTL). + ‭ - The LRO (left-to-right override) formatting character. + ‬ - The PDF (pop directional formatting) formatting character; closes LRO. +
+
+
‭[:)], [+- a ב], [d ג 1]...‬
+
‭...[d ג 1] ,[+- a ב] ,[:)]‬
+
+
+
‭[:)], [+- a ב], [d ג 1]...‬
+
‭...[d ג 1] ,[+- a ב] ,[:)]‬
+
+ + diff --git a/testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-auto-dir-default.html b/testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-auto-dir-default.html new file mode 100644 index 000000000..e658500a4 --- /dev/null +++ b/testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-auto-dir-default.html @@ -0,0 +1,46 @@ + + + + + HTML Test: BDI: has dir=auto by default + + + + + + + + +

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

+
+ Key to entities used below: + א ... ו - The first six Hebrew letters (strongly RTL). + ‭ - The LRO (left-to-right override) formatting character. + ‬ - The PDF (pop directional formatting) formatting character; closes LRO. + In each DIV of the test: + - the first BDI, having no characters with strong direction, should be LTR by default; + - the second BDI, having an LTR character first, should be LTR by default; + - the third BDI, having an RTL character first, should be RTL by default. +
+
+
[:)], [+- a ב], [1 ג d]...
+
[:)], [+- a ב], [1 ג d]...
+
+
+
‭[:)], [+- a ב], [d ג 1]...‬
+
‭...[d ג 1] ,[+- a ב] ,[:)]‬
+
+ + diff --git a/testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-neutral-missing-pdf-ref.html b/testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-neutral-missing-pdf-ref.html new file mode 100644 index 000000000..b4d44c510 --- /dev/null +++ b/testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-neutral-missing-pdf-ref.html @@ -0,0 +1,44 @@ + + + + + + + + + +

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

+
+ Key to entities used below: + א ... ו - The first six Hebrew letters (strongly RTL). + ‭ - The LRO (left-to-right override) formatting character. + ‬ - The PDF (pop directional formatting) formatting character; closes LRO. +
+
+
‭cbאde...‬
+
‭cbאde...‬
+
‭cbאde...‬
+
‭...הדaבג‬
+
‭...הדaבג‬
+
‭...הדaבג‬
+
+
+
‭cbאde...‬
+
‭cbאde...‬
+
‭cbאde...‬
+
‭...הדaבג‬
+
‭...הדaבג‬
+
‭...הדaבג‬
+
+ + diff --git a/testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-neutral-missing-pdf.html b/testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-neutral-missing-pdf.html new file mode 100644 index 000000000..1ce9da6b7 --- /dev/null +++ b/testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-neutral-missing-pdf.html @@ -0,0 +1,56 @@ + + + + + HTML Test: BDI: neutral when contains LRO or RLO without PDF + + + + + + + + +

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

+
+ Key to entities used below: + א ... ו - The first six Hebrew letters (strongly RTL). + ‭ - The LRO (left-to-right override) formatting character. + ‮ - the RLO (right-to-left-override) formatting character. + ‬ - The PDF (pop directional formatting) formatting character; closes LRO and RLO. + If the BDI in the test's first DIV were a SPAN, the RLO it contains, not being closed by a + PDF, would visually reorder the de into ed. +
+
+
א‮bcde...
+
א‮bcde...
+
א‮bcde...
+
a‭בגדה...
+
a‭בגדה...
+
a‭בגדה...
+
+
+
‭cbאde...‬
+
‭cbאde...‬
+
‭cbאde...‬
+
‭...הדaבג‬
+
‭...הדaבג‬
+
‭...הדaבג‬
+
+ + diff --git a/testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-neutral-nested-ref.html b/testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-neutral-nested-ref.html new file mode 100644 index 000000000..d5d7674a4 --- /dev/null +++ b/testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-neutral-nested-ref.html @@ -0,0 +1,44 @@ + + + + + + + + + +

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

+
+ Key to entities used below: + א ... ו - The first six Hebrew letters (strongly RTL). + ‭ - The LRO (left-to-right override) formatting character. + ‬ - The PDF (pop directional formatting) formatting character; closes LRO. +
+
+
‭1 + [a + [3 + [b + 4] + ב] + 2] + א‬
+
‭1 + [a + [3 + [b + 4] + ב] + 2] + א‬
+
‭1 + [a + [3 + [b + 4] + ב] + 2] + א‬
+
‭a + [1 + [b + [3 + ב] + 2] + א] + 0‬
+
‭a + [1 + [b + [3 + ב] + 2] + א] + 0‬
+
‭a + [1 + [b + [3 + ב] + 2] + א] + 0‬
+
+
+
‭1 + [a + [3 + [b + 4] + ב] + 2] + א‬
+
‭1 + [a + [3 + [b + 4] + ב] + 2] + א‬
+
‭1 + [a + [3 + [b + 4] + ב] + 2] + א‬
+
‭a + [1 + [b + [3 + ב] + 2] + א] + 0‬
+
‭a + [1 + [b + [3 + ב] + 2] + א] + 0‬
+
‭a + [1 + [b + [3 + ב] + 2] + א] + 0‬
+
+ + diff --git a/testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-neutral-nested.html b/testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-neutral-nested.html new file mode 100644 index 000000000..158576885 --- /dev/null +++ b/testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-neutral-nested.html @@ -0,0 +1,52 @@ + + + + + HTML Test: BDI: neutral when nested + + + + + + + + +

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

+
+ Key to entities used below: + א ... ו - The first six Hebrew letters (strongly RTL). + ‭ - The LRO (left-to-right override) formatting character. + ‬ - The PDF (pop directional formatting) formatting character; closes LRO. +
+
+
א + [a + [ב + [b + 4] + 3] + 2] + 1
+
א + [a + [ב + [b + 4] + 3] + 2] + 1
+
א + [a + [ב + [b + 4] + 3] + 2] + 1
+
a + [א + [b + [ב + 3] + 2] + 1] + 0
+
a + [א + [b + [ב + 3] + 2] + 1] + 0
+
a + [א + [b + [ב + 3] + 2] + 1] + 0
+
+
+
‭1 + [a + [3 + [b + 4] + ב] + 2] + א‬
+
‭1 + [a + [3 + [b + 4] + ב] + 2] + א‬
+
‭1 + [a + [3 + [b + 4] + ב] + 2] + א‬
+
‭a + [1 + [b + [3 + ב] + 2] + א] + 0‬
+
‭a + [1 + [b + [3 + ב] + 2] + א] + 0‬
+
‭a + [1 + [b + [3 + ב] + 2] + א] + 0‬
+
+ + diff --git a/testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-neutral-number-ref.html b/testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-neutral-number-ref.html new file mode 100644 index 000000000..df7af7778 --- /dev/null +++ b/testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-neutral-number-ref.html @@ -0,0 +1,44 @@ + + + + + + + + + +

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

+
+ Key to entities used below: + א ... ו - The first six Hebrew letters (strongly RTL). + ‭ - The LRO (left-to-right override) formatting character. + ‬ - The PDF (pop directional formatting) formatting character; closes LRO. +
+
+
‭א - [1]...‬
+
‭א - [1]...‬
+
‭א - [1]...‬
+
‭...[1] - a‬
+
‭...[1] - a‬
+
‭...[1] - a‬
+
+
+
‭א - [1]...‬
+
‭א - [1]...‬
+
‭א - [1]...‬
+
‭...[1] - a‬
+
‭...[1] - a‬
+
‭...[1] - a‬
+
+ + diff --git a/testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-neutral-number.html b/testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-neutral-number.html new file mode 100644 index 000000000..37e467c17 --- /dev/null +++ b/testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-neutral-number.html @@ -0,0 +1,53 @@ + + + + + HTML Test: BDI: neutral when number + + + + + + + + +

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

+
+ Key to entities used below: + א ... ו - The first six Hebrew letters (strongly RTL). + ‭ - The LRO (left-to-right override) formatting character. + ‬ - The PDF (pop directional formatting) formatting character; closes LRO. + If the BDI in the test's first DIV were a SPAN, the 1 inside it would be visually ordered + to the left of the א. +
+
+
א - [1]...
+
א - [1]...
+
א - [1]...
+
a - [1]...
+
a - [1]...
+
a - [1]...
+
+
+
‭א - [1]...‬
+
‭א - [1]...‬
+
‭א - [1]...‬
+
‭...[1] - a‬
+
‭...[1] - a‬
+
‭...[1] - a‬
+
+ + diff --git a/testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-neutral-separate-ref.html b/testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-neutral-separate-ref.html new file mode 100644 index 000000000..ec8e34627 --- /dev/null +++ b/testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-neutral-separate-ref.html @@ -0,0 +1,36 @@ + + + + + + + + + +

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

+
+ Key to entities used below: + א ... ו - The first six Hebrew letters (strongly RTL). + ‭ - The LRO (left-to-right override) formatting character. + ‬ - The PDF (pop directional formatting) formatting character; closes LRO. +
+
+
‭א [1 b] c [d ה] ו...‬
+
‭...f [e ד] ג [ב 1] a‬
+
+
+
‭א [1 b] c [d ה] ו...‬
+
‭...f [e ד] ג [ב 1] a‬
+
+ + diff --git a/testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-neutral-separate.html b/testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-neutral-separate.html new file mode 100644 index 000000000..7bb8a2081 --- /dev/null +++ b/testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-neutral-separate.html @@ -0,0 +1,47 @@ + + + + + HTML Test: BDI: paragraph-level container + + + + + + + + +

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

+
+ Key to entities used below: + א ... ו - The first six Hebrew letters (strongly RTL). + ‭ - The LRO (left-to-right override) formatting character. + ‬ - The PDF (pop directional formatting) formatting character; closes LRO. + If the BDIs in the test's first DIV were just SPANs, the א would appear between the 1 + and the b, and the ו between the d and the ה. +
+
+
א [1 b] c [d ה] ו...
+
a [1 ב] ג [ד e] f...
+
+
+
‭א [1 b] c [d ה] ו...‬
+
‭...f [e ד] ג [ב 1] a‬
+
+ + diff --git a/testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-neutral-to-another-bdi-1-ref.html b/testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-neutral-to-another-bdi-1-ref.html new file mode 100644 index 000000000..c0f323ea2 --- /dev/null +++ b/testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-neutral-to-another-bdi-1-ref.html @@ -0,0 +1,47 @@ + + + + + + + + + + +
Test passes if the two boxes below look exactly the same.
+
+ Key to entities used below: + א ... ו - The first six Hebrew letters (strongly RTL). + ‭ - The LRO (left-to-right override) formatting character. + ‬ - The PDF (pop directional formatting) formatting character; closes LRO. +
+
+
‭[א] > [ב]...‬
+
‭[א] > [ב]...‬
+
‭[א] > [ב]...‬
+
‭...[b] < [a]‬
+
‭...[b] < [a]‬
+
‭...[b] < [a]‬
+
+
+
‭[א] > [ב]...‬
+
‭[א] > [ב]...‬
+
‭[א] > [ב]...‬
+
‭...[b] < [a]‬
+
‭...[b] < [a]‬
+
‭...[b] < [a]‬
+
+ + diff --git a/testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-neutral-to-another-bdi-1.html b/testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-neutral-to-another-bdi-1.html new file mode 100644 index 000000000..822120721 --- /dev/null +++ b/testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-neutral-to-another-bdi-1.html @@ -0,0 +1,58 @@ + + + + + HTML Test: BDI: neutral to another BDI + + + + + + + + + +
Test passes if the two boxes below look exactly the same.
+
+ Key to entities used below: + א ... ו - The first six Hebrew letters (strongly RTL). + ‭ - The LRO (left-to-right override) formatting character. + ‬ - The PDF (pop directional formatting) formatting character; closes LRO. + If the BDIs in the test's first DIV were SPANs, the ב would be rendered to the left + of the א. +
+
+
[א] > [ב]...
+
[א] > [ב]...
+
[א] > [ב]...
+
[a] > [b]...
+
[a] > [b]...
+
[a] > [b]...
+
+
+
‭[א] > [ב]...‬
+
‭[א] > [ב]...‬
+
‭[א] > [ב]...‬
+
‭...[b] < [a]‬
+
‭...[b] < [a]‬
+
‭...[b] < [a]‬
+
+ + diff --git a/testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-neutral-to-another-bdi-2-ref.html b/testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-neutral-to-another-bdi-2-ref.html new file mode 100644 index 000000000..9aef97c0e --- /dev/null +++ b/testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-neutral-to-another-bdi-2-ref.html @@ -0,0 +1,47 @@ + + + + + + + + + + +
Test passes if the two boxes below look exactly the same.
+
+ Key to entities used below: + א ... ו - The first six Hebrew letters (strongly RTL). + ‭ - The LRO (left-to-right override) formatting character. + ‬ - The PDF (pop directional formatting) formatting character; closes LRO. +
+
+
‭אב...‬
+
‭אב...‬
+
‭אב...‬
+
‭...ba‬
+
‭...ba‬
+
‭...ba‬
+
+
+
‭אב...‬
+
‭אב...‬
+
‭אב...‬
+
‭...ba‬
+
‭...ba‬
+
‭...ba‬
+
+ + diff --git a/testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-neutral-to-another-bdi-2.html b/testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-neutral-to-another-bdi-2.html new file mode 100644 index 000000000..85aec4668 --- /dev/null +++ b/testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-neutral-to-another-bdi-2.html @@ -0,0 +1,59 @@ + + + + + HTML Test: BDI: neutral to another immediately following BDI + + + + + + + + + +
Test passes if the two boxes below look exactly the same.
+
+ Key to entities used below: + א ... ו - The first six Hebrew letters (strongly RTL). + ‭ - The LRO (left-to-right override) formatting character. + ‬ - The PDF (pop directional formatting) formatting character; closes LRO. + If the BDIs in the test's first DIV were SPANs, the ב would be rendered to the left of + the א. +
+
+
אב...
+
אב...
+
אב...
+
ab...
+
ab...
+
ab...
+
+
+
‭אב...‬
+
‭אב...‬
+
‭אב...‬
+
‭...ba‬
+
‭...ba‬
+
‭...ba‬
+
+ + diff --git a/testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-neutral-to-letter-following-1-ref.html b/testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-neutral-to-letter-following-1-ref.html new file mode 100644 index 000000000..a34d09bd2 --- /dev/null +++ b/testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-neutral-to-letter-following-1-ref.html @@ -0,0 +1,45 @@ + + + + + + + + + + +

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

+
+ Key to entities used below: + א ... ו - The first six Hebrew letters (strongly RTL). + ‭ - The LRO (left-to-right override) formatting character. + ‬ - The PDF (pop directional formatting) formatting character; closes LRO. +
+
+
‭[א] > ב...‬
+
‭[א] > ב...‬
+
‭[א] > ב...‬
+
‭...b < [a]‬
+
‭...b < [a]‬
+
‭...b < [a]‬
+
+
+
‭[א] > ב...‬
+
‭[א] > ב...‬
+
‭[א] > ב...‬
+
‭...b < [a]‬
+
‭...b < [a]‬
+
‭...b < [a]‬
+
+ + diff --git a/testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-neutral-to-letter-following-1.html b/testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-neutral-to-letter-following-1.html new file mode 100644 index 000000000..76da57c2b --- /dev/null +++ b/testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-neutral-to-letter-following-1.html @@ -0,0 +1,54 @@ + + + + + HTML Test: BDI: neutral to following letter + + + + + + + + + +

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

+
+ Key to entities used below: + א ... ו - The first six Hebrew letters (strongly RTL). + ‭ - The LRO (left-to-right override) formatting character. + ‬ - The PDF (pop directional formatting) formatting character; closes LRO. + If the BDI in the test's first DIV were a SPAN, the ב would be rendered to the left + of the א +
+
+
[א] > ב...
+
[א] > ב...
+
[א] > ב...
+
[a] > b...
+
[a] > b...
+
[a] > b...
+
+
+
‭[א] > ב...‬
+
‭[א] > ב...‬
+
‭[א] > ב...‬
+
‭...b < [a]‬
+
‭...b < [a]‬
+
‭...b < [a]‬
+
+ + diff --git a/testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-neutral-to-letter-following-2-ref.html b/testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-neutral-to-letter-following-2-ref.html new file mode 100644 index 000000000..80f36183b --- /dev/null +++ b/testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-neutral-to-letter-following-2-ref.html @@ -0,0 +1,45 @@ + + + + + + + + + + +

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

+
+ Key to entities used below: + א ... ו - The first six Hebrew letters (strongly RTL). + ‭ - The LRO (left-to-right override) formatting character. + ‬ - The PDF (pop directional formatting) formatting character; closes LRO. +
+
+
‭אב...‬
+
‭אב...‬
+
‭אב...‬
+
‭...ba‬
+
‭...ba‬
+
‭...ba‬
+
+
+
‭אב...‬
+
‭אב...‬
+
‭אב...‬
+
‭...ba‬
+
‭...ba‬
+
‭...ba‬
+
+ + diff --git a/testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-neutral-to-letter-following-2.html b/testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-neutral-to-letter-following-2.html new file mode 100644 index 000000000..ce41983f0 --- /dev/null +++ b/testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-neutral-to-letter-following-2.html @@ -0,0 +1,54 @@ + + + + + HTML Test: BDI: neutral to immediately following letter + + + + + + + + + +

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

+
+ Key to entities used below: + א ... ו - The first six Hebrew letters (strongly RTL). + ‭ - The LRO (left-to-right override) formatting character. + ‬ - The PDF (pop directional formatting) formatting character; closes LRO. + If the BDI in the following DIV were a SPAN, the ב would be rendered to the left + of the א +
+
+
אב...
+
אב...
+
אב...
+
ab...
+
ab...
+
ab...
+
+
+
‭אב...‬
+
‭אב...‬
+
‭אב...‬
+
‭...ba‬
+
‭...ba‬
+
‭...ba‬
+
+ + diff --git a/testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-neutral-to-letter-preceding-1-ref.html b/testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-neutral-to-letter-preceding-1-ref.html new file mode 100644 index 000000000..5e39eabd2 --- /dev/null +++ b/testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-neutral-to-letter-preceding-1-ref.html @@ -0,0 +1,45 @@ + + + + + + + + + + +

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

+
+ Key to entities used below: + א ... ו - The first six Hebrew letters (strongly RTL). + ‭ - The LRO (left-to-right override) formatting character. + ‬ - The PDF (pop directional formatting) formatting character; closes LRO. +
+
+
‭א > [ב]...‬
+
‭א > [ב]...‬
+
‭א > [ב]...‬
+
‭...[b] < a‬
+
‭...[b] < a‬
+
‭...[b] < a‬
+
+
+
‭א > [ב]...‬
+
‭א > [ב]...‬
+
‭א > [ב]...‬
+
‭...[b] < a‬
+
‭...[b] < a‬
+
‭...[b] < a‬
+
+ + diff --git a/testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-neutral-to-letter-preceding-1.html b/testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-neutral-to-letter-preceding-1.html new file mode 100644 index 000000000..46772de64 --- /dev/null +++ b/testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-neutral-to-letter-preceding-1.html @@ -0,0 +1,54 @@ + + + + + HTML Test: BDI: neutral to preceding letter + + + + + + + + + +

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

+
+ Key to entities used below: + א ... ו - The first six Hebrew letters (strongly RTL). + ‭ - The LRO (left-to-right override) formatting character. + ‬ - The PDF (pop directional formatting) formatting character; closes LRO. + If the BDI in the test's first DIV were a SPAN, the ב would be rendered to the left + of the א +
+
+
א > [ב]...
+
א > [ב]...
+
א > [ב]...
+
a > [b]...
+
a > [b]...
+
a > [b]...
+
+
+
‭א > [ב]...‬
+
‭א > [ב]...‬
+
‭א > [ב]...‬
+
‭...[b] < a‬
+
‭...[b] < a‬
+
‭...[b] < a‬
+
+ + diff --git a/testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-neutral-to-letter-preceding-2-ref.html b/testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-neutral-to-letter-preceding-2-ref.html new file mode 100644 index 000000000..80f36183b --- /dev/null +++ b/testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-neutral-to-letter-preceding-2-ref.html @@ -0,0 +1,45 @@ + + + + + + + + + + +

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

+
+ Key to entities used below: + א ... ו - The first six Hebrew letters (strongly RTL). + ‭ - The LRO (left-to-right override) formatting character. + ‬ - The PDF (pop directional formatting) formatting character; closes LRO. +
+
+
‭אב...‬
+
‭אב...‬
+
‭אב...‬
+
‭...ba‬
+
‭...ba‬
+
‭...ba‬
+
+
+
‭אב...‬
+
‭אב...‬
+
‭אב...‬
+
‭...ba‬
+
‭...ba‬
+
‭...ba‬
+
+ + diff --git a/testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-neutral-to-letter-preceding-2.html b/testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-neutral-to-letter-preceding-2.html new file mode 100644 index 000000000..192115775 --- /dev/null +++ b/testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-neutral-to-letter-preceding-2.html @@ -0,0 +1,54 @@ + + + + + HTML Test: BDI: neutral to immediately preceding letter + + + + + + + + + +

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

+
+ Key to entities used below: + א ... ו - The first six Hebrew letters (strongly RTL). + ‭ - The LRO (left-to-right override) formatting character. + ‬ - The PDF (pop directional formatting) formatting character; closes LRO. + If the BDI in the test's first DIV were a SPAN, the ב would be rendered to the left + of the א +
+
+
אב...
+
אב...
+
אב...
+
ab...
+
ab...
+
ab...
+
+
+
‭אב...‬
+
‭אב...‬
+
‭אב...‬
+
‭...ba‬
+
‭...ba‬
+
‭...ba‬
+
+ + diff --git a/testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-neutral-to-number-following-1-ref.html b/testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-neutral-to-number-following-1-ref.html new file mode 100644 index 000000000..ad15d468b --- /dev/null +++ b/testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-neutral-to-number-following-1-ref.html @@ -0,0 +1,45 @@ + + + + + + + + + + +

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

+
+ Key to entities used below: + א ... ו - The first six Hebrew letters (strongly RTL). + ‭ - The LRO (left-to-right override) formatting character. + ‬ - The PDF (pop directional formatting) formatting character; closes LRO. +
+
+
‭[א] (3 reviews)...‬
+
‭[א] (3 reviews)...‬
+
‭[א] (3 reviews)...‬
+
‭...(3) [a]‬
+
‭...(3) [a]‬
+
‭...(3) [a]‬
+
+
+
‭[א] (3 reviews)...‬
+
‭[א] (3 reviews)...‬
+
‭[א] (3 reviews)...‬
+
‭...(3) [a]‬
+
‭...(3) [a]‬
+
‭...(3) [a]‬
+
+ + diff --git a/testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-neutral-to-number-following-1.html b/testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-neutral-to-number-following-1.html new file mode 100644 index 000000000..ff566737f --- /dev/null +++ b/testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-neutral-to-number-following-1.html @@ -0,0 +1,54 @@ + + + + + HTML Test: BDI: neutral to following number + + + + + + + + + +

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

+
+ Key to entities used below: + א ... ו - The first six Hebrew letters (strongly RTL). + ‭ - The LRO (left-to-right override) formatting character. + ‬ - The PDF (pop directional formatting) formatting character; closes LRO. + If the BDI in the test's first DIV were a SPAN, the 3 would be rendered to the left + of the א +
+
+
[א] (3 reviews)...
+
[א] (3 reviews)...
+
[א] (3 reviews)...
+
[a] (3)...
+
[a] (3)...
+
[a] (3)...
+
+
+
‭[א] (3 reviews)...‬
+
‭[א] (3 reviews)...‬
+
‭[א] (3 reviews)...‬
+
‭...(3) [a]‬
+
‭...(3) [a]‬
+
‭...(3) [a]‬
+
+ + diff --git a/testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-neutral-to-number-following-2-ref.html b/testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-neutral-to-number-following-2-ref.html new file mode 100644 index 000000000..d0f1097ad --- /dev/null +++ b/testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-neutral-to-number-following-2-ref.html @@ -0,0 +1,45 @@ + + + + + + + + + + +

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

+
+ Key to entities used below: + א ... ו - The first six Hebrew letters (strongly RTL). + ‭ - The LRO (left-to-right override) formatting character. + ‬ - The PDF (pop directional formatting) formatting character; closes LRO. +
+
+
‭א1...‬
+
‭א1...‬
+
‭א1...‬
+
‭...1a‬
+
‭...1a‬
+
‭...1a‬
+
+
+
‭א1...‬
+
‭א1...‬
+
‭א1...‬
+
‭...1a‬
+
‭...1a‬
+
‭...1a‬
+
+ + diff --git a/testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-neutral-to-number-following-2.html b/testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-neutral-to-number-following-2.html new file mode 100644 index 000000000..62a3b50ff --- /dev/null +++ b/testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-neutral-to-number-following-2.html @@ -0,0 +1,53 @@ + + + + + HTML Test: BDI: neutral to immediately following number + + + + + + + + +

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

+
+ Key to entities used below: + א ... ו - The first six Hebrew letters (strongly RTL). + ‭ - The LRO (left-to-right override) formatting character. + ‬ - The PDF (pop directional formatting) formatting character; closes LRO. + If the BDI in the test's first DIV were a SPAN, the 1 would be rendered to the left + of the א +
+
+
א1...
+
א1...
+
א1...
+
a1...
+
a1...
+
a1...
+
+
+
‭א1...‬
+
‭א1...‬
+
‭א1...‬
+
‭...1a‬
+
‭...1a‬
+
‭...1a‬
+
+ + diff --git a/testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-neutral-to-surrounding-run-ref.html b/testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-neutral-to-surrounding-run-ref.html new file mode 100644 index 000000000..d7967c77f --- /dev/null +++ b/testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-neutral-to-surrounding-run-ref.html @@ -0,0 +1,44 @@ + + + + + + + + + +

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

+
+ Key to entities used below: + א ... ו - The first six Hebrew letters (strongly RTL). + ‭ - The LRO (left-to-right override) formatting character. + ‬ - The PDF (pop directional formatting) formatting character; closes LRO. +
+
+
‭ג < [b] < א...‬
+
‭ג < [b] < א...‬
+
‭ג < [b] < א...‬
+
‭...a > [ב] > c‬
+
‭...a > [ב] > c‬
+
‭...a > [ב] > c‬
+
+
+
‭ג < [b] < א...‬
+
‭ג < [b] < א...‬
+
‭ג < [b] < א...‬
+
‭...a > [ב] > c‬
+
‭...a > [ב] > c‬
+
‭...a > [ב] > c‬
+
+ + diff --git a/testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-neutral-to-surrounding-run.html b/testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-neutral-to-surrounding-run.html new file mode 100644 index 000000000..bff339ec3 --- /dev/null +++ b/testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-neutral-to-surrounding-run.html @@ -0,0 +1,56 @@ + + + + + HTML Test: BDI: neutral to surrounding letters + + + + + + + + +

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

+
+ Key to entities used below: + א ... ו - The first six Hebrew letters (strongly RTL). + ‭ - The LRO (left-to-right override) formatting character. + ‬ - The PDF (pop directional formatting) formatting character; closes LRO. + If the BDI in the test's first DIV were a SPAN, its b would prevent the א and the ב + from forming a single RTL run and thus keep the >s between from being mirrored into <s. +
+
+
א > [b] > ג...
+
א > [b] > ג...
+
א > [b] > ג...
+
a > [ב] > c...
+
a > [ב] > c...
+
a > [ב] > c...
+
+
+
‭ג < [b] < א...‬
+
‭ג < [b] < א...‬
+
‭ג < [b] < א...‬
+
‭...a > [ב] > c‬
+
‭...a > [ב] > c‬
+
‭...a > [ב] > c‬
+
+ + diff --git a/testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-neutral-wrapped-ref.html b/testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-neutral-wrapped-ref.html new file mode 100644 index 000000000..9859de474 --- /dev/null +++ b/testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-neutral-wrapped-ref.html @@ -0,0 +1,52 @@ + + + + + + + + + +

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

+
+ Key to entities used below: + א ... ו - The first six Hebrew letters (strongly RTL). + ‭ - The LRO (left-to-right override) formatting character. + ‬ - The PDF (pop directional formatting) formatting character; closes LRO. +
+
+
+ ‭b < א‬
+ ‭>>>‬
+ ‭ד < c...‬ +
+
+ ‭a > ב‬
+ ‭<<<‬
+ ‭...ג > d‬ +
+
+
+
+ ‭b < א‬
+ ‭>>>‬
+ ‭ד < c...‬ +
+
+ ‭a > ב‬
+ ‭<<<‬
+ ‭...ג > d‬ +
+
+ + diff --git a/testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-neutral-wrapped.html b/testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-neutral-wrapped.html new file mode 100644 index 000000000..3e21fcb0f --- /dev/null +++ b/testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-neutral-wrapped.html @@ -0,0 +1,73 @@ + + + + + HTML Test: BDI: neutral when wrapped + + + + + + + + +

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

+
+ Key to entities used below: +   - Non-breaking space. + א ... ו - The first six Hebrew letters (strongly RTL). + ‭ - The LRO (left-to-right override) formatting character. + ‬ - The PDF (pop directional formatting) formatting character; closes LRO. + In the test below, the non-breaking spaces in the BDI's middle "word" make it so long that it + must be displayed on a line of its own, with the BDI wrapped before and after it. At the same + time, the content surrounding the BDI is supposed to form a single directional run, despite + the containing element and the BDI both having the opposite direction, because the BDI must be + treated as a neutral. Thus, on the line containing the first part of the BDI, the BDI's + content must appear after the content preceding it, and on the line containing the last part + of the BDI, the BDI content must appear before the content following it, where both 'before' + and 'after' are defined relative to the surrounding directional run. +
+
+
+ א > + b +>>>                                                  + c + > ד... +
+
+ a > + ב +>>>                                                  + ג + > d... +
+
+
+
+ ‭b < א‬
+ ‭>>>‬
+ ‭ד < c...‬ +
+
+ ‭a > ב‬
+ ‭<<<‬
+ ‭...ג > d‬ +
+
+ + diff --git a/testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-paragraph-level-container-ref.html b/testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-paragraph-level-container-ref.html new file mode 100644 index 000000000..0c74ecf68 --- /dev/null +++ b/testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-paragraph-level-container-ref.html @@ -0,0 +1,36 @@ + + + + + + + + + +

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

+
+ Key to entities used below: + א ... ו - The first six Hebrew letters (strongly RTL). + ‭ - The LRO (left-to-right override) formatting character. + ‬ - The PDF (pop directional formatting) formatting character; closes LRO. +
+
+
‭א [1 2 3 b] c [d ה?!] ו...‬
+
‭...f [!?e ד] ג [ב 3 2 1] a‬
+
+
+
‭א [1 2 3 b] c [d ה?!] ו...‬
+
‭...f [!?e ד] ג [ב 3 2 1] a‬
+
+ + diff --git a/testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-paragraph-level-container.html b/testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-paragraph-level-container.html new file mode 100644 index 000000000..f133a9577 --- /dev/null +++ b/testing/web-platform/tests/html/semantics/text-level-semantics/the-bdi-element/bdi-paragraph-level-container.html @@ -0,0 +1,46 @@ + + + + + HTML Test: BDI: paragraph-level container + + + + + + + + +

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

+
+ Key to entities used below: + א ... ו - The first six Hebrew letters (strongly RTL). + ‭ - The LRO (left-to-right override) formatting character. + ‬ - The PDF (pop directional formatting) formatting character; closes LRO. + If the BDIs in the test's first DIV were just SPANs, the א would order the 1 2 3 as + 3 2 1, and the ו would (with the ה) order the ?! as !?. +
+
+
א [1 2 3 b] c [d ה?!] ו...
+
a [1 2 3 ב] ג [ד e?!] f...
+
+
+
‭א [1 2 3 b] c [d ה?!] ו...‬
+
‭...f [!?e ד] ג [ב 3 2 1] a‬
+
+ + -- cgit v1.2.3