mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +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,
|
||||
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 =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue