Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

  Chrome‑only demo
  The interactive demo at the end currently works in Chrome only (due to SVG filters as backdrop‑filter).
  You can still read the article and interact with the inline simulations in other browsers.
Dishonor on your WHOLE FAMILY! dishonor on you, dishonor on your cow...


This is exactly the kind of thing where this is OK since it's literally impossible otherwise. It's showcasing a specific feature that is not generally available.


In that case it would be more apt to title the post as "Liquid Glass in Chromium Browsers...", or something along those lines. People looking at the title are going to assume that it works accross all browsers, click on the link, and then get disappointed.


Plenty of people have multiple browsers installed. If you have time to comment to complain then you have time to open a second app to see a tech demo


What is funny is that for me the page on Chrome is slower and the scrolling jankier than on Firefox with the unsupported effects (macOS M1).

Besides that, very impressed by the article presentation.


I mean that makes sense though, right? Since it’s only available on Chrome, it’s the only one doing all the computations (GPU or otherwise) that other browsers won’t do, since they just ignore the rule.


I had the same reaction but the weird thing is: it looked ok in FireFox..?


Not OK on mobile Firefox: displacement maps do not apply, so there's no actual refraction, the liquid feeling; there's only the specular effect at the edges. Try opening it in a Chromium-based browser and compare.


Yeah, curious. The mentioned backdrop-filter seems to be supported everywhere

https://caniuse.com/?search=backdrop-filter


backdrop-filter is supported by all major browsers, but specifically using SVG filters, which are more powerful and is out-of-spec, is only supported in Chromium-based browsers.


Not sure if this is relevant, but while moving the slider around, in chromium i see 40% gpu utilisation, while in firefox less than 20% (macbook m3 pro). I do not observe any noticeable difference otherwise in terms of quality.

PS Neat website and explanations, but talking about the liquid glass as a design principle in general, I would rather ui elements in a random website not use that much of gpu for not great reasons but maybe that's my problem of not thinking different.


> which are more powerful and is out-of-spec

These are in the specification here: https://drafts.fxtf.org/filter-effects-1/#typedef-filter-url

And used by backdrop-filter here: https://drafts.fxtf.org/filter-effects-2/#BackdropFilterProp...


The backdrop-filter thingy most definitely does not work in Firefox. Everything above does.

It works on Chromium-based browsers but it does not look great, probably needs some filtering.


Try on chromium based browser - it's much better.


For those wondering about the reference:

https://youtu.be/GamP4chXJ2I?t=17


I had some feeling I know that from somewhere, but couldn’t recall the source. Thanks.


Works fine on Firefox tho


No. It becomes apparent in the "Magnifying Glass" demo. Nothing is magnified in Firefox, while it is a really cool effect in Chrome.


And for me it was where it was the smoothest. But it even worked in Safari, albeit a bit slowly.


No. The effects are not fully there on Firefox/Safari.


Not on mobile


Yeah on mobile


Ok, this was the funniest comment i've read in a while.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: