2 ms·
> So we anticipate many of the current cases for iframes, such as ads, being able to be replaced with portals. I love how the reason Google is pushing this spe
by ocdtrekkie 6y ago
> So we anticipate many of the current cases for iframes, such as ads, being able to be replaced with portals.
I love how the reason Google is pushing this spec is buried near the bottom.
- IMTDb 6y agoAnd the very first reason they state is to speed up loading by using hidden portals, and then activating them on demand. When you first stated use case is a hack around what the spec really is supposed to provide, you have an issue. If you want to speed up rendering of links, create a spec designed and optimised to speed up rendering of links. Not something that will clutter the DOM, then need additional CSS rules to hide what your new element is supposed to do altogether. All of that to sort of arrive to your primary use case.