mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
add comment
This commit is contained in:
parent
57ae567777
commit
b6f3bda0a4
1 changed files with 5 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue