[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
Mon Feb 20 06:58:24 PST 2006


------- Comment #24 from sam.weinig at gmail.com  2006-02-20 06:58 PDT -------
I see (but in my defence, I did notice that change was only made in the last
couple of days ;)  ), that means that there is actually another violation I
made just a coulple lines down in the patch as well.  While I am changing it to
be to spec, would it be ok for me to change the lines

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

as I noticed in general, braces are no used inside switch statements in the

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