A water resistant device is not water proof, these terms are not exclusive. Before you do something you regret or ask someone to try this out and void their warranty out of curiosity read this:
About splash, water, and dust resistance of iPhone 7 and later - Apple Support