[Webkit-unassigned] [Bug 78944] height + max-height values break proportional image scaling

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Feb 22 20:47:00 PST 2012


https://bugs.webkit.org/show_bug.cgi?id=78944





--- Comment #2 from Bryan Buchanan <bryan at resenmedia.com>  2012-02-22 20:47:00 PST ---
That may be true (I'm honestly not familiar with the spec), but automatically scaling image width (when not defined) to maintain correct proportion is something that previous versions of WebKit, and the current versions of Firefox/Gecko and IE all do. The behavior I'm describing is something that was just introduced recently.

Images are content, and distorting/modifying content shouldn't be default behavior. I'd think images should never be distorted unless they're explicitly instructed to be.

If you had a horizontal row of images with matching heights (with max-height) and variable widths, it'd be possible to do in every major browser except the latest releases of WebKit. I believe you'd have to use JavaScript.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list