mirror of
https://github.com/servo/servo.git
synced 2025-06-11 18:10:11 +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) {
|
fn reflow_block(root: box, available_width: au) {
|
||||||
// Root here is the root of the reflow, not necessarily the doc as
|
// Root here is the root of the reflow, not necessarily the doc as
|
||||||
// a whole.
|
// 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 {
|
alt root.node.get().kind {
|
||||||
nk_img(size) {
|
nk_img(size) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue