tor-browser

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

variable-reference-40.html (678B)


      1 <!--
      2     Any copyright is dedicated to the Public Domain.
      3     http://creativecommons.org/publicdomain/zero/1.0/
      4 -->
      5 <!DOCTYPE html>
      6 <title>CSS Test: Test that a variable reference within a gradient value in a border-image shorthand parses correctly.</title>
      7 <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au">
      8 <link rel="help" href="http://www.w3.org/TR/css-variables-1/#using-variables">
      9 <link rel="match" href="variable-reference-40-ref.html">
     10 <style>
     11 p {
     12  --orange: orange;
     13  border: 2px solid transparent;
     14  border-image: linear-gradient(to right, var(--orange), blue) 1 1;
     15 }
     16 </style>
     17 <p>This paragraph must have an orange/blue gradient border.</p>