News for hackers. Stuff that matters.
Re:Google launches new “portal” HTML element by rahuldottech on Friday May 10, 2019 @12:45PM (#19879572)
> portals can be pre-loaded while the user scrolls through a page

Let's be real here. This can already be done though <link> "prefetch" and "preload" [0].

This is just Google introducing more pointless tech that will make webpages clunkier for no good reason. Honestly, I can't think of a single purpose this serves that isn't already fulfilled by existing web tech.

[0]: https://stackoverflow.com/questions/49491193/how-can-i-preem...

Re:Google launches new “portal” HTML element by smacktoward on Friday May 10, 2019 @01:30PM (#19880125)
It's not pointless at all. It makes the Web platform more complicated to implement, which, as the company that owns the leading browser, is in Google's interest. The more complicated the platform becomes, the harder and more expensive it will be for any potential competitors to ship a product that can challenge Chrome.
Re:Google launches new “portal” HTML element by buzzert on Friday May 10, 2019 @02:30PM (#19880771)
More importantly, as it seems to require an implementation of native UI and not just rendering, it will harm browsers that are currently Chromium based.
Re:Google launches new “portal” HTML element by rahuldottech on Friday May 10, 2019 @02:11PM (#19880577)
I meant pointless to web tech and consumers. Obviously Google has their own reasons.
Re:Google launches new “portal” HTML element by mikewhy on Friday May 10, 2019 @01:34PM (#19880165)
Re:Google launches new “portal” HTML element by lol768 on Friday May 10, 2019 @06:21PM (#19882817)
To be clear, this FAQ isn't actually part of the spec (which I'm counting as the document here: https://wicg.github.io/portals/).
Re:Google launches new “portal” HTML element by dqybh on Friday May 10, 2019 @03:38PM (#19881503)
https://github.com/WICG/portals/blob/master/explainer.md#ifr...

Heh, "we considered this but it's hard to do in Chrome".

But they don't give a shit if <portal> is hard to do in Gecko, of course.

Re:Google launches new “portal” HTML element by eridius on Friday May 10, 2019 @02:02PM (#19880485)
Link prefetch/preload puts the loading under the control of the browser. The user can't see whether it loads or not, so the browser can make intelligent decisions about when to load it or whether to even load it at all.

Portals are user-visible, so the browser can't defer the load.

Re:Google launches new “portal” HTML element by rahuldottech on Friday May 10, 2019 @02:10PM (#19880571)
> Link prefetch/preload puts the loading under the control of the browser

This is a good thing. Many are on metered connections and have data caps.

Re:Google launches new “portal” HTML element by Diti on Friday May 10, 2019 @06:08PM (#19882724)
Clunkier? To me, this new tag proposal screams AMP, which Google wants to remain fast.
Re:Google launches new “portal” HTML element by gshdg on Saturday May 11, 2019 @10:04PM (#19889655)
Speed is not the only measure of clunkiness.