- the "document" event is now emitted from top to bottom