tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

list-style-image-zoom-dynamic-ref.html (857B)


      1 <!DOCTYPE html>
      2 <html class="reftest-wait">
      3 <meta charset="utf-8">
      4 <title>CSS Reference: Image list markers with dynamic zoom</title>
      5 <link rel="author" title="Oriol Brufau" href="mailto:obrufau@igalia.com">
      6 <style>
      7 body {
      8  zoom: 2;
      9 }
     10 ol {
     11  list-style-position: inside;
     12 }
     13 .gradient {
     14  list-style-image: linear-gradient(blue, cyan);
     15 }
     16 .image {
     17  list-style-image: url("/css/support/blue-100.png");
     18 }
     19 .svg {
     20  list-style-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' style='background: blue'></svg>");
     21 }
     22 </style>
     23 <ol>
     24  <li class="gradient">text</li>
     25  <li class="image">text</li>
     26  <li class="svg">text</li>
     27 </ol>
     28 <script src="/common/reftest-wait.js"></script>
     29 <script>
     30 // Use a "load" event listener to ensure the images have been loaded.
     31 addEventListener("load", () => {
     32  takeScreenshot();
     33 }, {once: true});
     34 </script>
     35 </html>