aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/layout_interface.rs
diff options
context:
space:
mode:
authorTill Schneidereit <till@tillschneidereit.net>2015-07-21 22:56:26 +0200
committerTill Schneidereit <till@tillschneidereit.net>2015-07-21 22:56:26 +0200
commit126938a963e79e5dc50ad748bb590df3c9bfdd35 (patch)
treea424366472b8b588184c1981697c2f480a510f03 /components/script/layout_interface.rs
parent317d2ac547baa0fdf0f0654562ce76fc0c232f2b (diff)
downloadservo-126938a963e79e5dc50ad748bb590df3c9bfdd35.tar.gz
servo-126938a963e79e5dc50ad748bb590df3c9bfdd35.zip
Address review comments
Diffstat (limited to 'components/script/layout_interface.rs')
-rw-r--r--components/script/layout_interface.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/layout_interface.rs b/components/script/layout_interface.rs
index 60270a80c4b..1d5cdba2827 100644
--- a/components/script/layout_interface.rs
+++ b/components/script/layout_interface.rs
@@ -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, ()>;