auto merge of #1873 : lpy/servo/issue1870, r=jdm

see #1870
This commit is contained in:
bors-servo 2014-03-10 13:28:56 -04:00
commit b584f6f64d

View file

@ -420,10 +420,7 @@ impl<'ln> MatchMethods for LayoutNode<'ln> {
applicable_declarations: &mut ApplicableDeclarations,
shareable: &mut bool) {
let style_attribute = self.with_element(|element| {
match *element.style_attribute() {
None => None,
Some(ref style_attribute) => Some(style_attribute)
}
element.style_attribute().as_ref()
});
applicable_declarations.normal_shareable =