News for hackers. Stuff that matters.
Re:Apple Open Source by rvz on Wednesday December 08, 2021 @08:29PM (#29492760)
Without WebKit being open source and maintained, Chrome would never have existed.
Re:Apple Open Source by kelnos on Wednesday December 08, 2021 @08:59PM (#29492946)
WebKit had to be open source, because it was based on KHTML, which was LGPL-licensed. Apple had no choice there.
Re:Apple Open Source by randomdata on Wednesday December 08, 2021 @08:43PM (#29492841)
In in alternate universe Chrome would have adopted KHTML.
Re:Apple Open Source by justinator on Wednesday December 08, 2021 @08:51PM (#29492890)
I don't know what shape you think KHTML was back in the day when Safari 1.0 shipped, but it was vastly different a few years of development work later by Apple.
Re:Apple Open Source by randomdata on Wednesday December 08, 2021 @09:07PM (#29493001)
It was decent. Being a Konqueror user before Safari came onto the scene, I'd argue it was the best browser around at the time. The work no doubt continued to improve as time moved forward, as software tends to.
Re:Apple Open Source by fault1 on Wednesday December 08, 2021 @09:20PM (#29493072)
Yup. I did some hacking on khtml before Apple's announcement in my attempt to make the early 2000s the year of the Linux desktop. To be fair, every browser engine was kind of a mess at that time because everyone was trying to reverse engineer IE (or gecko's) undocumented quirks.

The DOM implementation in khtml was particularly well done. I remember one of the major things Apple did was rewrite kjs (into JavaScriptCore), but from what I recall, it wasn't like they did a complete overhaul of khtml right away.

One thing to consider is that Apple, unlike the khtml project, had a lot more power to steer web standards and that tended to clean up browser impls.

It's a shame that Apple decided to have a pretty arcane development process for Webkit, it was not what people expected when they announced Webkit.

Re:Apple Open Source by justinator on Wednesday December 08, 2021 @09:47PM (#29493214)
> It's a shame that Apple decided to have a pretty arcane development process for Webkit, it was not what people expected when they announced Webkit.

This is a fair point. I believe they milked the, "it's Open Source (Come on In!)" and then would periodically release diff blobs and wonder what else the common folk would possibly find wanting.

Re:Apple Open Source by VWWHFSfQ on Wednesday December 08, 2021 @10:17PM (#29493396)
This is ultimately why WebKit was forked again into Blink. Because Apple is such a poor steward of open source and WebKit is absolutely riddled with bugs and incomplete implementations of web tech that are pretty much table stakes at this point (WebRTC, among other things). At this point I think most people agree that Safari is the worst mainstream browser in existence.

This is why Apple is met with groans instead of praise when their open source contributions come up.

Re:Apple Open Source by hakube on Wednesday December 08, 2021 @10:00PM (#29493281)
Apple stole WebKit from KDE
Re:Apple Open Source by pjmlp on Thursday December 09, 2021 @07:53AM (#29496794)
It is not stealing when the license allows for it.
Re:Apple Open Source by VWWHFSfQ on Wednesday December 08, 2021 @08:41PM (#29492833)
wasn't that just a fork of khtml. what exactly did apple do
Re:Apple Open Source by olliej on Wednesday December 08, 2021 @09:16PM (#29493051)
Rewrote the entirety of it, added most of the new features for the web over more than a decade?

Or do you believe chromium is also “just a fork of khtml”?

Re:Apple Open Source by VWWHFSfQ on Wednesday December 08, 2021 @09:38PM (#29493166)
yes they're all derived from the fork of khtml. is that what you're asking?
Re:Apple Open Source by olliej on Wednesday December 08, 2021 @11:18PM (#29493777)
No, I was asking about "just a fork of khtml". That implies that there wasn't meaningful work. WebKit is at this point (and probably a decade ago) a functionally complete rewrite.

When webkit forked KHTML, KHTML couldn't render the vast majority of the top 100 websites properly, just by the time the first safari was released webkit was already able to render those correctly, or in many cases even usably.

When I say WK rendered correctly, I mean matching Firefox/Explorer, not just a bare "is useable".

Re:Apple Open Source by djxfade on Thursday December 09, 2021 @02:32AM (#29494811)
Not saying you are wrong, but I remember that KHTML was the first renderer that was able to pass the ACID2 test. So this doesn't sound right to me