tor-browser

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

context-stroke-07.html (763B)


      1 <!DOCTYPE html>
      2 <html>
      3  <head>
      4    <title>Test context-stroke when no context stroke value is provided</title>
      5    <style>
      6 
      7 img {
      8  -moz-context-properties: fill;
      9  width: 100px;
     10  height: 100px;
     11  border: 1px solid black;
     12 }
     13 
     14    </style>
     15  </head>
     16  <body>
     17    <img src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'><line x1='0' y1='50%' x2='100%' y2='50%' stroke-width='120%' stroke='context-stroke'/></svg>">
     18    <!-- The following image currently results in the 'lime' fallback color
     19         being used, but it probably shouldn't. See bug 1351243. -->
     20    <img src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'><line x1='0' y1='50%' x2='100%' y2='50%' stroke-width='120%' stroke='context-stroke lime'/></svg>">
     21  </body>
     22 </html>