Switch column-count to use predefined integer type

This commit is contained in:
Xidorn Quan 2017-03-17 17:52:45 +11:00
parent 9233882d49
commit ab0e5c9d99
5 changed files with 22 additions and 93 deletions

View file

@ -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,
}
}
}