From def92d1b8e9d373e2f6f27c366d578d97d8960c6 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 15 May 2024 05:34:50 +0200 Subject: Merging upstream version 126.0. Signed-off-by: Daniel Baumann --- .../css-text/line-breaking/line-breaking-029.html | 46 ++++++++++++++ .../tests/css/css-text/parsing/WEB_FEATURES.yml | 4 ++ .../text-align-justify-bidi-control-ref.html | 13 ++++ .../text-align-justify-bidi-control.html | 16 +++++ .../text-align/text-align-last-justify-br-ref.html | 14 +++++ .../text-align/text-align-last-justify-br.html | 18 ++++++ .../css-text/text-spacing-trim/WEB_FEATURES.yml | 3 + .../hanging-whitespace-001.tentative.html | 42 +++++++++++++ .../hanging-whitespace-002.tentative.html | 40 +++++++++++++ .../hanging-whitespace-003.tentative.html | 50 ++++++++++++++++ .../reference/text-wrap-balance-004-misref.html | 63 +++++++++++++++++++ .../reference/text-wrap-balance-004-ref.html | 69 +++++++++++++++++++++ .../reference/text-wrap-balance-float-006-ref.html | 38 ++++++++++++ .../white-space/text-wrap-balance-004.html | 70 ++++++++++++++++++++++ .../white-space/text-wrap-balance-float-006.html | 42 +++++++++++++ .../text-wrap-balance-right-to-left.html | 34 +++++++++++ .../text-wrap-balance-top-to-bottom.html | 35 +++++++++++ 17 files changed, 597 insertions(+) create mode 100644 testing/web-platform/tests/css/css-text/line-breaking/line-breaking-029.html create mode 100644 testing/web-platform/tests/css/css-text/parsing/WEB_FEATURES.yml create mode 100644 testing/web-platform/tests/css/css-text/text-align/text-align-justify-bidi-control-ref.html create mode 100644 testing/web-platform/tests/css/css-text/text-align/text-align-justify-bidi-control.html create mode 100644 testing/web-platform/tests/css/css-text/text-align/text-align-last-justify-br-ref.html create mode 100644 testing/web-platform/tests/css/css-text/text-align/text-align-last-justify-br.html create mode 100644 testing/web-platform/tests/css/css-text/text-spacing-trim/WEB_FEATURES.yml create mode 100644 testing/web-platform/tests/css/css-text/white-space/hanging-whitespace-001.tentative.html create mode 100644 testing/web-platform/tests/css/css-text/white-space/hanging-whitespace-002.tentative.html create mode 100644 testing/web-platform/tests/css/css-text/white-space/hanging-whitespace-003.tentative.html create mode 100644 testing/web-platform/tests/css/css-text/white-space/reference/text-wrap-balance-004-misref.html create mode 100644 testing/web-platform/tests/css/css-text/white-space/reference/text-wrap-balance-004-ref.html create mode 100644 testing/web-platform/tests/css/css-text/white-space/reference/text-wrap-balance-float-006-ref.html create mode 100644 testing/web-platform/tests/css/css-text/white-space/text-wrap-balance-004.html create mode 100644 testing/web-platform/tests/css/css-text/white-space/text-wrap-balance-float-006.html create mode 100644 testing/web-platform/tests/css/css-text/white-space/text-wrap-balance-right-to-left.html create mode 100644 testing/web-platform/tests/css/css-text/white-space/text-wrap-balance-top-to-bottom.html (limited to 'testing/web-platform/tests/css/css-text') diff --git a/testing/web-platform/tests/css/css-text/line-breaking/line-breaking-029.html b/testing/web-platform/tests/css/css-text/line-breaking/line-breaking-029.html new file mode 100644 index 0000000000..c390d2272d --- /dev/null +++ b/testing/web-platform/tests/css/css-text/line-breaking/line-breaking-029.html @@ -0,0 +1,46 @@ + + + +CSS Text — line breaking around Break After and Exclamation + + + + + + + + + +
+
1.”
+
a.”
+
1."
+
a."
+
+ + + +
+ + + diff --git a/testing/web-platform/tests/css/css-text/parsing/WEB_FEATURES.yml b/testing/web-platform/tests/css/css-text/parsing/WEB_FEATURES.yml new file mode 100644 index 0000000000..e06782e8f5 --- /dev/null +++ b/testing/web-platform/tests/css/css-text/parsing/WEB_FEATURES.yml @@ -0,0 +1,4 @@ +features: +- name: text-spacing-trim + files: + - text-spacing-trim-* diff --git a/testing/web-platform/tests/css/css-text/text-align/text-align-justify-bidi-control-ref.html b/testing/web-platform/tests/css/css-text/text-align/text-align-justify-bidi-control-ref.html new file mode 100644 index 0000000000..c30c5a0178 --- /dev/null +++ b/testing/web-platform/tests/css/css-text/text-align/text-align-justify-bidi-control-ref.html @@ -0,0 +1,13 @@ + + + + + text-align: justify for a bidi control + a CJK ideograph + + + +

東京都東京都東京都

+ + diff --git a/testing/web-platform/tests/css/css-text/text-align/text-align-justify-bidi-control.html b/testing/web-platform/tests/css/css-text/text-align/text-align-justify-bidi-control.html new file mode 100644 index 0000000000..934e947b75 --- /dev/null +++ b/testing/web-platform/tests/css/css-text/text-align/text-align-justify-bidi-control.html @@ -0,0 +1,16 @@ + + + + + text-align: justify for a bidi control + a CJK ideograph + + + + + + +

東⁦京都東京⁩都東京都

+ + diff --git a/testing/web-platform/tests/css/css-text/text-align/text-align-last-justify-br-ref.html b/testing/web-platform/tests/css/css-text/text-align/text-align-last-justify-br-ref.html new file mode 100644 index 0000000000..efe5481e82 --- /dev/null +++ b/testing/web-platform/tests/css/css-text/text-align/text-align-last-justify-br-ref.html @@ -0,0 +1,14 @@ + + + + text-align-last: justify for <br> + + + + +



+ + diff --git a/testing/web-platform/tests/css/css-text/text-align/text-align-last-justify-br.html b/testing/web-platform/tests/css/css-text/text-align/text-align-last-justify-br.html new file mode 100644 index 0000000000..5685da088b --- /dev/null +++ b/testing/web-platform/tests/css/css-text/text-align/text-align-last-justify-br.html @@ -0,0 +1,18 @@ + + + + + text-align-last: justify for <br> + + + + + + +

東京
京城

+ + diff --git a/testing/web-platform/tests/css/css-text/text-spacing-trim/WEB_FEATURES.yml b/testing/web-platform/tests/css/css-text/text-spacing-trim/WEB_FEATURES.yml new file mode 100644 index 0000000000..329fa18e2a --- /dev/null +++ b/testing/web-platform/tests/css/css-text/text-spacing-trim/WEB_FEATURES.yml @@ -0,0 +1,3 @@ +features: +- name: text-spacing-trim + files: "**" diff --git a/testing/web-platform/tests/css/css-text/white-space/hanging-whitespace-001.tentative.html b/testing/web-platform/tests/css/css-text/white-space/hanging-whitespace-001.tentative.html new file mode 100644 index 0000000000..17e778165d --- /dev/null +++ b/testing/web-platform/tests/css/css-text/white-space/hanging-whitespace-001.tentative.html @@ -0,0 +1,42 @@ + + +CSS Text Level 3: glyphs can only hang at the edge of a line + + + + + + + + + +

Test passes if there is a filled green square and no red.

+ +
X  
+ + diff --git a/testing/web-platform/tests/css/css-text/white-space/hanging-whitespace-002.tentative.html b/testing/web-platform/tests/css/css-text/white-space/hanging-whitespace-002.tentative.html new file mode 100644 index 0000000000..6c486ac69c --- /dev/null +++ b/testing/web-platform/tests/css/css-text/white-space/hanging-whitespace-002.tentative.html @@ -0,0 +1,40 @@ + + +CSS Text Level 3: pre-wrap conditionality when not at line end + + + + + + + + + +

Test passes if there is a filled green square and no red.

+ +
X  
X
X
X
+ + diff --git a/testing/web-platform/tests/css/css-text/white-space/hanging-whitespace-003.tentative.html b/testing/web-platform/tests/css/css-text/white-space/hanging-whitespace-003.tentative.html new file mode 100644 index 0000000000..b8f4df5967 --- /dev/null +++ b/testing/web-platform/tests/css/css-text/white-space/hanging-whitespace-003.tentative.html @@ -0,0 +1,50 @@ + + +CSS Text Level 3: unconditional hanging spaces don't hang before non-overflowing conditionals + + + + + + + + + +

Test passes if there is a filled green square and no red.

+ +
XXXX  
+ XXX  
+ XX  
+ X  
+ + diff --git a/testing/web-platform/tests/css/css-text/white-space/reference/text-wrap-balance-004-misref.html b/testing/web-platform/tests/css/css-text/white-space/reference/text-wrap-balance-004-misref.html new file mode 100644 index 0000000000..d3574427b2 --- /dev/null +++ b/testing/web-platform/tests/css/css-text/white-space/reference/text-wrap-balance-004-misref.html @@ -0,0 +1,63 @@ + + + +CSS test reference + + + + +

This test passes if the line breaks in the blue text and the orange text occur at the same points, unless they are identical to the magenta text. + +

+Lorem ipsum dolor sit amet, +consectetur adipiscing elit, +sed do eiusmod tempor incididunt +ut labore et dolore magna aliqua. +Ut enim ad minim veniam, +quis nostrud exercitation ullamco laboris nisi +ut aliquip ex ea commodo consequat. +
+Duis aute irure dolor in reprehenderit +in voluptate velit +esse cillum dolore eu fugiat nulla pariatur. +
+ +
+
+Lorem ipsum dolor sit amet, +consectetur adipiscing elit, +sed do eiusmod tempor incididunt +ut labore et dolore magna aliqua. +Ut enim ad minim veniam, +quis nostrud exercitation ullamco laboris nisi +ut aliquip ex ea commodo consequat. +
+
+Duis aute irure dolor in reprehenderit +in voluptate velit +esse cillum dolore eu fugiat nulla pariatur. +
+
+ +
+Lorem ipsum dolor sit amet, +consectetur adipiscing elit, +sed do eiusmod tempor incididunt +ut labore et dolore magna aliqua. +Ut enim ad minim veniam, +quis nostrud exercitation ullamco laboris nisi +ut aliquip ex ea commodo consequat. +
+Duis aute irure dolor in reprehenderit +in voluptate velit +esse cillum dolore eu fugiat nulla pariatur. +
diff --git a/testing/web-platform/tests/css/css-text/white-space/reference/text-wrap-balance-004-ref.html b/testing/web-platform/tests/css/css-text/white-space/reference/text-wrap-balance-004-ref.html new file mode 100644 index 0000000000..74d6b392f9 --- /dev/null +++ b/testing/web-platform/tests/css/css-text/white-space/reference/text-wrap-balance-004-ref.html @@ -0,0 +1,69 @@ + + + +CSS test reference + + + + +

This test passes if the line breaks in the blue text and the orange text occur at the same points, unless they are identical to the magenta text. + +

+
+Lorem ipsum dolor sit amet, +consectetur adipiscing elit, +sed do eiusmod tempor incididunt +ut labore et dolore magna aliqua. +Ut enim ad minim veniam, +quis nostrud exercitation ullamco laboris nisi +ut aliquip ex ea commodo consequat. +
+
+Duis aute irure dolor in reprehenderit +in voluptate velit +esse cillum dolore eu fugiat nulla pariatur. +
+
+ +
+
+Lorem ipsum dolor sit amet, +consectetur adipiscing elit, +sed do eiusmod tempor incididunt +ut labore et dolore magna aliqua. +Ut enim ad minim veniam, +quis nostrud exercitation ullamco laboris nisi +ut aliquip ex ea commodo consequat. +
+
+Duis aute irure dolor in reprehenderit +in voluptate velit +esse cillum dolore eu fugiat nulla pariatur. +
+
+ +
+Lorem ipsum dolor sit amet, +consectetur adipiscing elit, +sed do eiusmod tempor incididunt +ut labore et dolore magna aliqua. +Ut enim ad minim veniam, +quis nostrud exercitation ullamco laboris nisi +ut aliquip ex ea commodo consequat. +
+Duis aute irure dolor in reprehenderit +in voluptate velit +esse cillum dolore eu fugiat nulla pariatur. +
diff --git a/testing/web-platform/tests/css/css-text/white-space/reference/text-wrap-balance-float-006-ref.html b/testing/web-platform/tests/css/css-text/white-space/reference/text-wrap-balance-float-006-ref.html new file mode 100644 index 0000000000..6e01737173 --- /dev/null +++ b/testing/web-platform/tests/css/css-text/white-space/reference/text-wrap-balance-float-006-ref.html @@ -0,0 +1,38 @@ + + + + + + + + +

There should be no red:

+
+
+
+

+Lorem ipsum dolor sit amet consectetur adipisicing elit. +

+ + diff --git a/testing/web-platform/tests/css/css-text/white-space/text-wrap-balance-004.html b/testing/web-platform/tests/css/css-text/white-space/text-wrap-balance-004.html new file mode 100644 index 0000000000..f5494708ea --- /dev/null +++ b/testing/web-platform/tests/css/css-text/white-space/text-wrap-balance-004.html @@ -0,0 +1,70 @@ + + + +CSS test: balancing and forced breaks + + + + + + + + +

This test passes if the line breaks in the blue text and the orange text occur at the same points, unless they are identical to the magenta text. + +

+Lorem ipsum dolor sit amet, +consectetur adipiscing elit, +sed do eiusmod tempor incididunt +ut labore et dolore magna aliqua. +Ut enim ad minim veniam, +quis nostrud exercitation ullamco laboris nisi +ut aliquip ex ea commodo consequat. +
+Duis aute irure dolor in reprehenderit +in voluptate velit +esse cillum dolore eu fugiat nulla pariatur. +
+ +
+
+Lorem ipsum dolor sit amet, +consectetur adipiscing elit, +sed do eiusmod tempor incididunt +ut labore et dolore magna aliqua. +Ut enim ad minim veniam, +quis nostrud exercitation ullamco laboris nisi +ut aliquip ex ea commodo consequat. +
+
+Duis aute irure dolor in reprehenderit +in voluptate velit +esse cillum dolore eu fugiat nulla pariatur. +
+
+ +
+Lorem ipsum dolor sit amet, +consectetur adipiscing elit, +sed do eiusmod tempor incididunt +ut labore et dolore magna aliqua. +Ut enim ad minim veniam, +quis nostrud exercitation ullamco laboris nisi +ut aliquip ex ea commodo consequat. +
+Duis aute irure dolor in reprehenderit +in voluptate velit +esse cillum dolore eu fugiat nulla pariatur. +
diff --git a/testing/web-platform/tests/css/css-text/white-space/text-wrap-balance-float-006.html b/testing/web-platform/tests/css/css-text/white-space/text-wrap-balance-float-006.html new file mode 100644 index 0000000000..5343e84598 --- /dev/null +++ b/testing/web-platform/tests/css/css-text/white-space/text-wrap-balance-float-006.html @@ -0,0 +1,42 @@ + + + + + + + + + + + +

There should be no red:

+
+
+
+

+Lorem ipsum dolor sit amet consectetur adipisicing elit. +

+ + diff --git a/testing/web-platform/tests/css/css-text/white-space/text-wrap-balance-right-to-left.html b/testing/web-platform/tests/css/css-text/white-space/text-wrap-balance-right-to-left.html new file mode 100644 index 0000000000..b9d50684d1 --- /dev/null +++ b/testing/web-platform/tests/css/css-text/white-space/text-wrap-balance-right-to-left.html @@ -0,0 +1,34 @@ + + + + + + + +
+ diff --git a/testing/web-platform/tests/css/css-text/white-space/text-wrap-balance-top-to-bottom.html b/testing/web-platform/tests/css/css-text/white-space/text-wrap-balance-top-to-bottom.html new file mode 100644 index 0000000000..0c0f6b55ca --- /dev/null +++ b/testing/web-platform/tests/css/css-text/white-space/text-wrap-balance-top-to-bottom.html @@ -0,0 +1,35 @@ + + + + + + + +
+ -- cgit v1.2.3