mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-17 17:52:43 +03:00
Remove unwanted debug.
This commit is contained in:
parent
a807d762f9
commit
2ea5ca5805
@ -446,8 +446,7 @@ struct box *box_at_point(struct box *box, const int x, const int y,
|
||||
int bx = *box_x, by = *box_y;
|
||||
struct box *child, *sibling;
|
||||
bool physically;
|
||||
printf("x0:%i y0:%i x1:%i y1:%i\n", box->descendant_x0, box->descendant_y0,
|
||||
box->descendant_y0, box->descendant_y1);
|
||||
|
||||
assert(box);
|
||||
|
||||
/* consider floats first, since they will often overlap other boxes */
|
||||
|
@ -5068,7 +5068,6 @@ static void layout_get_box_bbox(struct box *box, int *desc_x0, int *desc_y0,
|
||||
|
||||
css_computed_font_size(box->style, &font_size, &font_unit);
|
||||
text_height = nscss_len2px(font_size, font_unit, box->style);
|
||||
printf("%i", text_height);
|
||||
*desc_y0 = (*desc_y0 < -text_height) ? *desc_y0 : -text_height;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user