Comment #25 on issue 580586 by
cbiesin...@chromium.org: Scrollbar space is
OK, this is tricky...
overrideHeight=379 scrollHeight=379 clientHeight=364
I only partially understand this so far but here we are in a situation
where we have a horizontal overflow -> so we add a horizontal scrollbar.
That puts us in a place where the clientHeight is now smaller (because we
subtract the scrollbar height out of m_frameRect.height) but the
scrollHeight is still unchanged. In truth though there's no actual overflow
because we really just want to fill the parent.
THAT SAID I'm not completely sure where the horizontal overflow comes from.
I think it's a similar situation like that except for width (width is
fill-available, we overflow height for some reason or other -> get a
scrollbar, suddenly width is too big)
We need some kind of better overflow handling; still thinking about what
that would look like.