servo/tests/ref/no_image_background_a.html
Patrick Walton 7e7675c1dc net: Don't load the placeholder image for background images, only for
image fragments.

This also changes the way the placeholder is handled in the image cache
task to decode it up front instead of each time an image fails to load,
both because it was more convenient to implement that way and because
it saves CPU cycles to do so.

This matches the behavior of Gecko and WebKit. It improves the look of
our cached copy of Wikipedia.
2015-05-20 12:00:33 -07:00

21 lines
276 B
HTML

<!DOCTYPE html>
<html>
<head>
<style>
body {
background: peachpuff;
}
section {
display: block;
width: 256px;
height: 256px;
border: solid black 1px;
background: url(bogusybogusbogus.jpg);
}
</style>
</head>
<body>
<section></section>
</body>
</html>