Update stb-image to get JPEG progressive support.

This commit is contained in:
Glenn Watson 2015-08-06 12:03:56 +10:00
parent afe3d7e747
commit 2e08f42ae4
10 changed files with 44 additions and 6 deletions

View file

@ -171,6 +171,8 @@ experimental == iframe/size_attributes_vertical_writing_mode.html iframe/size_at
== inset.html inset_ref.html
!= inset_blackborder.html blackborder_ref.html
== issue-1324.html issue-1324-ref.html
== jpeg_normal.html jpeg_ref.html
== jpeg_progressive.html jpeg_ref.html
== jumpiness_a.html jumpiness_ref.html
== last_child_pseudo_a.html last_child_pseudo_b.html
== last_of_type_pseudo_a.html last_of_type_pseudo_b.html

View file

@ -0,0 +1,10 @@
<!DOCTYPE html>
<html>
<head>
<style type="text/css">
</style>
</head>
<body>
<img src="jpeg_normal.jpg">
</body>
</html>

BIN
tests/ref/jpeg_normal.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 336 B

View file

@ -0,0 +1,10 @@
<!DOCTYPE html>
<html>
<head>
<style type="text/css">
</style>
</head>
<body>
<img src="jpeg_progressive.jpg">
</body>
</html>

Binary file not shown.

After

Width:  |  Height:  |  Size: 570 B

15
tests/ref/jpeg_ref.html Normal file
View file

@ -0,0 +1,15 @@
<!DOCTYPE html>
<html>
<head>
<style type="text/css">
div {
background-color: rgb(75, 255, 0);
width: 64px;
height: 64px;
}
</style>
</head>
<body>
<div></div>
</body>
</html>

View file

@ -6,9 +6,6 @@
[img src empty]
expected: FAIL
[async src complete test]
expected: FAIL
[IDL attribute complete returns true when image resource has been fetched but not run yet & image is not in broken state]
expected: FAIL