Live data from Hacker News

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

alastair.is

161–170 of 208 posts

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

#162

Earlier quoted context omitted.

If you are ignorant to Apple rules and practices, please don't be obnoxious about it. Apple has developer guidelines for the App Store, and they say you cannot use private APIs! They do not publish any "proof" to cite beyond what they write there. And they interpret and enforce the rules at their own whim. The private API is here: https://github.com/WebKit/WebKit/blob/613c42873c56e2b2073f91... it's on WKWebView and r…

Are you really asserting that a CSS selector is a private API? This is either a really wild misunderstanding about the difference between CSS and API, or somehow I totally misread your post. But I did re-read a few times and that seems to be the claim?

Did you click my link or read the article? The private API is the WKWebView property.

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

#163

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 is Apple withholding Samsung from making applications for Android? What kind of textbooks are you reading?

HN has one of the largest online populations of amateur lawyers with some of the least correct legal opinions in the world. This is one of many, many examples.

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

#164
post #34

Nice find! Apple's new glass UI seems to draw a lot of ire, but I... kinda like it? It feels like the OS has some actual personality again instead of just being flat and boring. I can visually tell the size of click targets now and the buttons are finally visually distinct from text again. I view it as a welcome change. It's not just "nostalgia" either. It has actual utility. I installed the iOS 26 Beta to test some…

I like the glass effects and aesthetics, but I think the functionality in a lot of the apps isn't as good as it was. A lot of things that were easy-to-reach buttons are now tucked away in menus, and harder to find.

I noticed this in safari where the bookmark icon used to be one click was now two. Fortunately you can change it back in the settings by switching the tab layout (whatever that means)

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

#165

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.

I wanted to be outraged at apple, but I really can't. Read WinAPI documentation and try to count all "reserved" parameters for example. OS developers build features just for internal use all the time. Granted, this is just UI tweak so I'm not convinced it has to be private, but they probably just don't want to have to maintain that forever.

Relative privation fallacy.

“Timmy got away with it. I should get away with it, too.” -Elementary school students

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

#167

Earlier quoted context omitted.

this comment is bringing out the apple blinders in force and i love it. do people really see apple as "the good guy"? tech has zero good guys left

Tech was always a business. What this comment is bringing out is the people who see preferred technical choices as some kind of morality play. They aren’t. They never were. It’s childish to believe such things.

not wanting to use something that looks like it was designed to appeal to ages 2-8 is a moral issue?

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

#169

Earlier quoted context omitted.

The key distinction is the withholding from your competitors part. WinAPI may have a ton of features labelled "pls no use thx" but MS doesn't block you from distributing a program that uses them anyway.

That used to be true but they absolutely do this today :( Spent so much time trying to repro some functionality only to realize that Windows has an allow list for what apps it listens to for certain APIs.

The "turn off Windows Defender PLS, I am an antivirus" API being a principal (and well-justified) example.

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

#170

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.

But there's no evidence yet that it's being used by first-party programs, e.g. by GarageBand or Pages or Mail.app.

It's also quite likely that it's a) not being used at all, and the private API is just for internal testing until it's ready to be made public, and/or b) used by certain OS components that aren't competing with third-party apps (e.g. somewhere in the Settings panel).

And while I agree with your assertion in theory, some cosmetic styling is probably about the least important, most trivial example you could come up with... can't really get myself worked up about this one.

Post reply on HN