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

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 UTC