mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +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
|
@ -9,6 +9,7 @@ use context::LayoutContext;
|
|||
use display_list_builder::{ContentLevel, DisplayListResult, FragmentDisplayListBuilding};
|
||||
use floats::{FloatLeft, Floats, PlacementInfo};
|
||||
use flow::{BaseFlow, FlowClass, Flow, InlineFlowClass, MutableFlowUtils};
|
||||
use flow::{IS_ABSOLUTELY_POSITIONED};
|
||||
use flow;
|
||||
use fragment::{Fragment, InlineAbsoluteHypotheticalFragment, InlineBlockFragment};
|
||||
use fragment::{FragmentBoundsIterator, ScannedTextFragment, ScannedTextFragmentInfo};
|
||||
|
@ -1115,7 +1116,7 @@ impl Flow for InlineFlow {
|
|||
|
||||
// Assign block sizes for any inline-block descendants.
|
||||
for kid in self.base.child_iter() {
|
||||
if flow::base(kid).flags.is_absolutely_positioned() || kid.is_float() {
|
||||
if flow::base(kid).flags.contains(IS_ABSOLUTELY_POSITIONED) || kid.is_float() {
|
||||
continue
|
||||
}
|
||||
kid.assign_block_size_for_inorder_child_if_necessary(layout_context);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue