Trait layout_2013::flow::MutableOwnedFlowUtils
source · pub trait MutableOwnedFlowUtils {
// Required methods
fn set_absolute_descendants(&mut self, abs_descendants: AbsoluteDescendants);
fn push_absolute_descendants(
&mut self,
abs_descendants: AbsoluteDescendants,
);
fn take_applicable_absolute_descendants(
&mut self,
absolute_descendants: &mut AbsoluteDescendants,
);
}
Required Methods§
sourcefn set_absolute_descendants(&mut self, abs_descendants: AbsoluteDescendants)
fn set_absolute_descendants(&mut self, abs_descendants: AbsoluteDescendants)
Set absolute descendants for this flow.
Set this flow as the Containing Block for all the absolute descendants.
sourcefn push_absolute_descendants(&mut self, abs_descendants: AbsoluteDescendants)
fn push_absolute_descendants(&mut self, abs_descendants: AbsoluteDescendants)
Push absolute descendants to this flow.
Set this flow as the Containing Block for the provided absolute descendants.
sourcefn take_applicable_absolute_descendants(
&mut self,
absolute_descendants: &mut AbsoluteDescendants,
)
fn take_applicable_absolute_descendants( &mut self, absolute_descendants: &mut AbsoluteDescendants, )
Sets the flow as the containing block for all absolute descendants that have been marked as having reached their containing block. This is needed in order to handle cases like:
<div>
<span style="position: relative">
<span style="position: absolute; ..."></span>
</span>
</div>