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

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 UTC