From 6bf0a5cb5034a7e684dcc3500e841785237ce2dd Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 19:32:43 +0200 Subject: Adding upstream version 1:115.7.0. Signed-off-by: Daniel Baumann --- testing/web-platform/tests/css/css-page/META.yml | 4 + .../tests/css/css-page/forced-page-breaks-002.xht | 20 ++++ .../tests/css/css-page/inheritance.html | 12 ++ .../tests/css/css-page/page-background-000.xht | 21 ++++ .../tests/css/css-page/page-borders-000.xht | 20 ++++ .../tests/css/css-page/page-counters-000.xht | 28 +++++ .../tests/css/css-page/page-margin-003.xht | 23 ++++ .../tests/css/css-page/page-name-000.xht | 18 +++ .../css/css-page/page-orientation.tentative.html | 81 ++++++++++++++ .../tests/css/css-page/page-properties-000.xht | 28 +++++ .../css/css-page/page-rule-declarations-000.html | 122 +++++++++++++++++++++ .../css/css-page/page-rule-declarations-001.html | 57 ++++++++++ .../css/css-page/page-rule-declarations-002.html | 34 ++++++ .../css/css-page/page-rule-declarations-003.html | 75 +++++++++++++ .../css/css-page/page-rule-declarations-004.html | 66 +++++++++++ .../tests/css/css-page/page-size-000.xht | 21 ++++ .../tests/css/css-page/page-size-001.xht | 21 ++++ .../tests/css/css-page/page-size-002.xht | 21 ++++ .../tests/css/css-page/page-size-003.xht | 21 ++++ .../tests/css/css-page/page-size-004.xht | 21 ++++ .../tests/css/css-page/page-size-005.xht | 22 ++++ .../tests/css/css-page/page-size-006.xht | 21 ++++ .../tests/css/css-page/page-size-007.xht | 21 ++++ .../tests/css/css-page/page-size-008.xht | 21 ++++ .../tests/css/css-page/page-size-009.xht | 21 ++++ .../tests/css/css-page/page-size-010.xht | 22 ++++ .../tests/css/css-page/page-size-011.xht | 20 ++++ .../tests/css/css-page/page-size-012.xht | 20 ++++ .../tests/css/css-page/parsing/page-computed.html | 15 +++ .../tests/css/css-page/parsing/page-invalid.html | 13 +++ .../page-orientation-computed.tentative.html | 12 ++ .../page-orientation-invalid.tentative.html | 15 +++ .../tests/css/css-page/parsing/page-valid.html | 11 ++ .../tests/css/css-page/parsing/size-001.html | 63 +++++++++++ .../tests/css/css-page/support/1x1-green.png | Bin 0 -> 135 bytes .../tests/css/css-page/support/1x1-lime.png | Bin 0 -> 135 bytes .../tests/css/css-page/support/1x1-maroon.png | Bin 0 -> 109 bytes .../tests/css/css-page/support/1x1-navy.png | Bin 0 -> 109 bytes .../tests/css/css-page/support/1x1-red.png | Bin 0 -> 135 bytes .../tests/css/css-page/support/1x1-white.png | Bin 0 -> 109 bytes .../tests/css/css-page/support/60x60-gg-rr.png | Bin 0 -> 224 bytes .../tests/css/css-page/support/60x60-green.png | Bin 0 -> 218 bytes .../tests/css/css-page/support/a-green.css | 1 + .../tests/css/css-page/support/b-green.css | 1 + .../tests/css/css-page/support/c-red.css | 1 + .../tests/css/css-page/support/cat.png | Bin 0 -> 1883 bytes .../tests/css/css-page/support/import-green.css | 1 + .../tests/css/css-page/support/import-red.css | 1 + .../tests/css/css-page/support/intrinsic-size.jpg | Bin 0 -> 3148 bytes .../tests/css/css-page/support/intrinsic-size.png | Bin 0 -> 672 bytes .../css/css-page/support/pattern-grg-rgr-grg.png | Bin 0 -> 222 bytes .../css/css-page/support/pattern-grg-rrg-rgg.png | Bin 0 -> 231 bytes .../css/css-page/support/pattern-rgr-grg-rgr.png | Bin 0 -> 222 bytes .../tests/css/css-page/support/pattern-tr.png | Bin 0 -> 137 bytes .../tests/css/css-page/support/square-purple.png | Bin 0 -> 92 bytes .../tests/css/css-page/support/square-teal.png | Bin 0 -> 92 bytes .../tests/css/css-page/support/square-white.png | Bin 0 -> 78 bytes .../tests/css/css-page/support/swatch-blue.png | Bin 0 -> 84 bytes .../tests/css/css-page/support/swatch-green.png | Bin 0 -> 84 bytes .../tests/css/css-page/support/swatch-lime.png | Bin 0 -> 84 bytes .../tests/css/css-page/support/swatch-orange.png | Bin 0 -> 84 bytes .../tests/css/css-page/support/swatch-red.png | Bin 0 -> 84 bytes .../tests/css/css-page/support/swatch-white.png | Bin 0 -> 85 bytes .../tests/css/css-page/support/swatch-yellow.png | Bin 0 -> 84 bytes .../tests/css/css-page/support/test-bl.png | Bin 0 -> 1368 bytes .../tests/css/css-page/support/test-br.png | Bin 0 -> 1045 bytes .../tests/css/css-page/support/test-outer.png | Bin 0 -> 2412 bytes .../tests/css/css-page/support/test-tl.png | Bin 0 -> 1025 bytes .../tests/css/css-page/support/test-tr.png | Bin 0 -> 1235 bytes 69 files changed, 1016 insertions(+) create mode 100644 testing/web-platform/tests/css/css-page/META.yml create mode 100644 testing/web-platform/tests/css/css-page/forced-page-breaks-002.xht create mode 100644 testing/web-platform/tests/css/css-page/inheritance.html create mode 100644 testing/web-platform/tests/css/css-page/page-background-000.xht create mode 100644 testing/web-platform/tests/css/css-page/page-borders-000.xht create mode 100644 testing/web-platform/tests/css/css-page/page-counters-000.xht create mode 100644 testing/web-platform/tests/css/css-page/page-margin-003.xht create mode 100644 testing/web-platform/tests/css/css-page/page-name-000.xht create mode 100644 testing/web-platform/tests/css/css-page/page-orientation.tentative.html create mode 100644 testing/web-platform/tests/css/css-page/page-properties-000.xht create mode 100644 testing/web-platform/tests/css/css-page/page-rule-declarations-000.html create mode 100644 testing/web-platform/tests/css/css-page/page-rule-declarations-001.html create mode 100644 testing/web-platform/tests/css/css-page/page-rule-declarations-002.html create mode 100644 testing/web-platform/tests/css/css-page/page-rule-declarations-003.html create mode 100644 testing/web-platform/tests/css/css-page/page-rule-declarations-004.html create mode 100644 testing/web-platform/tests/css/css-page/page-size-000.xht create mode 100644 testing/web-platform/tests/css/css-page/page-size-001.xht create mode 100644 testing/web-platform/tests/css/css-page/page-size-002.xht create mode 100644 testing/web-platform/tests/css/css-page/page-size-003.xht create mode 100644 testing/web-platform/tests/css/css-page/page-size-004.xht create mode 100644 testing/web-platform/tests/css/css-page/page-size-005.xht create mode 100644 testing/web-platform/tests/css/css-page/page-size-006.xht create mode 100644 testing/web-platform/tests/css/css-page/page-size-007.xht create mode 100644 testing/web-platform/tests/css/css-page/page-size-008.xht create mode 100644 testing/web-platform/tests/css/css-page/page-size-009.xht create mode 100644 testing/web-platform/tests/css/css-page/page-size-010.xht create mode 100644 testing/web-platform/tests/css/css-page/page-size-011.xht create mode 100644 testing/web-platform/tests/css/css-page/page-size-012.xht create mode 100644 testing/web-platform/tests/css/css-page/parsing/page-computed.html create mode 100644 testing/web-platform/tests/css/css-page/parsing/page-invalid.html create mode 100644 testing/web-platform/tests/css/css-page/parsing/page-orientation-computed.tentative.html create mode 100644 testing/web-platform/tests/css/css-page/parsing/page-orientation-invalid.tentative.html create mode 100644 testing/web-platform/tests/css/css-page/parsing/page-valid.html create mode 100644 testing/web-platform/tests/css/css-page/parsing/size-001.html create mode 100644 testing/web-platform/tests/css/css-page/support/1x1-green.png create mode 100644 testing/web-platform/tests/css/css-page/support/1x1-lime.png create mode 100644 testing/web-platform/tests/css/css-page/support/1x1-maroon.png create mode 100644 testing/web-platform/tests/css/css-page/support/1x1-navy.png create mode 100644 testing/web-platform/tests/css/css-page/support/1x1-red.png create mode 100644 testing/web-platform/tests/css/css-page/support/1x1-white.png create mode 100644 testing/web-platform/tests/css/css-page/support/60x60-gg-rr.png create mode 100644 testing/web-platform/tests/css/css-page/support/60x60-green.png create mode 100644 testing/web-platform/tests/css/css-page/support/a-green.css create mode 100644 testing/web-platform/tests/css/css-page/support/b-green.css create mode 100644 testing/web-platform/tests/css/css-page/support/c-red.css create mode 100644 testing/web-platform/tests/css/css-page/support/cat.png create mode 100644 testing/web-platform/tests/css/css-page/support/import-green.css create mode 100644 testing/web-platform/tests/css/css-page/support/import-red.css create mode 100644 testing/web-platform/tests/css/css-page/support/intrinsic-size.jpg create mode 100644 testing/web-platform/tests/css/css-page/support/intrinsic-size.png create mode 100644 testing/web-platform/tests/css/css-page/support/pattern-grg-rgr-grg.png create mode 100644 testing/web-platform/tests/css/css-page/support/pattern-grg-rrg-rgg.png create mode 100644 testing/web-platform/tests/css/css-page/support/pattern-rgr-grg-rgr.png create mode 100644 testing/web-platform/tests/css/css-page/support/pattern-tr.png create mode 100644 testing/web-platform/tests/css/css-page/support/square-purple.png create mode 100644 testing/web-platform/tests/css/css-page/support/square-teal.png create mode 100644 testing/web-platform/tests/css/css-page/support/square-white.png create mode 100644 testing/web-platform/tests/css/css-page/support/swatch-blue.png create mode 100644 testing/web-platform/tests/css/css-page/support/swatch-green.png create mode 100644 testing/web-platform/tests/css/css-page/support/swatch-lime.png create mode 100644 testing/web-platform/tests/css/css-page/support/swatch-orange.png create mode 100644 testing/web-platform/tests/css/css-page/support/swatch-red.png create mode 100644 testing/web-platform/tests/css/css-page/support/swatch-white.png create mode 100644 testing/web-platform/tests/css/css-page/support/swatch-yellow.png create mode 100644 testing/web-platform/tests/css/css-page/support/test-bl.png create mode 100644 testing/web-platform/tests/css/css-page/support/test-br.png create mode 100644 testing/web-platform/tests/css/css-page/support/test-outer.png create mode 100644 testing/web-platform/tests/css/css-page/support/test-tl.png create mode 100644 testing/web-platform/tests/css/css-page/support/test-tr.png (limited to 'testing/web-platform/tests/css/css-page') diff --git a/testing/web-platform/tests/css/css-page/META.yml b/testing/web-platform/tests/css/css-page/META.yml new file mode 100644 index 0000000000..2f9e29e278 --- /dev/null +++ b/testing/web-platform/tests/css/css-page/META.yml @@ -0,0 +1,4 @@ +spec: https://drafts.csswg.org/css-page/ +suggested_reviewers: + - plinss + - fantasai diff --git a/testing/web-platform/tests/css/css-page/forced-page-breaks-002.xht b/testing/web-platform/tests/css/css-page/forced-page-breaks-002.xht new file mode 100644 index 0000000000..971dff0bd1 --- /dev/null +++ b/testing/web-platform/tests/css/css-page/forced-page-breaks-002.xht @@ -0,0 +1,20 @@ + + + +CSS Test: forced page breaks for different page values + + + + + + + +

When printed, this test requires two pages.

+
This sentence must appear on a new page.
+ + diff --git a/testing/web-platform/tests/css/css-page/inheritance.html b/testing/web-platform/tests/css/css-page/inheritance.html new file mode 100644 index 0000000000..565287bce5 --- /dev/null +++ b/testing/web-platform/tests/css/css-page/inheritance.html @@ -0,0 +1,12 @@ + + + + + + +
+
+
+ diff --git a/testing/web-platform/tests/css/css-page/page-background-000.xht b/testing/web-platform/tests/css/css-page/page-background-000.xht new file mode 100644 index 0000000000..4a4ffdee59 --- /dev/null +++ b/testing/web-platform/tests/css/css-page/page-background-000.xht @@ -0,0 +1,21 @@ + + + +CSS Test: Page Box Background Coverage + + + + + + + + +
This page must be covered by a pale green background. The background either completely covers the page, or leaves only a small strip of white where the printer can't reach.
+ + diff --git a/testing/web-platform/tests/css/css-page/page-borders-000.xht b/testing/web-platform/tests/css/css-page/page-borders-000.xht new file mode 100644 index 0000000000..5bc3b3f596 --- /dev/null +++ b/testing/web-platform/tests/css/css-page/page-borders-000.xht @@ -0,0 +1,20 @@ + + + + CSS Test: @page border shorthand (absolute units) + + + + + + + + + +
This paragraph must appear inside a box with a 1in thick green border.
+ + diff --git a/testing/web-platform/tests/css/css-page/page-counters-000.xht b/testing/web-platform/tests/css/css-page/page-counters-000.xht new file mode 100644 index 0000000000..a03b712fa8 --- /dev/null +++ b/testing/web-platform/tests/css/css-page/page-counters-000.xht @@ -0,0 +1,28 @@ + + + + CSS Test: margin box referencing document counters + + + + + + + + +
This paragaraph should appear on the first page, which should say "Chapter 0" at the top. A second page with "Chapter 4" at the top should also print.
+
+
+ +
This paragaraph should appear on the second page, which should say "Chapter 4" at the top.
+
+
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-page/page-margin-003.xht b/testing/web-platform/tests/css/css-page/page-margin-003.xht new file mode 100644 index 0000000000..de4f894968 --- /dev/null +++ b/testing/web-platform/tests/css/css-page/page-margin-003.xht @@ -0,0 +1,23 @@ + + + + CSS Test: @page margin shorthand using ems + + + + + + + + + + +

This paragraph must appear inside a grey box. The box should be 0.5in from the page edge on all sides.

+ + diff --git a/testing/web-platform/tests/css/css-page/page-name-000.xht b/testing/web-platform/tests/css/css-page/page-name-000.xht new file mode 100644 index 0000000000..0044d5ac3d --- /dev/null +++ b/testing/web-platform/tests/css/css-page/page-name-000.xht @@ -0,0 +1,18 @@ + + + + CSS Test: Page Selector Grammar - @page auto + + + + + + + +
This paragraph should be printed in portrait layout: the short sides of the page should be top and bottom.
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-page/page-orientation.tentative.html b/testing/web-platform/tests/css/css-page/page-orientation.tentative.html new file mode 100644 index 0000000000..6725aa88e5 --- /dev/null +++ b/testing/web-platform/tests/css/css-page/page-orientation.tentative.html @@ -0,0 +1,81 @@ + + + + + + + diff --git a/testing/web-platform/tests/css/css-page/page-properties-000.xht b/testing/web-platform/tests/css/css-page/page-properties-000.xht new file mode 100644 index 0000000000..a69907ea06 --- /dev/null +++ b/testing/web-platform/tests/css/css-page/page-properties-000.xht @@ -0,0 +1,28 @@ + + + + CSS Test: @page width and height + + + + + + + + + +
This page should have a black border. The area inside the border should be larger than 1in×1in. The box below should be 2in×2in; and fit on the page.
+
+ + diff --git a/testing/web-platform/tests/css/css-page/page-rule-declarations-000.html b/testing/web-platform/tests/css/css-page/page-rule-declarations-000.html new file mode 100644 index 0000000000..cbe53855a0 --- /dev/null +++ b/testing/web-platform/tests/css/css-page/page-rule-declarations-000.html @@ -0,0 +1,122 @@ + + +CSS Paged Media: parsing @page declarations + + + + + + + + diff --git a/testing/web-platform/tests/css/css-page/page-rule-declarations-001.html b/testing/web-platform/tests/css/css-page/page-rule-declarations-001.html new file mode 100644 index 0000000000..dc225b5abd --- /dev/null +++ b/testing/web-platform/tests/css/css-page/page-rule-declarations-001.html @@ -0,0 +1,57 @@ + + +CSS Paged Media: parsing @page declarations inside @media + + + + + + + + diff --git a/testing/web-platform/tests/css/css-page/page-rule-declarations-002.html b/testing/web-platform/tests/css/css-page/page-rule-declarations-002.html new file mode 100644 index 0000000000..b35fa29244 --- /dev/null +++ b/testing/web-platform/tests/css/css-page/page-rule-declarations-002.html @@ -0,0 +1,34 @@ + + +CSS Paged Media: parsing page properties inside HTML elements + + + + + + + + + diff --git a/testing/web-platform/tests/css/css-page/page-rule-declarations-003.html b/testing/web-platform/tests/css/css-page/page-rule-declarations-003.html new file mode 100644 index 0000000000..aaf0bbb1a8 --- /dev/null +++ b/testing/web-platform/tests/css/css-page/page-rule-declarations-003.html @@ -0,0 +1,75 @@ + + +CSS Paged Media: parsing @page selectors + + + + + + + + + diff --git a/testing/web-platform/tests/css/css-page/page-rule-declarations-004.html b/testing/web-platform/tests/css/css-page/page-rule-declarations-004.html new file mode 100644 index 0000000000..94d0f8291d --- /dev/null +++ b/testing/web-platform/tests/css/css-page/page-rule-declarations-004.html @@ -0,0 +1,66 @@ + + +CSS Paged Media: parsing invalid @page selectors + + + + + + + + + diff --git a/testing/web-platform/tests/css/css-page/page-size-000.xht b/testing/web-platform/tests/css/css-page/page-size-000.xht new file mode 100644 index 0000000000..568e127fe8 --- /dev/null +++ b/testing/web-platform/tests/css/css-page/page-size-000.xht @@ -0,0 +1,21 @@ + + + +CSS Test: Page Size - landscape + + + + + + + + +
This page must be printed in landscape orientation: the longer edges of the page must be horizontal.
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-page/page-size-001.xht b/testing/web-platform/tests/css/css-page/page-size-001.xht new file mode 100644 index 0000000000..1b7ddb2d03 --- /dev/null +++ b/testing/web-platform/tests/css/css-page/page-size-001.xht @@ -0,0 +1,21 @@ + + + +CSS Test: Page Size - portrait + + + + + + + + +
This page must be printed in portrait orientation: the shorter edges of the page must be horizontal.
+ + diff --git a/testing/web-platform/tests/css/css-page/page-size-002.xht b/testing/web-platform/tests/css/css-page/page-size-002.xht new file mode 100644 index 0000000000..a96cd764bb --- /dev/null +++ b/testing/web-platform/tests/css/css-page/page-size-002.xht @@ -0,0 +1,21 @@ + + + + CSS Test: @page size A5 + + + + + + + + +
If A5 (148mm x 210mm) or larger paper is available, this content should be printed in a black box that has a width of 108mm and a height of 170mm.
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-page/page-size-003.xht b/testing/web-platform/tests/css/css-page/page-size-003.xht new file mode 100644 index 0000000000..03d633c639 --- /dev/null +++ b/testing/web-platform/tests/css/css-page/page-size-003.xht @@ -0,0 +1,21 @@ + + + + CSS Test: @page size A4 + + + + + + + + +
If A4 (210mm x 297mm) or larger paper is available, this content should be printed in a black box that has a width of 170mm and a height of 257mm.
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-page/page-size-004.xht b/testing/web-platform/tests/css/css-page/page-size-004.xht new file mode 100644 index 0000000000..205588eefa --- /dev/null +++ b/testing/web-platform/tests/css/css-page/page-size-004.xht @@ -0,0 +1,21 @@ + + + + CSS Test: @page size A3 + + + + + + + + +
If A3 (297mm x 420mm) or larger paper is available, this content should be printed in a black box that has a width of 257mm and a height of 380mm.
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-page/page-size-005.xht b/testing/web-platform/tests/css/css-page/page-size-005.xht new file mode 100644 index 0000000000..1288f1c462 --- /dev/null +++ b/testing/web-platform/tests/css/css-page/page-size-005.xht @@ -0,0 +1,22 @@ + + + + CSS Test: @page size B5 + + + + + + + + + +
If B5 (176mm x 250mm) or larger paper is available, this content should be printed in a black box that has a width of 136mm and a height of 210mm.
+ + diff --git a/testing/web-platform/tests/css/css-page/page-size-006.xht b/testing/web-platform/tests/css/css-page/page-size-006.xht new file mode 100644 index 0000000000..6488cc0efc --- /dev/null +++ b/testing/web-platform/tests/css/css-page/page-size-006.xht @@ -0,0 +1,21 @@ + + + + CSS Test: @page size B4 + + + + + + + + +
If B4 (250mm x 353mm) or larger paper is available, this content should be printed in a black box that has a width of 210mm and a height of 313mm.
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-page/page-size-007.xht b/testing/web-platform/tests/css/css-page/page-size-007.xht new file mode 100644 index 0000000000..fa1a72ea1e --- /dev/null +++ b/testing/web-platform/tests/css/css-page/page-size-007.xht @@ -0,0 +1,21 @@ + + + + CSS Test: @page size Letter + + + + + + + + +
If letter-sized (8.5in x 11in) or larger paper is available, this content should be printed in a black box that has a width of 6.5 inches and a height of 9 inches.
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-page/page-size-008.xht b/testing/web-platform/tests/css/css-page/page-size-008.xht new file mode 100644 index 0000000000..9903fb6c9e --- /dev/null +++ b/testing/web-platform/tests/css/css-page/page-size-008.xht @@ -0,0 +1,21 @@ + + + + CSS Test: @page size Legal + + + + + + + + +
If legal-sized (8.5in x 14in) or larger paper is available, this content should be printed in a black box that has a width of 6.5 inches and a height of 12 inches.
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-page/page-size-009.xht b/testing/web-platform/tests/css/css-page/page-size-009.xht new file mode 100644 index 0000000000..fb56cb6f2a --- /dev/null +++ b/testing/web-platform/tests/css/css-page/page-size-009.xht @@ -0,0 +1,21 @@ + + + + CSS Test: @page size Ledger + + + + + + + + +
If ledger-sized (11in x 17in) or larger paper is available, this content should be printed in a black box that has a width of 7 inches and a height of 13 inches.
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-page/page-size-010.xht b/testing/web-platform/tests/css/css-page/page-size-010.xht new file mode 100644 index 0000000000..27d21cc874 --- /dev/null +++ b/testing/web-platform/tests/css/css-page/page-size-010.xht @@ -0,0 +1,22 @@ + + + +CSS Test: @page size smaller than paper + + + + + + + + + +

When printed on paper 3 inches x 3 inches or larger, this content should appear in a box whose exterior dimensions are 2 inches x 2 inches. The box should either be centered on the page or positioned in the upper left corner.

+ + diff --git a/testing/web-platform/tests/css/css-page/page-size-011.xht b/testing/web-platform/tests/css/css-page/page-size-011.xht new file mode 100644 index 0000000000..6c9e3bcb11 --- /dev/null +++ b/testing/web-platform/tests/css/css-page/page-size-011.xht @@ -0,0 +1,20 @@ + + + + CSS Test: @page size JIS-B5 + + + + + + + +
If JIS B5 (182mm x 257mm) or larger paper is available, this content should be printed in a black box that has a width of 142mm and a height of 217mm.
+ + diff --git a/testing/web-platform/tests/css/css-page/page-size-012.xht b/testing/web-platform/tests/css/css-page/page-size-012.xht new file mode 100644 index 0000000000..0def30ae45 --- /dev/null +++ b/testing/web-platform/tests/css/css-page/page-size-012.xht @@ -0,0 +1,20 @@ + + + + CSS Test: @page size JIS-B4 + + + + + + + +
If JIS B4 (257mm x 364mm) or larger paper is available, this content should be printed in a black box that has a width of 217mm and a height of 324mm.
+ + diff --git a/testing/web-platform/tests/css/css-page/parsing/page-computed.html b/testing/web-platform/tests/css/css-page/parsing/page-computed.html new file mode 100644 index 0000000000..0accba0574 --- /dev/null +++ b/testing/web-platform/tests/css/css-page/parsing/page-computed.html @@ -0,0 +1,15 @@ + + + + + + +
+ diff --git a/testing/web-platform/tests/css/css-page/parsing/page-invalid.html b/testing/web-platform/tests/css/css-page/parsing/page-invalid.html new file mode 100644 index 0000000000..2c373a7d7f --- /dev/null +++ b/testing/web-platform/tests/css/css-page/parsing/page-invalid.html @@ -0,0 +1,13 @@ + + + + + + + diff --git a/testing/web-platform/tests/css/css-page/parsing/page-orientation-computed.tentative.html b/testing/web-platform/tests/css/css-page/parsing/page-orientation-computed.tentative.html new file mode 100644 index 0000000000..c9dd155f8c --- /dev/null +++ b/testing/web-platform/tests/css/css-page/parsing/page-orientation-computed.tentative.html @@ -0,0 +1,12 @@ + + + +
+ + + + diff --git a/testing/web-platform/tests/css/css-page/parsing/page-orientation-invalid.tentative.html b/testing/web-platform/tests/css/css-page/parsing/page-orientation-invalid.tentative.html new file mode 100644 index 0000000000..e89b1f0917 --- /dev/null +++ b/testing/web-platform/tests/css/css-page/parsing/page-orientation-invalid.tentative.html @@ -0,0 +1,15 @@ + + + + + + + diff --git a/testing/web-platform/tests/css/css-page/parsing/page-valid.html b/testing/web-platform/tests/css/css-page/parsing/page-valid.html new file mode 100644 index 0000000000..a4c31f5766 --- /dev/null +++ b/testing/web-platform/tests/css/css-page/parsing/page-valid.html @@ -0,0 +1,11 @@ + + + + + + + diff --git a/testing/web-platform/tests/css/css-page/parsing/size-001.html b/testing/web-platform/tests/css/css-page/parsing/size-001.html new file mode 100644 index 0000000000..885a7b8530 --- /dev/null +++ b/testing/web-platform/tests/css/css-page/parsing/size-001.html @@ -0,0 +1,63 @@ + + + + + + + + diff --git a/testing/web-platform/tests/css/css-page/support/1x1-green.png b/testing/web-platform/tests/css/css-page/support/1x1-green.png new file mode 100644 index 0000000000..b98ca0ba0a Binary files /dev/null and b/testing/web-platform/tests/css/css-page/support/1x1-green.png differ diff --git a/testing/web-platform/tests/css/css-page/support/1x1-lime.png b/testing/web-platform/tests/css/css-page/support/1x1-lime.png new file mode 100644 index 0000000000..cb397fb090 Binary files /dev/null and b/testing/web-platform/tests/css/css-page/support/1x1-lime.png differ diff --git a/testing/web-platform/tests/css/css-page/support/1x1-maroon.png b/testing/web-platform/tests/css/css-page/support/1x1-maroon.png new file mode 100644 index 0000000000..3f86b07219 Binary files /dev/null and b/testing/web-platform/tests/css/css-page/support/1x1-maroon.png differ diff --git a/testing/web-platform/tests/css/css-page/support/1x1-navy.png b/testing/web-platform/tests/css/css-page/support/1x1-navy.png new file mode 100644 index 0000000000..9b9a03955b Binary files /dev/null and b/testing/web-platform/tests/css/css-page/support/1x1-navy.png differ diff --git a/testing/web-platform/tests/css/css-page/support/1x1-red.png b/testing/web-platform/tests/css/css-page/support/1x1-red.png new file mode 100644 index 0000000000..6bd73ac101 Binary files /dev/null and b/testing/web-platform/tests/css/css-page/support/1x1-red.png differ diff --git a/testing/web-platform/tests/css/css-page/support/1x1-white.png b/testing/web-platform/tests/css/css-page/support/1x1-white.png new file mode 100644 index 0000000000..dd43faec54 Binary files /dev/null and b/testing/web-platform/tests/css/css-page/support/1x1-white.png differ diff --git a/testing/web-platform/tests/css/css-page/support/60x60-gg-rr.png b/testing/web-platform/tests/css/css-page/support/60x60-gg-rr.png new file mode 100644 index 0000000000..84f5b2a4f1 Binary files /dev/null and b/testing/web-platform/tests/css/css-page/support/60x60-gg-rr.png differ diff --git a/testing/web-platform/tests/css/css-page/support/60x60-green.png b/testing/web-platform/tests/css/css-page/support/60x60-green.png new file mode 100644 index 0000000000..b3c8cf3eb4 Binary files /dev/null and b/testing/web-platform/tests/css/css-page/support/60x60-green.png differ diff --git a/testing/web-platform/tests/css/css-page/support/a-green.css b/testing/web-platform/tests/css/css-page/support/a-green.css new file mode 100644 index 0000000000..b0dbb071d5 --- /dev/null +++ b/testing/web-platform/tests/css/css-page/support/a-green.css @@ -0,0 +1 @@ +.a { color: green; } diff --git a/testing/web-platform/tests/css/css-page/support/b-green.css b/testing/web-platform/tests/css/css-page/support/b-green.css new file mode 100644 index 0000000000..a0473f5ca2 --- /dev/null +++ b/testing/web-platform/tests/css/css-page/support/b-green.css @@ -0,0 +1 @@ +.b { color: green; } \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-page/support/c-red.css b/testing/web-platform/tests/css/css-page/support/c-red.css new file mode 100644 index 0000000000..d4ba5c64e9 --- /dev/null +++ b/testing/web-platform/tests/css/css-page/support/c-red.css @@ -0,0 +1 @@ +.c { color: red; } \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-page/support/cat.png b/testing/web-platform/tests/css/css-page/support/cat.png new file mode 100644 index 0000000000..85dd732481 Binary files /dev/null and b/testing/web-platform/tests/css/css-page/support/cat.png differ diff --git a/testing/web-platform/tests/css/css-page/support/import-green.css b/testing/web-platform/tests/css/css-page/support/import-green.css new file mode 100644 index 0000000000..537104e663 --- /dev/null +++ b/testing/web-platform/tests/css/css-page/support/import-green.css @@ -0,0 +1 @@ +.import { color: green; } diff --git a/testing/web-platform/tests/css/css-page/support/import-red.css b/testing/web-platform/tests/css/css-page/support/import-red.css new file mode 100644 index 0000000000..9945ef4711 --- /dev/null +++ b/testing/web-platform/tests/css/css-page/support/import-red.css @@ -0,0 +1 @@ +.import { color: red; } diff --git a/testing/web-platform/tests/css/css-page/support/intrinsic-size.jpg b/testing/web-platform/tests/css/css-page/support/intrinsic-size.jpg new file mode 100644 index 0000000000..b634fd1821 Binary files /dev/null and b/testing/web-platform/tests/css/css-page/support/intrinsic-size.jpg differ diff --git a/testing/web-platform/tests/css/css-page/support/intrinsic-size.png b/testing/web-platform/tests/css/css-page/support/intrinsic-size.png new file mode 100644 index 0000000000..833e6e36cd Binary files /dev/null and b/testing/web-platform/tests/css/css-page/support/intrinsic-size.png differ diff --git a/testing/web-platform/tests/css/css-page/support/pattern-grg-rgr-grg.png b/testing/web-platform/tests/css/css-page/support/pattern-grg-rgr-grg.png new file mode 100644 index 0000000000..6fcfeb4883 Binary files /dev/null and b/testing/web-platform/tests/css/css-page/support/pattern-grg-rgr-grg.png differ diff --git a/testing/web-platform/tests/css/css-page/support/pattern-grg-rrg-rgg.png b/testing/web-platform/tests/css/css-page/support/pattern-grg-rrg-rgg.png new file mode 100644 index 0000000000..fcf4f3fd7d Binary files /dev/null and b/testing/web-platform/tests/css/css-page/support/pattern-grg-rrg-rgg.png differ diff --git a/testing/web-platform/tests/css/css-page/support/pattern-rgr-grg-rgr.png b/testing/web-platform/tests/css/css-page/support/pattern-rgr-grg-rgr.png new file mode 100644 index 0000000000..db8ed5cf7b Binary files /dev/null and b/testing/web-platform/tests/css/css-page/support/pattern-rgr-grg-rgr.png differ diff --git a/testing/web-platform/tests/css/css-page/support/pattern-tr.png b/testing/web-platform/tests/css/css-page/support/pattern-tr.png new file mode 100644 index 0000000000..8b4b25364e Binary files /dev/null and b/testing/web-platform/tests/css/css-page/support/pattern-tr.png differ diff --git a/testing/web-platform/tests/css/css-page/support/square-purple.png b/testing/web-platform/tests/css/css-page/support/square-purple.png new file mode 100644 index 0000000000..0f522d7872 Binary files /dev/null and b/testing/web-platform/tests/css/css-page/support/square-purple.png differ diff --git a/testing/web-platform/tests/css/css-page/support/square-teal.png b/testing/web-platform/tests/css/css-page/support/square-teal.png new file mode 100644 index 0000000000..e567f51b91 Binary files /dev/null and b/testing/web-platform/tests/css/css-page/support/square-teal.png differ diff --git a/testing/web-platform/tests/css/css-page/support/square-white.png b/testing/web-platform/tests/css/css-page/support/square-white.png new file mode 100644 index 0000000000..5853cbb238 Binary files /dev/null and b/testing/web-platform/tests/css/css-page/support/square-white.png differ diff --git a/testing/web-platform/tests/css/css-page/support/swatch-blue.png b/testing/web-platform/tests/css/css-page/support/swatch-blue.png new file mode 100644 index 0000000000..bf2759634d Binary files /dev/null and b/testing/web-platform/tests/css/css-page/support/swatch-blue.png differ diff --git a/testing/web-platform/tests/css/css-page/support/swatch-green.png b/testing/web-platform/tests/css/css-page/support/swatch-green.png new file mode 100644 index 0000000000..0aa79b0c86 Binary files /dev/null and b/testing/web-platform/tests/css/css-page/support/swatch-green.png differ diff --git a/testing/web-platform/tests/css/css-page/support/swatch-lime.png b/testing/web-platform/tests/css/css-page/support/swatch-lime.png new file mode 100644 index 0000000000..55fd7fdaed Binary files /dev/null and b/testing/web-platform/tests/css/css-page/support/swatch-lime.png differ diff --git a/testing/web-platform/tests/css/css-page/support/swatch-orange.png b/testing/web-platform/tests/css/css-page/support/swatch-orange.png new file mode 100644 index 0000000000..d3cd498b52 Binary files /dev/null and b/testing/web-platform/tests/css/css-page/support/swatch-orange.png differ diff --git a/testing/web-platform/tests/css/css-page/support/swatch-red.png b/testing/web-platform/tests/css/css-page/support/swatch-red.png new file mode 100644 index 0000000000..1caf25c992 Binary files /dev/null and b/testing/web-platform/tests/css/css-page/support/swatch-red.png differ diff --git a/testing/web-platform/tests/css/css-page/support/swatch-white.png b/testing/web-platform/tests/css/css-page/support/swatch-white.png new file mode 100644 index 0000000000..1a7d4323d7 Binary files /dev/null and b/testing/web-platform/tests/css/css-page/support/swatch-white.png differ diff --git a/testing/web-platform/tests/css/css-page/support/swatch-yellow.png b/testing/web-platform/tests/css/css-page/support/swatch-yellow.png new file mode 100644 index 0000000000..1591aa0e2e Binary files /dev/null and b/testing/web-platform/tests/css/css-page/support/swatch-yellow.png differ diff --git a/testing/web-platform/tests/css/css-page/support/test-bl.png b/testing/web-platform/tests/css/css-page/support/test-bl.png new file mode 100644 index 0000000000..904e24e996 Binary files /dev/null and b/testing/web-platform/tests/css/css-page/support/test-bl.png differ diff --git a/testing/web-platform/tests/css/css-page/support/test-br.png b/testing/web-platform/tests/css/css-page/support/test-br.png new file mode 100644 index 0000000000..f413ff5c1a Binary files /dev/null and b/testing/web-platform/tests/css/css-page/support/test-br.png differ diff --git a/testing/web-platform/tests/css/css-page/support/test-outer.png b/testing/web-platform/tests/css/css-page/support/test-outer.png new file mode 100644 index 0000000000..82eeace7fc Binary files /dev/null and b/testing/web-platform/tests/css/css-page/support/test-outer.png differ diff --git a/testing/web-platform/tests/css/css-page/support/test-tl.png b/testing/web-platform/tests/css/css-page/support/test-tl.png new file mode 100644 index 0000000000..f6ac0ef7e8 Binary files /dev/null and b/testing/web-platform/tests/css/css-page/support/test-tl.png differ diff --git a/testing/web-platform/tests/css/css-page/support/test-tr.png b/testing/web-platform/tests/css/css-page/support/test-tr.png new file mode 100644 index 0000000000..59843ae54b Binary files /dev/null and b/testing/web-platform/tests/css/css-page/support/test-tr.png differ -- cgit v1.2.3