Home | History | Annotate | Download | only in rendering

Lines Matching full:leaf

242     InlineBox* leaf = 0;
243 for (InlineBox* box = nextOnLine(); box && !leaf; box = box->nextOnLine())
244 leaf = box->isLeaf() ? box : static_cast<InlineFlowBox*>(box)->firstLeafChild();
245 if (!leaf && parent())
246 leaf = parent()->nextLeafChild();
247 return leaf;
252 InlineBox* leaf = 0;
253 for (InlineBox* box = prevOnLine(); box && !leaf; box = box->prevOnLine())
254 leaf = box->isLeaf() ? box : static_cast<InlineFlowBox*>(box)->lastLeafChild();
255 if (!leaf && parent())
256 leaf = parent()->prevLeafChild();
257 return leaf;