Re:How a new HTML element will make the Web faster
by ollysb on Tuesday September 02, 2014 @10:51AM
(#8257888)
Another option would be to allow the source to be specified in css (stylesheets are loaded before images anyway). Then you could do
[ Parent
| on HN ]
Re:How a new HTML element will make the Web faster
by kaoD on Tuesday September 02, 2014 @12:33PM
(#8258582)
No please. CSS is meant for presentation, not content.
Re:How a new HTML element will make the Web faster
by swift on Tuesday September 02, 2014 @12:59PM
(#8258748)
We'll need a solution in CSS for properties like background-image and border-image. (Indeed, there have been multiple proposed solutions already.) It would be nice to use the same mechanism for both CSS and content images instead of introducing yet another case in the web platform where we have multiple slightly-incompatible mechanisms that do the same thing.