Fixed has transform3d test so that it uses querySelector instead of document.body. #775