On Chrome 39, at least, I've found that tc.scrollWidth < tc.clientWidth
in some cases when the tabs container is very wide. This might just be
due to properties not updating fast enough when resizing, but clamping
the value to zero or greater solves the problem.
On Chrome 39, at least, I've found that tc.scrollWidth < tc.clientWidth in some cases when the tabs container is very wide. This might just be due to properties not updating fast enough when resizing, but clamping the value to zero or greater solves the problem.