- From: Giovanni Campagna <scampa.giovanni@gmail.com>
- Date: Wed, 10 Jun 2009 15:36:56 +0200
- To: www-style@w3.org
This draft has appeared late yesterday on the public cvs server and I took a quick glance at it. A few rapid comments: - Is <image> intended to reference only images (ie, anything you could put inside an <img>) or any kind of replaced content (ie anything you could put inside an <embed>)? More specifically, will "content" be extend with the <image> syntax? - Why did you introduce the <url-token> type? Wasn't it easier to use <string> | <url>, or just <url>? I guess <url-token> will create a lot of tokenization problems, that we should avoid in general, without introducing real benefits (you just skip "url(" and ")" ) - Why the last part of image is preceded by a keyword? In addition, I propose to add support for one color images. This would be especially useful in background, if you can stack multiple partially transparent colours, with some covering only the content, some the padding area and some the whole border box. Also, now that border-images can be wider than the box, using colour images is useful to avoid hacks with common borders and negative margins. Lastly, I propose to specify gradients, that WebKit currently supports, or as an alternative, to provide references to SVG paint servers. Giovanni
Received on Wednesday, 10 June 2009 13:37:28 UTC