Home | History | Annotate | Download | only in rendering

Lines Matching defs:leaf

246     InlineBox* leaf = 0;
247 for (InlineBox* box = nextOnLine(); box && !leaf; box = box->nextOnLine())
248 leaf = box->isLeaf() ? box : static_cast<InlineFlowBox*>(box)->firstLeafChild();
249 if (!leaf && parent())
250 leaf = parent()->nextLeafChild();
251 return leaf;
256 InlineBox* leaf = 0;
257 for (InlineBox* box = prevOnLine(); box && !leaf; box = box->prevOnLine())
258 leaf = box->isLeaf() ? box : static_cast<InlineFlowBox*>(box)->lastLeafChild();
259 if (!leaf && parent())
260 leaf = parent()->prevLeafChild();
261 return leaf;