mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
Update stb-image to get JPEG progressive support.
This commit is contained in:
parent
afe3d7e747
commit
2e08f42ae4
10 changed files with 44 additions and 6 deletions
2
components/servo/Cargo.lock
generated
2
components/servo/Cargo.lock
generated
|
@ -1333,7 +1333,7 @@ dependencies = [
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "stb_image"
|
name = "stb_image"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
source = "git+https://github.com/servo/rust-stb-image#e3f7246caa694e863975ead98f4940d046108fd7"
|
source = "git+https://github.com/servo/rust-stb-image#ad05c642b64a9059dd31c37b1a1ac78722821008"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"libc 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)",
|
"libc 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
]
|
]
|
||||||
|
|
4
ports/cef/Cargo.lock
generated
4
ports/cef/Cargo.lock
generated
|
@ -894,6 +894,8 @@ dependencies = [
|
||||||
"net_traits 0.0.1",
|
"net_traits 0.0.1",
|
||||||
"openssl 0.6.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
"openssl 0.6.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"png 0.1.0 (git+https://github.com/servo/rust-png)",
|
"png 0.1.0 (git+https://github.com/servo/rust-png)",
|
||||||
|
"regex 0.1.38 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
"regex_macros 0.1.20 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"rustc-serialize 0.3.15 (registry+https://github.com/rust-lang/crates.io-index)",
|
"rustc-serialize 0.3.15 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"time 0.1.26 (registry+https://github.com/rust-lang/crates.io-index)",
|
"time 0.1.26 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"url 0.2.36 (registry+https://github.com/rust-lang/crates.io-index)",
|
"url 0.2.36 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
@ -1332,7 +1334,7 @@ dependencies = [
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "stb_image"
|
name = "stb_image"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
source = "git+https://github.com/servo/rust-stb-image#e3f7246caa694e863975ead98f4940d046108fd7"
|
source = "git+https://github.com/servo/rust-stb-image#ad05c642b64a9059dd31c37b1a1ac78722821008"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"libc 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)",
|
"libc 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
]
|
]
|
||||||
|
|
4
ports/gonk/Cargo.lock
generated
4
ports/gonk/Cargo.lock
generated
|
@ -814,6 +814,8 @@ dependencies = [
|
||||||
"net_traits 0.0.1",
|
"net_traits 0.0.1",
|
||||||
"openssl 0.6.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
"openssl 0.6.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"png 0.1.0 (git+https://github.com/servo/rust-png)",
|
"png 0.1.0 (git+https://github.com/servo/rust-png)",
|
||||||
|
"regex 0.1.38 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
"regex_macros 0.1.20 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"rustc-serialize 0.3.15 (registry+https://github.com/rust-lang/crates.io-index)",
|
"rustc-serialize 0.3.15 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"time 0.1.26 (registry+https://github.com/rust-lang/crates.io-index)",
|
"time 0.1.26 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"url 0.2.36 (registry+https://github.com/rust-lang/crates.io-index)",
|
"url 0.2.36 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
@ -1224,7 +1226,7 @@ dependencies = [
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "stb_image"
|
name = "stb_image"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
source = "git+https://github.com/servo/rust-stb-image#e3f7246caa694e863975ead98f4940d046108fd7"
|
source = "git+https://github.com/servo/rust-stb-image#ad05c642b64a9059dd31c37b1a1ac78722821008"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"libc 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)",
|
"libc 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
]
|
]
|
||||||
|
|
|
@ -171,6 +171,8 @@ experimental == iframe/size_attributes_vertical_writing_mode.html iframe/size_at
|
||||||
== inset.html inset_ref.html
|
== inset.html inset_ref.html
|
||||||
!= inset_blackborder.html blackborder_ref.html
|
!= inset_blackborder.html blackborder_ref.html
|
||||||
== issue-1324.html issue-1324-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
|
== jumpiness_a.html jumpiness_ref.html
|
||||||
== last_child_pseudo_a.html last_child_pseudo_b.html
|
== last_child_pseudo_a.html last_child_pseudo_b.html
|
||||||
== last_of_type_pseudo_a.html last_of_type_pseudo_b.html
|
== last_of_type_pseudo_a.html last_of_type_pseudo_b.html
|
||||||
|
|
10
tests/ref/jpeg_normal.html
Normal file
10
tests/ref/jpeg_normal.html
Normal 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
BIN
tests/ref/jpeg_normal.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 336 B |
10
tests/ref/jpeg_progressive.html
Normal file
10
tests/ref/jpeg_progressive.html
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<style type="text/css">
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<img src="jpeg_progressive.jpg">
|
||||||
|
</body>
|
||||||
|
</html>
|
BIN
tests/ref/jpeg_progressive.jpg
Normal file
BIN
tests/ref/jpeg_progressive.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 570 B |
15
tests/ref/jpeg_ref.html
Normal file
15
tests/ref/jpeg_ref.html
Normal 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>
|
|
@ -6,9 +6,6 @@
|
||||||
[img src empty]
|
[img src empty]
|
||||||
expected: FAIL
|
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]
|
[IDL attribute complete returns true when image resource has been fetched but not run yet & image is not in broken state]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue