From 426683cd4b962e68898ae9fc23bd2f2c1ebaf587 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emilio=20Cobos=20=C3=81lvarez?= Date: Mon, 24 Sep 2018 23:00:59 +0200 Subject: [PATCH] style: Remove an outdated comment. This was fixed, css/css-scoping/shadow-cascade-order-001.html tests it. --- components/style/stylist.rs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/components/style/stylist.rs b/components/style/stylist.rs index c933897f858..d0e32778d65 100644 --- a/components/style/stylist.rs +++ b/components/style/stylist.rs @@ -1208,11 +1208,6 @@ impl Stylist { let mut shadow_cascade_order = 0; // XBL / Shadow DOM rules, which are author rules too. - // - // TODO(emilio): Cascade order here is wrong for Shadow DOM. In - // particular, normally document rules override ::slotted() rules, but - // for !important it should be the other way around. So probably we need - // to add some sort of AuthorScoped cascade level or something. if let Some(shadow) = rule_hash_target.shadow_root() { if let Some(map) = shadow .style_data()