Skip to content

Commit

Permalink
Use the correct .png extension for the image placeholder.
Browse files Browse the repository at this point in the history
This was changed to the mozilla broken image resource
without changing the filename, even though the file
type changed.
  • Loading branch information
rillian committed Nov 13, 2015
1 parent 4f855dc commit 135bcac
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/net/image_cache_task.rs
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,7 @@ pub fn new_image_cache_task(resource_task: ResourceTask) -> ImageCacheTask {

// Preload the placeholder image, used when images fail to load.
let mut placeholder_path = resources_dir_path();
placeholder_path.push("rippy.jpg");
placeholder_path.push("rippy.png");

let mut image_data = vec![];
let result = File::open(&placeholder_path).and_then(|mut file| {
Expand Down
File renamed without changes
2 changes: 1 addition & 1 deletion tests/wpt/mozilla/tests/css/no-image-ref.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<img width="100px" height="100px" src="rippy.jpg">
<img width="100px" height="100px" src="rippy.png">

0 comments on commit 135bcac

Please sign in to comment.