Implement Document#elementsFromPoint

This commit is contained in:
Rizky Luthfianto 2016-04-03 21:44:01 +07:00
parent 88d29e537c
commit 07584b9f29
7 changed files with 88 additions and 0 deletions

View file

@ -113,6 +113,8 @@ pub trait LayoutRPC {
fn offset_parent(&self) -> OffsetParentResponse;
/// Query layout for the resolve values of the margin properties for an element.
fn margin_style(&self) -> MarginStyleResponse;
fn nodes_from_point(&self, point: Point2D<f32>) -> Vec<UntrustedNodeAddress>;
}
#[derive(Clone)]