mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-01-22 18:32:16 +03:00
Update left/right margins comment.
svn path=/trunk/netsurf/; revision=11967
This commit is contained in:
parent
997e829b3d
commit
e406481623
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user