From cf89f86dbd592ea46697bfabd309d9651a7f5324 Mon Sep 17 00:00:00 2001 From: Sam Atkins Date: Mon, 15 Nov 2021 21:08:49 +0000 Subject: [PATCH] Base: Add additional test cases to backgrounds.html - Add background color to `background-clip` test - Add a mixed `background-repeat: space round` test --- Base/res/html/misc/backgrounds.html | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/Base/res/html/misc/backgrounds.html b/Base/res/html/misc/backgrounds.html index 7103b56756..b7880314f5 100644 --- a/Base/res/html/misc/backgrounds.html +++ b/Base/res/html/misc/backgrounds.html @@ -102,16 +102,17 @@

Images should fill the content-box, with padding on each side. (5px, 10px, 15px, 20px) and aligned so their top-left corner will be at the top-left of the box. This produces clipping.

- background: url('background-repeat.png') padding-box content-box -
+ background: url('background-repeat.png') yellow padding-box content-box +
background-image: url('background-repeat.png');
+ background-color: yellow;
background-origin: padding-box;
background-clip: content-box;
-
+

Size

@@ -185,6 +186,19 @@
+

Images should all be whole, and be shrunk and spaced to fill the box

+
+ background: url('background-repeat.png') space round +
+
+
+ + background-image: url('background-repeat.png');
+ background-repeat: space round; +
+
+
+

Multiple backgrounds

Should have one smiley face in each corner and one in the center