diff --git a/components/style/gecko/wrapper.rs b/components/style/gecko/wrapper.rs index 65fe599485d..045240565fb 100644 --- a/components/style/gecko/wrapper.rs +++ b/components/style/gecko/wrapper.rs @@ -126,7 +126,12 @@ impl<'ln> TNode for GeckoNode<'ln> { } fn dump(self) { - unimplemented!() + if self.is_text_node() { + println!("Text ({:?})", &self.0 as *const _); + } else { + let el = self.as_element().unwrap(); + println!("Element {} ({:?})", el.get_local_name(), &el.0 as *const _); + } } fn dump_style(self) {