From 43a97878ce14b72f0981164f87f2e35e14151312 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 11:22:09 +0200 Subject: Adding upstream version 110.0.1. Signed-off-by: Daniel Baumann --- .../semantics/text-level-semantics/historical.html | 29 +++++++++ ...k-handler-with-null-browsing-context-crash.html | 21 +++++++ .../the-a-element/a-download-404.py | 2 + .../the-a-element/a-download-click-404.html | 25 ++++++++ .../a-download-click-redirect-to-javascript.html | 29 +++++++++ .../the-a-element/a-download-click.html | 33 ++++++++++ .../the-a-element/a-stringifier.html | 16 +++++ .../the-a-element/a.text-getter-01.html | 34 ++++++++++ .../the-a-element/a.text-setter-01.html | 41 ++++++++++++ .../the-a-element/resources/a-download-404.html | 2 + .../the-a-element/resources/a-download-click.html | 2 + .../a-download-redirect-to-javascript.html | 5 ++ .../resources/a-onclick-handler-iframe.html | 1 + .../the-b-element/b-usage-notref.html | 6 ++ .../the-b-element/b-usage.html | 8 +++ .../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 ++++++++++++++ .../the-bdo-element/bdo-child.html | 17 +++++ .../the-bdo-element/bdo-ltr.html | 15 +++++ .../the-bdo-element/bdo-override.html | 18 ++++++ .../the-bdo-element/bidi-001-ref.html | 11 ++++ .../the-bdo-element/bidi-001.html | 14 +++++ .../br-bidi-in-inline-ancestors-ref.html | 38 +++++++++++ .../br-bidi-in-inline-ancestors.html | 59 +++++++++++++++++ .../the-br-element/br-bidi-ref.html | 19 ++++++ .../the-br-element/br-bidi.html | 22 +++++++ .../the-ruby-element/rt-without-ruby-crash.html | 11 ++++ .../the-ruby-element/ruby-usage-notref.html | 6 ++ .../the-ruby-element/ruby-usage.html | 8 +++ .../text-level-semantics/the-time-element/001.html | 68 ++++++++++++++++++++ .../the-wbr-element/wbr-element-ref.html | 10 +++ .../the-wbr-element/wbr-element.html | 12 ++++ 62 files changed, 2151 insertions(+) create mode 100644 testing/web-platform/tests/html/semantics/text-level-semantics/historical.html create mode 100644 testing/web-platform/tests/html/semantics/text-level-semantics/the-a-element/a-click-handler-with-null-browsing-context-crash.html create mode 100644 testing/web-platform/tests/html/semantics/text-level-semantics/the-a-element/a-download-404.py create mode 100644 testing/web-platform/tests/html/semantics/text-level-semantics/the-a-element/a-download-click-404.html create mode 100644 testing/web-platform/tests/html/semantics/text-level-semantics/the-a-element/a-download-click-redirect-to-javascript.html create mode 100644 testing/web-platform/tests/html/semantics/text-level-semantics/the-a-element/a-download-click.html create mode 100644 testing/web-platform/tests/html/semantics/text-level-semantics/the-a-element/a-stringifier.html create mode 100644 testing/web-platform/tests/html/semantics/text-level-semantics/the-a-element/a.text-getter-01.html create mode 100644 testing/web-platform/tests/html/semantics/text-level-semantics/the-a-element/a.text-setter-01.html create mode 100644 testing/web-platform/tests/html/semantics/text-level-semantics/the-a-element/resources/a-download-404.html create mode 100644 testing/web-platform/tests/html/semantics/text-level-semantics/the-a-element/resources/a-download-click.html create mode 100644 testing/web-platform/tests/html/semantics/text-level-semantics/the-a-element/resources/a-download-redirect-to-javascript.html create mode 100644 testing/web-platform/tests/html/semantics/text-level-semantics/the-a-element/resources/a-onclick-handler-iframe.html create mode 100644 testing/web-platform/tests/html/semantics/text-level-semantics/the-b-element/b-usage-notref.html create mode 100644 testing/web-platform/tests/html/semantics/text-level-semantics/the-b-element/b-usage.html 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 create mode 100644 testing/web-platform/tests/html/semantics/text-level-semantics/the-bdo-element/bdo-child.html create mode 100644 testing/web-platform/tests/html/semantics/text-level-semantics/the-bdo-element/bdo-ltr.html create mode 100644 testing/web-platform/tests/html/semantics/text-level-semantics/the-bdo-element/bdo-override.html create mode 100644 testing/web-platform/tests/html/semantics/text-level-semantics/the-bdo-element/bidi-001-ref.html create mode 100644 testing/web-platform/tests/html/semantics/text-level-semantics/the-bdo-element/bidi-001.html create mode 100644 testing/web-platform/tests/html/semantics/text-level-semantics/the-br-element/br-bidi-in-inline-ancestors-ref.html create mode 100644 testing/web-platform/tests/html/semantics/text-level-semantics/the-br-element/br-bidi-in-inline-ancestors.html create mode 100644 testing/web-platform/tests/html/semantics/text-level-semantics/the-br-element/br-bidi-ref.html create mode 100644 testing/web-platform/tests/html/semantics/text-level-semantics/the-br-element/br-bidi.html create mode 100644 testing/web-platform/tests/html/semantics/text-level-semantics/the-ruby-element/rt-without-ruby-crash.html create mode 100644 testing/web-platform/tests/html/semantics/text-level-semantics/the-ruby-element/ruby-usage-notref.html create mode 100644 testing/web-platform/tests/html/semantics/text-level-semantics/the-ruby-element/ruby-usage.html create mode 100644 testing/web-platform/tests/html/semantics/text-level-semantics/the-time-element/001.html create mode 100644 testing/web-platform/tests/html/semantics/text-level-semantics/the-wbr-element/wbr-element-ref.html create mode 100644 testing/web-platform/tests/html/semantics/text-level-semantics/the-wbr-element/wbr-element.html (limited to 'testing/web-platform/tests/html/semantics/text-level-semantics') diff --git a/testing/web-platform/tests/html/semantics/text-level-semantics/historical.html b/testing/web-platform/tests/html/semantics/text-level-semantics/historical.html new file mode 100644 index 0000000000..7fe83a95ed --- /dev/null +++ b/testing/web-platform/tests/html/semantics/text-level-semantics/historical.html @@ -0,0 +1,29 @@ + +Historical text-level element features should not be supported + + +
+ diff --git a/testing/web-platform/tests/html/semantics/text-level-semantics/the-a-element/a-click-handler-with-null-browsing-context-crash.html b/testing/web-platform/tests/html/semantics/text-level-semantics/the-a-element/a-click-handler-with-null-browsing-context-crash.html new file mode 100644 index 0000000000..a9fd6b82bd --- /dev/null +++ b/testing/web-platform/tests/html/semantics/text-level-semantics/the-a-element/a-click-handler-with-null-browsing-context-crash.html @@ -0,0 +1,21 @@ + +HTMLAnchorElement.onclick with null browsing conext + + + + + + + + diff --git a/testing/web-platform/tests/html/semantics/text-level-semantics/the-a-element/a-download-404.py b/testing/web-platform/tests/html/semantics/text-level-semantics/the-a-element/a-download-404.py new file mode 100644 index 0000000000..abb85139b3 --- /dev/null +++ b/testing/web-platform/tests/html/semantics/text-level-semantics/the-a-element/a-download-404.py @@ -0,0 +1,2 @@ +def main(request, response): + return 404, [(b"Content-Type", b"text/html")], b'Some content for the masses.' * 100 diff --git a/testing/web-platform/tests/html/semantics/text-level-semantics/the-a-element/a-download-click-404.html b/testing/web-platform/tests/html/semantics/text-level-semantics/the-a-element/a-download-click-404.html new file mode 100644 index 0000000000..3c8adc0b97 --- /dev/null +++ b/testing/web-platform/tests/html/semantics/text-level-semantics/the-a-element/a-download-click-404.html @@ -0,0 +1,25 @@ + + +Clicking on an <a> element with a download attribute and href that leads to 404 should not navigate + + + + + + + diff --git a/testing/web-platform/tests/html/semantics/text-level-semantics/the-a-element/a-download-click-redirect-to-javascript.html b/testing/web-platform/tests/html/semantics/text-level-semantics/the-a-element/a-download-click-redirect-to-javascript.html new file mode 100644 index 0000000000..09f63b6f4d --- /dev/null +++ b/testing/web-platform/tests/html/semantics/text-level-semantics/the-a-element/a-download-click-redirect-to-javascript.html @@ -0,0 +1,29 @@ + + +Clicking on an <a> element with a download attribute and href that redirects to 'javascript:' should not navigate or execute + + + + + + + diff --git a/testing/web-platform/tests/html/semantics/text-level-semantics/the-a-element/a-download-click.html b/testing/web-platform/tests/html/semantics/text-level-semantics/the-a-element/a-download-click.html new file mode 100644 index 0000000000..22d329f245 --- /dev/null +++ b/testing/web-platform/tests/html/semantics/text-level-semantics/the-a-element/a-download-click.html @@ -0,0 +1,33 @@ + + +Clicking on an <a> element with a download attribute must not throw an exception + + + + + + + + + diff --git a/testing/web-platform/tests/html/semantics/text-level-semantics/the-a-element/a-stringifier.html b/testing/web-platform/tests/html/semantics/text-level-semantics/the-a-element/a-stringifier.html new file mode 100644 index 0000000000..1085a74aa6 --- /dev/null +++ b/testing/web-platform/tests/html/semantics/text-level-semantics/the-a-element/a-stringifier.html @@ -0,0 +1,16 @@ + +HTMLAnchorElement stringifier + + + + + +
+ diff --git a/testing/web-platform/tests/html/semantics/text-level-semantics/the-a-element/a.text-getter-01.html b/testing/web-platform/tests/html/semantics/text-level-semantics/the-a-element/a.text-getter-01.html new file mode 100644 index 0000000000..e0bb73be0f --- /dev/null +++ b/testing/web-platform/tests/html/semantics/text-level-semantics/the-a-element/a.text-getter-01.html @@ -0,0 +1,34 @@ + +HTMLAnchorElement.text getting + + + + +
+ +
+a b c +a b c +a b c +a c + +
+ diff --git a/testing/web-platform/tests/html/semantics/text-level-semantics/the-a-element/a.text-setter-01.html b/testing/web-platform/tests/html/semantics/text-level-semantics/the-a-element/a.text-setter-01.html new file mode 100644 index 0000000000..879a9e3d08 --- /dev/null +++ b/testing/web-platform/tests/html/semantics/text-level-semantics/the-a-element/a.text-setter-01.html @@ -0,0 +1,41 @@ + +HTMLAnchorElement.text setting + + + + +
+
+a b c +a c +a b c + +
+ diff --git a/testing/web-platform/tests/html/semantics/text-level-semantics/the-a-element/resources/a-download-404.html b/testing/web-platform/tests/html/semantics/text-level-semantics/the-a-element/resources/a-download-404.html new file mode 100644 index 0000000000..8c5d8f4565 --- /dev/null +++ b/testing/web-platform/tests/html/semantics/text-level-semantics/the-a-element/resources/a-download-404.html @@ -0,0 +1,2 @@ + +Click me diff --git a/testing/web-platform/tests/html/semantics/text-level-semantics/the-a-element/resources/a-download-click.html b/testing/web-platform/tests/html/semantics/text-level-semantics/the-a-element/resources/a-download-click.html new file mode 100644 index 0000000000..7d36c21d1e --- /dev/null +++ b/testing/web-platform/tests/html/semantics/text-level-semantics/the-a-element/resources/a-download-click.html @@ -0,0 +1,2 @@ + +Click me diff --git a/testing/web-platform/tests/html/semantics/text-level-semantics/the-a-element/resources/a-download-redirect-to-javascript.html b/testing/web-platform/tests/html/semantics/text-level-semantics/the-a-element/resources/a-download-redirect-to-javascript.html new file mode 100644 index 0000000000..4ff8b61e3b --- /dev/null +++ b/testing/web-platform/tests/html/semantics/text-level-semantics/the-a-element/resources/a-download-redirect-to-javascript.html @@ -0,0 +1,5 @@ + + +Click me diff --git a/testing/web-platform/tests/html/semantics/text-level-semantics/the-a-element/resources/a-onclick-handler-iframe.html b/testing/web-platform/tests/html/semantics/text-level-semantics/the-a-element/resources/a-onclick-handler-iframe.html new file mode 100644 index 0000000000..711e40f9d4 --- /dev/null +++ b/testing/web-platform/tests/html/semantics/text-level-semantics/the-a-element/resources/a-onclick-handler-iframe.html @@ -0,0 +1 @@ +link diff --git a/testing/web-platform/tests/html/semantics/text-level-semantics/the-b-element/b-usage-notref.html b/testing/web-platform/tests/html/semantics/text-level-semantics/the-b-element/b-usage-notref.html new file mode 100644 index 0000000000..3d3c46a281 --- /dev/null +++ b/testing/web-platform/tests/html/semantics/text-level-semantics/the-b-element/b-usage-notref.html @@ -0,0 +1,6 @@ + + +HTML Reference File + + +

You enter a small room. Your sword glows brighter. A rat scurries past the corner wall.

diff --git a/testing/web-platform/tests/html/semantics/text-level-semantics/the-b-element/b-usage.html b/testing/web-platform/tests/html/semantics/text-level-semantics/the-b-element/b-usage.html new file mode 100644 index 0000000000..ff2105dcae --- /dev/null +++ b/testing/web-platform/tests/html/semantics/text-level-semantics/the-b-element/b-usage.html @@ -0,0 +1,8 @@ + + +HTML test: b - highlight keywords + + + + +

You enter a small room. Your sword glows brighter. A rat scurries past the corner wall.

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 0000000000..eff61bb419 --- /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 0000000000..e658500a4e --- /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 0000000000..b4d44c5101 --- /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 0000000000..1ce9da6b76 --- /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 0000000000..d5d7674a45 --- /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 0000000000..158576885c --- /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 0000000000..df7af7778a --- /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 0000000000..37e467c173 --- /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 0000000000..ec8e34627d --- /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 0000000000..7bb8a20811 --- /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 0000000000..c0f323ea2c --- /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 0000000000..822120721f --- /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 0000000000..9aef97c0ea --- /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 0000000000..85aec46686 --- /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 0000000000..a34d09bd24 --- /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 0000000000..76da57c2b9 --- /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 0000000000..80f36183b0 --- /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 0000000000..ce41983f00 --- /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 0000000000..5e39eabd28 --- /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 0000000000..46772de642 --- /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 0000000000..80f36183b0 --- /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 0000000000..192115775c --- /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 0000000000..ad15d468b8 --- /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 0000000000..ff566737f2 --- /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 0000000000..d0f1097ade --- /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 0000000000..62a3b50ffe --- /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 0000000000..d7967c77fc --- /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 0000000000..bff339ec34 --- /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 0000000000..9859de4747 --- /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 0000000000..3e21fcb0fd --- /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 0000000000..0c74ecf68a --- /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 0000000000..f133a95772 --- /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‬
+
+ + diff --git a/testing/web-platform/tests/html/semantics/text-level-semantics/the-bdo-element/bdo-child.html b/testing/web-platform/tests/html/semantics/text-level-semantics/the-bdo-element/bdo-child.html new file mode 100644 index 0000000000..feadc26d7b --- /dev/null +++ b/testing/web-platform/tests/html/semantics/text-level-semantics/the-bdo-element/bdo-child.html @@ -0,0 +1,17 @@ + + + + + HTML Test: bdo - text directionality formatting control for its children + + + + + + +

Test passes if there is text 'WERBEH'.

+ + HEBREW + + + diff --git a/testing/web-platform/tests/html/semantics/text-level-semantics/the-bdo-element/bdo-ltr.html b/testing/web-platform/tests/html/semantics/text-level-semantics/the-bdo-element/bdo-ltr.html new file mode 100644 index 0000000000..8a7861086a --- /dev/null +++ b/testing/web-platform/tests/html/semantics/text-level-semantics/the-bdo-element/bdo-ltr.html @@ -0,0 +1,15 @@ + + + + + HTML Test: The value 'ltr' of dir attribute specifies a left-to-right override + + + + + + +

Test passes if there is text 'WERBEH'.

+ WERBEH + + diff --git a/testing/web-platform/tests/html/semantics/text-level-semantics/the-bdo-element/bdo-override.html b/testing/web-platform/tests/html/semantics/text-level-semantics/the-bdo-element/bdo-override.html new file mode 100644 index 0000000000..75a45e198f --- /dev/null +++ b/testing/web-platform/tests/html/semantics/text-level-semantics/the-bdo-element/bdo-override.html @@ -0,0 +1,18 @@ + + + + + HTML Test: bdo - override the Unicode bidirectional algorithm + + + + + + +

Test passes if there is text 'WERBEH'.

+

+ ‮WERBEH‬ +

+ + diff --git a/testing/web-platform/tests/html/semantics/text-level-semantics/the-bdo-element/bidi-001-ref.html b/testing/web-platform/tests/html/semantics/text-level-semantics/the-bdo-element/bidi-001-ref.html new file mode 100644 index 0000000000..83d2dc4a16 --- /dev/null +++ b/testing/web-platform/tests/html/semantics/text-level-semantics/the-bdo-element/bidi-001-ref.html @@ -0,0 +1,11 @@ + + + + +directional type reference + + +

Test passes if there is text 'WERBEH'.

+
WERBEH
+ + diff --git a/testing/web-platform/tests/html/semantics/text-level-semantics/the-bdo-element/bidi-001.html b/testing/web-platform/tests/html/semantics/text-level-semantics/the-bdo-element/bidi-001.html new file mode 100644 index 0000000000..772dcf43b3 --- /dev/null +++ b/testing/web-platform/tests/html/semantics/text-level-semantics/the-bdo-element/bidi-001.html @@ -0,0 +1,14 @@ + + + + +directional type + + + + + +

Test passes if there is text 'WERBEH'.

+HEBREW + + diff --git a/testing/web-platform/tests/html/semantics/text-level-semantics/the-br-element/br-bidi-in-inline-ancestors-ref.html b/testing/web-platform/tests/html/semantics/text-level-semantics/the-br-element/br-bidi-in-inline-ancestors-ref.html new file mode 100644 index 0000000000..c2dd4daa7a --- /dev/null +++ b/testing/web-platform/tests/html/semantics/text-level-semantics/the-br-element/br-bidi-in-inline-ancestors-ref.html @@ -0,0 +1,38 @@ + + + + + + + + + +

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

+
+ Key to entities used below: + א ... ט - The first nine Hebrew letters (strongly RTL). + ‭ - The LRO (left-to-right override) formatting character. + ‬ - The PDF (pop directional formatting) formatting character; closes LRO. +
+
+ ‭אב גד 1. I like ה. fg hi‬ +
+ ‭ab cd 2. ה is great! וז חט‬ +
+
+ ‭אב גד 1. I like ה. fg hi‬ +
+ ‭ab cd 2. ה is great! וז חט‬ +
+ + diff --git a/testing/web-platform/tests/html/semantics/text-level-semantics/the-br-element/br-bidi-in-inline-ancestors.html b/testing/web-platform/tests/html/semantics/text-level-semantics/the-br-element/br-bidi-in-inline-ancestors.html new file mode 100644 index 0000000000..89e7f2f1aa --- /dev/null +++ b/testing/web-platform/tests/html/semantics/text-level-semantics/the-br-element/br-bidi-in-inline-ancestors.html @@ -0,0 +1,59 @@ + + + + + HTML Test: BR in inline ancestors + + + + + + + + + +

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

+
+ Key to entities used below: + א ... ט - The first nine Hebrew letters (strongly RTL). + ‎ - The LRM (left-to-right mark) formatting character (invisible, stronly LTR). + ‏ - The RLM (right-to-left mark) formatting character (invisible, stronly RTL). + ‭ - The LRO (left-to-right override) formatting character. + ‬ - The PDF (pop directional formatting) formatting character; closes LRO. +
+
+ בא‎ + ih + גד + fg‏ + 1. I like ה.
+ 2. ה is great!
+ ‏cd
+ וז
+ ba
+ ‎טח +
+
+ ‭אב גד 1. I like ה. fg hi‬ +
+ ‭ab cd 2. ה is great! וז חט‬ +
+ + diff --git a/testing/web-platform/tests/html/semantics/text-level-semantics/the-br-element/br-bidi-ref.html b/testing/web-platform/tests/html/semantics/text-level-semantics/the-br-element/br-bidi-ref.html new file mode 100644 index 0000000000..f07c077917 --- /dev/null +++ b/testing/web-platform/tests/html/semantics/text-level-semantics/the-br-element/br-bidi-ref.html @@ -0,0 +1,19 @@ + + + + HTML Test reference: BR separates bidi paragraph + + + + + + +

Test passes if the rightmost character in the first line below is a full stop and to the left of it is a Hebrew letter.

+
+ A Hebrew letter and a full stop: א.‎ +
+ א this line begins with a Hebrew letter. +
+

+ + diff --git a/testing/web-platform/tests/html/semantics/text-level-semantics/the-br-element/br-bidi.html b/testing/web-platform/tests/html/semantics/text-level-semantics/the-br-element/br-bidi.html new file mode 100644 index 0000000000..1dfa6836f3 --- /dev/null +++ b/testing/web-platform/tests/html/semantics/text-level-semantics/the-br-element/br-bidi.html @@ -0,0 +1,22 @@ + + + + + HTML Test: BR separates bidi paragraph + + + + + + + + +

Test passes if the rightmost character in the first line below is a full stop and to the left of it is a Hebrew letter.

+
+ A Hebrew letter and a full stop: א. +
+ א this line begins with a Hebrew letter. +
+ + diff --git a/testing/web-platform/tests/html/semantics/text-level-semantics/the-ruby-element/rt-without-ruby-crash.html b/testing/web-platform/tests/html/semantics/text-level-semantics/the-ruby-element/rt-without-ruby-crash.html new file mode 100644 index 0000000000..3caed3a02e --- /dev/null +++ b/testing/web-platform/tests/html/semantics/text-level-semantics/the-ruby-element/rt-without-ruby-crash.html @@ -0,0 +1,11 @@ + + + + +
+
+ + + diff --git a/testing/web-platform/tests/html/semantics/text-level-semantics/the-ruby-element/ruby-usage-notref.html b/testing/web-platform/tests/html/semantics/text-level-semantics/the-ruby-element/ruby-usage-notref.html new file mode 100644 index 0000000000..f5747811ae --- /dev/null +++ b/testing/web-platform/tests/html/semantics/text-level-semantics/the-ruby-element/ruby-usage-notref.html @@ -0,0 +1,6 @@ + + +HTML Reference File + + +

君くん子しは和わして同どうぜず

diff --git a/testing/web-platform/tests/html/semantics/text-level-semantics/the-ruby-element/ruby-usage.html b/testing/web-platform/tests/html/semantics/text-level-semantics/the-ruby-element/ruby-usage.html new file mode 100644 index 0000000000..59c076cd09 --- /dev/null +++ b/testing/web-platform/tests/html/semantics/text-level-semantics/the-ruby-element/ruby-usage.html @@ -0,0 +1,8 @@ + + +HTML test: ruby - mark phrasing content + + + + +

くんしてどうぜず

diff --git a/testing/web-platform/tests/html/semantics/text-level-semantics/the-time-element/001.html b/testing/web-platform/tests/html/semantics/text-level-semantics/the-time-element/001.html new file mode 100644 index 0000000000..e1cd0480ac --- /dev/null +++ b/testing/web-platform/tests/html/semantics/text-level-semantics/the-time-element/001.html @@ -0,0 +1,68 @@ + + + + + HTML time element API + + + + + + +
+ +

+ + + + diff --git a/testing/web-platform/tests/html/semantics/text-level-semantics/the-wbr-element/wbr-element-ref.html b/testing/web-platform/tests/html/semantics/text-level-semantics/the-wbr-element/wbr-element-ref.html new file mode 100644 index 0000000000..bedb6d62e8 --- /dev/null +++ b/testing/web-platform/tests/html/semantics/text-level-semantics/the-wbr-element/wbr-element-ref.html @@ -0,0 +1,10 @@ + + +The wbr element + + + + +

Loremipsumdolorsit
amet,consectetur
adipisicingelit,sed
doeiusmodtempor
incididuntutlaboreet
doloremagnaaliqua.Ut
enimadminimveniam,
quisnostrud
exercitationullamco
laborisnisiutaliquip
exeacommodo
consequat.Duisaute
iruredolorin
reprehenderitin
voluptatevelitesse
cillumdoloreeufugiat
nullapariatur.
Excepteursint
occaecatcupidatatnon
proident,suntinculpa
quiofficiadeserunt
mollitanimidest
laborum.

diff --git a/testing/web-platform/tests/html/semantics/text-level-semantics/the-wbr-element/wbr-element.html b/testing/web-platform/tests/html/semantics/text-level-semantics/the-wbr-element/wbr-element.html new file mode 100644 index 0000000000..aa3912028e --- /dev/null +++ b/testing/web-platform/tests/html/semantics/text-level-semantics/the-wbr-element/wbr-element.html @@ -0,0 +1,12 @@ + + +The wbr element + + + + + + +

AHEM_ipsumdolorsitamet,consecteturadipisicingelit,seddoeiusmodtemporincididuntutlaboreetdoloremagnaaliqua.Utenimadminimveniam,quisnostrudexercitationullamcolaborisnisiutaliquipexeacommodoconsequat.Duisauteiruredolorinreprehenderitinvoluptatevelitessecillumdoloreeufugiatnullapariatur.Excepteursintoccaecatcupidatatnonproident,suntinculpaquiofficiadeseruntmollitanimidestlaborum.

-- cgit v1.2.3