function reflow(&$parent, &$context) { parent::reflow($parent, $context); // Extend the body height to fit all contained floats $float_bottom = $context->float_bottom(); if (!is_null($float_bottom)) { $this->extend_height($float_bottom); } }
function reflow(&$parent, &$context) { // If list-style-position is inside, we'll need to move marker box inside the // list-item box and offset all content by its size; if ($this->list_style->position === LSP_INSIDE) { // Add marker box width to text-indent value $this->_additional_text_indent = $this->get_marker_box_width(); } // Procees with normal block box flow algorithm BlockBox::reflow($parent, $context); }