aboutsummaryrefslogtreecommitdiffstats
path: root/components/style/legacy.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/style/legacy.rs')
-rw-r--r--components/style/legacy.rs22
1 files changed, 8 insertions, 14 deletions
diff --git a/components/style/legacy.rs b/components/style/legacy.rs
index 4d5123ff187..bf8e42c228d 100644
--- a/components/style/legacy.rs
+++ b/components/style/legacy.rs
@@ -33,24 +33,18 @@ pub trait PresentationalHintSynthesis {
/// you don't, you risk strange random nondeterministic failures due to false positives in
/// style sharing.
fn synthesize_presentational_hints_for_legacy_attributes<'a,N,V>(
- &self,
- node: &N,
- matching_rules_list: &mut V,
- shareable: &mut bool)
- where N: TNode<'a>,
- N::Element: TElementAttributes<'a>,
- V: VecLike<DeclarationBlock<Vec<PropertyDeclaration>>>;
+ &self, node: &N, matching_rules_list: &mut V, shareable: &mut bool)
+ where N: TNode<'a>,
+ N::Element: TElementAttributes<'a>,
+ V: VecLike<DeclarationBlock<Vec<PropertyDeclaration>>>;
}
impl PresentationalHintSynthesis for Stylist {
fn synthesize_presentational_hints_for_legacy_attributes<'a,N,V>(
- &self,
- node: &N,
- matching_rules_list: &mut V,
- shareable: &mut bool)
- where N: TNode<'a>,
- N::Element: TElementAttributes<'a>,
- V: VecLike<DeclarationBlock<Vec<PropertyDeclaration>>> {
+ &self, node: &N, matching_rules_list: &mut V, shareable: &mut bool)
+ where N: TNode<'a>,
+ N::Element: TElementAttributes<'a>,
+ V: VecLike<DeclarationBlock<Vec<PropertyDeclaration>>> {
let element = node.as_element();
let length = matching_rules_list.len();