Home
last modified time | relevance | path

Searched refs:collapseWhiteSpace (Results 1 – 15 of 15) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/rendering/line/
DBreakingContextInlineHeaders.h56 void createLayout(RenderText* renderText, float xPos, bool collapseWhiteSpace) in createLayout()
59 …xt, *m_font, renderText, renderText->style()), renderText->textLength(), xPos, collapseWhiteSpace); in createLayout()
320 return style->collapseWhiteSpace() in shouldCollapseWhiteSpace()
409 m_collapseWhiteSpace = RenderStyle::collapseWhiteSpace(m_currWS); in initializeForCurrentObject()
580 …} else if (m_blockStyle->collapseWhiteSpace() && m_resolver.position().object() == m_current.objec… in handleEmptyInline()
617 …if (m_blockStyle->collapseWhiteSpace() && shouldSkipWhitespaceAfterStartObject(m_block, m_current.… in handleReplaced()
701 …nsigned len, const Font& font, float xPos, bool isFixedPitch, bool collapseWhiteSpace, HashSet<con…
715 run.setTabSize(!collapseWhiteSpace, text->style()->tabSize());
940 if (!m_ignoringSpaces && m_currentStyle->collapseWhiteSpace()) { in handleText()
982 else if (!m_currentStyle->collapseWhiteSpace() || !m_currentCharacterIsSpace) in handleText()
[all …]
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DRenderText.cpp744 if (style()->collapseWhiteSpace()) { in widthFromCache()
768 run.setTabSize(!style()->collapseWhiteSpace(), style()->tabSize()); in widthFromCache()
780 bool collapseWhiteSpace = style()->collapseWhiteSpace(); in trimmedPrefWidths() local
781 if (!collapseWhiteSpace) in trimmedPrefWidths()
825 stripFrontSpaces = collapseWhiteSpace && m_hasEndWhiteSpace; in trimmedPrefWidths()
954 if (!styleToUse->collapseWhiteSpace()) { in computePreferredLogicalWidths()
970 … if (!ignoringSpaces && styleToUse->collapseWhiteSpace() && previousCharacterIsSpace && isSpace) in computePreferredLogicalWidths()
1080 run.setTabSize(!style()->collapseWhiteSpace(), style()->tabSize()); in computePreferredLogicalWidths()
1486 run.setTabSize(!style()->collapseWhiteSpace(), style()->tabSize()); in width()
DInlineTextBox.cpp1525 run.setTabSize(!style->collapseWhiteSpace(), style->tabSize()); in constructTextRun()
DRenderBlockLineLayout.cpp554 if (r->m_object->style()->collapseWhiteSpace()) { in computeExpansionForJustifiedText()
DRenderBlock.cpp4381 if (styleToUse->collapseWhiteSpace()) in computeInlinePreferredLogicalWidths()
/external/chromium_org/third_party/WebKit/Source/core/editing/
DReplaceSelectionCommand.cpp1284 …bool collapseWhiteSpace = !endNode->renderer() || endNode->renderer()->style()->collapseWhiteSpace in addSpacesForSmartReplace() local
1286 …insertTextIntoNode(toText(endNode), endOffset, collapseWhiteSpace ? nonBreakingSpaceString() : " "… in addSpacesForSmartReplace()
1290 …RefPtr<Node> node = document().createEditingTextNode(collapseWhiteSpace ? nonBreakingSpaceString()… in addSpacesForSmartReplace()
1308 …bool collapseWhiteSpace = !startNode->renderer() || startNode->renderer()->style()->collapseWhiteS… in addSpacesForSmartReplace() local
1310 …insertTextIntoNode(toText(startNode), startOffset, collapseWhiteSpace ? nonBreakingSpaceString() :… in addSpacesForSmartReplace()
1314 …RefPtr<Node> node = document().createEditingTextNode(collapseWhiteSpace ? nonBreakingSpaceString()… in addSpacesForSmartReplace()
DApplyBlockElementCommand.cpp195 if (!startStyle->collapseWhiteSpace() && start.offsetInContainerNode() > 0) { in rangeForParagraphSplittingTextNodesIfNeeded()
225 …if (!endStyle->collapseWhiteSpace() && end.offsetInContainerNode() && end.offsetInContainerNode() … in rangeForParagraphSplittingTextNodesIfNeeded()
DInsertParagraphSeparatorCommand.cpp350 ASSERT(!textNode->renderer() || textNode->renderer()->style()->collapseWhiteSpace()); in doApply()
417 …de()->renderer() || positionAfterSplit.containerNode()->renderer()->style()->collapseWhiteSpace()); in doApply()
DInsertLineBreakCommand.cpp153 ASSERT(!textNode->renderer() || textNode->renderer()->style()->collapseWhiteSpace()); in doApply()
DDeleteSelectionCommand.cpp577 ASSERT(!textNode->renderer() || textNode->renderer()->style()->collapseWhiteSpace()); in fixupWhitespace()
582 ASSERT(!textNode->renderer() ||textNode->renderer()->style()->collapseWhiteSpace()); in fixupWhitespace()
DCompositeEditCommand.cpp639 if (renderer && !renderer->style()->collapseWhiteSpace()) in canRebalance()
708 if (renderer && !renderer->style()->collapseWhiteSpace()) in prepareWhitespaceAtPositionForSplit()
DTextIterator.cpp553 if (!renderer->style()->collapseWhiteSpace()) { in handleTextNode()
/external/chromium_org/third_party/WebKit/Source/platform/fonts/
DFont.h107 …tForMacComplexText(const TextRun&, unsigned textLength, float xPos, bool collapseWhiteSpace) const;
/external/chromium_org/third_party/WebKit/Source/platform/fonts/mac/
DComplexTextController.cpp82 …rMacComplexText(const TextRun& run, unsigned textLength, float xPos, bool collapseWhiteSpace) const in createLayoutForMacComplexText()
84 if (!collapseWhiteSpace || !TextLayout::isNeeded(run, *this)) in createLayoutForMacComplexText()
/external/chromium_org/third_party/WebKit/Source/core/rendering/style/
DRenderStyle.h600 static bool collapseWhiteSpace(EWhiteSpace ws) in collapseWhiteSpace() function
606 bool collapseWhiteSpace() const in collapseWhiteSpace() function
608 return collapseWhiteSpace(whiteSpace()); in collapseWhiteSpace()
616 return collapseWhiteSpace(); in isCollapsibleWhiteSpace()