mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-21 09:15:35 +00:00
5c7daec3ac
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
19 lines
435 B
YAML
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
|