Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add apng that uses cICP #43980

Merged
merged 4 commits into from
Jan 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions lint.ignore
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,7 @@ SET TIMEOUT: png/apng/fcTL-dispose-previous-final.html
SET TIMEOUT: png/apng/fcTL-dispose-previous-first.html
SET TIMEOUT: png/apng/fcTL-dispose-previous.html
SET TIMEOUT: png/apng/fdAT-16bit.html
SET TIMEOUT: png/apng/fDAT-inherits-cICP.html
SET TIMEOUT: png/apng/fdAT-1bit-PLTE-tRNS.html
SET TIMEOUT: png/apng/fdAT-1bit-PLTE.html
SET TIMEOUT: png/apng/fdAT-2bit-PLTE-tRNS.html
Expand Down
22 changes: 22 additions & 0 deletions png/apng/fDAT-inherits-cICP.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<!DOCTYPE html>
<html class="reftest-wait">
<meta charset="utf-8">
<title>PNG Third Edition: animated PNG, fdAT inherits colorspace from cICP</title>
<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/#structure">
<link rel="help" href="https://www.w3.org/TR/png-3/#fdAT-chunk">
<link rel="help" href="https://www.w3.org/TR/png-3/#cICP-chunk">
<link rel="match" href="apng-lime-rectangle-ref.html">
<meta name="assert" content="Each frame inherits every property specified by any critical or ancillary chunks before the first IDAT chunk in the file">
<script>
const el = document.querySelector(".reftest-wait");
setTimeout(() => {
el.classList.remove('reftest-wait');
}, 2100);
</script>
<body>
<p>Test passes if you see a lime green rectangle, and no red.</p>
<!-- sRGB lime = color(display-p3 0.4584 0.9853 0.2983) -->
<div class="test"><img src="support/062.png" alt=""></div>
</body>
Binary file added png/apng/support/062.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.