diff --git a/components/script/dom/cssstyledeclaration.rs b/components/script/dom/cssstyledeclaration.rs index 01e41d3f0ef1..ba7112b88990 100644 --- a/components/script/dom/cssstyledeclaration.rs +++ b/components/script/dom/cssstyledeclaration.rs @@ -242,8 +242,6 @@ impl CSSStyleDeclaration { CSSStyleOwner::Element(ref el) => { let node = el.upcast::(); if !node.is_connected() { - // TODO: Node should be matched against the style rules of this window. - // Firefox is currently the only browser to implement this. return DOMString::new(); } let addr = node.to_trusted_node_address();