Hi, I have a hard time getting the correct LayerId <https://doc.servo.org/gfx_traits/struct.LayerId.html> related to an DOM Element <https://doc.servo.org/script/dom/element/struct.Element.html>. I tried to make a query to layout thread, which will iterate through the fragments and call `layer_id` over the Fragment <https://doc.servo.org/layout/struct.Fragment.html>.
However, the testing told me that it is not the case. My problems are how to do it correctly and where I might get wrong. For more details, you may refer to this thread <https://github.com/servo/servo/pull/9968#issuecomment-204879989>. Thanks for any guidance! - Zhen _______________________________________________ dev-servo mailing list dev-servo@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-servo