[Webkit-unassigned] [Bug 5146] max-height/max-width not resizing images with correct aspect ratio

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Sun Feb 12 20:35:19 PST 2006


sam.weinig at gmail.com changed:

           What    |Removed                     |Added
Attachment #6089 is|0                           |1
           obsolete|                            |
   Attachment #6447|                            |review?
               Flag|                            |

------- Comment #11 from sam.weinig at gmail.com  2006-02-12 20:35 PDT -------
Created an attachment (id=6447)
 --> (http://bugzilla.opendarwin.org/attachment.cgi?id=6447&action=view)
patch 3

This patch fixes all the issues the last one had by adding a change to the
calcMinMaxWidth() function in RenderReplaced that I forgot in the previous one.
 I should note that this patch does not add correct functionality for max/min
height/width for absolutly positioned images, but it also has no negative
affect on absolutly position element either.  The code for absolutly positioned
element is handled a little different and as it stands is quite messy.  In fact
most of RenderBox up through RenderReplaced and RenderImage could use some love
as the code paths are quite unclear at best.

Configure bugmail: http://bugzilla.opendarwin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

More information about the webkit-unassigned mailing list