• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.9.5/WebCore-7537.78.1/rendering/

Lines Matching refs:run

497         // need to go ahead and append a run with our endpoint.
636 BidiRun* run = bidiRuns.logicallyLastRun();
637 if (!run)
639 unsigned pos = run->stop();
640 RenderObject* r = run->m_object;
679 // If we have no parent box yet, or if the run is not simply a sibling,
681 // run's inline box. Segments can only be siblings at the root level, as
793 void RenderBlock::setMarginsForRubyRun(BidiRun* run, RenderRubyRun* renderer, RenderObject* previousObject, const LineInfo& lineInfo)
798 for (BidiRun* runWithNextObject = run->next(); runWithNextObject; runWithNextObject = runWithNextObject->next()) {
832 static inline void setLogicalWidthForTextRun(RootInlineBox* lineBox, BidiRun* run, RenderText* renderer, float xPos, const LineInfo& lineInfo,
844 int baselineShift = lineBox->verticalPositionForBox(run->m_box, verticalPositionCache);
854 if (toInlineTextBox(run->m_box)->hasHyphen()) {
863 // Since we don't cache glyph overflows, we need to re-measure the run if
867 int lastEndOffset = run->m_start;
868 for (size_t i = 0, size = wordMeasurements.size(); i < size && lastEndOffset < run->m_stop; ++i) {
872 if (wordMeasurement.renderer != renderer || wordMeasurement.startOffset != lastEndOffset || wordMeasurement.endOffset > run->m_stop)
876 if (kerningIsEnabled && lastEndOffset == run->m_stop) {
892 if (measuredWidth && lastEndOffset != run->m_stop) {
893 // If we don't have enough cached data, we'll measure the run again.
900 measuredWidth = renderer->width(run->m_start, run->m_stop - run->m_start, xPos, lineInfo.isFirstLine(), &fallbackFonts, &glyphOverflow);
902 run->m_box->setLogicalWidth(measuredWidth + hyphenWidth);
904 ASSERT(run->m_box->isText());
905 GlyphOverflowAndFallbackFontsMap::iterator it = textBoxDataMap.add(toInlineTextBox(run->m_box), make_pair(Vector<const SimpleFontData*>(), GlyphOverflow())).iterator;
908 run->m_box->parent()->clearDescendantsHaveSameLineHeightAndBaseline();
911 ASSERT(run->m_box->isText());
912 GlyphOverflowAndFallbackFontsMap::iterator it = textBoxDataMap.add(toInlineTextBox(run->m_box), make_pair(Vector<const SimpleFontData*>(), GlyphOverflow())).iterator;
914 run->m_box->clearKnownToHaveNoOverflow();
1334 // The starting position is the beginning of the first run within the isolate that was identified
1336 // first run within the isolate.
1347 // the logically last run.
1905 // We have to delete this line, remove all floats that got added, and let line layout re-run.
2136 // siblings can run into stale root lineboxes during layout. Then layout
2381 // At this point, |last| is the first line in a run of clean lines that ends with the last line
2639 TextRun run = RenderBlock::constructTextRun(text, font, text, from, len, text->style());
2640 run.setCharactersLength(text->textLength() - from);
2641 ASSERT(run.charactersLength() >= run.length());
2643 run.setCharacterScanForCodePath(!text->canUseSimpleFontCodePath());
2644 run.setTabSize(!collapseWhiteSpace, text->style()->tabSize());
2645 run.setXPos(xPos);
2646 return font.width(run, &fallbackFonts, &glyphOverflow);
2679 TextRun run = RenderBlock::constructTextRun(text, font, text, lastSpace, pos - lastSpace, text->style());
2680 run.setCharactersLength(text->textLength() - lastSpace);
2681 ASSERT(run.charactersLength() >= run.length());
2683 run.setTabSize(!collapseWhiteSpace, text->style()->tabSize());
2684 run.setXPos(xPos + lastSpaceWordSpacing);
2686 unsigned prefixLength = font.offsetForPosition(run, maxPrefixWidth, false);
2894 // a run.
2958 // run for this object.
3327 // run and enter a mode where we start collapsing spaces.
3332 // spaces. Create a midpoint to terminate the run