mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Add MulticolFlow and use it for multicol elements.
It currently "inherits" from BlockFlow and does not override anything.
This commit is contained in:
parent
f30cd4f377
commit
cc4749373a
6 changed files with 130 additions and 3 deletions
|
@ -1394,7 +1394,8 @@ impl BlockFlow {
|
|||
FormattingContextType::Other
|
||||
}
|
||||
_ if style.get_box().overflow_x != overflow_x::T::visible ||
|
||||
style.get_box().overflow_y != overflow_y::T(overflow_x::T::visible) => {
|
||||
style.get_box().overflow_y != overflow_y::T(overflow_x::T::visible) ||
|
||||
style.is_multicol() => {
|
||||
FormattingContextType::Block
|
||||
}
|
||||
_ => FormattingContextType::None,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue