diff --git a/src/components/main/layout/box.rs b/src/components/main/layout/box.rs index aad51d8d7593..54c233fe03ae 100644 --- a/src/components/main/layout/box.rs +++ b/src/components/main/layout/box.rs @@ -248,6 +248,7 @@ impl Box { nearest_ancestor_element.parent_node().expect("no nearest element?!"); } + // Anonymous box: inheriting from the ancestor with no specified declarations. Arc::new(cascade(&[Arc::new(~[])], Some(nearest_ancestor_element.style().get()))) };