W3C home > Mailing lists > Public > www-style@w3.org > September 2012

Re: [cssom] CSSRule.parentRule and CSSRule.parentStyleSheet should return a "CSSRule?"

From: Glenn Adams <glenn@skynav.com>
Date: Mon, 3 Sep 2012 13:38:12 +0800
Message-ID: <CACQ=j+eQO+BvooUOsNNGf=CSo4-LU-KfpDJt1fGrwrCFgmK_vQ@mail.gmail.com>
To: Boris Zbarsky <bzbarsky@mit.edu>
Cc: www-style@w3.org
On Mon, Sep 3, 2012 at 11:47 AM, Boris Zbarsky <bzbarsky@mit.edu> wrote:

> On 9/2/12 10:44 PM, Glenn Adams wrote:
>
>> On further investigation, I note the CSSStyleSheet.prototype.**deleteRule
>> allows deleting a rule from a stylesheet. This may be the one place
>> where it makes sense to spec that parentStyleSheet should be nulled out.
>>
>
> Ah, indeed.  I think it should be nulled out in that case, yes.


I've drafted this behavior at [1][2]. Your review would be appreciated.

[1] http://dvcs.w3.org/hg/csswg/rev/aac637834c2e
[2] http://dvcs.w3.org/hg/csswg/raw-file/tip/cssom/Overview.html
Received on Monday, 3 September 2012 05:39:00 GMT

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