Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/gfx/wr/wrench/reftests/clip/   (Browser von der Mozilla Stiftung Version 136.0.1©)  Datei vom 10.2.2025 mit Größe 1010 B image not shown  

Quelle  clip-thin-rotated.yaml   Sprache: unbekannt

 
Spracherkennung für: .yaml vermutete Sprache: Unknown {[0] [0] [0]} [Methode: Schwerpunktbildung, einfache Gewichte, sechs Dimensionen]

# Test checks if a rotated clip with a long and thin rectangle would still
# correctly affect the primitive with regards to the inner bounds.
---
root:
  items:
    -
      bounds: [0000]
      type: "reference-frame"
      id: 2
    -
      bounds: [0000]
      type: "stacking-context"
      transform: rotate(45) translate(2000)
      items:
        -
          bounds: [00201000]
          type: clip
          id: 5
        # uncomment this to see the clip area
        #-
        #  bounds: [00201000]
        #  type: rect
        #  color: green
    - # we aren't supposed to see this one
      bounds: [0000]
      type: "stacking-context"
      clip-and-scroll: [25]
      items:
        -
          bounds: [1201201010]
          type: rect
          color: red
    -
      bounds: [0000]
      type: "stacking-context"
      clip-and-scroll: [25]
      items:
        -
          bounds: [1001001414]
          type: rect
          color: blue

[Dauer der Verarbeitung: 0.12 Sekunden, vorverarbeitet 2026-06-10]