# Ensures that blur clamping happens after scale factors are applied --- root: items: - type: stacking-context bounds: [100, 100, 300, 300] transform: scale(10) items: - type: stacking-context bounds: [0, 0, 300, 300] # Blur will be 20 * 10(scale) = 200 and it should then be clamped to 100 filters: drop-shadow([0, 0], 20, blue) items: - type: rect bounds: [0, 0, 10, 10] color: 0 255 0 1.0 - type: stacking-context bounds: [400, 100, 300, 300] transform: scale(0.1) items: - type: stacking-context bounds: [0, 0, 300, 300] # Blur should be 500 * 0.1(scale) = 50. This tests to make sure clamping # does not occur before applying scale factors, otherwise 500 would be # clamped to 100. filters: drop-shadow([0, 0], 500, green) items: - type: rect bounds: [0, 0, 1000, 1000] color: 255 0 0 1.0