Live data from Hacker News

Apple has a private CSS property to add Liquid Glass effects to web content

alastair.is

81–90 of 208 posts

Re: Apple has a private CSS property to add Liquid Glass effects to web content

#82
post #52
post #40

Earlier quoted context omitted.

Wait so are all non-standard CSS attributes "anticompetitive"? This seems like wild hyperbole. Is Google's "-webkit-tap-highlight-color" also anticompetitive? Should we ban the current practice of shipping proprietary CSS attributes while sometimes also proposing them for standardization? It's just really hard for me to read that as a legit complaint.

If you use this CSS liquid glass effect in your app, Apple will reject it from the App Store. If Apple uses this CSS liquid glass effect in their apps, it'll pass App Store review just fine. Do you see the issue now?

[deleted]

Re: Apple has a private CSS property to add Liquid Glass effects to web content

#83

Providing an OS feature only to first-party programs is a plainly anticompetitive practice. Using your privileged position in one market (cell phones/cell phone operating systems) to gain an advantage in another market (smart phone applications) that you withhold from your competitors is a textbook case.

How does this give an advantage?

Re: Apple has a private CSS property to add Liquid Glass effects to web content

#84

Earlier quoted context omitted.

Isn't the article saying they added a new css element, but it's not restricted to apple apps only really, just not in documentation yet? for example, this article is preview documentation, of a sort?

No, it says it is restricted. You need to set a private attribute on the webview to enable it. And if you interact with private APIs your app will be rejected in review.

I understand, though conjecture (worked at apple for years) this looks like an imminent "feature" that will become documented.

Re: Apple has a private CSS property to add Liquid Glass effects to web content

#85
post #74

Providing an OS feature only to first-party programs is a plainly anticompetitive practice. Using your privileged position in one market (cell phones/cell phone operating systems) to gain an advantage in another market (smart phone applications) that you withhold from your competitors is a textbook case.

With whom is Apple competing on their own web pages and apps? And how much advantage does some shiny reflection (which, btw, could also be attained by writing the effect yourself) offer them over that competition? It must be something big and obvious, otherwise there's no way it's illegal, but I can't think of it. If you mean "anti-competitive" without referring to monopolies, then, well, every company does that.

Google or any open source map product. And actually, if we use the SCOTUS approved DOJ v MSFT consent decree as precedent, any app that can't use this private API component would be an impacted party.

I'm an antitrust nerd - 20+ years since I made my first PACER account as a teenager to get documents from interesting cases..

95% of what people call "anticompetitive" or "monopolistic" has no legal bearing. People don't know the legal definition of those words and bandy them about based on vibes.

This however, is a very very clear case of violations of precedent. If we look at Microsoft's final judgement https://www.justice.gov/atr/case-document/final-judgment-133 see F(1)(a), H(2)(b), while these stipulations haven't been applied to Apple, if I were in a market dominant position, I'd be super careful about capricious restrictions like the example undocumented API, and behavior that mimics patterns of activity that were seen as actionably sanctionable to similar market dominant forces

Re: Apple has a private CSS property to add Liquid Glass effects to web content

#86
post #69
post #52

Earlier quoted context omitted.

If you use this CSS liquid glass effect in your app, Apple will reject it from the App Store. If Apple uses this CSS liquid glass effect in their apps, it'll pass App Store review just fine. Do you see the issue now?

iOS has many private APIs, this one is no different. The fact it's implemented in WebKit is a red herring.

[flagged]

Re: Apple has a private CSS property to add Liquid Glass effects to web content

#87
post #40

Providing an OS feature only to first-party programs is a plainly anticompetitive practice. Using your privileged position in one market (cell phones/cell phone operating systems) to gain an advantage in another market (smart phone applications) that you withhold from your competitors is a textbook case.

Wait so are all non-standard CSS attributes "anticompetitive"? This seems like wild hyperbole. Is Google's "-webkit-tap-highlight-color" also anticompetitive? Should we ban the current practice of shipping proprietary CSS attributes while sometimes also proposing them for standardization? It's just really hard for me to read that as a legit complaint.

Bad example since "-webkit-tap-highlight-color" is initially from Apple, not Google

Re: Apple has a private CSS property to add Liquid Glass effects to web content

#88
> But my suggestion is this: the main reason webviews in apps have such a bad reputation is because you don't notice the webviews that are integrated seamlessly.

Integration is one thing.

The more important thing is resource consumption: Steam for example always gulps 300MB of my precious RAM for two Webview processes that aren't needed anywhere - and earlier versions actually offered a flag to disable the webviews from getting started. On Android, apps using WebView routinely means that either all other apps get OOM'd or in the worst case, the app itself gets OOM'd from its own web view with very weird side effects when whatever the webview was used for is done.

Re: Apple has a private CSS property to add Liquid Glass effects to web content

#89
post #35

Providing an OS feature only to first-party programs is a plainly anticompetitive practice. Using your privileged position in one market (cell phones/cell phone operating systems) to gain an advantage in another market (smart phone applications) that you withhold from your competitors is a textbook case.

Only if you consider making UI text unreadable an advantage.

I don't think it's an improvement, but having a GUI that matches user expectations is undeniably a business advantage.

Re: Apple has a private CSS property to add Liquid Glass effects to web content

#90
post #44

For those who don't know what the fuck "Liquid Glass effect" is: it's a sort of frosted glass look that apple uses for their UI. It's being sold as the best thing since sliced bread. Googling it felt like I entered a parallel universe.

Windows 7 did it like 15 years ago

Windows 7 built a design language around it, transparency was never the main attraction.

Which is smart. Contrast is king, especially on consumer hardware where grandma might not see too well in her late age. It wasn't the glass effects of Vista or Yosemite that appealed to people, it was the high-contrast UI elements and skeuomorphic design elements (neither of which are present in liquid glass).

Post reply on HN