News for hackers. Stuff that matters.
Re:How a new HTML element will make the Web faster by ollysb on Tuesday September 02, 2014 @02:16PM (#8259191)
Their proposed solution offers more flexibility in that you can use media queries to specify the upper/lower bounds and also specify the filenames. This feels over-engineered though, firstly because the above solution provides enough information to switch between images (we're not changing the layout here) and secondly because a filename convention is adequate for referencing them. The third reason that I dislike their solution is that it introduces presentation logic(media queries) into html.
Re:How a new HTML element will make the Web faster by eurleif on Tuesday September 02, 2014 @02:18PM (#8259205)
Arguably, <img> was already a form of presentation logic present in HTML. This just makes it more capable.