Update left/right margins comment.

svn path=/trunk/netsurf/; revision=11967
This commit is contained in:
Michael Drake 2011-03-12 12:27:17 +00:00
parent 997e829b3d
commit e406481623

View File

@ -352,8 +352,8 @@ bool layout_block_context(struct box *block, int viewport_height,
else if (max_neg_margin < -box->margin[TOP])
max_neg_margin = -box->margin[TOP];
/* no /required/ margins if box doesn't establish a new block
* formatting context */
/* Blocks establishing a block formatting context get minimum
* left and right margins to avoid any floats. */
lm = rm = 0;
if (box->type == BOX_BLOCK || box->object) {