W3C home > Mailing lists > Public > www-style@w3.org > May 2011

Re: [css3-images] Features Overview

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Fri, 06 May 2011 09:31:51 -0400
Message-ID: <4DC3F847.9010205@mit.edu>
To: www-style@w3.org
On 5/6/11 5:56 AM, Brian Manthos wrote:
> background: image(url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAACCAIAAAD91JpzAAAABnRSTlMAAAAAAABupgeRAAAABmJLR0QA%2FwD%2FAP%2BgvaeTAAAAEUlEQVR42mP4%2F58BCv7%2FZwAAHfAD%2FabwPj4AAAAASUVORK5CYII%3D),radial-gradient(right 10% bottom,7em 12%,rgba(200,100,50,0.5) 17px,rgba(0,0,0,1.0) 27.35%),linear-gradient(blue,red),'wavy.png' 150dpi,"wave.gif","fancy.svg",hsla(0,100%,50%,.916)),sadpanda.jpg content-box 17px/23.27em,red linear-gradient(left,purple,rgba(0,255,0,0.5));
>
> Do authors really want to specify things like this?  I feel sorry for the poor sap that has to unravel it for the next content push of such a site.

To be fair, it's trivial to write other CSS that's just as unreadable.

What that value needs is a nice set of comments explaining what the 
parts are there for.  Luckily, the syntax allows that!

-Boris
Received on Friday, 6 May 2011 13:48:09 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:40 GMT