browser/devtools/styleinspector/test/doc_urls_clickable.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/browser/devtools/styleinspector/test/doc_urls_clickable.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,30 @@
     1.4 +<!-- Any copyright is dedicated to the Public Domain.
     1.5 +     http://creativecommons.org/publicdomain/zero/1.0/ -->
     1.6 +<html>
     1.7 +  <head>
     1.8 +
     1.9 +    <link href="./doc_urls_clickable.css" rel="stylesheet" type="text/css">
    1.10 +
    1.11 +    <style>
    1.12 +    .relative2 {
    1.13 +        background-image: url(doc_test_image.png);
    1.14 +    }
    1.15 +    </style>
    1.16 +  </head>
    1.17 +  <body>
    1.18 +
    1.19 +    <div class="relative1">Background image #1 with relative path (loaded from external css)</div>
    1.20 +
    1.21 +    <div class="relative2">Background image #2 with relative path (loaded from style tag)</div>
    1.22 +
    1.23 +    <div class="absolute">Background image with absolute path (loaded from external css)</div>
    1.24 +
    1.25 +    <div class="base64">Background image with base64 url (loaded from external css)</div>
    1.26 +
    1.27 +    <div class="inline" style="background: url(doc_test_image.png);">Background image with relative path (loaded from style attribute)</div>
    1.28 +
    1.29 +    <div class="inline-resolved" style="background-image: url(./doc_test_image.png)">Background image with resolved relative path (loaded from style attribute)</div>
    1.30 +
    1.31 +    <div class="noimage">No background image :(</div>
    1.32 +  </body>
    1.33 +</html>

mercurial