mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Move '&&' to the end of the previous line.
Following https://github.com/servo/servo/issues/10692 this is just a formating change to satisfy a new tidy requirement of not having '&&' at the beginning of a line.
This commit is contained in:
parent
01b111c43e
commit
924d804583
11 changed files with 29 additions and 29 deletions
|
@ -132,8 +132,8 @@ impl HTMLTableElementMethods for HTMLTableElement {
|
|||
|
||||
impl CollectionFilter for TableRowFilter {
|
||||
fn filter(&self, elem: &Element, root: &Node) -> bool {
|
||||
elem.is::<HTMLTableRowElement>()
|
||||
&& (root.is_parent_of(elem.upcast())
|
||||
elem.is::<HTMLTableRowElement>() &&
|
||||
(root.is_parent_of(elem.upcast())
|
||||
|| self.sections.iter().any(|ref section| section.is_parent_of(elem.upcast())))
|
||||
}
|
||||
}
|
||||
|
@ -250,9 +250,9 @@ impl HTMLTableElementMethods for HTMLTableElement {
|
|||
struct TBodiesFilter;
|
||||
impl CollectionFilter for TBodiesFilter {
|
||||
fn filter(&self, elem: &Element, root: &Node) -> bool {
|
||||
elem.is::<HTMLTableSectionElement>()
|
||||
&& elem.local_name() == &atom!("tbody")
|
||||
&& elem.upcast::<Node>().GetParentNode().r() == Some(root)
|
||||
elem.is::<HTMLTableSectionElement>() &&
|
||||
elem.local_name() == &atom!("tbody") &&
|
||||
elem.upcast::<Node>().GetParentNode().r() == Some(root)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue