blob: b0265a703e8fdae9cf307fb2dd413dea108188ef (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
<!-- Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ -->
<html>
<head>
<link href="./doc_urls_clickable.css" rel="stylesheet" type="text/css">
<style>
.relative2 {
background-image: url(doc_test_image.png);
}
</style>
</head>
<body>
<div class="relative1">Background image #1 with relative path (loaded from external css)</div>
<div class="relative2">Background image #2 with relative path (loaded from style tag)</div>
<div class="absolute">Background image with absolute path (loaded from external css)</div>
<div class="base64">Background image with base64 url (loaded from external css)</div>
<div class="inline" style="background: url(doc_test_image.png);">Background image with relative path (loaded from style attribute)</div>
<div class="inline-resolved" style="background-image: url(./doc_test_image.png)">Background image with resolved relative path (loaded from style attribute)</div>
<div class="noimage">No background image :(</div>
</body>
</html>
|