From 36d22d82aa202bb199967e9512281e9a53db42c9 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 21:33:14 +0200 Subject: Adding upstream version 115.7.0esr. Signed-off-by: Daniel Baumann --- .../grouping-pre-reftest-001-ref.html | 22 +++++++++++++++++ .../the-pre-element/grouping-pre-reftest-001.html | 23 ++++++++++++++++++ .../the-pre-element/grouping-pre.html | 28 ++++++++++++++++++++++ .../the-pre-element/pre-newline-bidi-ref.html | 19 +++++++++++++++ .../the-pre-element/pre-newline-bidi.html | 23 ++++++++++++++++++ 5 files changed, 115 insertions(+) create mode 100644 testing/web-platform/tests/html/semantics/grouping-content/the-pre-element/grouping-pre-reftest-001-ref.html create mode 100644 testing/web-platform/tests/html/semantics/grouping-content/the-pre-element/grouping-pre-reftest-001.html create mode 100644 testing/web-platform/tests/html/semantics/grouping-content/the-pre-element/grouping-pre.html create mode 100644 testing/web-platform/tests/html/semantics/grouping-content/the-pre-element/pre-newline-bidi-ref.html create mode 100644 testing/web-platform/tests/html/semantics/grouping-content/the-pre-element/pre-newline-bidi.html (limited to 'testing/web-platform/tests/html/semantics/grouping-content/the-pre-element') diff --git a/testing/web-platform/tests/html/semantics/grouping-content/the-pre-element/grouping-pre-reftest-001-ref.html b/testing/web-platform/tests/html/semantics/grouping-content/the-pre-element/grouping-pre-reftest-001-ref.html new file mode 100644 index 0000000000..75aa91b302 --- /dev/null +++ b/testing/web-platform/tests/html/semantics/grouping-content/the-pre-element/grouping-pre-reftest-001-ref.html @@ -0,0 +1,22 @@ + + + + + pre element + + + + + +

Description

+

This test continues to validate the pre element.

+ +

The spec states:

+
"A newline in a pre element should separate paragraphs for the purposes of the Unicode bidirectional algorithm. This requirement may be implemented indirectly through the style layer. For example, an HTML+CSS user agent could implement these requirements by implementing the CSS 'unicode-bidi' property."
+ +

This reftest passes if below you see "ABC ABC" repeated on two separate lines below (4 ABCs total):

+ +
ABC ABC
+ABC ABC
+ + diff --git a/testing/web-platform/tests/html/semantics/grouping-content/the-pre-element/grouping-pre-reftest-001.html b/testing/web-platform/tests/html/semantics/grouping-content/the-pre-element/grouping-pre-reftest-001.html new file mode 100644 index 0000000000..29e582edd5 --- /dev/null +++ b/testing/web-platform/tests/html/semantics/grouping-content/the-pre-element/grouping-pre-reftest-001.html @@ -0,0 +1,23 @@ + + + + + pre element + + + + + + +

Description

+

This test continues to validate the pre element.

+ +

The spec states:

+
"A newline in a pre element should separate paragraphs for the purposes of the Unicode bidirectional algorithm. This requirement may be implemented indirectly through the style layer. For example, an HTML+CSS user agent could implement these requirements by implementing the CSS 'unicode-bidi' property."
+ +

This reftest passes if below you see "ABC ABC" repeated on two separate lines below (4 ABCs total):

+ +
‮ CBA CBA
+ABC ABC
+ + diff --git a/testing/web-platform/tests/html/semantics/grouping-content/the-pre-element/grouping-pre.html b/testing/web-platform/tests/html/semantics/grouping-content/the-pre-element/grouping-pre.html new file mode 100644 index 0000000000..07fc631b91 --- /dev/null +++ b/testing/web-platform/tests/html/semantics/grouping-content/the-pre-element/grouping-pre.html @@ -0,0 +1,28 @@ + + + + + the pre element + + + + + + +

Description

+

This test validates the pre element.

+ +
+ + + + diff --git a/testing/web-platform/tests/html/semantics/grouping-content/the-pre-element/pre-newline-bidi-ref.html b/testing/web-platform/tests/html/semantics/grouping-content/the-pre-element/pre-newline-bidi-ref.html new file mode 100644 index 0000000000..0f302b5d4b --- /dev/null +++ b/testing/web-platform/tests/html/semantics/grouping-content/the-pre-element/pre-newline-bidi-ref.html @@ -0,0 +1,19 @@ + + + + HTML Test reference: newline in <pre> separates bidi paragraphs + + + + + + +

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/grouping-content/the-pre-element/pre-newline-bidi.html b/testing/web-platform/tests/html/semantics/grouping-content/the-pre-element/pre-newline-bidi.html new file mode 100644 index 0000000000..23d442f52c --- /dev/null +++ b/testing/web-platform/tests/html/semantics/grouping-content/the-pre-element/pre-newline-bidi.html @@ -0,0 +1,23 @@ + + + + + HTML Test: newline in pre separates bidi paragraphs + + + + + + + + +

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.
+      
+
+ + -- cgit v1.2.3