Prevented redundant work
Fixed a WebKit glitch!

WebKit has a bug where it does not relayout so scrollbars are still
calculated even though they are not there yet. This is the last resort.
considering RTL in calculateWidthAvailableForC...
Bugfix in changing table's height dynamically

Changing display mode briefly, to prevent taking in account the
parent's scrollbar width when we are the cause for it