mirror of
https://github.com/servo/servo.git
synced 2025-07-24 15:50:21 +01:00
Address review comments
This commit is contained in:
parent
317d2ac547
commit
126938a963
3 changed files with 20 additions and 25 deletions
|
@ -95,7 +95,7 @@ pub trait LayoutRPC {
|
|||
fn content_box(&self) -> ContentBoxResponse;
|
||||
/// Requests the dimensions of all the content boxes, as in the `getClientRects()` call.
|
||||
fn content_boxes(&self) -> ContentBoxesResponse;
|
||||
/// Requests the clientTop.
|
||||
/// Requests the geometry of this node. Used by APIs such as `clientTop`.
|
||||
fn node_geometry(&self) -> NodeGeometryResponse;
|
||||
/// Requests the node containing the point of interest
|
||||
fn hit_test(&self, node: TrustedNodeAddress, point: Point2D<f32>) -> Result<HitTestResponse, ()>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue