tor-browser

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

shadow-ordering-ref.yaml (4097B)


      1 --- # checks that decorations on "real" content and "shadow" content are on seperate, atomic, layers
      2 root:
      3  items:
      4        -
      5          type: "shadow"
      6          bounds: [44, 42, 205, 35]
      7          blur-radius: 1.0
      8          offset: [30, 24]
      9          color: blue
     10        -
     11          type: line
     12          baseline: 45
     13          start: 14
     14          end: 210
     15          width: 3
     16          orientation: horizontal
     17          color: [0,0,0,0] # transparent
     18          style: solid
     19        -
     20          bounds: [14, 18, 205, 35]
     21          glyphs: [55, 75, 76, 86, 3, 76, 86, 3, 87, 75, 72, 3, 69, 72, 86, 87]
     22          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]
     23          size: 18
     24          color: [0,0,0,0] # transparent
     25          font: "VeraBd.ttf"
     26        -
     27          type: line
     28          baseline: 32
     29          start: 14
     30          end: 210
     31          width: 3
     32          orientation: horizontal
     33          color: [0,0,0,0] # transparent
     34          style: solid
     35        -
     36          type: "pop-all-shadows"
     37 
     38        -
     39          type: "shadow"
     40          bounds: [34, 34, 205, 35]
     41          blur-radius: 0.0          # no blur to tigger fast shadows
     42          offset: [20, 16]
     43          color: green
     44        -
     45          type: line
     46          baseline: 45
     47          start: 14
     48          end: 210
     49          width: 3
     50          orientation: horizontal
     51          color: [0,0,0,0] # transparent
     52          style: solid
     53        -
     54          bounds: [14, 18, 205, 35]
     55          glyphs: [55, 75, 76, 86, 3, 76, 86, 3, 87, 75, 72, 3, 69, 72, 86, 87]
     56          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]
     57          size: 18
     58          color: [0,0,0,0] # transparent
     59          font: "VeraBd.ttf"
     60        -
     61          type: line
     62          baseline: 32
     63          start: 14
     64          end: 210
     65          width: 3
     66          orientation: horizontal
     67          color: [0,0,0,0] # transparent
     68          style: solid
     69        -
     70          type: "pop-all-shadows"
     71 
     72        -
     73          type: "shadow"
     74          bounds: [24, 26, 205, 35]
     75          blur-radius: 1.0
     76          offset: [10, 8]
     77          color: black
     78        -
     79          type: line
     80          baseline: 45
     81          start: 14
     82          end: 210
     83          width: 3
     84          orientation: horizontal
     85          color: [0,0,0,0] # transparent
     86          style: solid
     87        -
     88          bounds: [14, 18, 205, 35]
     89          glyphs: [55, 75, 76, 86, 3, 76, 86, 3, 87, 75, 72, 3, 69, 72, 86, 87]
     90          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]
     91          size: 18
     92          color: [0,0,0,0] # transparent
     93          font: "VeraBd.ttf"
     94        -
     95          type: line
     96          baseline: 32
     97          start: 14
     98          end: 210
     99          width: 3
    100          orientation: horizontal
    101          color: [0,0,0,0] # transparent
    102          style: solid
    103        -
    104          type: "pop-all-shadows"
    105 
    106        # real text  
    107        -
    108          type: line
    109          baseline: 45
    110          start: 14
    111          end: 210
    112          width: 3
    113          orientation: horizontal
    114          color: red
    115          style: solid
    116        -
    117          bounds: [14, 18, 205, 35]
    118          glyphs: [55, 75, 76, 86, 3, 76, 86, 3, 87, 75, 72, 3, 69, 72, 86, 87]
    119          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]
    120          size: 18
    121          color: red
    122          font: "VeraBd.ttf"
    123        -
    124          type: line
    125          baseline: 32
    126          start: 14
    127          end: 210
    128          width: 3
    129          orientation: horizontal
    130          color: red
    131          style: solid