News for hackers. Stuff that matters.
Re:CSS Variables in Firefox 31 – new syntax by sergiotapia on Wednesday July 23, 2014 @09:56AM (#8074356)
Does the W3C not have internet access to learn about existing solutions and least try to emulate the good parts?

LESS and SASS are much better about variables, what the heck were they thinking?

    background-color: var(--best-gray-ever);
Not exactly intuitive or easy to parse at a glance.
Re:CSS Variables in Firefox 31 – new syntax by paulrouget on Wednesday July 23, 2014 @12:16PM (#8075141)
> what the heck were they thinking?

I don't know, maybe about how to design a spec that is compatible with past and future CSS parsers and features?

People think it's so simple to come up with a new feature for CSS/HTML/JS, when actually, they have no idea how difficult it is.

They're smarter than that: http://www.xanthir.com/blog/b4KT0

Re:CSS Variables in Firefox 31 – new syntax by aikah on Wednesday July 23, 2014 @12:24PM (#8075194)
Sure,but when the spec is bad at first place,no new feature can be good.So hell yeah ...

> what the heck were they thinking?

...At first place when they wrote CSS.

CSS is a disaster,and one of the worst spec ever written in my book.

> People think it's so simple to come up with a new feature for CSS/HTML/JS, when actually, they have no idea how difficult it is.

Aside from HTML,CSS and JS are "defacto" standards since vendors werent able to agree on a better spec when they should have. only developpers can fix these with tools they build.Devs cant rely on these technologies on their own.That's why they have CSS and JS preprocessors.Because while it's crap at the end of the day devs need to build on top of that crap.

Re:CSS Variables in Firefox 31 – new syntax by ep103 on Wednesday July 23, 2014 @10:06AM (#8074407)
The w3c has been failing at their job for some 15 years now. Enabling drm in html5 and giving the mpaa a seat on their board should have been the last straw. Ignore them, and start looking to WhatWg
Re:CSS Variables in Firefox 31 – new syntax by lucian1900 on Wednesday July 23, 2014 @10:36AM (#8074568)
Most of the members of whatwg also like the DRM bits.