Hacker News new | ask | show | jobs
by ZeroGravitas 2631 days ago
It wasn't dominance that people were referring to, it's the intentional heel dragging to benefit other parts of their corporate family at the expense of the web that makes Safari the new IE.
1 comments

when people say "Safari is the new IE" they mean that Safari has numerous bugs and missing features that take years to fix or implement. there's probably a ton of CSS stuff that doesn't need -webkit prefixes anymore in any browser (because it has been standardized). except of course in the outdated and widely-used Safari/iOS. For instance, they only now got Intersection Observer (super important to efficiently lazy load on mobile devices) in the latest iOS tech preview. many browsers have had it since 2017: https://caniuse.com/#search=intersectionobserver
Let's not beat around the bush: Intersection Observer can and will be used to detect ad impressions too. Calling it "super important to lazy load images" doesn't show the whole picture.
ummm, did you get the impression that i was beating around the bush? i stated exactly why i've personally needed it and have had to resort to polyfills even for the latest iOS.

> Intersection Observer can and will be used to detect ad impressions too.

yes, and? would you rather it be done using inefficient, non-passive onscroll, onresize and onorientationchange events with a bunch more MutationObserver and getBoundingclientRect() sprinkled in plus a generous helping of setInterval(..., 100) for UI polling? cause that's how things basically work today (and how the polyfill works). replacing all that junk with a normal, optimized API is exactly how it should be.