Searched refs:logicalWidth (Results 26 - 50 of 53) sorted by relevance

123

/external/chromium_org/third_party/WebKit/Source/core/rendering/
H A DRenderBox.h84 LayoutUnit logicalRight() const { return logicalLeft() + logicalWidth(); }
87 LayoutUnit logicalWidth() const { return style()->isHorizontalWritingMode() ? width() : height(); } function in class:WebCore::RenderBox
426 LayoutUnit computeLogicalWidthInRegionUsing(SizeType, Length logicalWidth, LayoutUnit availableLogicalWidth, const RenderBlock* containingBlock, RenderRegion*) const;
431 LayoutUnit computeReplacedLogicalWidthRespectingMinMaxWidth(LayoutUnit logicalWidth, ShouldComputePreferred = ComputeActual) const;
666 void computePositionedLogicalWidthUsing(Length logicalWidth, const RenderBoxModelObject* containerBlock, TextDirection containerDirection,
H A DRenderBlockFlow.h109 void setLogicalWidthForFloat(FloatingObject* floatingObject, LayoutUnit logicalWidth) argument
112 floatingObject->setWidth(logicalWidth);
114 floatingObject->setHeight(logicalWidth);
H A DRenderBlockLineLayout.cpp383 trailingSpaceRun->m_box->setLogicalWidth(max<float>(0, trailingSpaceRun->m_box->logicalWidth() - totalLogicalWidth + availableLogicalWidth));
400 totalLogicalWidth -= trailingSpaceRun->m_box->logicalWidth();
409 trailingSpaceRun->m_box->setLogicalWidth(max<float>(0, trailingSpaceRun->m_box->logicalWidth() - totalLogicalWidth + availableLogicalWidth));
410 totalLogicalWidth -= trailingSpaceRun->m_box->logicalWidth();
419 totalLogicalWidth -= trailingSpaceRun->m_box->logicalWidth();
420 trailingSpaceWidth = min(trailingSpaceRun->m_box->logicalWidth(), (availableLogicalWidth - totalLogicalWidth + 1) / 2);
596 totalLogicalWidth -= trailingSpaceRun->m_box->logicalWidth();
740 totalLogicalWidth += r->m_box->logicalWidth();
2267 float totalLogicalWidth = curr->logicalWidth();
2302 int lineBoxEdge = ltr ? snapSizeToPixel(currLogicalLeft + curr->logicalWidth(), currLogicalLef
[all...]
H A DEllipsisBox.cpp47 FloatRect boxRect(boxOrigin, LayoutSize(logicalWidth(), virtualLogicalHeight()));
H A DRenderTableCell.h88 Length styleWidth = style()->logicalWidth();
H A DRenderInline.cpp584 childLine->logicalWidth() + childLine->marginLogicalLeft() + childLine->marginLogicalRight(),
590 childLine->logicalWidth() + childLine->marginLogicalLeft() + childLine->marginLogicalRight()));
600 yield(FloatRect(childText->x(), logicalTop, childText->logicalWidth(), logicalHeight));
602 yield(FloatRect(logicalTop, childText->y(), logicalHeight, childText->logicalWidth()));
991 LayoutUnit logicalWidth = logicalRightSide - logicalLeftSide; local
994 LayoutRect rect(logicalLeftSide, logicalTop, logicalWidth, logicalHeight);
1434 rects.append(LayoutRect(curr->x(), top, curr->logicalWidth(), bottom - top));
H A DRenderListMarker.cpp1492 LayoutUnit logicalWidth = 0; local
1499 logicalWidth = font.width(m_text); // no suffix for these types
1504 logicalWidth = (font.fontMetrics().ascent() * 2 / 3 + 1) / 2 + 2;
1582 logicalWidth = 0;
1587 logicalWidth = itemWidth + suffixSpaceWidth;
1592 m_minPreferredLogicalWidth = logicalWidth;
1593 m_maxPreferredLogicalWidth = logicalWidth;
H A DRootInlineBox.cpp118 if (logicalWidth() - delta < ellipsisWidth)
131 ellipsisWidth - (markupBox ? markupBox->logicalWidth() : 0), logicalHeight(),
140 if (ltr && (logicalLeft() + logicalWidth() + ellipsisWidth) <= blockRightEdge) {
141 ellipsisBox->setLogicalLeft(logicalLeft() + logicalWidth());
142 return logicalWidth() + ellipsisWidth;
H A DInlineBox.cpp304 truncatedWidth += logicalWidth();
H A DRenderDeprecatedFlexibleBox.cpp175 return child->logicalWidth() - child->borderAndPaddingLogicalWidth();
951 totalWidth = anchorBox->logicalWidth() + font.width(RenderBlockFlow::constructTextRun(this, font, ellipsisAndSpace, 2, style()));
970 if (!lastVisibleLine->lineCanAccommodateEllipsis(leftToRight, blockRightEdge, lastVisibleLine->x() + lastVisibleLine->logicalWidth(), totalWidth))
H A DRenderTreeAsText.cpp407 // FIXME: For now use an "enclosingIntRect" model for x, y and logicalWidth, although this makes it harder
411 int logicalWidth = ceilf(run.left() + run.logicalWidth()) - x; local
417 ts << "text run at (" << x << "," << y << ") width " << logicalWidth; local
H A DInlineFlowBox.h291 return FloatRect(logicalLeft(), lineTop, logicalWidth(), lineBottom - lineTop);
H A DRenderMultiColumnSet.cpp157 setLogicalWidth(logicalWidth() + delta);
H A DRenderText.cpp682 *extraWidthToEndOfLine = (box->root()->logicalWidth() + rootLeft) - (left + 1);
690 rightEdge = max<float>(cb->logicalWidth(), rootRight);
1536 LayoutUnit logicalWidth = logicalRightSide - logicalLeftSide; local
1539 LayoutRect rect(logicalLeftSide, logicalTop, logicalWidth, logicalHeight);
H A DRenderBlock.cpp1468 shapeInsideInfo->setShapeSize(logicalWidth(), percentageLogicalHeightResolvable ? logicalHeight() : LayoutUnit());
1490 LayoutUnit oldWidth = logicalWidth();
1499 return oldWidth != logicalWidth() || oldColumnWidth != desiredColumnWidth() || hasBorderOrPaddingLogicalWidthChanged;
2598 LayoutUnit logicalWidth = logicalRight - logicalLeft; local
2599 if (logicalWidth <= 0)
2602 LayoutRect gapRect = rootBlock->logicalRectToPhysicalRect(rootBlockPhysicalPosition, LayoutRect(logicalLeft, logicalTop, logicalWidth, logicalHeight));
2942 return logicalRightOffset - (logicalWidth() - (isHorizontalWritingMode() ? boxRect.maxX() : boxRect.maxY()));
3427 if (pointLogicalLeft >= logicalWidth())
3909 if (!isTableCell() && styleToUse->logicalWidth().isFixed() && styleToUse->logicalWidth()
[all...]
H A DRenderImage.cpp247 style()->logicalWidth().isPercent()
H A DRenderFlexibleBox.cpp1329 } else if (isColumnFlow() && child->style()->logicalWidth().isAuto()) {
1335 if (childWidth != child->logicalWidth()) {
H A DRenderGrid.cpp431 return valueForLength(trackLength, direction == ForColumns ? logicalWidth() : computeContentLogicalHeight(style()->logicalHeight(), -1), view());
876 || child->logicalWidth() > overrideContainingBlockContentLogicalWidth;
H A DRenderTableCell.cpp121 Length colWidth = tableCol->style()->logicalWidth();
224 if (tableLayoutLogicalWidth == logicalWidth())
H A DRenderBlockFlow.cpp1644 LayoutUnit childOldLogicalWidth = child->logicalWidth();
2491 LayoutRect logicalRect(curr->logicalLeft(), selTop, curr->logicalWidth(), selTop + selHeight);
/external/chromium_org/third_party/WebKit/Source/core/frame/
H A DSmartClip.cpp232 if (renderer && (renderer->style()->logicalHeight().isAuto() || renderer->style()->logicalWidth().isAuto()))
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
H A DSVGRootInlineBox.cpp211 if (point.x() < leaf->left() + leaf->logicalWidth())
H A DRenderSVGRoot.cpp145 if (style()->logicalWidth().isSpecified() || style()->logicalMaxWidth().isSpecified())
H A DSVGRenderTreeAsText.cpp368 ts << " " << enclosingIntRect(FloatRect(text.location(), FloatSize(box->logicalWidth(), box->logicalHeight())));
/external/chromium_org/third_party/WebKit/Source/core/rendering/line/
H A DBreakingContextInlineHeaders.h235 , m_allowImagesToBreak(!block->document().inQuirksMode() || !block->isTableCell() || !m_blockStyle->logicalWidth().isIntrinsicOrAuto())
679 LayoutUnit availableLogicalWidth = block->logicalWidth() - block->logicalRightForFloat(lastFloatFromPreviousLine);

Completed in 404 milliseconds

123