1. Set a screen resolution with the height of 900 or less.
2. Go to http://rezina.ua/ and scroll the page so that the SELECTs "Резина > Бренд" OR "Диски > Бренд" are exactly in the middle of the page
3. Click one of these SELECTs.
A popup with options is opened in the top of the page instead of immediately above or below the SELECT element. It can also overlap the SELECT element in certain circumstances.
Upstreaming http://code.google.com/p/chromium/issues/detail?id=129562 (the bug contains a screenshot).
This regression was introduced in http://trac.webkit.org/changeset/113418
Created attachment 144538 [details]
Comment on attachment 144538 [details]
View in context: https://bugs.webkit.org/attachment.cgi?id=144538&action=review
> + No new tests, as popups are not testable in Chromium.
Let's consider to introduce a unit test for the rect calculation later.
Committed r118768: <http://trac.webkit.org/changeset/118768>