tor-browser

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

blurred-shadow-local-clip-rect.yaml (1435B)


      1 # This test ensures that for text that has a shadow and blurred shadow, the
      2 # shadows are clipped in the same way (via the local clip rect) as the shadowed
      3 # element.
      4 ---
      5 root:
      6  items:
      7        -
      8          type: "shadow"
      9          bounds: [10, 14, 220, 200]
     10          blur-radius: 0
     11          offset: [0, 50]
     12          color: black
     13        -
     14          type: "shadow"
     15          bounds: [10, 14, 220, 100]
     16          blur-radius: 3
     17          offset: [0, 25]
     18          color: black
     19        -
     20          bounds: [10, 14, 215, 45]
     21          clip-rect: [10, 14, 122, 40]
     22          glyphs: [55, 75, 76, 86, 3, 76, 86, 3, 87, 75, 72, 3, 69, 72, 86, 87]
     23          offsets: [16, 43, 35.533333, 43, 51.533333, 43, 60.4, 43, 72.833336, 43, 80.833336, 43, 89.7, 43, 102.13333, 43, 110.13333, 43, 119, 43, 135, 43, 149.2, 43, 157.2, 43, 173.2, 43, 187.4, 43, 196.26666, 43]
     24          size: 18
     25          color: green
     26          font: "VeraBd.ttf"
     27        -
     28          type: line
     29          clip-rect: [10, 14, 122, 40]
     30          baseline: 45
     31          start: 14
     32          end: 210
     33          width: 3
     34          orientation: horizontal
     35          color: green
     36          style: solid
     37        -
     38          type: line
     39          clip-rect: [10, 14, 122, 40]
     40          baseline: 32
     41          start: 14
     42          end: 210
     43          width: 3
     44          orientation: horizontal
     45          color: green
     46          style: solid
     47        -
     48          type: "pop-all-shadows"