gecko-dev/gfx/wr/wrench/reftests/transforms/content-offset.yaml
Dzmitry Malyshau 5c7daec3ac Bug 1524797 - WR: rework the relative transform query on a clip-scroll tree r=gw
This change rewords get_relative_transform and assotiated pieces of logic,
so that we flatten the transforms at preserve-3d context boundaries.

It addresses a problem found by 1524797 but doesn't resolve the bug yet (!).
There is another issue likely contributing here, and we can treat this PR
as WIP and not merge until the case is completely resolved.

Differential Revision: https://phabricator.services.mozilla.com/D19254

--HG--
extra : moz-landing-system : lando
2019-02-12 15:05:01 +00:00

19 lines
435 B
YAML

---
root:
items:
-
type: "stacking-context"
perspective: 1000
perspective-origin: 0 0
"transform-style": "preserve-3d"
items:
-
type: "stacking-context"
transform: rotate-x(45) translate(100, 100, 0)
"transform-style": "preserve-3d"
items:
-
bounds: [0, 0, 200, 200]
type: rect
color: red