Home
last modified time | relevance | path

Searched refs:m_availableWidth (Results 1 – 2 of 2) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/rendering/line/
DLineWidth.h49 bool fitsOnLine() const { return currentWidth() <= (m_availableWidth + LayoutUnit::epsilon()); } in fitsOnLine()
50 …bool fitsOnLine(float extra) const { return currentWidth() + extra <= (m_availableWidth + LayoutUn… in fitsOnLine()
53 …t == ExcludeWhitespace ? trailingWhitespaceWidth() : 0) + extra <= (m_availableWidth + LayoutUnit:… in fitsOnLine()
60 float availableWidth() const { return m_availableWidth; } in availableWidth()
85 float m_availableWidth; variable
DLineWidth.cpp46 , m_availableWidth(0) in LineWidth()
115 m_availableWidth += startOverhang; in applyOverhang()
117 endOverhang = std::max(std::min<int>(endOverhang, m_availableWidth - currentWidth()), 0); in applyOverhang()
118 m_availableWidth += endOverhang; in applyOverhang()
138 if (newLineWidth <= m_availableWidth) in updateLineDimension()
142 m_availableWidth = newLineWidth + m_overhangWidth; in updateLineDimension()
187 float newLineWidth = m_availableWidth; in fitBelowFloats()
211 m_availableWidth = max(0.0f, m_right - m_left) + m_overhangWidth; in computeAvailableWidthFromLeftAndRight()