mirror of
https://github.com/servo/servo.git
synced 2025-08-10 07:55:33 +01:00
Switch column-count to use predefined integer type
This commit is contained in:
parent
9233882d49
commit
ab0e5c9d99
5 changed files with 22 additions and 93 deletions
|
@ -1536,7 +1536,10 @@ impl ComputedValues {
|
|||
let style = self.get_column();
|
||||
match style.column_width {
|
||||
Either::First(_width) => true,
|
||||
Either::Second(_auto) => style.column_count.0.is_some(),
|
||||
Either::Second(_auto) => match style.column_count {
|
||||
Either::First(_n) => true,
|
||||
Either::Second(_auto) => false,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue