W3C home > Mailing lists > Public > public-css-archive@w3.org > November 2016

[csswg-drafts] [cssom] deleteRule() should transitively disown all child rules

From: Manish Goregaokar via GitHub <sysbot+gh@w3.org>
Date: Thu, 17 Nov 2016 00:35:51 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-189897111-1479342949-sysbot+gh@w3.org>
Manishearth has just created a new issue for 

== [cssom] deleteRule() should transitively disown all child rules ==
Currently, in the [remove a css 
rule](https://drafts.csswg.org/cssom/#remove-a-css-rule) steps just 
require the removed CSS rule to have its parent set to null.

However, CSSGroupingRules (`@media` and `@supports`) themselves 
contain children rules, as do CSSKeyframesRules. They should de-parent
 these children as well.

cc @annevk

Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/722 using your GitHub 
Received on Thursday, 17 November 2016 00:35:57 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:05 UTC