Live data from Hacker News

Microsoft, Google, Mozilla, and Apple Object to W3C Fork of DOM Spec

github.com

281–290 of 386 posts

Re: Microsoft, Google, Mozilla, and Apple Object to W3C Fork of DOM Spec

#281

Earlier quoted context omitted.

Yup, every page looks different anyway, calling megabytes of minified, obfuscated JavaScript. There is probably more in for the user. I guess then you only need , , and a subset of DOM.

And you'd need to handle accessibility considerations, and font and encoding support, and a flexible layout engine, and multiple input methods, and scrolling, and search engine standardization, and more all yourself. By the time you handle most of it, all you've done is make a wildly more complicated version of the DOM.

Not sure about that. I mean a number of video games have been successfully recompiled to JavaScript, e.g. Doom or Quake 3. I guess you one would need to be able to target some sort of Framebuffer, Frameworks like Qt know how to do that already.

Probably I prefer "native" Web Apps over recompiled "native apps" but like it or not, this will come more and more as people ask for more performance and more variety of programming languages.

Re: Microsoft, Google, Mozilla, and Apple Object to W3C Fork of DOM Spec

#282
post #269

Earlier quoted context omitted.

Remember that Apple just implemented the Canvas tag. If you implement something good perhaps almost none of the W3C member organisations matter in pushing something.

Can you explain what you mean? According to caniuse[1] it has been supported for a while. [1] https://caniuse.com/#feat=canvas *EDIT I misread the parent. I didn't put the context for that paragraph together and read 'just' as in 'right now' instead of 'just decided to'.

I was confused as well, as Apple literally invented .

I think what he meant to say was "Remember that Apple just went ahead and implemented the Canvas tag. [without waiting on any standards organisation]"

Re: Microsoft, Google, Mozilla, and Apple Object to W3C Fork of DOM Spec

#283

Earlier quoted context omitted.

Thanks. The TL;DR seems to be that, instead of sticking to documenting what is , the W3C is (either deliberately or through incompetence) trying to push their own "vision" for DOM 4.1 without browser buy-in.

That does not mean that it is a good thing to put all bells and whistles from different browser vendors under the same umbrella. Let's say you are a) owning and b) managing a project that three competing teams are working on in parallel. If you will not curate the project you will have one team adding and another team adding ... In real world you would invite dedicated architect or team of architects to define the sp…

I'm pretty sure Ian Hickson is no longer involved with the WHATWG. I think he's working on Flutter now (https://news.ycombinator.com/threads?id=Hixie).

In fact, I would say that it's not quite like a cathedral and bazaar here.

The W3C is like a legislative committee. Lots of things done by committee vote. Formal process that must be gone through to advance beyond committee. Petty politics that screw with actually getting things done. The committee chair having the ability to block work by procedural means.

The WHATWG is more like an open forum. The work happens out in the open. Anyone can participate in the discussion (the W3C committees frequently have private meetings, there have been private mailing lists, and so on). There are a few people who have commit rights to the repo, so who actually control what goes in and what doesn't, but they are generally willing to let in changes that have broad support, and are implementable, rather than letting such features get held up by political processes.

Besides the difference in structure, there's just a difference in attitudes. The W3C tends to strongly favor certain principles, like accessibility and modularity, but to the exclusion of compromise for technical reasons or real-world reasons. They also seem to have a tendency to get very attached to particular ways of doing things, without being willing to compromise. I think the biggest example of this was longdesc; it was never implemented properly in pretty much any browser, and very few people actually followed the spec and had it point to a URL (many people just copied the alt tag, or provided a longer description in the attribute instead of a URL), so even if browsers or screen readers had implemented it, the content wouldn't be useful. But people in the W3C made a big stink about removing this, and spent a lot of time and effort fighting and litigating over that, rather than actually trying to work on a different feature that could gain wider adoption.

The WHATWG tends to take a more pragmatic approach; pave the cowpaths, if there are differences between implementations do it in the most sensible way that preserved compatibility.

Now, what the WHATWG has produced hasn't always been the best; there are times when it's made mistakes in its approach. The drag and drop spec, which had been reverse-engineered from IE's drag and drop support, was a pretty bad; not sure if it's gotten better since.

But overall, the WHATWG has been a lot more productive in getting standards done that are actually used on the web, because they involve the implementers, and don't override them with tedious, drawn out, political battles over obscure features that no one uses.

Re: Microsoft, Google, Mozilla, and Apple Object to W3C Fork of DOM Spec

#284
post #269

Earlier quoted context omitted.

Remember that Apple just implemented the Canvas tag. If you implement something good perhaps almost none of the W3C member organisations matter in pushing something.

Can you explain what you mean? According to caniuse[1] it has been supported for a while. [1] https://caniuse.com/#feat=canvas *EDIT I misread the parent. I didn't put the context for that paragraph together and read 'just' as in 'right now' instead of 'just decided to'.

Apple was the originator and original implementer of the canvas tag, in support of a feature they added to their Desktop operating system in 2005.

Prior their implementation, canvas was not a tag that existed, nor supported in any version of HTML at that time, but it was later incorporated into a new version of HTML. Apple was a minor browser developer as well as a minor OS developer and minor system designer at the time.

Re: Microsoft, Google, Mozilla, and Apple Object to W3C Fork of DOM Spec

#285

Earlier quoted context omitted.

Tldr is that corporations don't want a standards body with any public input so they created their own competing body, strangled w3c, and are now saying w3c is limited to being a rubber stamp for the standards they create.

This isn't accurate; notably, the WHATWG is the standards body that is actually open to public input (see https://whatwg.org/faq#process ). Whereas to give input to the W3C, you have to pay membership fees ( https://www.w3.org/Consortium/fees ; between $2250 and $77K depending on company size for the US). This latter model is commonly referred to as "pay-to-play" standardization.

You can give input to the W3C without that, but yeah, it's the input from the paying members that counts the most.

Additionally, the W3C has some private mailing lists, does private working group meetings, and so on. So yeah, the WHATWG is a lot more open when it comes to input.

Re: Microsoft, Google, Mozilla, and Apple Object to W3C Fork of DOM Spec

#286
post #147

Earlier quoted context omitted.

Why is "creating a rendering engine from scratch" the bar here? A new player could fork Blink or WebKit.

If you fork an existing rendering engine, you're rather implicitly using a WHATWG DOM. In order to use W3C DOM 4.1, you'd either have to modify a WHATWG DOM renderer into a W3C DOM 4.1 renderer -- which is a bit like starting with the emacs source to build a vim clone -- or to build your own. The inertia of forking an existing project pushes you towards the WHATWG implementation, not W3C. That's the point of forking.…

No, you start with a WHATWG DOM. What you do after that is up to you.

Re: Microsoft, Google, Mozilla, and Apple Object to W3C Fork of DOM Spec

#287

Earlier quoted context omitted.

Thanks. The TL;DR seems to be that, instead of sticking to documenting what is , the W3C is (either deliberately or through incompetence) trying to push their own "vision" for DOM 4.1 without browser buy-in.

Tldr is that corporations don't want a standards body with any public input so they created their own competing body, strangled w3c, and are now saying w3c is limited to being a rubber stamp for the standards they create.

Unfortunately that's over-simplification of the problem.

10-15 years we were told that use of s for layout purposes was terribly wrong. Without any reliable alternative mechanism.

Here is my proposal to W3C CSS WG to add flow property and flex units: https://www.terrainformatica.com/w3/flex-layout/flex-layout.... It covers as flexbox as grid features under the same mechanism. Yet it establishes robust framework for other layout methods.

Note it is dated April, 5, 2009. It took us almost 10 years to have something matching that.

So neither W3C process nor WHATWG process is perfect - there is no reliable feedback from customers (web designers) to browser vendors.

What if browser would provide us just abstract DOM with minimal HTML/CSS implementation and some extensibility/plug-ins mechanism with something like Java.

In this case we, the community, can provide better implementations:

   main {
     flow: HolyGrailLayout(params) url(/layouts/HolyGrail.class);
   }

   
       
     
     
   
So instead of waiting for the weather for 10 years we will do something literally tomorrow when we need it.

In this case W3C will be able to perfectly fit its role - high-level management of all this.

No one can manage the reality up to need of toilet paper in full. USSR tried and where did it go?

Re: Microsoft, Google, Mozilla, and Apple Object to W3C Fork of DOM Spec

#288

Serious question: why are the W3C still publishing or trying to publish standards for DOM and HTML and probably a few others, when no one that matters cares about them? Why not rather throw in the towel on those particular standards and acknowledge that the WHATWG has won on them?

It definitely needs to be some curation at least. As an example, CSS: Google came up with Flexbox, Microsoft came up with Grid. Now we have two competing layout methods doing pretty much the same. Yet they are conflicting in the sense that define the same flexibility entity by two different means: flexbox uses CSS property (that by itself conflicts with CSS 2.1 box model) and grid uses fr units for defining the same…

Well, flexbox was much simpler and easier to standardize on and implement sooner. It has been available in all major browsers since 2015.

Grid is great, and now works in most places, but it was good to have flexbox while grid was still in process; it only became available in Edge, in the final form, late last year, making it now available on all major browsers.

You're always going to have cases like this; where there's something that's simple that works now, and something better that comes later. If you always wait for the better one, it will take forever for things to get done. Not to mention that flexbox is probably simpler and easier to understand and use for some of the simple use cases, so people will still probably continue to use it despite the fact that grid is available.

Re: Microsoft, Google, Mozilla, and Apple Object to W3C Fork of DOM Spec

#289
post #282
post #269

Earlier quoted context omitted.

Can you explain what you mean? According to caniuse[1] it has been supported for a while. [1] https://caniuse.com/#feat=canvas *EDIT I misread the parent. I didn't put the context for that paragraph together and read 'just' as in 'right now' instead of 'just decided to'.

I was confused as well, as Apple literally invented . I think what he meant to say was "Remember that Apple just went ahead and implemented the Canvas tag. [without waiting on any standards organisation]"

Yeah, I agree w/ your reading of the paragraph.

Re: Microsoft, Google, Mozilla, and Apple Object to W3C Fork of DOM Spec

#290

Earlier quoted context omitted.

I don't really understand how this would make the two-track approach legit. Couldn't they just version the specification under WHATWG if that's what they're after? I just can't see a reason for the W3C to be handling any of this anymore except for money reasons.

In fact, we already do publish commit snapshots for every change we make: https://dom.spec.whatwg.org/commit-snapshots/

Then what is the purpose of the W3C in this case?

Many years ago I tried to get a membership to the W3C as I wanted to provide a voice for a company I worked for (and for myself, honestly) but found out that the lowest level of membership was many thousands of dollars. How can anyone who isn't already very well established ever be properly represented there?

Then you check out WHATWG and, as far as I can tell, there are never fees associated with being a member and participating.

Post reply on HN