W3C home > Mailing lists > Public > www-style@w3.org > May 2011

Re: [css3-cascade] Browser extension style sheets and the cascade

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Tue, 17 May 2011 11:01:00 -0700
Message-ID: <BANLkTikELUov1vxMZp2KZ+Tmxw-5nb9G8Q@mail.gmail.com>
To: Boris Zbarsky <bzbarsky@mit.edu>
Cc: "Jens O. Meiert" <jens@meiert.com>, www-style@w3.org
On Tue, May 17, 2011 at 10:34 AM, Boris Zbarsky <bzbarsky@mit.edu> wrote:
> On 5/17/11 1:25 PM, Tab Atkins Jr. wrote:
>>
>> I also agree, though, that UAs should make it clear exactly what
>> ordering is applied here - if they allow users to apply their own
>> stylesheets, it should be clear whether these come before or after
>> extension-generated user-zone stylesheets.
>
> Well, Gecko allows applying your own sheets; you just have to place the file
> in a known location in your profile.
>
> The interaction of this with extension-inserted sheets is documented at
> http://hg.mozilla.org/mozilla-central/file/ae15b103571c/layout/base/nsIStyleSheetService.idl#l60
>
> There's no good place to put user-facing documentation for this that I see,
> since the "place a file in your profile" thing itself has no user
> documentation.  If it did, it would presumably just say that this takes
> precedence over sheets extensions add.  Of course extensions can also just
> write that file in your profile....

Chrome also allows user stylesheets through a "known location"
mechanism, but its interaction with extension stylesheets isn't
documented, and extensions can't write to it.

~TJ
Received on Tuesday, 17 May 2011 18:01:50 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:40 GMT