From Page Visibility test suite

From dvcs.w3.org