Use flex box instead of absolute positioning to avoid overlapping elements.
Created attachment 52563 [details] Patch
Comment on attachment 52563 [details] Patch So the end result is it looks the same but now works when height is limited?
Created attachment 52565 [details] Screenshot with patch It looks the same with a big height and I've attached a screenshot with a small window.
Comment on attachment 52563 [details] Patch Clearing flags on attachment: 52563 Committed r57127: <http://trac.webkit.org/changeset/57127>
All reviewed patches have been landed. Closing bug.