Haven't modern smartphones had non-replaceable batteries long before they had any kind of water resistance ratings?

Not sure if I should be repeating the same answer below each instance of the question but here goes: See the Samsung Galaxy S5 for example as having a good waterproofing rating and user-replaceable battery