RESOLVED CONFIGURATION CHANGED 114690
display:table size in viewport units isn't updated after a window resize
https://bugs.webkit.org/show_bug.cgi?id=114690
Summary display:table size in viewport units isn't updated after a window resize
Chris Adams
Reported 2013-04-16 10:17:10 PDT
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.
Attachments
Chris Adams
Comment 1 2014-08-04 11:16:51 PDT
Note You need to log in before you can comment on or make changes to this bug.