[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:46:36 PST 2006


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





------- Comment #12 from hyatt at apple.com  2006-02-12 20:46 PDT -------
(From update of attachment 6447)
Can you explain this?

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


I do not understand why a containg block width of 0 would suddenly cause you to
use intrinsic width instead.


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