Bug 1719913 Comment 16 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

It looks like layers have only one transform associated with them, and it gets associated with the [bottommost](https://searchfox.org/mozilla-central/rev/77f0b36028b2368e342c982ea47609040b399d89/gfx/layers/LayerMetricsWrapper.h#262) node (here, v=3).

WebRenderScrollLayerData, on the other hand, has both a "transform" and an "ancestor transform"; the former gets associated with the bottommost layer (v=3), while the latter with the [topmost](https://searchfox.org/mozilla-central/rev/77f0b36028b2368e342c982ea47609040b399d89/gfx/layers/wr/WebRenderScrollDataWrapper.h#214) layer (v=2), and in this testcase, the (0,50) is in the ancestor transform.
It looks like layers have only one transform associated with them, and it gets associated with the [bottommost](https://searchfox.org/mozilla-central/rev/77f0b36028b2368e342c982ea47609040b399d89/gfx/layers/LayerMetricsWrapper.h#262) node (here, v=3).

WebRenderScrollLayerData, on the other hand, has both a "transform" and an "ancestor transform"; the former gets associated with the bottommost layer (v=3), while the latter with the [topmost](https://searchfox.org/mozilla-central/rev/77f0b36028b2368e342c982ea47609040b399d89/gfx/layers/wr/WebRenderScrollDataWrapper.h#214) layer (v=2), and the (0,50) is in the ancestor transform.
It looks like layers have only one transform associated with them, and it gets associated with the [bottommost](https://searchfox.org/mozilla-central/rev/77f0b36028b2368e342c982ea47609040b399d89/gfx/layers/LayerMetricsWrapper.h#262) node (here, v=3).

WebRenderLayerScrollData, on the other hand, has both a "transform" and an "ancestor transform"; the former gets associated with the bottommost layer (v=3), while the latter with the [topmost](https://searchfox.org/mozilla-central/rev/77f0b36028b2368e342c982ea47609040b399d89/gfx/layers/wr/WebRenderScrollDataWrapper.h#214) layer (v=2), and the (0,50) is in the ancestor transform.

Back to Bug 1719913 Comment 16