[Webkit-unassigned] [Bug 156131] New: Image dimensions not maintained in flex box when height reduced through CSS

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Apr 2 06:23:11 PDT 2016


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

            Bug ID: 156131
           Summary: Image dimensions not maintained in flex box when
                    height reduced through CSS
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Macintosh
                OS: OS X 10.11
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Images
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: rbiggs at ymail.com

Created attachment 275465
  --> https://bugs.webkit.org/attachment.cgi?id=275465&action=review
HTML and image illustrate issue.

When putting images in flex box containers with "align-items: stretch", if you manipulate the height of the image through CSS, such as "img { height: 100px; }" the image should scale the width proportionally to the new height. Instead only the height is changing while the width is remaining constant, resulting in disproportionate images. This occurs in the Webkit nightly, but not Safari Version 9.1 (11601.5.17.1), nor Chrome, Firefox, etc.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160402/b8a5aea2/attachment.html>


More information about the webkit-unassigned mailing list