summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/printing/background-image-print.html
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
commit26a029d407be480d791972afb5975cf62c9360a6 (patch)
treef435a8308119effd964b339f76abb83a57c29483 /testing/web-platform/tests/css/printing/background-image-print.html
parentInitial commit. (diff)
downloadfirefox-26a029d407be480d791972afb5975cf62c9360a6.tar.xz
firefox-26a029d407be480d791972afb5975cf62c9360a6.zip
Adding upstream version 124.0.1.upstream/124.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/tests/css/printing/background-image-print.html')
-rw-r--r--testing/web-platform/tests/css/printing/background-image-print.html44
1 files changed, 44 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/printing/background-image-print.html b/testing/web-platform/tests/css/printing/background-image-print.html
new file mode 100644
index 0000000000..8d29410740
--- /dev/null
+++ b/testing/web-platform/tests/css/printing/background-image-print.html
@@ -0,0 +1,44 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>test-case.html</title>
+<link rel="match" href="background-image-print-ref.html">
+<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1769429">
+<meta name="fuzzy" content="maxDifference=0-3;totalPixels=0-400">
+<style>
+ body {
+ font-family: century;
+ font-weight: bold;
+ color: black;
+ print-color-adjust: exact;
+ }
+ .tile {
+ width: 16px;
+ height: 16px;
+ background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAYAAADimHc4AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH5gcMEDohgdlcwAAAAL1JREFUeNrt29ENgCAMRdFi2Ns6eR1CkxfjuQtAegJfsGZmKtmq7PKT3cBRAgBAAAAIAAABACAAAAQAgAAAEAAAAgBAAAAIAAABACAAAAQAgAAA0OP2+vkAwt8DnABXEAABACAAAAQAgAAAEAAAAgBAAAAIAAABACAAAAQAgAAAEAAAAgBAb7Tryj6Q7+7sBE4nwBUkAAAEAIAAABAAAAIAQAAACAAAAQAgAAAEAIAAABAAAAIAQAAACMDnuwGcQwlEUW+eJgAAAABJRU5ErkJggg==");
+ background-repeat: no-repeat;
+ }
+ .white { background-position: -2px -2px }
+ .magenta { background-position: -34px -2px }
+ .lime { background-position: -66px -2px }
+ .cyan { background-position: -2px -34px }
+ .blue { background-position: -34px -34px }
+ .red { background-position: -66px -34px }
+ .green { background-position: -2px -66px }
+ .gray { background-position: -34px -66px }
+ .yellow { background-position: -66px -66px }
+</style>
+</head>
+<body>
+ <div class="tile white"></div>
+ <div class="tile magenta"></div>
+ <div class="tile lime"></div>
+ <div class="tile cyan"></div>
+ <div class="tile blue"></div>
+ <div class="tile red"></div>
+ <div class="tile green"></div>
+ <div class="tile gray"></div>
+ <div class="tile yellow"></div>
+</body>
+</html>