Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ksh8281 committed Jan 6, 2014
1 parent c538a90 commit 4543742
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/main/layout/box.rs
Expand Up @@ -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())))
};
Expand Down

0 comments on commit 4543742

Please sign in to comment.