Recently, I met a defect in Safari, I just post a codepen about the investigation and conclusion. The article is as follows. It’s really a long article, be patient to read all of it. I believe you will get a lot.