mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Format style component.
This commit is contained in:
parent
31fc6cd565
commit
8dab4d659a
120 changed files with 2207 additions and 1417 deletions
|
@ -957,8 +957,10 @@ impl<T: Copy> LogicalMargin<T> {
|
|||
impl<T: PartialEq + Zero> LogicalMargin<T> {
|
||||
#[inline]
|
||||
pub fn is_zero(&self) -> bool {
|
||||
self.block_start == Zero::zero() && self.inline_end == Zero::zero() &&
|
||||
self.block_end == Zero::zero() && self.inline_start == Zero::zero()
|
||||
self.block_start == Zero::zero() &&
|
||||
self.inline_end == Zero::zero() &&
|
||||
self.block_end == Zero::zero() &&
|
||||
self.inline_start == Zero::zero()
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue