Searched defs:collapseWhiteSpace (Results 1 - 4 of 4) sorted by path

/external/webkit/Source/WebCore/editing/
H A DReplaceSelectionCommand.cpp1132 bool collapseWhiteSpace = !renderer || renderer->style()->collapseWhiteSpace(); local
1136 insertTextIntoNode(text, text->length(), collapseWhiteSpace ? nonBreakingSpaceString() : " ");
1138 RefPtr<Node> node = document()->createEditingTextNode(collapseWhiteSpace ? nonBreakingSpaceString() : " ");
1147 bool collapseWhiteSpace = !renderer || renderer->style()->collapseWhiteSpace(); local
1151 insertTextIntoNode(text, 0, collapseWhiteSpace ? nonBreakingSpaceString() : " ");
1153 RefPtr<Node> node = document()->createEditingTextNode(collapseWhiteSpace ? nonBreakingSpaceString() : " ");
/external/webkit/Source/WebCore/rendering/
H A DRenderBlockLineLayout.cpp113 if (endpoint.m_obj->style()->collapseWhiteSpace())
591 if (r->m_object->style()->collapseWhiteSpace()) {
1547 return style->collapseWhiteSpace() || (style->whiteSpace() == PRE_WRAP && (!isLineEmpty || !previousLineBrokeCleanly));
1634 static inline float textWidth(RenderText* text, unsigned from, unsigned len, const Font& font, float xPos, bool isFixedPitch, bool collapseWhiteSpace) argument
1638 return font.width(TextRun(text->characters() + from, len, !collapseWhiteSpace, xPos));
1641 static void tryHyphenating(RenderText* text, const Font& font, const AtomicString& localeIdentifier, int minimumPrefixLength, int minimumSuffixLength, int lastSpace, int pos, float xPos, int availableWidth, bool isFixedPitch, bool collapseWhiteSpace, int lastSpaceWordSpacing, InlineIterator& lineBreak, int nextBreakable, bool& hyphenated) argument
1662 unsigned prefixLength = font.offsetForPosition(TextRun(text->characters() + lastSpace, pos - lastSpace, !collapseWhiteSpace, xPos + lastSpaceWordSpacing), maxPrefixWidth, false);
1676 float prefixWidth = hyphenWidth + textWidth(text, lastSpace, prefixLength, font, xPos, isFixedPitch, collapseWhiteSpace) + lastSpaceWordSpacing;
1868 bool collapseWhiteSpace = RenderStyle::collapseWhiteSpace(currW local
[all...]
H A DRenderText.cpp661 bool collapseWhiteSpace = style()->collapseWhiteSpace(); local
662 if (!collapseWhiteSpace)
705 stripFrontSpaces = collapseWhiteSpace && m_hasEndWS;
825 if (!style()->collapseWhiteSpace()) {
838 if (!ignoringSpaces && style()->collapseWhiteSpace() && previousCharacterIsSpace && isSpace)
/external/webkit/Source/WebCore/rendering/style/
H A DRenderStyle.h534 static bool collapseWhiteSpace(EWhiteSpace ws) function in class:WebCore::RenderStyle
540 bool collapseWhiteSpace() const function in class:WebCore::RenderStyle
542 return collapseWhiteSpace(whiteSpace());
550 return collapseWhiteSpace();

Completed in 156 milliseconds