summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/png/apng/apng-blue-rect-checkerboard-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/png/apng/apng-blue-rect-checkerboard-ref.html')
-rw-r--r--testing/web-platform/tests/png/apng/apng-blue-rect-checkerboard-ref.html24
1 files changed, 24 insertions, 0 deletions
diff --git a/testing/web-platform/tests/png/apng/apng-blue-rect-checkerboard-ref.html b/testing/web-platform/tests/png/apng/apng-blue-rect-checkerboard-ref.html
new file mode 100644
index 0000000000..3058aa633f
--- /dev/null
+++ b/testing/web-platform/tests/png/apng/apng-blue-rect-checkerboard-ref.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html>
+<meta charset="utf-8">
+<title>PNG Third Edition: animated PNG, dispose ops and regions</title>
+<link rel="author" title="Chris Lilley" href="mailto:chris@w3.org">
+<style>
+ .test {
+ width: 128px;
+ height: 64px;
+ background-color: white;
+ background-image:
+ linear-gradient(45deg, #ccc 25%, transparent 25%),
+ linear-gradient(-45deg, #ccc 25%, transparent 25%),
+ linear-gradient(45deg, transparent 75%, #ccc 75%),
+ linear-gradient(-45deg, transparent 75%, #ccc 75%);
+ background-size: 16px 16px;
+ background-position: 0 0, 0 8px, 8px -8px, -8px 0px;
+ }
+</style>
+<body>
+ <p>Test passes if you see solid blue rectangle containing a smaller region with a grey checkerboard, and no red.</p>
+ <div class="test"><img src="support/blue-with-hole.png" alt=""></div>
+</body>
+</html> \ No newline at end of file