Lines Matching refs:box
24 function apply(&$box, &$context) { argument
28 $text_indent = $box->get_css_property(CSS_TEXT_INDENT);
29 $this->_cmaxw = $text_indent->calculate($box);
31 for ($i=0, $size = count($box->content); $i<$size; $i++) {
32 $child =& $box->content[$i];
51 $item_wc->apply($box->get_width(),
52 $box->parent->get_expandable_width()));
66 $wc = $box->get_css_property(CSS_WIDTH);
67 if ($wc->applicable($box)) {
68 if ($box->parent) {
69 $this->_maxw = $wc->apply($this->_maxw, $box->parent->get_width());
75 return $this->_maxw + $box->_get_hor_extra();