mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
style: Indent properly a couple more functions.
This commit is contained in:
parent
a6c6ef91e0
commit
13f61a6e5f
5 changed files with 46 additions and 31 deletions
|
@ -1096,14 +1096,16 @@ impl StrongRuleNode {
|
|||
/// Returns true if any properties specified by `rule_type_mask` was set by
|
||||
/// an author rule.
|
||||
#[cfg(feature = "gecko")]
|
||||
pub fn has_author_specified_rules<E>(&self,
|
||||
mut element: E,
|
||||
mut pseudo: Option<PseudoElement>,
|
||||
guards: &StylesheetGuards,
|
||||
rule_type_mask: u32,
|
||||
author_colors_allowed: bool)
|
||||
-> bool
|
||||
where E: ::dom::TElement
|
||||
pub fn has_author_specified_rules<E>(
|
||||
&self,
|
||||
mut element: E,
|
||||
mut pseudo: Option<PseudoElement>,
|
||||
guards: &StylesheetGuards,
|
||||
rule_type_mask: u32,
|
||||
author_colors_allowed: bool,
|
||||
) -> bool
|
||||
where
|
||||
E: ::dom::TElement
|
||||
{
|
||||
use gecko_bindings::structs::NS_AUTHOR_SPECIFIED_BACKGROUND;
|
||||
use gecko_bindings::structs::NS_AUTHOR_SPECIFIED_BORDER;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue