mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-24 04:56:50 +03:00
[project @ 2006-03-26 23:05:08 by dsilvers]
Do not include the border in the extra margin calculation for <html> tags svn path=/import/netsurf/; revision=2188
This commit is contained in:
parent
0f13799768
commit
aee810d4d3
@ -1372,12 +1372,10 @@ void html_reformat(struct content *c, int width, int height)
|
||||
doc = c->data.html.layout;
|
||||
|
||||
c->width = doc->descendant_x1 +
|
||||
doc->margin[LEFT] + doc->margin[RIGHT] +
|
||||
doc->border[LEFT] + doc->border[RIGHT];
|
||||
doc->margin[LEFT] + doc->margin[RIGHT];
|
||||
|
||||
c->height = doc->descendant_y1 +
|
||||
doc->margin[TOP] + doc->margin[BOTTOM] +
|
||||
doc->border[TOP] + doc->border[BOTTOM];
|
||||
doc->margin[TOP] + doc->margin[BOTTOM];
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user