mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
commit
b584f6f64d
1 changed files with 1 additions and 4 deletions
|
@ -420,10 +420,7 @@ impl<'ln> MatchMethods for LayoutNode<'ln> {
|
||||||
applicable_declarations: &mut ApplicableDeclarations,
|
applicable_declarations: &mut ApplicableDeclarations,
|
||||||
shareable: &mut bool) {
|
shareable: &mut bool) {
|
||||||
let style_attribute = self.with_element(|element| {
|
let style_attribute = self.with_element(|element| {
|
||||||
match *element.style_attribute() {
|
element.style_attribute().as_ref()
|
||||||
None => None,
|
|
||||||
Some(ref style_attribute) => Some(style_attribute)
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
|
|
||||||
applicable_declarations.normal_shareable =
|
applicable_declarations.normal_shareable =
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue