[Webkit-unassigned] [Bug 69939] New: Image percentage max-width/max-height not recalculated after parent size change

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 12 10:30:42 PDT 2011


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

           Summary: Image percentage max-width/max-height not recalculated
                    after parent size change
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: joepeck at webkit.org


Created an attachment (id=110696)
 --> (https://bugs.webkit.org/attachment.cgi?id=110696&action=review)
[REDUCTION] Test Case

See the attached test case.

  <div> <!-- width and height of this to change doesn't cause the img to resize -->
    <div style="width:100%; height:100%">
      <img style="max-width:100%; max-height:100%>
    </div>
  </div>

Workaround, forcing a style recalculation. That can be done by inspecting
the element in the inspector, or removing/re-adding the element.

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