News for hackers. Stuff that matters.
Re:Grid Style Sheets for Constraint-based Layouts by zghst on Wednesday June 18, 2014 @11:24PM (#7914242)
The JavaScript solution to everything has to stop, it's madness.

Why not instead push for standards? Just a few months ago these guys were hyping this up even though it has tons of performance issues, bugs that the explicitly ignore, it doesn't work in IE and forget about getting this to work on mobile.

I'd really like to see for once, a dev get down and dirty and work on an actual standard instead of pushing out a JS solution that will be abandoned in 12 months time.

Re:Grid Style Sheets for Constraint-based Layouts by d4tocchini on Wednesday June 18, 2014 @11:55PM (#7914386)
GSS was built not for standards, but for our flagship product, that's our priority right now. Our approach to organically influence standards is to make the APIs work in real world products, and if enough momentum builds to begin the necessary working drafts.

I'd like to see more polyfills of potential standards. Waiting years on end for things like CSS Vars or the Grid Layout Module is getting real old.

Instead of hating on JavaScript, the only turing complete tool we have in the browsers, we should be pushing for extensibility standards. API hooks into the internals of CSS selector resolution, layout calculations, etc so devs can add new features in a performant & predictable manner that may never trickle down from the ivory tower of standards.

Re:Grid Style Sheets for Constraint-based Layouts by malandrew on Thursday June 19, 2014 @05:59PM (#7918529)
The JavaScript solution to everything is the best way to explore which ideas are actually worth converting into a standard. It's much better to implement something as JavaScript that can then be used with any browser than for some half-baked idea to be implemented in a browser, that the other browser makers end up copying and now we're stuck with yet another standard, but half-baked way of doing things.

Every javascript solution that becomes popular ends up informing those ideas the browser makers end up standardizing. CommonJS and RequireJS have both informed the ES6 modules API. All the promise implementations out there have informed the promises API in ES6. etc. etc.

Re:Grid Style Sheets for Constraint-based Layouts by fortunateson on Thursday June 19, 2014 @01:09AM (#7914557)
This is how things start. This could be the future of CSS that becomes part of browsers some day.