mirror of
https://github.com/servo/servo.git
synced 2025-08-07 14:35:33 +01:00
Refactor flow construction to make float
less of a special case.
This commit is contained in:
parent
cc4749373a
commit
544a02a250
11 changed files with 48 additions and 125 deletions
|
@ -52,7 +52,7 @@ impl TableCellFlow {
|
|||
visible: bool)
|
||||
-> TableCellFlow {
|
||||
TableCellFlow {
|
||||
block_flow: BlockFlow::from_node_and_fragment(node, fragment),
|
||||
block_flow: BlockFlow::from_node_and_fragment(node, fragment, None),
|
||||
collapsed_borders: CollapsedBordersForCell::new(),
|
||||
column_span: node.get_unsigned_integer_attribute(UnsignedIntegerAttribute::ColSpan)
|
||||
.unwrap_or(1),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue