W3C home > Mailing lists > Public > www-style@w3.org > January 2013

Re: [css3-cascade] Stylesheets imported in multiple places

From: Glenn Adams <glenn@skynav.com>
Date: Mon, 7 Jan 2013 07:45:12 -0700
Message-ID: <CACQ=j+erv+ze-Q0_WWV8o10YdV71Cb78XNuToDeHgTG2-Z=vqg@mail.gmail.com>
To: fantasai <fantasai.lists@inkedblade.net>
Cc: "www-style@w3.org" <www-style@w3.org>
On Mon, Dec 31, 2012 at 3:09 PM, fantasai <fantasai.lists@inkedblade.net>wrote:

> On 12/19/2012 05:09 AM, Simon Sapin wrote:
>
>> CSS 2.1 has a sentence that I can’t find in css3-cascade but should be
>> there, probably in section 2:
>>
>>  When the same style sheet is imported or linked to a document in
>>> multiple places, user agents must process (or act as though they do)
>>> each link as though the link were to a separate style sheet.
>>>
>>
>> In my understanding, this also applies to CSSOM:
>>
>> * Given two CSSImportRule objects with the same href, their styleSheet
>> attributes are not the same object.
>> * Changing one (eg. through .insertRule()) does not affect the other.
>>
>> Is this correct? Either way it should be specified somewhere, but it’s
>> not AFAICT.
>>
>
> It's specified in CSS2.1. I've copied over the paragraph.
>   http://www.w3.org/TR/CSS21/**cascade.html#at-import<http://www.w3.org/TR/CSS21/cascade.html#at-import>(last paragraph)


see https://www.w3.org/Bugs/Public/show_bug.cgi?id=20587 for tracking
purposes
Received on Monday, 7 January 2013 14:46:02 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:21:04 GMT