Did I find the right examples for you? yes no

All Samples(10)  |  Call(6)  |  Derive(0)  |  Import(4)

src/w/e/WeasyPrint-0.21/weasyprint/layout/blocks.py   WeasyPrint(Download)
 
from .absolute import absolute_layout, AbsolutePlaceholder
from .float import float_layout, get_clearance, avoid_collisions
from .inlines import (iter_line_boxes, replaced_box_width, replaced_box_height,
                      min_max_auto_replaced)
            elif child.is_floated():
                new_child = float_layout(
                    context, child, box, absolute_boxes, fixed_boxes)
                new_child.index = index
                new_children.append(new_child)

src/w/e/WeasyPrint-HEAD/weasyprint/layout/blocks.py   WeasyPrint(Download)
 
from .absolute import absolute_layout, AbsolutePlaceholder
from .float import float_layout, get_clearance, avoid_collisions
from .inlines import (iter_line_boxes, replaced_box_width, replaced_box_height,
                      min_max_auto_replaced)
            elif child.is_floated():
                new_child = float_layout(
                    context, child, box, absolute_boxes, fixed_boxes)
                # New page if overflow
                if (page_is_empty and not new_children) or not (

src/w/e/WeasyPrint-0.21/weasyprint/layout/inlines.py   WeasyPrint(Download)
 
from .absolute import absolute_layout, AbsolutePlaceholder
from .float import avoid_collisions, float_layout
from .replaced import image_marker_layout
from .min_max import handle_min_max_width, handle_min_max_height
        waiting_float.position_y = waiting_floats_y
        waiting_float = float_layout(
            context, waiting_float, containing_block, absolute_boxes,
            fixed_boxes)
        float_children.append(waiting_float)
            else:
                child = float_layout(
                    context, child, containing_block, absolute_boxes,
                    fixed_boxes)
                children.append(child)

src/w/e/WeasyPrint-HEAD/weasyprint/layout/inlines.py   WeasyPrint(Download)
 
from .absolute import absolute_layout, AbsolutePlaceholder
from .float import avoid_collisions, float_layout
from .replaced import image_marker_layout
from .min_max import handle_min_max_width, handle_min_max_height
        waiting_float.position_y = waiting_floats_y
        waiting_float = float_layout(
            context, waiting_float, containing_block, absolute_boxes,
            fixed_boxes)
        float_children.append(waiting_float)
            else:
                child = float_layout(
                    context, child, containing_block, absolute_boxes,
                    fixed_boxes)
                children.append(child)