- From: Christoph Päper <christoph.paeper@crissov.de>
- Date: Fri, 3 Feb 2012 17:50:57 +0100
- To: "www-style@w3.org list" <www-style@w3.org>
I wonder whether authors would want to be able to specify some generic fallback mechanism in CSS, like so:
img[src^="file:"]:wont-load
{content: url(path file attr(src), protocol "http", server "foo.example");}
img[src$=".svg"]:wont-render
{content: url(path name attr(src), extension "png");}
file = name + (‘.’ + extension)?
resource = path + (‘/’ + file)? + (‘?’ + query)? + (‘#’ + fragment)?
…
Received on Friday, 3 February 2012 16:51:38 UTC