diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2007-04-07 02:29:32 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2007-04-07 02:29:32 +0000 |
commit | 4d55f43a3d6b87db37fc1f65be9ce121ac9d68a9 (patch) | |
tree | 0cd6c81e4c24d1aa54aabb8627bf362ddb202a73 /render/layout.c | |
parent | f1fba1908f282e8213f6d8c45bddfa60a8abaf06 (diff) | |
download | netsurf-4d55f43a3d6b87db37fc1f65be9ce121ac9d68a9.tar.gz netsurf-4d55f43a3d6b87db37fc1f65be9ce121ac9d68a9.tar.bz2 |
Object sizes do not apply when calculating the extent of descendent
bounding boxes. (fixes 1601881)
svn path=/trunk/netsurf/; revision=3240
Diffstat (limited to 'render/layout.c')
-rw-r--r-- | render/layout.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/render/layout.c b/render/layout.c index eb5e8e488..2789a58c2 100644 --- a/render/layout.c +++ b/render/layout.c @@ -3015,17 +3015,6 @@ void layout_calculate_descendant_bboxes(struct box *box) box->descendant_y1 = box->padding[TOP] + box->height + box->padding[BOTTOM] + box->border[BOTTOM]; - if (box->object) { - LOG(("%i %i %i %i", - box->descendant_x1, box->object->width, - box->descendant_y1, box->object->height)); - if (box->descendant_x1 < box->object->width) - box->descendant_x1 = box->object->width; - if (box->descendant_y1 < box->object->height) - box->descendant_y1 = box->object->height; - return; - } - if (box->type == BOX_INLINE || box->type == BOX_TEXT) return; |