[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
Fri Feb 17 13:05:40 PST 2006


http://bugzilla.opendarwin.org/show_bug.cgi?id=5146


hyatt at apple.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #6526|review?(hyatt at apple.com)    |review-
               Flag|                            |




------- Comment #21 from hyatt at apple.com  2006-02-17 13:05 PDT -------
(From update of attachment 6526)
Everything looks fine except for this section:

@@ -1216,15 +1213,15 @@ int RenderBox::calcReplacedWidthUsing(Wi
     else
         w = style()->maxWidth();

-    switch (w.type) {
+    switch (w.type)
+    {
     case Fixed:
         return calcContentBoxWidth(w.value);
-    case Percent: {
+    case Percent: 
         const int cw = containingBlockWidth();
         if (cw > 0)
             return calcContentBoxWidth(w.minWidth(cw));
-    }
-    // fall through
+    //fall through
     default:
         return intrinsicWidth();
     }

You changed things here to no long match our style guidelines.  Can you just
undo that section and re-attach the patch? Thanks!


-- 
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