mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
layout: Minor stylistic cleanup.
This commit is contained in:
parent
acd08c67c6
commit
82fcbf7870
4 changed files with 74 additions and 43 deletions
|
@ -4704,7 +4704,11 @@ impl ComputedValues {
|
|||
#[inline]
|
||||
pub fn content_inline_size(&self) -> computed::LengthOrPercentageOrAuto {
|
||||
let box_style = self.get_box();
|
||||
if self.writing_mode.is_vertical() { box_style.height } else { box_style.width }
|
||||
if self.writing_mode.is_vertical() {
|
||||
box_style.height
|
||||
} else {
|
||||
box_style.width
|
||||
}
|
||||
}
|
||||
|
||||
#[inline]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue