i think png will never be replaced because you will always be able to tell that a png file is lossless, but jpeg is almost always used as a lossy format, and you will never be able to tell at a glance whether someone cared enough to make it lossless for a particular file
(note: losslessly preserving jpeg artifacts is still lossless if those artifacts were already present in the source material)