Author: jmb
Date: Sat Apr 7 03:29:32 2007
New Revision: 3240
URL:
http://svn.semichrome.net?rev=3240&view=rev
Log:
Object sizes do not apply when calculating the extent of descendent
bounding boxes. (fixes 1601881)
Modified:
trunk/netsurf/render/layout.c
Modified: trunk/netsurf/render/layout.c
URL:
http://svn.semichrome.net/trunk/netsurf/render/layout.c?rev=3240&r1=3...
==============================================================================
--- trunk/netsurf/render/layout.c (original)
+++ trunk/netsurf/render/layout.c Sat Apr 7 03:29:32 2007
@@ -3015,17 +3015,6 @@
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;