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 --- layout/reftests/printing/print.css | 7 ++++++ layout/reftests/printing/reftest.list | 21 ++++++++++++++++++ layout/reftests/printing/test-async-print.html | 16 ++++++++++++++ layout/reftests/printing/test-color-text-01.html | 9 ++++++++ .../reftests/printing/test-missing-text-noref.html | 13 +++++++++++ layout/reftests/printing/test-missing-text.html | 12 +++++++++++ .../printing/test-number-of-pages-noref.html | 13 +++++++++++ layout/reftests/printing/test-number-of-pages.html | 12 +++++++++++ .../printing/test-print-range-complex-ref.html | 12 +++++++++++ .../printing/test-print-range-complex.html | 15 +++++++++++++ layout/reftests/printing/test-print-range-ref.html | 11 ++++++++++ layout/reftests/printing/test-print-range.html | 13 +++++++++++ .../printing/test-print-selection-iframe.html | 20 +++++++++++++++++ .../printing/test-print-selection-shadow-dom.html | 25 ++++++++++++++++++++++ layout/reftests/printing/test-print-selection.html | 20 +++++++++++++++++ .../printing/test-print-single-page-noref.html | 11 ++++++++++ .../reftests/printing/test-print-single-page.html | 13 +++++++++++ layout/reftests/printing/test-text-noref.html | 10 +++++++++ layout/reftests/printing/test-text-ref.html | 10 +++++++++ layout/reftests/printing/test-text.html | 10 +++++++++ .../printing/test-unexpected-text-noref.html | 12 +++++++++++ layout/reftests/printing/test-unexpected-text.html | 13 +++++++++++ layout/reftests/printing/testcase-1696844.html | 20 +++++++++++++++++ 23 files changed, 318 insertions(+) create mode 100644 layout/reftests/printing/print.css create mode 100644 layout/reftests/printing/reftest.list create mode 100644 layout/reftests/printing/test-async-print.html create mode 100644 layout/reftests/printing/test-color-text-01.html create mode 100644 layout/reftests/printing/test-missing-text-noref.html create mode 100644 layout/reftests/printing/test-missing-text.html create mode 100644 layout/reftests/printing/test-number-of-pages-noref.html create mode 100644 layout/reftests/printing/test-number-of-pages.html create mode 100644 layout/reftests/printing/test-print-range-complex-ref.html create mode 100644 layout/reftests/printing/test-print-range-complex.html create mode 100644 layout/reftests/printing/test-print-range-ref.html create mode 100644 layout/reftests/printing/test-print-range.html create mode 100644 layout/reftests/printing/test-print-selection-iframe.html create mode 100644 layout/reftests/printing/test-print-selection-shadow-dom.html create mode 100644 layout/reftests/printing/test-print-selection.html create mode 100644 layout/reftests/printing/test-print-single-page-noref.html create mode 100644 layout/reftests/printing/test-print-single-page.html create mode 100644 layout/reftests/printing/test-text-noref.html create mode 100644 layout/reftests/printing/test-text-ref.html create mode 100644 layout/reftests/printing/test-text.html create mode 100644 layout/reftests/printing/test-unexpected-text-noref.html create mode 100644 layout/reftests/printing/test-unexpected-text.html create mode 100644 layout/reftests/printing/testcase-1696844.html (limited to 'layout/reftests/printing') diff --git a/layout/reftests/printing/print.css b/layout/reftests/printing/print.css new file mode 100644 index 0000000000..62f475ea2b --- /dev/null +++ b/layout/reftests/printing/print.css @@ -0,0 +1,7 @@ +@page { + margin: 0; +} + +p { + page-break-after: always; +} diff --git a/layout/reftests/printing/reftest.list b/layout/reftests/printing/reftest.list new file mode 100644 index 0000000000..eb571f067a --- /dev/null +++ b/layout/reftests/printing/reftest.list @@ -0,0 +1,21 @@ +# Note: The 'print' tests below that are annotated as 'fails' are really just +# testing the integrity of the reftest harness. Their testcases & reference +# case are known to differ, and we're testing that the harness correctly +# detects them as differing & correctly handles the 'fails' annotation. +# Some of these tests are used as their own reference to confirm basic +# text and page number matching works as expected. +print test-text.html test-text.html +fails print test-text.html test-text-noref.html +print test-number-of-pages.html test-number-of-pages.html +fails print test-number-of-pages.html test-number-of-pages-noref.html +print test-print-selection.html test-text-ref.html +print test-print-selection-shadow-dom.html test-text-ref.html +print test-print-selection-iframe.html test-text-ref.html +print test-print-range.html test-print-range-ref.html +print test-print-range-complex.html test-print-range-complex-ref.html +fails print test-print-single-page.html test-print-single-page-noref.html +print test-async-print.html test-text-ref.html +fails print test-unexpected-text.html test-unexpected-text-noref.html +fails print test-missing-text.html test-missing-text-noref.html +test-pref(print.print_in_color,false) fails print test-color-text-01.html test-color-text-01.html +print testcase-1696844.html testcase-1696844.html diff --git a/layout/reftests/printing/test-async-print.html b/layout/reftests/printing/test-async-print.html new file mode 100644 index 0000000000..b2ddec6449 --- /dev/null +++ b/layout/reftests/printing/test-async-print.html @@ -0,0 +1,16 @@ + + + + + + + + +

+ + diff --git a/layout/reftests/printing/test-color-text-01.html b/layout/reftests/printing/test-color-text-01.html new file mode 100644 index 0000000000..bb51f10fab --- /dev/null +++ b/layout/reftests/printing/test-color-text-01.html @@ -0,0 +1,9 @@ + + +

+ Red +

diff --git a/layout/reftests/printing/test-missing-text-noref.html b/layout/reftests/printing/test-missing-text-noref.html new file mode 100644 index 0000000000..364ac7fabe --- /dev/null +++ b/layout/reftests/printing/test-missing-text-noref.html @@ -0,0 +1,13 @@ + + + + + + + +

+ This text appears in both the testcase and non-reference case. + But this text ONLY appears in the non-reference. +

+ + diff --git a/layout/reftests/printing/test-missing-text.html b/layout/reftests/printing/test-missing-text.html new file mode 100644 index 0000000000..ba2ecf9c55 --- /dev/null +++ b/layout/reftests/printing/test-missing-text.html @@ -0,0 +1,12 @@ + + + + + + + +

+ This text appears in both the testcase and non-reference case. +

+ + diff --git a/layout/reftests/printing/test-number-of-pages-noref.html b/layout/reftests/printing/test-number-of-pages-noref.html new file mode 100644 index 0000000000..b6aee19ccc --- /dev/null +++ b/layout/reftests/printing/test-number-of-pages-noref.html @@ -0,0 +1,13 @@ + + + + + + + +

This text should appear on page 1

+

This text should appear on page 2

+

This text should appear on page 3

+

There shouldn't be another page

+ + diff --git a/layout/reftests/printing/test-number-of-pages.html b/layout/reftests/printing/test-number-of-pages.html new file mode 100644 index 0000000000..27daa5988e --- /dev/null +++ b/layout/reftests/printing/test-number-of-pages.html @@ -0,0 +1,12 @@ + + + + + + + +

This text should appear on page 1

+

This text should appear on page 2

+

This text should appear on page 3

+ + diff --git a/layout/reftests/printing/test-print-range-complex-ref.html b/layout/reftests/printing/test-print-range-complex-ref.html new file mode 100644 index 0000000000..27daa5988e --- /dev/null +++ b/layout/reftests/printing/test-print-range-complex-ref.html @@ -0,0 +1,12 @@ + + + + + + + +

This text should appear on page 1

+

This text should appear on page 2

+

This text should appear on page 3

+ + diff --git a/layout/reftests/printing/test-print-range-complex.html b/layout/reftests/printing/test-print-range-complex.html new file mode 100644 index 0000000000..6d829e6670 --- /dev/null +++ b/layout/reftests/printing/test-print-range-complex.html @@ -0,0 +1,15 @@ + + + + + + + +

This text should not be here

+

This text should appear on page 1

+

This text should not be here

+

This text should appear on page 2

+

This text should appear on page 3

+

This text should not be here

+ + diff --git a/layout/reftests/printing/test-print-range-ref.html b/layout/reftests/printing/test-print-range-ref.html new file mode 100644 index 0000000000..fb0df54721 --- /dev/null +++ b/layout/reftests/printing/test-print-range-ref.html @@ -0,0 +1,11 @@ + + + + + + + +

This text should appear on page 1

+

This text should appear on page 2

+ + diff --git a/layout/reftests/printing/test-print-range.html b/layout/reftests/printing/test-print-range.html new file mode 100644 index 0000000000..7736db6da4 --- /dev/null +++ b/layout/reftests/printing/test-print-range.html @@ -0,0 +1,13 @@ + + + + + + + +

This text should not be here

+

This text should appear on page 1

+

This text should appear on page 2

+

This text should not be here

+ + diff --git a/layout/reftests/printing/test-print-selection-iframe.html b/layout/reftests/printing/test-print-selection-iframe.html new file mode 100644 index 0000000000..b3d39c2c52 --- /dev/null +++ b/layout/reftests/printing/test-print-selection-iframe.html @@ -0,0 +1,20 @@ + + + + + + + + +

This text should not be there

+

This text should appear on page 1

+ + + diff --git a/layout/reftests/printing/test-print-selection-shadow-dom.html b/layout/reftests/printing/test-print-selection-shadow-dom.html new file mode 100644 index 0000000000..c268131994 --- /dev/null +++ b/layout/reftests/printing/test-print-selection-shadow-dom.html @@ -0,0 +1,25 @@ + + + + + + + + +

This text should not be there

+
Shouldn't show up (in the shadows)
+

This text should not be there

+ + diff --git a/layout/reftests/printing/test-print-selection.html b/layout/reftests/printing/test-print-selection.html new file mode 100644 index 0000000000..ee1b02d3e5 --- /dev/null +++ b/layout/reftests/printing/test-print-selection.html @@ -0,0 +1,20 @@ + + + + + + + + +

This text should not be there

+

This text should appear on page 1

+

This text should not be there

+ + diff --git a/layout/reftests/printing/test-print-single-page-noref.html b/layout/reftests/printing/test-print-single-page-noref.html new file mode 100644 index 0000000000..81edd9511c --- /dev/null +++ b/layout/reftests/printing/test-print-single-page-noref.html @@ -0,0 +1,11 @@ + + + + + + + +

This text should appear on page 1

+

There shouldn't be another page

+ + diff --git a/layout/reftests/printing/test-print-single-page.html b/layout/reftests/printing/test-print-single-page.html new file mode 100644 index 0000000000..1eff0fbc27 --- /dev/null +++ b/layout/reftests/printing/test-print-single-page.html @@ -0,0 +1,13 @@ + + + + + + + +

This text should not be here

+

This text should appear on page 1

+

This text should appear on page 2

+

This text should not be here

+ + diff --git a/layout/reftests/printing/test-text-noref.html b/layout/reftests/printing/test-text-noref.html new file mode 100644 index 0000000000..160310a5db --- /dev/null +++ b/layout/reftests/printing/test-text-noref.html @@ -0,0 +1,10 @@ + + + + + + + +

This is not the text you're looking for

+ + diff --git a/layout/reftests/printing/test-text-ref.html b/layout/reftests/printing/test-text-ref.html new file mode 100644 index 0000000000..bc93680640 --- /dev/null +++ b/layout/reftests/printing/test-text-ref.html @@ -0,0 +1,10 @@ + + + + + + + +

This text should appear on page 1

+ + diff --git a/layout/reftests/printing/test-text.html b/layout/reftests/printing/test-text.html new file mode 100644 index 0000000000..bc93680640 --- /dev/null +++ b/layout/reftests/printing/test-text.html @@ -0,0 +1,10 @@ + + + + + + + +

This text should appear on page 1

+ + diff --git a/layout/reftests/printing/test-unexpected-text-noref.html b/layout/reftests/printing/test-unexpected-text-noref.html new file mode 100644 index 0000000000..ba2ecf9c55 --- /dev/null +++ b/layout/reftests/printing/test-unexpected-text-noref.html @@ -0,0 +1,12 @@ + + + + + + + +

+ This text appears in both the testcase and non-reference case. +

+ + diff --git a/layout/reftests/printing/test-unexpected-text.html b/layout/reftests/printing/test-unexpected-text.html new file mode 100644 index 0000000000..8c705dd1bc --- /dev/null +++ b/layout/reftests/printing/test-unexpected-text.html @@ -0,0 +1,13 @@ + + + + + + + +

+ This text appears in both the testcase and non-reference case. + But this text ONLY appears in the testcase. +

+ + diff --git a/layout/reftests/printing/testcase-1696844.html b/layout/reftests/printing/testcase-1696844.html new file mode 100644 index 0000000000..fbeaad4204 --- /dev/null +++ b/layout/reftests/printing/testcase-1696844.html @@ -0,0 +1,20 @@ + + + + + + + Hold "enter" to prove you're not robot + +
+ + -- cgit v1.2.3