diff options
author | Fernando Jiménez Moreno <ferjmoreno@gmail.com> | 2017-02-28 16:13:00 +0100 |
---|---|---|
committer | Fernando Jiménez Moreno <ferjmoreno@gmail.com> | 2017-03-02 10:44:38 +0100 |
commit | 7426d902a30e955c479841aee19e021d8cb7b4e4 (patch) | |
tree | 04f20f2c67bf321a379269eb3a17f098e96661fc /components/script_layout_interface/rpc.rs | |
parent | d0856fd4cdc8dacd0f2c4034d32e495e76490d0a (diff) | |
download | servo-7426d902a30e955c479841aee19e021d8cb7b4e4.tar.gz servo-7426d902a30e955c479841aee19e021d8cb7b4e4.zip |
Trigger reflow on document.elementsFromPoint
Diffstat (limited to 'components/script_layout_interface/rpc.rs')
-rw-r--r-- | components/script_layout_interface/rpc.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/components/script_layout_interface/rpc.rs b/components/script_layout_interface/rpc.rs index 78e99571ee7..7446c6f11c0 100644 --- a/components/script_layout_interface/rpc.rs +++ b/components/script_layout_interface/rpc.rs @@ -40,7 +40,8 @@ pub trait LayoutRPC { fn margin_style(&self) -> MarginStyleResponse; /// Requests the list of not-yet-loaded images that were encountered in the last reflow. fn pending_images(&self) -> Vec<PendingImage>; - fn nodes_from_point(&self, page_point: Point2D<f32>, client_point: Point2D<f32>) -> Vec<UntrustedNodeAddress>; + /// Requests the list of nodes from the given point. + fn nodes_from_point(&self) -> Vec<UntrustedNodeAddress>; fn text_index(&self) -> TextIndexResponse; } |