[Webkit-unassigned] [Bug 114690] New: display:table size in viewport units isn't updated after a window resize

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 16 10:18:53 PDT 2013


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

           Summary: display:table size in viewport units isn't updated
                    after a window resize
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
               URL: http://chris.improbable.org/experiments/browser/image-
                    viewer/
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: chris at improbable.org


http://chris.improbable.org/experiments/browser/image-viewer/ is a simplified, pure-CSS version of an image viewer I'm experimenting with which uses display:table to attempt to vertically center an image on the page and uses viewport units to resize the image to fit within the window. This works well initially but if the user resizes the window both Safari and Chrome will fail to update the sizes (reloading the page works, of course); Firefox handles this situation perfectly.

Removing the display:table rules fixes resizing but removes the ability to vertically center an element which is smaller than the page height such as the map example.

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