diff options
Diffstat (limited to 'testing/web-platform/tests/png/apng/fcTL-blend-source-transparent.html')
-rw-r--r-- | testing/web-platform/tests/png/apng/fcTL-blend-source-transparent.html | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/testing/web-platform/tests/png/apng/fcTL-blend-source-transparent.html b/testing/web-platform/tests/png/apng/fcTL-blend-source-transparent.html new file mode 100644 index 0000000000..1eab83d80d --- /dev/null +++ b/testing/web-platform/tests/png/apng/fcTL-blend-source-transparent.html @@ -0,0 +1,35 @@ +<!DOCTYPE html> +<html class="reftest-wait"> +<meta charset="utf-8"> +<title>PNG Third Edition: animated PNG, blend ops</title> +<link rel="author" title="Philip Taylor" href="mailto:excors@gmail.com"> +<link rel="author" title="Chris Lilley" href="mailto:chris@w3.org"> +<link rel="help" href="https://www.w3.org/TR/png-3/#apng-frame-based-animation"> +<link rel="help" href="https://www.w3.org/TR/png-3/#fcTL-chunk"> +<link rel="match" href="apng-checkerboard-ref.html"> +<meta name="assert" content="If blend_op is APNG_BLEND_OP_SOURCE all color components of the frame, including alpha, overwrite the current contents of the frame's output buffer region."> +<script> + const el = document.querySelector(".reftest-wait"); + setTimeout(() => { + el.classList.remove('reftest-wait'); + }, 1200); +</script> +<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 a grey checkerboard, and no red.</p> + <div class="test"><img src="support/018.png" alt=""></div> +</body> +</html>
\ No newline at end of file |