/** * Create new 'inline-block' element; add content from the parsed HTML tree automatically. * * @see InlineBlockBox::InlineBlockBox() * @see GenericContainerBox::create_content() */ function &create(&$root, &$pipeline) { $box = new InlineBlockBox(); $box->readCSS($pipeline->get_current_css_state()); $box->create_content($root, $pipeline); return $box; }
/** * Create new 'inline-block' element; add content from the parsed HTML tree automatically. * * @see InlineBlockBox::InlineBlockBox() * @see GenericContainerBox::create_content() */ function &create(&$root, &$pipeline) { $box = new InlineBlockBox(); $box->create_content($root, $pipeline); return $box; }