mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-21 17:25:36 +00:00
22 lines
555 B
YAML
22 lines
555 B
YAML
|
# This test ensures that we flatten the "flat" style trasformations.
|
||
|
# If the flattening doesn't happen here, the rect gets rotated back
|
||
|
# to the original position.
|
||
|
---
|
||
|
root:
|
||
|
items:
|
||
|
-
|
||
|
bounds: [100, 100, 0, 0]
|
||
|
type: stacking-context
|
||
|
transform: rotate-x(45)
|
||
|
transform-origin: 0 0
|
||
|
items:
|
||
|
-
|
||
|
type: "stacking-context"
|
||
|
transform: rotate-x(-45)
|
||
|
transform-origin: 0 0
|
||
|
items:
|
||
|
-
|
||
|
bounds: [0, 0, 200, 200]
|
||
|
type: rect
|
||
|
color: green
|