← Back to context

Comment by christophilus

15 hours ago

Whoo. I’ll be the first hyper negative prototypical HN commenter.

I’m glad I don’t work on browser engines for a living. CSS is getting more complex and spaghetti-capable by the day.

> Currently only supported in Chrome 141+. The @function rule is going through the W3C standardization process and will be available in other browsers soon.

Also, pretty tired of Chrome effectively front-running standards as a not-so-subtle means of cramming them through.

Web standards are in the same boat as C++. They can never really deprecate anything, but they want shiny new things, so they just add and add on top of the pile.

Every feature sounds great in isolation, but in aggregate they become a moloch.

Then people say “modern CSS is great, you just have to pick the ‘good subset’.”, but then nobody can agree what that subset should be, and everybody else uses a different subset.

LLMs also contribute to this, as 90% of what’s available on the web is considered outdated now, but that is the majority of training data.

One person's front-running is another's reference implementation.

Although, yes, CSS is getting more complex because everything on the web is. What's the last standard feature to really be taken away after actually existing in the wild for a while? XHTML and Flash (effectively a standard if not in reality)?

  • Using CSS Grid, which we just got in 2017, is so much easier than using floats and tables. These layouts were also very fragile.

    Part of the problem is once people get used to doing something a particular way, they don’t want to change.

    I looked at a friend’s website the other day and it’s using a table-based layout and it wasn’t even that old!

    Nothing can be removed from CSS because sites from the 90’s and the early 2000’s still have to work in today’s browsers.

    The good news is most greenfield projects can use floats and tables in the way they were intended, which wasn’t ever layout.

  • XHTML (or the XML syntax for HTML) wasn't removed (see: https://html.spec.whatwg.org/multipage/introduction.html#htm...). You may be thinking of XSLT, which may be removed in future.

    • So I guess it really is true that nothing actually gets removed -- except the one that wasn't actually controlled by WhatWG or W3C.

      Is there still a real-world use case for XHTML/"XML syntax for HTML", or is this just exhibit A that no standard can actually be removed from browsers?

      Re: XSLT, back in the everything-is-XML days I desperately wanted to like XSLT, it seemed so useful (I was that annoying co-worker telling everyone it's supposed to be pronounced "exalt"). But it was such a disaster to actually write or read and no real debugging was possible, I had to use a LOT of conditional bgcolor=red to figure anything out. It didn't take very long to come to the conclusion that XPath was the only useful part.

      2 replies →