tor-browser

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

fractional-root-frame.yaml (1140B)


      1 # verify that a fractional bounds in a reference frame is correctly snapped
      2 # if the should_snap field is set by caller
      3 ---
      4 root:
      5  items:
      6    - type: clip
      7      id: 35
      8      complex:
      9        - rect: [53.366665, 85.0, 3746.633335, 2075.0]
     10          radius:
     11            top-left: [8.0, 8.0]
     12 
     13    - type: clip-chain
     14      id: 20
     15      clips: [35]
     16 
     17    - type: stacking-context
     18      bounds: [53.366665, 85.0, 3746.633335, 2075.0]
     19      transform: identity()
     20      is-2d: true
     21      should-snap: true
     22      items:
     23        - type: stacking-context
     24          bounds: [0.0, 0.0, 3746.633335, 2075.0]
     25          clip-chain: 20
     26          items:
     27            - type: scroll-frame
     28              id: 2
     29              bounds: [0, 0, 3747.0, 14087.066]
     30              content-size: [3747.0, 2075.0]
     31              items:
     32                - type: text
     33                  bounds: [47.0, 55.083332, 342.3, 35.0]
     34                  clip-rect: [46.0, 54.083332, 344.3, 36.999998000000005]
     35                  font: Ahem.ttf
     36                  size: 18
     37                  color: [21, 20, 26, 1]
     38                  glyphs: [55]
     39                  offsets: [48.0, 82.083336]