mirror of
https://github.com/servo/servo.git
synced 2025-06-16 12:24:29 +00:00
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.
21 lines
276 B
HTML
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>
|
|
|