Re: <style @src>

Hi, Jonas-

Jonas Sicking wrote (on 5/5/09 2:39 PM):
> On Mon, May 4, 2009 at 8:49 PM, Doug Schepers<schepers@w3.org>  wrote:
>>  Henri Sivonen wrote (on 5/4/09 1:51 PM):
>>>>  Jonas Sicking wrote (on 5/1/09 4:41 AM):
>>>>>
>>>>>  Gecko supports the @null:src attribute on<html:style>  elements.
>>>
>>>  The code for this feature is bogus in the way Anne described.
>>>  https://bugzilla.mozilla.org/show_bug.cgi?id=484200
>>
>>  That actually isn't testing the interesting aspect of<style
>>  @scr="somefile.css">; what's interesting is if you could reference an
>>  external stylesheet that way... which you currently can't in FF, Opera, or
>>  Safari.
>>
>>  I think it would be nice to have this sort of functionality in both SVG and
>>  HTML.  Not critical, but nice.

Probably not.  I prefer the semantics of <style src="somefile.css">, and 
it parallels the same functionality of <script src="somefile.js">.  I 
think it would be more intuitive for newbies, but doesn't confer huge 
benefits (that I can see right now).  Then again, it also doesn't have a 
high cost, and would make the language more consistent.

In fact, there are lots of bits of duplicate or near-duplicate 
functionality in HTML, SVG, and other languages.

Regards-
-Doug Schepers
W3C Team Contact, SVG and WebApps WGs

Received on Tuesday, 5 May 2009 20:39:03 UTC