[Webkit-unassigned] [Bug 67422] New: Document reflows with height:auto in CSS and HTML image dimensions

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Sep 1 12:10:34 PDT 2011


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

           Summary: Document reflows with height:auto in CSS and HTML
                    image dimensions
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: adam at adamhooper.com


Created an attachment (id=106001)
 --> (https://bugs.webkit.org/attachment.cgi?id=106001&action=review)
Test case. Shift-Refresh frequently and the layout will flicker

When an img tag's width and height are set in HTML and "width: 100%; height: auto;" is set in CSS, Webkit should have all the information it needs to lay out the page correctly.

In reality, before the image is loaded the page is laid out as though it isn't there; then, when the image starts loading, Webkit resizes it. This doesn't happen 100% of the time, but it's noticeable.

Firefox does this too, albeit less frequently. IE8/9 and Opera don't.

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