div#main is the child of the body element

Correct behaviour is observed

The :hover state is activated by hovering over either the border, padding or content width/height.

This is a test