Documented isVisibleElement hook
Better comments
Merge commit 'd6552bf9e6be9edae4c3fb173ff4d8c72ef663a4' into 3.2