Remove unwanted debug.

This commit is contained in:
Michael Drake 2014-08-04 14:59:13 +01:00
parent a807d762f9
commit 2ea5ca5805
2 changed files with 1 additions and 3 deletions

View File

@ -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 */

View File

@ -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;
}
}