summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/png/errors/unknown-ancillary-error-recovery-2.html
blob: 23191fe39f714875f1692d9499f971e4254e288b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<!DOCTYPE html>
<html>
<meta charset="utf-8">
<title>PNG Third Edition: Decoder error recovery, invalid ancillary after IDAT</title>
<link rel="author" title="Chris Lilley" href="mailto:chris@w3.org">
<link rel="help" href="https://www.w3.org/TR/png-3/#13Decoders.Errors">
<link rel="help" href="https://github.com/w3c/PNG-spec/issues/320">
<link rel="match" href="unknown-ancillary-error-recovery-2-ref.html">
<meta name="assert" content="Encountering an unknown ancillary chunk is never an error. The chunk can simply be ignored.">
<style>
    .test {
        width: 32px;
        height: 32px;
        background-color: red;
    }
</style>
<body>
    <p>Test passes if you see a rainbow square, and not a red one.</p>
    <div class="test"><img src="support/invalid-unknown-ancillary-after-IDAT.png" alt=""></div>
</body>
</html>