Re: suggestion for the HTML5 specs

On Fri, 3 Sep 2010, Kertész Gábor wrote:
> 
> Why don't you allow a src attribute for the style element? 
>
> With a minimal modification to the current HTML5 specs it would allow to 
> reference an external stylesheet appropriately with the style element, 
> making it symmetrical with script. This way the awkward legacy <link 
> rel="stylesheet" href="..."> form could be phased out.

You can already do this in two different ways:

   <link rel=stylesheet src="foo">

   <style> @import "foo"; </style>

Adding a third way would not let us remove either of the existing two 
ways, since there are literally billions of documents that already use 
these forms that will never be updated.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Monday, 6 September 2010 22:24:47 UTC