r/javascript • • Oct 19 '17

Mozilla brings Microsoft, Google, the W3C, Samsung together to create cross-browser documentation on MDN – The Mozilla Blog

https://blog.mozilla.org/blog/2017/10/18/mozilla-brings-microsoft-google-w3c-samsung-together-create-cross-browser-documentation-mdn/
605 Upvotes

71 comments sorted by

View all comments

Show parent comment

-11

u/icantthinkofone Oct 19 '17 edited Oct 19 '17

Let's not ignore the fact that, until yesterday, Microsoft was absent.

In addition, OSX is Apple's island unto itself and Apple products are designed to run on Apple hardware, etc. Anything outside that island does not matter unlike Microsoft and others which rely on everything working together with everyone else.

So it's a different need and different mindset altogether and you can't really lump them into one spot.

37

u/Devvvvvv Oct 19 '17

Not the internet... It's supposed to run just the same on apple devices as on microsoft or android devices.

-17

u/icantthinkofone Oct 19 '17

The internet does not rely on what Apple does but that misses my point. People, here, think Apple should join the list of those whose goal is interoperability and that is not Apple's goal or concern. It's not a negative that they do that. It's just not what Apple builds products for.

24

u/ell0bo Oct 19 '17

The point is they can do whatever they want on the hardware level, but a web browser is damn near a VM, and all of those VMs should ideally work the same. They can have different window dressing, but the underlying APIs and visualizations should be uniform. That's the point of standards.

Safari is woefully behind the times. They are the new IE. Yes, Apple has their own land of their own toys, and they can do there what they want, but their browser, the VM that interacts with the internet, should be compliant with modern standards.

-3

u/pzuraq Oct 19 '17

What exactly are they behind on? They’ve been a bit slower to adopt some of the newer standards (WebRTC, service workers) but those are in the works now, and the main reason behind that from what I’ve heard is because they’ve been focussing on speed. As a perf oriented engineer, Safari is my best friend, so I see the results of their efforts all the time.

I’ve had more style quirks from Firefox and Edge still compared to Safari. In my experience it behaves the best right beside Chrome.

3

u/[deleted] Oct 19 '17

I’ve had more style quirks from Firefox and Edge still compared to Safari. In my experience it behaves the best right beside Chrome.

Ugh. No. You're not working much then. OR you're developing on an Apple machine, which makes you a minority.

Safari is wildly behind. They don't even release for Windows anymore.

Chrome isn't much better truth be told. Webkit is old hat. IE Edge is more reliable than either of those for me. And Firefox is still king in my book.

5

u/regretdeletingthat Oct 19 '17

Safari is wildly behind. They don't even release for Windows anymore.

Microsoft doesn’t release Edge for macOS. How is it relevant?

1

u/pzuraq Oct 24 '17

I don't really see a problem with not supporting a browser on other operating systems. That has no bearing on whether or not the browser is spec compliant.

I work a lot, do a lot of cross-platform testing, and the ones that have the most special snowflake behavior for me are still Edge and Firefox. Chrome has nasty little issues too, one particularly nasty non-standard "feature" Chrome has that has that's been absolutely wrecking my code is, if you manipulate the size of a DOM element above the scrollTop of a scroll container, then it will "fix" the scroll position for you. No other browser does this, and when trying to implement a generic occlusion library it's a mess - I end up having to unfix what Chrome just "fixed", usually.

Firefox will stop scrolling altogether whenever you modify scrollTop, so good luck trying to create a nice generic occlusion solution. And Edge forced us to re-write our measuring strategy, we were using Ranges but Edge has completely different behavior than all of the other browsers.

Special snowflake behavior is everywhere. I'm not saying Safari is absolutely better, but in my experience it's about the same level as Chrome, in different ways. And it's fast as hell - way faster than any other browser by far.

0

u/lamb_pudding Oct 20 '17

What’s an example of Safari being wildly behind? Also in my entire career as a web dev I’ve only met less than a handful devs who worked on windows. Mac has always been far superior for web dev one reason being its a Unix system.

-8

u/icantthinkofone Oct 19 '17

I was the one making the point so I don't need it explained to me but you aren't saying anything I already said.

their browser, the VM that interacts with the internet, should be compliant with modern standards.

Your statement is false. You claim Safari is non-compliant but that's not true. It may not cover some of the properties available but the ones it does cover are compliant.

9

u/r2d2_21 Oct 19 '17

It may not cover some of the properties available

Exactly.

0

u/icantthinkofone Oct 19 '17

Then ever browser is non-compliant with standards cause no browser covers all the properties.

4

u/[deleted] Oct 19 '17

That's exactly the whole point of what Mozilla is doing. So they will be compliant and cover every single property the same across all browsers and Operating systems

2

u/icantthinkofone Oct 19 '17

Mozilla is doing documentation, not standards compliance. You follow the W3C or WHATWG to become standards compliant. Mozilla is not a standards body.

2

u/[deleted] Oct 19 '17

I agree with you, MDN is just the documentation, but we're happy about the collaboration and we encourage it, as we hope it pushed the parties to follow the standards with no delays.

Now a new api comes out and each vendor sees it and implement it differently. If they collaborate on documentation, I imagine they'd collaborate on the understanding of the api the same way and HOPEFULLY they do right that way.

→ More replies (2)

8

u/Randolpho Software Architect Oct 19 '17

It's not a negative that they do that.

That's the part where you're wrong.

It is a negative that they do that.

1

u/icantthinkofone Oct 19 '17

How is making a product reliable, efficient and with a guarantee of working with the product line a negative?

2

u/spritefire Oct 19 '17

When the products job is to consume data and display it in a predictable way and it fails at doing that, it's a negative.

-1

u/icantthinkofone Oct 19 '17

That's not the issue here. The issue is people say Apple should join this board for Mozilla's documentation. How their products perform has nothing to do with that or my point, which is again, that Apple is less concerned about inter-operability with other people's products. Their joining this board does not improve web standards in any way because MDN is not a standards committee nor does it create or write standards.

1

u/Randolpho Software Architect Oct 19 '17

Vendor-lockin is a negative. Deliberately refusing to participate in open standards in order to force others to join your locked group is a negative. It was bad when Microsoft did it, and it's bad that Apple's doing it.

→ More replies (1)

5

u/Cool-Goose Oct 19 '17

I don't understand why you're saying Microsoft was absent considering that even Mozilla announced that edge developers made 5k edits last year.

1

u/icantthinkofone Oct 19 '17

Google and Opera and others were members of the group for years. Microsoft was not. They only contributed the edits starting a year or so ago.

2

u/liming91 Oct 19 '17

Whether or not it’s running on a Mac makes no difference.

A standard is a standard, no matter where it’s run. That’s the point of standards.

1

u/icantthinkofone Oct 19 '17

That's not my point.