mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Remove bitfield! macro in favour of bitflags!
This commit is contained in:
parent
64cc9ec688
commit
2737db3ad7
10 changed files with 146 additions and 175 deletions
|
@ -12,6 +12,7 @@ use construct::FlowConstructor;
|
|||
use context::LayoutContext;
|
||||
use floats::FloatKind;
|
||||
use flow::{TableFlowClass, FlowClass, Flow, ImmutableFlowUtils};
|
||||
use flow::{IMPACTED_BY_LEFT_FLOATS, IMPACTED_BY_RIGHT_FLOATS};
|
||||
use fragment::{Fragment, FragmentBoundsIterator};
|
||||
use layout_debug;
|
||||
use model::{IntrinsicISizes, IntrinsicISizesContribution};
|
||||
|
@ -290,8 +291,8 @@ impl Flow for TableFlow {
|
|||
}
|
||||
|
||||
// As tables are always wrapped inside a table wrapper, they are never impacted by floats.
|
||||
self.block_flow.base.flags.set_impacted_by_left_floats(false);
|
||||
self.block_flow.base.flags.set_impacted_by_right_floats(false);
|
||||
self.block_flow.base.flags.remove(IMPACTED_BY_LEFT_FLOATS);
|
||||
self.block_flow.base.flags.remove(IMPACTED_BY_RIGHT_FLOATS);
|
||||
|
||||
self.block_flow.propagate_assigned_inline_size_to_children(
|
||||
inline_start_content_edge,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue