style: fix formatting.

This commit is contained in:
Emilio Cobos Álvarez 2020-06-18 20:27:58 +02:00
parent 97f29c893f
commit bb8c3ee8ba
No known key found for this signature in database
GPG key ID: E1152D0994E4BF8A
4 changed files with 18 additions and 13 deletions

View file

@ -421,11 +421,12 @@ trait PrivateMatchMethods: TElement {
new_values,
/* pseudo_element = */ None,
) {
let after_change_style = if self.has_css_transitions(context.shared, /* pseudo_element = */ None) {
self.after_change_style(context, new_values)
} else {
None
};
let after_change_style =
if self.has_css_transitions(context.shared, /* pseudo_element = */ None) {
self.after_change_style(context, new_values)
} else {
None
};
// In order to avoid creating a SequentialTask for transitions which
// may not be updated, we check it per property to make sure Gecko