From b6f3bda0a4808db5c7029b65424d6712bb480bbb Mon Sep 17 00:00:00 2001 From: Niko Matsakis Date: Tue, 27 Mar 2012 17:11:43 -0700 Subject: [PATCH] add comment --- src/layout/base.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/layout/base.rs b/src/layout/base.rs index 34507cc3338..0ea07d0f721 100644 --- a/src/layout/base.rs +++ b/src/layout/base.rs @@ -59,6 +59,11 @@ fn linked_box(n: node) -> box { fn reflow_block(root: box, available_width: au) { // Root here is the root of the reflow, not necessarily the doc as // a whole. + // + // This routine: + // - generates root.bounds.size + // - generates root.bounds.origin for each child + // - and recursively computes the bounds for each child alt root.node.get().kind { nk_img(size) {