News for hackers. Stuff that matters.
Re:H2 {position: sticky} [video] by Shish2k on Thursday September 12, 2013 @05:53AM (#6373110)
Having an always-visible "current section" header while scrolling a large document seems quite useful to me...
Re:H2 {position: sticky} [video] by iSnow on Thursday September 12, 2013 @06:03AM (#6373149)
Table-based layout was useful and frequently easier too and we still abandoned it. I still believe this is behavioral markup and should be done in JS.
Re:H2 {position: sticky} [video] by etherealG on Thursday September 12, 2013 @08:25AM (#6373547)
mind explaining what you mean by behavioral markup?
Re:H2 {position: sticky} [video] by iSnow on Thursday September 12, 2013 @03:08PM (#6376230)
CSS that tries to be a declarative approach to describing behavior. This is wrong in my opinion like HTML tags for styling were wrong. I think this is wrong because behavior is so incredibly complex that you end up defining rules for everything - and in the end, using a imperative language is much simpler.

I know it's different, but the argument here http://dealloc.me/2011/06/24/d3-is-not-a-graphing-library.ht... applies in a similar way.

Re:H2 {position: sticky} [video] by josephers on Thursday September 12, 2013 @09:48AM (#6373932)
Are you also then against CSS transitions?
Re:H2 {position: sticky} [video] by iSnow on Thursday September 12, 2013 @03:04PM (#6376211)
In fact, yes.