From 26a029d407be480d791972afb5975cf62c9360a6 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Apr 2024 02:47:55 +0200 Subject: Adding upstream version 124.0.1. Signed-off-by: Daniel Baumann --- .../tests/css/CSS2/visudet/content-height-001.html | 21 +++++++ .../tests/css/CSS2/visudet/content-height-002.html | 41 +++++++++++++ .../tests/css/CSS2/visudet/content-height-003.html | 41 +++++++++++++ .../tests/css/CSS2/visudet/content-height-004.html | 49 ++++++++++++++++ .../tests/css/CSS2/visudet/content-height-005.html | 40 +++++++++++++ .../CSS2/visudet/height-applies-to-010a-ref.xht | 39 +++++++++++++ .../css/CSS2/visudet/height-applies-to-010a.xht | 65 +++++++++++++++++++++ .../css/CSS2/visudet/height-computed-001-ref.xht | 28 +++++++++ .../tests/css/CSS2/visudet/height-computed-001.xht | 34 +++++++++++ .../css/CSS2/visudet/height-computed-002-ref.xht | 28 +++++++++ .../tests/css/CSS2/visudet/height-computed-002.xht | 34 +++++++++++ .../CSS2/visudet/height-percentage-003a-ref.xht | 29 +++++++++ .../css/CSS2/visudet/height-percentage-003a.xht | 43 ++++++++++++++ .../css/CSS2/visudet/height-percentage-004-ref.xht | 27 +++++++++ .../css/CSS2/visudet/height-percentage-004.xht | 32 ++++++++++ .../CSS2/visudet/inline-block-baseline-001-ref.xht | 22 +++++++ .../css/CSS2/visudet/inline-block-baseline-001.xht | 27 +++++++++ .../css/CSS2/visudet/inline-block-baseline-002.xht | 27 +++++++++ .../css/CSS2/visudet/inline-block-baseline-003.xht | 29 +++++++++ .../css/CSS2/visudet/inline-block-baseline-004.xht | 29 +++++++++ .../css/CSS2/visudet/inline-block-baseline-005.xht | 29 +++++++++ .../css/CSS2/visudet/inline-block-baseline-006.xht | 29 +++++++++ .../CSS2/visudet/inline-block-baseline-010-ref.xht | 25 ++++++++ .../css/CSS2/visudet/inline-block-baseline-010.xht | 31 ++++++++++ .../css/CSS2/visudet/inline-block-baseline-011.xht | 32 ++++++++++ .../css/CSS2/visudet/inline-block-baseline-012.xht | 31 ++++++++++ .../css/CSS2/visudet/inline-block-baseline-013.xht | 31 ++++++++++ .../css/CSS2/visudet/inline-block-baseline-014.xht | 32 ++++++++++ .../tests/css/CSS2/visudet/line-height-201.html | 54 +++++++++++++++++ .../tests/css/CSS2/visudet/line-height-202.html | 55 +++++++++++++++++ .../tests/css/CSS2/visudet/line-height-203.html | 51 ++++++++++++++++ .../tests/css/CSS2/visudet/line-height-204.html | 59 +++++++++++++++++++ .../tests/css/CSS2/visudet/line-height-205.html | 52 +++++++++++++++++ .../tests/css/CSS2/visudet/line-height-206.html | 45 ++++++++++++++ .../tests/css/CSS2/visudet/max-width-109.xht | 27 +++++++++ .../visudet/reference/content-height-001-ref.html | 16 +++++ .../visudet/reference/content-height-002-ref.html | 35 +++++++++++ .../visudet/reference/content-height-003-ref.html | 35 +++++++++++ .../visudet/reference/content-height-004-ref.html | 34 +++++++++++ .../visudet/reference/content-height-005-ref.html | 23 ++++++++ .../visudet/reference/line-height-201-ref.html | 16 +++++ .../visudet/reference/line-height-202-ref.html | 6 ++ .../visudet/reference/line-height-203-ref.html | 6 ++ .../visudet/reference/line-height-206-ref.html | 26 +++++++++ .../visudet/replaced-elements-all-auto-ref.html | 33 +++++++++++ .../CSS2/visudet/replaced-elements-all-auto.html | 30 ++++++++++ .../visudet/replaced-elements-height-20-ref.html | 33 +++++++++++ .../CSS2/visudet/replaced-elements-height-20.html | 31 ++++++++++ .../visudet/replaced-elements-max-height-20.html | 31 ++++++++++ .../visudet/replaced-elements-max-width-40.html | 31 ++++++++++ .../visudet/replaced-elements-min-height-20.html | 31 ++++++++++ .../replaced-elements-min-height-40-ref.html | 33 +++++++++++ .../visudet/replaced-elements-min-height-40.html | 31 ++++++++++ .../visudet/replaced-elements-min-width-40.html | 31 ++++++++++ .../replaced-elements-min-width-80-ref.html | 33 +++++++++++ .../visudet/replaced-elements-min-width-80.html | 31 ++++++++++ .../visudet/replaced-elements-width-40-ref.html | 33 +++++++++++ .../CSS2/visudet/replaced-elements-width-40.html | 31 ++++++++++ .../tests/css/CSS2/visudet/support/1x1-green.png | Bin 0 -> 135 bytes .../CSS2/visudet/support/height-25-no-ratio.svg | 3 + .../css/CSS2/visudet/support/height-25-ratio-2.svg | 3 + .../CSS2/visudet/support/height-25-width-50.svg | 3 + .../tests/css/CSS2/visudet/support/no-ratio.svg | 3 + .../tests/css/CSS2/visudet/support/ratio-2.svg | 3 + .../tests/css/CSS2/visudet/support/swatch-blue.png | Bin 0 -> 84 bytes .../css/CSS2/visudet/support/width-50-no-ratio.svg | 3 + .../css/CSS2/visudet/support/width-50-ratio-2.svg | 3 + 67 files changed, 1929 insertions(+) create mode 100644 testing/web-platform/tests/css/CSS2/visudet/content-height-001.html create mode 100644 testing/web-platform/tests/css/CSS2/visudet/content-height-002.html create mode 100644 testing/web-platform/tests/css/CSS2/visudet/content-height-003.html create mode 100644 testing/web-platform/tests/css/CSS2/visudet/content-height-004.html create mode 100644 testing/web-platform/tests/css/CSS2/visudet/content-height-005.html create mode 100644 testing/web-platform/tests/css/CSS2/visudet/height-applies-to-010a-ref.xht create mode 100644 testing/web-platform/tests/css/CSS2/visudet/height-applies-to-010a.xht create mode 100644 testing/web-platform/tests/css/CSS2/visudet/height-computed-001-ref.xht create mode 100644 testing/web-platform/tests/css/CSS2/visudet/height-computed-001.xht create mode 100644 testing/web-platform/tests/css/CSS2/visudet/height-computed-002-ref.xht create mode 100644 testing/web-platform/tests/css/CSS2/visudet/height-computed-002.xht create mode 100644 testing/web-platform/tests/css/CSS2/visudet/height-percentage-003a-ref.xht create mode 100644 testing/web-platform/tests/css/CSS2/visudet/height-percentage-003a.xht create mode 100644 testing/web-platform/tests/css/CSS2/visudet/height-percentage-004-ref.xht create mode 100644 testing/web-platform/tests/css/CSS2/visudet/height-percentage-004.xht create mode 100644 testing/web-platform/tests/css/CSS2/visudet/inline-block-baseline-001-ref.xht create mode 100644 testing/web-platform/tests/css/CSS2/visudet/inline-block-baseline-001.xht create mode 100644 testing/web-platform/tests/css/CSS2/visudet/inline-block-baseline-002.xht create mode 100644 testing/web-platform/tests/css/CSS2/visudet/inline-block-baseline-003.xht create mode 100644 testing/web-platform/tests/css/CSS2/visudet/inline-block-baseline-004.xht create mode 100644 testing/web-platform/tests/css/CSS2/visudet/inline-block-baseline-005.xht create mode 100644 testing/web-platform/tests/css/CSS2/visudet/inline-block-baseline-006.xht create mode 100644 testing/web-platform/tests/css/CSS2/visudet/inline-block-baseline-010-ref.xht create mode 100644 testing/web-platform/tests/css/CSS2/visudet/inline-block-baseline-010.xht create mode 100644 testing/web-platform/tests/css/CSS2/visudet/inline-block-baseline-011.xht create mode 100644 testing/web-platform/tests/css/CSS2/visudet/inline-block-baseline-012.xht create mode 100644 testing/web-platform/tests/css/CSS2/visudet/inline-block-baseline-013.xht create mode 100644 testing/web-platform/tests/css/CSS2/visudet/inline-block-baseline-014.xht create mode 100644 testing/web-platform/tests/css/CSS2/visudet/line-height-201.html create mode 100644 testing/web-platform/tests/css/CSS2/visudet/line-height-202.html create mode 100644 testing/web-platform/tests/css/CSS2/visudet/line-height-203.html create mode 100644 testing/web-platform/tests/css/CSS2/visudet/line-height-204.html create mode 100644 testing/web-platform/tests/css/CSS2/visudet/line-height-205.html create mode 100644 testing/web-platform/tests/css/CSS2/visudet/line-height-206.html create mode 100644 testing/web-platform/tests/css/CSS2/visudet/max-width-109.xht create mode 100644 testing/web-platform/tests/css/CSS2/visudet/reference/content-height-001-ref.html create mode 100644 testing/web-platform/tests/css/CSS2/visudet/reference/content-height-002-ref.html create mode 100644 testing/web-platform/tests/css/CSS2/visudet/reference/content-height-003-ref.html create mode 100644 testing/web-platform/tests/css/CSS2/visudet/reference/content-height-004-ref.html create mode 100644 testing/web-platform/tests/css/CSS2/visudet/reference/content-height-005-ref.html create mode 100644 testing/web-platform/tests/css/CSS2/visudet/reference/line-height-201-ref.html create mode 100644 testing/web-platform/tests/css/CSS2/visudet/reference/line-height-202-ref.html create mode 100644 testing/web-platform/tests/css/CSS2/visudet/reference/line-height-203-ref.html create mode 100644 testing/web-platform/tests/css/CSS2/visudet/reference/line-height-206-ref.html create mode 100644 testing/web-platform/tests/css/CSS2/visudet/replaced-elements-all-auto-ref.html create mode 100644 testing/web-platform/tests/css/CSS2/visudet/replaced-elements-all-auto.html create mode 100644 testing/web-platform/tests/css/CSS2/visudet/replaced-elements-height-20-ref.html create mode 100644 testing/web-platform/tests/css/CSS2/visudet/replaced-elements-height-20.html create mode 100644 testing/web-platform/tests/css/CSS2/visudet/replaced-elements-max-height-20.html create mode 100644 testing/web-platform/tests/css/CSS2/visudet/replaced-elements-max-width-40.html create mode 100644 testing/web-platform/tests/css/CSS2/visudet/replaced-elements-min-height-20.html create mode 100644 testing/web-platform/tests/css/CSS2/visudet/replaced-elements-min-height-40-ref.html create mode 100644 testing/web-platform/tests/css/CSS2/visudet/replaced-elements-min-height-40.html create mode 100644 testing/web-platform/tests/css/CSS2/visudet/replaced-elements-min-width-40.html create mode 100644 testing/web-platform/tests/css/CSS2/visudet/replaced-elements-min-width-80-ref.html create mode 100644 testing/web-platform/tests/css/CSS2/visudet/replaced-elements-min-width-80.html create mode 100644 testing/web-platform/tests/css/CSS2/visudet/replaced-elements-width-40-ref.html create mode 100644 testing/web-platform/tests/css/CSS2/visudet/replaced-elements-width-40.html create mode 100644 testing/web-platform/tests/css/CSS2/visudet/support/1x1-green.png create mode 100644 testing/web-platform/tests/css/CSS2/visudet/support/height-25-no-ratio.svg create mode 100644 testing/web-platform/tests/css/CSS2/visudet/support/height-25-ratio-2.svg create mode 100644 testing/web-platform/tests/css/CSS2/visudet/support/height-25-width-50.svg create mode 100644 testing/web-platform/tests/css/CSS2/visudet/support/no-ratio.svg create mode 100644 testing/web-platform/tests/css/CSS2/visudet/support/ratio-2.svg create mode 100644 testing/web-platform/tests/css/CSS2/visudet/support/swatch-blue.png create mode 100644 testing/web-platform/tests/css/CSS2/visudet/support/width-50-no-ratio.svg create mode 100644 testing/web-platform/tests/css/CSS2/visudet/support/width-50-ratio-2.svg (limited to 'testing/web-platform/tests/css/CSS2/visudet') diff --git a/testing/web-platform/tests/css/CSS2/visudet/content-height-001.html b/testing/web-platform/tests/css/CSS2/visudet/content-height-001.html new file mode 100644 index 0000000000..d4aaaa929c --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/visudet/content-height-001.html @@ -0,0 +1,21 @@ + + +CSS2 inline level box content height test + + + + + + +

Test passes if the blue shape below is a rectangle, but not some other polygon. + +

aa
aa
aa
diff --git a/testing/web-platform/tests/css/CSS2/visudet/content-height-002.html b/testing/web-platform/tests/css/CSS2/visudet/content-height-002.html new file mode 100644 index 0000000000..038775b686 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/visudet/content-height-002.html @@ -0,0 +1,41 @@ + + +CSS2 inline level box content height test + + + + + + +

Test passes if the blue shape below is a rectangle, but not some other polygon. + +

ab
ab
ab
diff --git a/testing/web-platform/tests/css/CSS2/visudet/content-height-003.html b/testing/web-platform/tests/css/CSS2/visudet/content-height-003.html new file mode 100644 index 0000000000..f0b09741b5 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/visudet/content-height-003.html @@ -0,0 +1,41 @@ + + +CSS2 inline level box content height test + + + + + + +

Test passes if the blue shape below is a rectangle, but not some other polygon. + +

bb
bb
bb
diff --git a/testing/web-platform/tests/css/CSS2/visudet/content-height-004.html b/testing/web-platform/tests/css/CSS2/visudet/content-height-004.html new file mode 100644 index 0000000000..d18c856973 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/visudet/content-height-004.html @@ -0,0 +1,49 @@ + + +CSS2 inline level box content height test + + + + + + +

Test passes if the blue shape below is a rectangle, but not some other polygon. + +

diff --git a/testing/web-platform/tests/css/CSS2/visudet/content-height-005.html b/testing/web-platform/tests/css/CSS2/visudet/content-height-005.html new file mode 100644 index 0000000000..1b84ca7649 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/visudet/content-height-005.html @@ -0,0 +1,40 @@ + + +CSS2 inline level box content height test + + + + + + +

Test passes if there are more than 2 lines below. + +

diff --git a/testing/web-platform/tests/css/CSS2/visudet/height-applies-to-010a-ref.xht b/testing/web-platform/tests/css/CSS2/visudet/height-applies-to-010a-ref.xht new file mode 100644 index 0000000000..5dd9a4f916 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/visudet/height-applies-to-010a-ref.xht @@ -0,0 +1,39 @@ + + + + + + + CSS Reftest Reference + + + + + + + + + +

Test passes if 3 green "PASS" are each preceded by a filled disc.

+ + + + + + + + + diff --git a/testing/web-platform/tests/css/CSS2/visudet/height-applies-to-010a.xht b/testing/web-platform/tests/css/CSS2/visudet/height-applies-to-010a.xht new file mode 100644 index 0000000000..8339c008f9 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/visudet/height-applies-to-010a.xht @@ -0,0 +1,65 @@ + + + + + + + CSS Test: height set to 0 to elements with 'display' set to 'list-item' + + + + + + + + + + + + + + + +

Test passes if 3 green "PASS" are each preceded by a filled disc.

+ +
PASS
+ + + + + + + diff --git a/testing/web-platform/tests/css/CSS2/visudet/height-computed-001-ref.xht b/testing/web-platform/tests/css/CSS2/visudet/height-computed-001-ref.xht new file mode 100644 index 0000000000..06e23ae387 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/visudet/height-computed-001-ref.xht @@ -0,0 +1,28 @@ + + + + + + CSS Reference File + + + + + + +

Test passes if (1) the two blue rectangles have the same height + and (2) that height is about the same as the green rectangle.

+ +

+ + + +

+ + diff --git a/testing/web-platform/tests/css/CSS2/visudet/height-computed-001.xht b/testing/web-platform/tests/css/CSS2/visudet/height-computed-001.xht new file mode 100644 index 0000000000..862bfed68b --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/visudet/height-computed-001.xht @@ -0,0 +1,34 @@ + + + + + + CSS min-height: min-height does not influence the computed height + + + + + + + + + + + + +

Test passes if (1) the two blue rectangles have the same height + and (2) that height is about the same as the green rectangle.

+ +

+ + + +

+ + diff --git a/testing/web-platform/tests/css/CSS2/visudet/height-computed-002-ref.xht b/testing/web-platform/tests/css/CSS2/visudet/height-computed-002-ref.xht new file mode 100644 index 0000000000..82fdbedf2e --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/visudet/height-computed-002-ref.xht @@ -0,0 +1,28 @@ + + + + + + CSS Reference File + + + + + + +

Test passes if (1) the two blue rectangles have the same height + and (2) there is no red.

+ +

+ + + +

+ + diff --git a/testing/web-platform/tests/css/CSS2/visudet/height-computed-002.xht b/testing/web-platform/tests/css/CSS2/visudet/height-computed-002.xht new file mode 100644 index 0000000000..f703335df2 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/visudet/height-computed-002.xht @@ -0,0 +1,34 @@ + + + + + + CSS max-height: max-height does not influence the computed height + + + + + + + + + + + + +

Test passes if (1) the two blue rectangles have the same height + and (2) there is no red.

+ +

+ + + +

+ + diff --git a/testing/web-platform/tests/css/CSS2/visudet/height-percentage-003a-ref.xht b/testing/web-platform/tests/css/CSS2/visudet/height-percentage-003a-ref.xht new file mode 100644 index 0000000000..6872c9810a --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/visudet/height-percentage-003a-ref.xht @@ -0,0 +1,29 @@ + + + + + + + CSS Reftest Reference + + + + + + + + + +

Test passes if the background of this page is green and if there is no red and no vertical scrollbar.

+ + + \ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/visudet/height-percentage-003a.xht b/testing/web-platform/tests/css/CSS2/visudet/height-percentage-003a.xht new file mode 100644 index 0000000000..f394e89954 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/visudet/height-percentage-003a.xht @@ -0,0 +1,43 @@ + + + + + + + CSS Test: Height percentage - 100% of the initial containing block's height + + + + + + + + + + + + + + +

Test passes if the background of this page is green and if there is no red and no vertical scrollbar.

+ + + \ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/visudet/height-percentage-004-ref.xht b/testing/web-platform/tests/css/CSS2/visudet/height-percentage-004-ref.xht new file mode 100644 index 0000000000..db11099d73 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/visudet/height-percentage-004-ref.xht @@ -0,0 +1,27 @@ + + + + CSS test: inherited percentage height + + + + + + + + +

Test passes if the light blue box ("Block A") is the full height + of the viewport and there is no red.

+ +
+
+ Block A +
+
+ + diff --git a/testing/web-platform/tests/css/CSS2/visudet/height-percentage-004.xht b/testing/web-platform/tests/css/CSS2/visudet/height-percentage-004.xht new file mode 100644 index 0000000000..51f58511d8 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/visudet/height-percentage-004.xht @@ -0,0 +1,32 @@ + + + + CSS test: inherited percentage height + + + + + + + + + + + + +

Test passes if the light blue box ("Block A") is the full height + of the viewport and there is no red.

+ +
+
+ Block A +
+
+ + diff --git a/testing/web-platform/tests/css/CSS2/visudet/inline-block-baseline-001-ref.xht b/testing/web-platform/tests/css/CSS2/visudet/inline-block-baseline-001-ref.xht new file mode 100644 index 0000000000..9f14c821b3 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/visudet/inline-block-baseline-001-ref.xht @@ -0,0 +1,22 @@ + + + + + + Vertical-align: baseline of an inline-block depends on 'overflow' + + + + + + + + +

+ All the words are aligned on the same baseline. +

+ + diff --git a/testing/web-platform/tests/css/CSS2/visudet/inline-block-baseline-001.xht b/testing/web-platform/tests/css/CSS2/visudet/inline-block-baseline-001.xht new file mode 100644 index 0000000000..82a2493c17 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/visudet/inline-block-baseline-001.xht @@ -0,0 +1,27 @@ + + + + + + Vertical-align: baseline of an inline-block depends on 'overflow' + + + + + + + + + + + + +

+ All the words are aligned on the same baseline. +

+ + diff --git a/testing/web-platform/tests/css/CSS2/visudet/inline-block-baseline-002.xht b/testing/web-platform/tests/css/CSS2/visudet/inline-block-baseline-002.xht new file mode 100644 index 0000000000..8b73ec9838 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/visudet/inline-block-baseline-002.xht @@ -0,0 +1,27 @@ + + + + + + Vertical-align: baseline of an inline-block depends on 'overflow' + + + + + + + + + + + + +

+ All the  
words
are aligned on the same baseline. +

+ + diff --git a/testing/web-platform/tests/css/CSS2/visudet/inline-block-baseline-003.xht b/testing/web-platform/tests/css/CSS2/visudet/inline-block-baseline-003.xht new file mode 100644 index 0000000000..632e2c08c6 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/visudet/inline-block-baseline-003.xht @@ -0,0 +1,29 @@ + + + + + + Vertical-align: baseline of an inline-block depends on 'overflow' + + + + + + + + + + + + +

+ All the words are aligned on the same baseline. +

+ + diff --git a/testing/web-platform/tests/css/CSS2/visudet/inline-block-baseline-004.xht b/testing/web-platform/tests/css/CSS2/visudet/inline-block-baseline-004.xht new file mode 100644 index 0000000000..f2691cff18 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/visudet/inline-block-baseline-004.xht @@ -0,0 +1,29 @@ + + + + + + Vertical-align: baseline of an inline-block depends on 'overflow' + + + + + + + + + + + + +

+ All the words are aligned on the same baseline. +

+ + diff --git a/testing/web-platform/tests/css/CSS2/visudet/inline-block-baseline-005.xht b/testing/web-platform/tests/css/CSS2/visudet/inline-block-baseline-005.xht new file mode 100644 index 0000000000..51f544ab64 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/visudet/inline-block-baseline-005.xht @@ -0,0 +1,29 @@ + + + + + + Vertical-align: baseline of an inline-block depends on 'overflow' + + + + + + + + + + + + +

+ All the  
words
are aligned on the same baseline. +

+ + diff --git a/testing/web-platform/tests/css/CSS2/visudet/inline-block-baseline-006.xht b/testing/web-platform/tests/css/CSS2/visudet/inline-block-baseline-006.xht new file mode 100644 index 0000000000..d994da7107 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/visudet/inline-block-baseline-006.xht @@ -0,0 +1,29 @@ + + + + + + Vertical-align: baseline of an inline-block depends on 'overflow' + + + + + + + + + + + + +

+ All the  
words
are aligned on the same baseline. +

+ + diff --git a/testing/web-platform/tests/css/CSS2/visudet/inline-block-baseline-010-ref.xht b/testing/web-platform/tests/css/CSS2/visudet/inline-block-baseline-010-ref.xht new file mode 100644 index 0000000000..774416d11a --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/visudet/inline-block-baseline-010-ref.xht @@ -0,0 +1,25 @@ + + + + + + Vertical-align: baseline of an inline-block depends on 'overflow' + + + + + + + + +

+ A blue square + [blue square] + sits on the baseline. +

+ + diff --git a/testing/web-platform/tests/css/CSS2/visudet/inline-block-baseline-010.xht b/testing/web-platform/tests/css/CSS2/visudet/inline-block-baseline-010.xht new file mode 100644 index 0000000000..a906f02ef0 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/visudet/inline-block-baseline-010.xht @@ -0,0 +1,31 @@ + + + + + + Vertical-align: baseline of an inline-block depends on 'overflow' + + + + + + + + + + + + +

+ A blue square + + sits on the baseline. +

+ + diff --git a/testing/web-platform/tests/css/CSS2/visudet/inline-block-baseline-011.xht b/testing/web-platform/tests/css/CSS2/visudet/inline-block-baseline-011.xht new file mode 100644 index 0000000000..6d63b62a7e --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/visudet/inline-block-baseline-011.xht @@ -0,0 +1,32 @@ + + + + + + Vertical-align: baseline of an inline-block depends on 'overflow' + + + + + + + + + + + + +

+ A blue square + + sits on the baseline. +

+ + diff --git a/testing/web-platform/tests/css/CSS2/visudet/inline-block-baseline-012.xht b/testing/web-platform/tests/css/CSS2/visudet/inline-block-baseline-012.xht new file mode 100644 index 0000000000..f1566a9b88 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/visudet/inline-block-baseline-012.xht @@ -0,0 +1,31 @@ + + + + + + Vertical-align: baseline of an inline-block depends on 'overflow' + + + + + + + + + + + + +

+ A blue square + + sits on the baseline. +

+ + diff --git a/testing/web-platform/tests/css/CSS2/visudet/inline-block-baseline-013.xht b/testing/web-platform/tests/css/CSS2/visudet/inline-block-baseline-013.xht new file mode 100644 index 0000000000..d975aa9f6d --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/visudet/inline-block-baseline-013.xht @@ -0,0 +1,31 @@ + + + + + + Vertical-align: baseline of an inline-block depends on 'overflow' + + + + + + + + + + + + +

+ A blue square + + sits on the baseline. +

+ + diff --git a/testing/web-platform/tests/css/CSS2/visudet/inline-block-baseline-014.xht b/testing/web-platform/tests/css/CSS2/visudet/inline-block-baseline-014.xht new file mode 100644 index 0000000000..455de0d5e4 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/visudet/inline-block-baseline-014.xht @@ -0,0 +1,32 @@ + + + + + + Vertical-align: baseline of an inline-block depends on 'overflow' + + + + + + + + + + + + +

+ A blue square + + sits on the baseline. +

+ + diff --git a/testing/web-platform/tests/css/CSS2/visudet/line-height-201.html b/testing/web-platform/tests/css/CSS2/visudet/line-height-201.html new file mode 100644 index 0000000000..00ab2aa527 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/visudet/line-height-201.html @@ -0,0 +1,54 @@ + + +CSS2 Line height test: explicit sizing + + + + + + +

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

+ +
ab
+
ab
diff --git a/testing/web-platform/tests/css/CSS2/visudet/line-height-202.html b/testing/web-platform/tests/css/CSS2/visudet/line-height-202.html new file mode 100644 index 0000000000..aef970b443 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/visudet/line-height-202.html @@ -0,0 +1,55 @@ + + +CSS2 Line height test: baseline position when explicit sizing + + + + + + +

Test passes if there is no red below. + +

ab
+
aa
diff --git a/testing/web-platform/tests/css/CSS2/visudet/line-height-203.html b/testing/web-platform/tests/css/CSS2/visudet/line-height-203.html new file mode 100644 index 0000000000..9e8ee2dc40 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/visudet/line-height-203.html @@ -0,0 +1,51 @@ + + +CSS2 Line height test: baseline position with explicit sizing + + + + + + +

Test passes if there is a small green rectangle or square below. + +

aa
+
aa
diff --git a/testing/web-platform/tests/css/CSS2/visudet/line-height-204.html b/testing/web-platform/tests/css/CSS2/visudet/line-height-204.html new file mode 100644 index 0000000000..1bb0183db4 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/visudet/line-height-204.html @@ -0,0 +1,59 @@ + + + +CSS2 Line height test: baseline position, normal sizing vs explicit sizing + + + + + + + +

Test passes if there is no red below. + +

a
+
a
+ + diff --git a/testing/web-platform/tests/css/CSS2/visudet/line-height-205.html b/testing/web-platform/tests/css/CSS2/visudet/line-height-205.html new file mode 100644 index 0000000000..f9cb02797f --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/visudet/line-height-205.html @@ -0,0 +1,52 @@ + + +CSS2 Line height test: normal sizing + + + + + + +

Test passes if there is no red below. + + + +

ab
+
ab
+ + + +
ab
+
ab
+ diff --git a/testing/web-platform/tests/css/CSS2/visudet/line-height-206.html b/testing/web-platform/tests/css/CSS2/visudet/line-height-206.html new file mode 100644 index 0000000000..ad24ede74a --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/visudet/line-height-206.html @@ -0,0 +1,45 @@ + + +CSS2 Line height test: normal sizing with fallback fonts + + + + + + +

There should be two stacked rectangles below: a tall one above a short one, both the same width, sharing the edge at which they touch. + + +

a
+
a
diff --git a/testing/web-platform/tests/css/CSS2/visudet/max-width-109.xht b/testing/web-platform/tests/css/CSS2/visudet/max-width-109.xht new file mode 100644 index 0000000000..ab7f7dffc0 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/visudet/max-width-109.xht @@ -0,0 +1,27 @@ + + + + + CSS Test: Max-width - replaced elements + + + + + + + + +

Test is passed if there is a blue square (four equal sides) below.

+
+ Test image +
+ + diff --git a/testing/web-platform/tests/css/CSS2/visudet/reference/content-height-001-ref.html b/testing/web-platform/tests/css/CSS2/visudet/reference/content-height-001-ref.html new file mode 100644 index 0000000000..d6ca716b0c --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/visudet/reference/content-height-001-ref.html @@ -0,0 +1,16 @@ + + +CSS Test Reference file + + + +

Test passes if the blue shape below is a rectangle, but not some other polygon. + +

aa
aa
aa
diff --git a/testing/web-platform/tests/css/CSS2/visudet/reference/content-height-002-ref.html b/testing/web-platform/tests/css/CSS2/visudet/reference/content-height-002-ref.html new file mode 100644 index 0000000000..bb148292a3 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/visudet/reference/content-height-002-ref.html @@ -0,0 +1,35 @@ + + +CSS Test Reference file + + + +

Test passes if the blue shape below is a rectangle, but not some other polygon. + +

ab
ab
ab
diff --git a/testing/web-platform/tests/css/CSS2/visudet/reference/content-height-003-ref.html b/testing/web-platform/tests/css/CSS2/visudet/reference/content-height-003-ref.html new file mode 100644 index 0000000000..86727624bf --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/visudet/reference/content-height-003-ref.html @@ -0,0 +1,35 @@ + + +CSS Test Reference file + + + +

Test passes if the blue shape below is a rectangle, but not some other polygon. + +

bb
bb
bb
diff --git a/testing/web-platform/tests/css/CSS2/visudet/reference/content-height-004-ref.html b/testing/web-platform/tests/css/CSS2/visudet/reference/content-height-004-ref.html new file mode 100644 index 0000000000..657da1ec93 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/visudet/reference/content-height-004-ref.html @@ -0,0 +1,34 @@ + + +CSS2 Line height test: explicit sizing + + + +

Test passes if the blue shape below is a rectangle, but not some other polygon. + +

diff --git a/testing/web-platform/tests/css/CSS2/visudet/reference/content-height-005-ref.html b/testing/web-platform/tests/css/CSS2/visudet/reference/content-height-005-ref.html new file mode 100644 index 0000000000..b68f8a9419 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/visudet/reference/content-height-005-ref.html @@ -0,0 +1,23 @@ + + +CSS Test Reference file + + + +

Test passes if there are more than 2 lines below. + +

diff --git a/testing/web-platform/tests/css/CSS2/visudet/reference/line-height-201-ref.html b/testing/web-platform/tests/css/CSS2/visudet/reference/line-height-201-ref.html new file mode 100644 index 0000000000..3564bf7785 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/visudet/reference/line-height-201-ref.html @@ -0,0 +1,16 @@ + + +CSS Test Reference file + + + +

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

diff --git a/testing/web-platform/tests/css/CSS2/visudet/reference/line-height-202-ref.html b/testing/web-platform/tests/css/CSS2/visudet/reference/line-height-202-ref.html new file mode 100644 index 0000000000..2b77a6b3dd --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/visudet/reference/line-height-202-ref.html @@ -0,0 +1,6 @@ + + +CSS Test Reference file + + +

Test passes if there is no red below. diff --git a/testing/web-platform/tests/css/CSS2/visudet/reference/line-height-203-ref.html b/testing/web-platform/tests/css/CSS2/visudet/reference/line-height-203-ref.html new file mode 100644 index 0000000000..ec605c76a9 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/visudet/reference/line-height-203-ref.html @@ -0,0 +1,6 @@ + + +CSS Test Reference file + + +

Test passes if there is a small green rectangle or square below. diff --git a/testing/web-platform/tests/css/CSS2/visudet/reference/line-height-206-ref.html b/testing/web-platform/tests/css/CSS2/visudet/reference/line-height-206-ref.html new file mode 100644 index 0000000000..8ddf2b47a7 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/visudet/reference/line-height-206-ref.html @@ -0,0 +1,26 @@ + + +CSS Test Reference file + + + +

There should be two stacked rectangles below: a tall one above a short one, both the same width, sharing the edge at which they touch. + +

a
diff --git a/testing/web-platform/tests/css/CSS2/visudet/replaced-elements-all-auto-ref.html b/testing/web-platform/tests/css/CSS2/visudet/replaced-elements-all-auto-ref.html new file mode 100644 index 0000000000..5a1df9485f --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/visudet/replaced-elements-all-auto-ref.html @@ -0,0 +1,33 @@ + + + + CSS Reference: CSS 2.1 replaced element sizing + + + + + + +
+ , + , + , + , + , + , + . + +
+ + + diff --git a/testing/web-platform/tests/css/CSS2/visudet/replaced-elements-all-auto.html b/testing/web-platform/tests/css/CSS2/visudet/replaced-elements-all-auto.html new file mode 100644 index 0000000000..bc2b4593ab --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/visudet/replaced-elements-all-auto.html @@ -0,0 +1,30 @@ + + + + CSS Test: CSS 2.1 replaced element sizing + + + + + + + + + + +
+ , + , + , + , + , + , + . +
+ + + diff --git a/testing/web-platform/tests/css/CSS2/visudet/replaced-elements-height-20-ref.html b/testing/web-platform/tests/css/CSS2/visudet/replaced-elements-height-20-ref.html new file mode 100644 index 0000000000..503d83bd78 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/visudet/replaced-elements-height-20-ref.html @@ -0,0 +1,33 @@ + + + + CSS Reference: CSS 2.1 replaced element sizing + + + + + + +
+ , + , + , + , + , + , + . + +
+ + + diff --git a/testing/web-platform/tests/css/CSS2/visudet/replaced-elements-height-20.html b/testing/web-platform/tests/css/CSS2/visudet/replaced-elements-height-20.html new file mode 100644 index 0000000000..2ca34befff --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/visudet/replaced-elements-height-20.html @@ -0,0 +1,31 @@ + + + + CSS Test: CSS 2.1 replaced element sizing + + + + + + + + + + +
+ , + , + , + , + , + , + . +
+ + + diff --git a/testing/web-platform/tests/css/CSS2/visudet/replaced-elements-max-height-20.html b/testing/web-platform/tests/css/CSS2/visudet/replaced-elements-max-height-20.html new file mode 100644 index 0000000000..eb2ee98443 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/visudet/replaced-elements-max-height-20.html @@ -0,0 +1,31 @@ + + + + CSS Test: CSS 2.1 replaced element sizing + + + + + + + + + + +
+ , + , + , + , + , + , + . +
+ + + diff --git a/testing/web-platform/tests/css/CSS2/visudet/replaced-elements-max-width-40.html b/testing/web-platform/tests/css/CSS2/visudet/replaced-elements-max-width-40.html new file mode 100644 index 0000000000..9fb7aad4ee --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/visudet/replaced-elements-max-width-40.html @@ -0,0 +1,31 @@ + + + + CSS Test: CSS 2.1 replaced element sizing + + + + + + + + + + +
+ , + , + , + , + , + , + . +
+ + + diff --git a/testing/web-platform/tests/css/CSS2/visudet/replaced-elements-min-height-20.html b/testing/web-platform/tests/css/CSS2/visudet/replaced-elements-min-height-20.html new file mode 100644 index 0000000000..5294aadcb4 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/visudet/replaced-elements-min-height-20.html @@ -0,0 +1,31 @@ + + + + CSS Test: CSS 2.1 replaced element sizing + + + + + + + + + + +
+ , + , + , + , + , + , + . +
+ + + diff --git a/testing/web-platform/tests/css/CSS2/visudet/replaced-elements-min-height-40-ref.html b/testing/web-platform/tests/css/CSS2/visudet/replaced-elements-min-height-40-ref.html new file mode 100644 index 0000000000..668be594f0 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/visudet/replaced-elements-min-height-40-ref.html @@ -0,0 +1,33 @@ + + + + CSS Reference: CSS 2.1 replaced element sizing + + + + + + +
+ , + , + , + , + , + , + . + +
+ + + diff --git a/testing/web-platform/tests/css/CSS2/visudet/replaced-elements-min-height-40.html b/testing/web-platform/tests/css/CSS2/visudet/replaced-elements-min-height-40.html new file mode 100644 index 0000000000..700909ec52 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/visudet/replaced-elements-min-height-40.html @@ -0,0 +1,31 @@ + + + + CSS Test: CSS 2.1 replaced element sizing + + + + + + + + + + +
+ , + , + , + , + , + , + . +
+ + + diff --git a/testing/web-platform/tests/css/CSS2/visudet/replaced-elements-min-width-40.html b/testing/web-platform/tests/css/CSS2/visudet/replaced-elements-min-width-40.html new file mode 100644 index 0000000000..03e6a9cba9 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/visudet/replaced-elements-min-width-40.html @@ -0,0 +1,31 @@ + + + + CSS Test: CSS 2.1 replaced element sizing + + + + + + + + + + +
+ , + , + , + , + , + , + . +
+ + + diff --git a/testing/web-platform/tests/css/CSS2/visudet/replaced-elements-min-width-80-ref.html b/testing/web-platform/tests/css/CSS2/visudet/replaced-elements-min-width-80-ref.html new file mode 100644 index 0000000000..6caa1c4809 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/visudet/replaced-elements-min-width-80-ref.html @@ -0,0 +1,33 @@ + + + + CSS Reference: CSS 2.1 replaced element sizing + + + + + + +
+ , + , + , + , + , + , + . + +
+ + + diff --git a/testing/web-platform/tests/css/CSS2/visudet/replaced-elements-min-width-80.html b/testing/web-platform/tests/css/CSS2/visudet/replaced-elements-min-width-80.html new file mode 100644 index 0000000000..852864aa18 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/visudet/replaced-elements-min-width-80.html @@ -0,0 +1,31 @@ + + + + CSS Test: CSS 2.1 replaced element sizing + + + + + + + + + + +
+ , + , + , + , + , + , + . +
+ + + diff --git a/testing/web-platform/tests/css/CSS2/visudet/replaced-elements-width-40-ref.html b/testing/web-platform/tests/css/CSS2/visudet/replaced-elements-width-40-ref.html new file mode 100644 index 0000000000..c110910c41 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/visudet/replaced-elements-width-40-ref.html @@ -0,0 +1,33 @@ + + + + CSS Reference: CSS 2.1 replaced element sizing + + + + + + +
+ , + , + , + , + , + , + . + +
+ + + diff --git a/testing/web-platform/tests/css/CSS2/visudet/replaced-elements-width-40.html b/testing/web-platform/tests/css/CSS2/visudet/replaced-elements-width-40.html new file mode 100644 index 0000000000..4a8db48f69 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/visudet/replaced-elements-width-40.html @@ -0,0 +1,31 @@ + + + + CSS Test: CSS 2.1 replaced element sizing + + + + + + + + + + +
+ , + , + , + , + , + , + . +
+ + + diff --git a/testing/web-platform/tests/css/CSS2/visudet/support/1x1-green.png b/testing/web-platform/tests/css/CSS2/visudet/support/1x1-green.png new file mode 100644 index 0000000000..b98ca0ba0a Binary files /dev/null and b/testing/web-platform/tests/css/CSS2/visudet/support/1x1-green.png differ diff --git a/testing/web-platform/tests/css/CSS2/visudet/support/height-25-no-ratio.svg b/testing/web-platform/tests/css/CSS2/visudet/support/height-25-no-ratio.svg new file mode 100644 index 0000000000..d046272299 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/visudet/support/height-25-no-ratio.svg @@ -0,0 +1,3 @@ + + + diff --git a/testing/web-platform/tests/css/CSS2/visudet/support/height-25-ratio-2.svg b/testing/web-platform/tests/css/CSS2/visudet/support/height-25-ratio-2.svg new file mode 100644 index 0000000000..d6e71e31e8 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/visudet/support/height-25-ratio-2.svg @@ -0,0 +1,3 @@ + + + diff --git a/testing/web-platform/tests/css/CSS2/visudet/support/height-25-width-50.svg b/testing/web-platform/tests/css/CSS2/visudet/support/height-25-width-50.svg new file mode 100644 index 0000000000..a45d7243c3 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/visudet/support/height-25-width-50.svg @@ -0,0 +1,3 @@ + + + diff --git a/testing/web-platform/tests/css/CSS2/visudet/support/no-ratio.svg b/testing/web-platform/tests/css/CSS2/visudet/support/no-ratio.svg new file mode 100644 index 0000000000..80429f1d1a --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/visudet/support/no-ratio.svg @@ -0,0 +1,3 @@ + + + diff --git a/testing/web-platform/tests/css/CSS2/visudet/support/ratio-2.svg b/testing/web-platform/tests/css/CSS2/visudet/support/ratio-2.svg new file mode 100644 index 0000000000..fe4fe70168 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/visudet/support/ratio-2.svg @@ -0,0 +1,3 @@ + + + diff --git a/testing/web-platform/tests/css/CSS2/visudet/support/swatch-blue.png b/testing/web-platform/tests/css/CSS2/visudet/support/swatch-blue.png new file mode 100644 index 0000000000..bf2759634d Binary files /dev/null and b/testing/web-platform/tests/css/CSS2/visudet/support/swatch-blue.png differ diff --git a/testing/web-platform/tests/css/CSS2/visudet/support/width-50-no-ratio.svg b/testing/web-platform/tests/css/CSS2/visudet/support/width-50-no-ratio.svg new file mode 100644 index 0000000000..bf43cee7db --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/visudet/support/width-50-no-ratio.svg @@ -0,0 +1,3 @@ + + + diff --git a/testing/web-platform/tests/css/CSS2/visudet/support/width-50-ratio-2.svg b/testing/web-platform/tests/css/CSS2/visudet/support/width-50-ratio-2.svg new file mode 100644 index 0000000000..62fa3cb420 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/visudet/support/width-50-ratio-2.svg @@ -0,0 +1,3 @@ + + + -- cgit v1.2.3