-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
cffc867
commit a144481
Showing
10 changed files
with
94 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
Tests/LibWeb/Ref/expected/wpt-import/png/apng/apng-lime-rectangle-ref.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<!DOCTYPE html> | ||
<meta charset="utf-8"> | ||
<title>PNG Third Edition: animated PNG</title> | ||
<link rel="author" title="Chris Lilley" href="mailto:[email protected]"> | ||
<body> | ||
<p>Test passes if you see a lime green rectangle, and no red.</p> | ||
<div class="test"><img src="support/lime.png" alt=""></div> | ||
</body> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 17 additions & 0 deletions
17
Tests/LibWeb/Ref/expected/wpt-import/png/cICP-wins-ref.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<meta charset="utf-8"> | ||
<title>PNG Third Edition: Coding Independent Code Points</title> | ||
<link rel="author" title="Chris Lilley" href="mailto:[email protected]"> | ||
<style> | ||
.test { | ||
width: 128px; | ||
height: 64px; | ||
background-color: green; | ||
} | ||
</style> | ||
<body> | ||
<p>Test passes if you see a green rectangle, and no red.</p> | ||
<div class="test"><img src="support/srgb_green.png" alt=""></div> | ||
</body> | ||
</html> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 22 additions & 0 deletions
22
Tests/LibWeb/Ref/input/wpt-import/png/apng/fDAT-inherits-cICP.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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:[email protected]"> | ||
<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="../../../../expected/wpt-import/png/apng/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> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<meta charset="utf-8"> | ||
<title>PNG Third Edition: Coding Independent Code Points</title> | ||
<link rel="author" title="Chris Lilley" href="mailto:[email protected]"> | ||
<link rel="help" href="https://www.w3.org/TR/png-3/#11iCCP"> | ||
<link rel="help" href="https://www.w3.org/TR/png-3/#cICP-chunk"> | ||
|
||
<link rel="match" href="../../../expected/wpt-import/png/cICP-wins-ref.html"> | ||
<meta name="assert" content="When the cICP chunk is present, decoders that recognize it SHALL ignore iCCP"> | ||
<style> | ||
.test { | ||
width: 128px; | ||
height: 64px; | ||
background-color: red; | ||
} | ||
</style> | ||
<body> | ||
<p>Test passes if you see a green rectangle, and no red.</p> | ||
<div class="test"><img src="support/cICP-and-iCCP.png" alt=""></div> | ||
</body> | ||
</html> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.