mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +01:00
Trigger reflow on document.elementsFromPoint
This commit is contained in:
parent
d0856fd4cd
commit
7426d902a3
10 changed files with 86 additions and 33 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue