When the lava flow touches the water one block down, obsidian is placed.
Literally, when the lava flow touches the water one block down, obsidian is placed.
Test video:
Literally, when the lava flow touches the water one block down, obsidian is placed.
Test video: