W3C home > Mailing lists > Public > public-html@w3.org > May 2009

Re: <style @src>

From: Doug Schepers <schepers@w3.org>
Date: Tue, 05 May 2009 16:38:47 -0400
Message-ID: <4A00A3D7.3040308@w3.org>
To: Jonas Sicking <jonas@sicking.cc>
CC: "public-html@w3.org" <public-html@w3.org>, www-svg <www-svg@w3.org>
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.

-Doug Schepers
W3C Team Contact, SVG and WebApps WGs
Received on Tuesday, 5 May 2009 20:39:03 UTC

This archive was generated by hypermail 2.4.0 : Saturday, 9 October 2021 18:44:47 UTC