Fix for the table-tabbing test that works in both phantomJS and chrome.