Many tests in PerformanceTests/ContentVisibility use grid, improve their performance.
<rdar://problem/116124130>
Pull request: https://github.com/WebKit/WebKit/pull/18401