-
commit-queue@webkit.org authored
Reviewed by Adam Barth. [Chromium] Fix relocation problem of popup window which introduces autofill popup sometimes moves to screen's top left corner. https://bugs.webkit.org/show_bug.cgi?id=57911 http://code.google.com/p/chromium/issues/detail?id=78073 Manual test added: manual-tests/autofill-popup-location.html Originally only height is checked so that it introduces the bug. So I changed it to check both width and height as size. * manual-tests/autofill-popup-location.html: Added. * platform/chromium/PopupMenuChromium.cpp: (WebCore::PopupContainer::refresh): Check window size between original and new before calling setFrameRect(). git-svn-id: http://svn.webkit.org/repository/webkit/trunk@83237 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2ff922bf