/external/webkit/Source/WebCore/rendering/ |
D | AutoTableLayout.cpp | 91 … if (cellLogicalWidth.value() > 0 && columnLayout.logicalWidth.type() != Percent) { in recalcColumn() 92 … int logicalWidth = cell->computeBorderBoxLogicalWidth(cellLogicalWidth.value()); in recalcColumn() local 93 if (columnLayout.logicalWidth.isFixed()) { in recalcColumn() 95 if ((logicalWidth > columnLayout.logicalWidth.value()) || in recalcColumn() 96 … ((columnLayout.logicalWidth.value() == logicalWidth) && (maxContributor == cell))) { in recalcColumn() 97 columnLayout.logicalWidth.setValue(logicalWidth); in recalcColumn() 101 columnLayout.logicalWidth.setValue(Fixed, logicalWidth); in recalcColumn() 108 …idth.isPositive() && (!columnLayout.logicalWidth.isPercent() || cellLogicalWidth.value() > columnL… in recalcColumn() 109 columnLayout.logicalWidth = cellLogicalWidth; in recalcColumn() 114 …|| (cellLogicalWidth.isRelative() && cellLogicalWidth.value() > columnLayout.logicalWidth.value())) in recalcColumn() [all …]
|
D | RenderImage.cpp | 451 switch (style()->logicalWidth().type()) { in isLogicalWidthSpecified() 489 int logicalWidth; in computeReplacedLogicalWidth() local 491 logicalWidth = computeReplacedLogicalWidthUsing(style()->logicalWidth()); in computeReplacedLogicalWidth() 494 logicalWidth = style()->isHorizontalWritingMode() ? size.width() : size.height(); in computeReplacedLogicalWidth() 496 …logicalWidth = 0; // If the image is relatively-sized, set the width to 0 until there is a set con… in computeReplacedLogicalWidth() 498 logicalWidth = calcAspectRatioLogicalWidth(); in computeReplacedLogicalWidth() 501 …idth = !includeMaxWidth || style()->logicalMaxWidth().isUndefined() ? logicalWidth : computeReplac… in computeReplacedLogicalWidth() 504 logicalWidth = max(minLogicalWidth, min(logicalWidth, maxLogicalWidth)); in computeReplacedLogicalWidth() 508 if (cw && logicalWidth > cw) in computeReplacedLogicalWidth() 509 logicalWidth = cw; in computeReplacedLogicalWidth() [all …]
|
D | RenderRubyText.cpp | 64 …neDirectionLineBounds(int expansionOpportunityCount, float& logicalLeft, float& logicalWidth) const in adjustInlineDirectionLineBounds() 68 …RenderBlock::adjustInlineDirectionLineBounds(expansionOpportunityCount, logicalLeft, logicalWidth); in adjustInlineDirectionLineBounds() 71 if (maxPreferredLogicalWidth >= logicalWidth) in adjustInlineDirectionLineBounds() 76 float inset = (logicalWidth - maxPreferredLogicalWidth) / (expansionOpportunityCount + 1); in adjustInlineDirectionLineBounds() 81 logicalWidth -= inset; in adjustInlineDirectionLineBounds()
|
D | RenderReplaced.cpp | 201 int logicalWidth; in computeReplacedLogicalWidth() local 203 logicalWidth = computeReplacedLogicalWidthUsing(style()->logicalWidth()); in computeReplacedLogicalWidth() 205 logicalWidth = calcAspectRatioLogicalWidth(); in computeReplacedLogicalWidth() 207 logicalWidth = intrinsicLogicalWidth(); in computeReplacedLogicalWidth() 210 …idth = !includeMaxWidth || style()->logicalMaxWidth().isUndefined() ? logicalWidth : computeReplac… in computeReplacedLogicalWidth() 212 return max(minLogicalWidth, min(logicalWidth, maxLogicalWidth)); in computeReplacedLogicalWidth() 297 if (lineDirectionPosition <= box->logicalLeft() + (box->logicalWidth() / 2)) in positionForPoint()
|
D | FixedTableLayout.cpp | 95 grpWidth = col->style()->logicalWidth(); in calcWidthArray() 97 Length w = col->style()->logicalWidth(); in calcWidthArray() 205 …int tableLogicalWidth = m_table->style()->logicalWidth().isFixed() ? m_table->style()->logicalWidt… in computePreferredLogicalWidths() 225 …if (m_table->document()->inQuirksMode() && m_table->style()->logicalWidth().isPercent() && maxWidt… in computePreferredLogicalWidths() 231 …int tableLogicalWidth = m_table->logicalWidth() - m_table->bordersPaddingAndSpacingInRowDirection(… in layout()
|
D | InlineBox.h | 72 …InlineBox(RenderObject* obj, float x, float y, float logicalWidth, bool firstLine, bool constructe… in InlineBox() argument 80 , m_logicalWidth(logicalWidth) in InlineBox() 232 float width() const { return isHorizontal() ? logicalWidth() : logicalHeight(); } in width() 233 float height() const { return isHorizontal() ? logicalHeight() : logicalWidth(); } in height() 237 float logicalRight() const { return logicalLeft() + logicalWidth(); } in logicalRight() 261 float logicalWidth() const { return m_logicalWidth; } in logicalWidth() function
|
D | RenderRubyBase.cpp | 202 …neDirectionLineBounds(int expansionOpportunityCount, float& logicalLeft, float& logicalWidth) const in adjustInlineDirectionLineBounds() 205 if (maxPreferredLogicalWidth >= logicalWidth) in adjustInlineDirectionLineBounds() 209 float inset = (logicalWidth - maxPreferredLogicalWidth) / (expansionOpportunityCount + 1); in adjustInlineDirectionLineBounds() 212 logicalWidth -= inset; in adjustInlineDirectionLineBounds()
|
D | RenderBox.cpp | 1066 … FloatRect rootRect(tx + r->x(), ty + r->selectionTop(), r->logicalWidth(), r->selectionHeight()); in paintCustomHighlight() 1575 …ength = (treatAsReplaced) ? Length(computeReplacedLogicalWidth(), Fixed) : style()->logicalWidth(); in computeLogicalWidth() 1619 if (logicalWidth() > maxLogicalWidth) { in computeLogicalWidth() 1627 if (logicalWidth() < minLogicalWidth) { in computeLogicalWidth() 1635 setLogicalWidth(max(logicalWidth(), minPreferredLogicalWidth())); in computeLogicalWidth() 1636 logicalWidthLength = Length(logicalWidth(), Fixed); in computeLogicalWidth() 1644 computeInlineDirectionMargins(cb, containerLogicalWidth, logicalWidth()); in computeLogicalWidth() 1662 …ContainingBlock && containerLogicalWidth && containerLogicalWidth != (logicalWidth() + marginStart… in computeLogicalWidth() 1664 …cb->setMarginEndForChild(this, containerLogicalWidth - logicalWidth() - cb->marginStartForChild(th… in computeLogicalWidth() 1669 int logicalWidthResult = logicalWidth(); in computeLogicalWidthUsing() [all …]
|
D | RenderFieldset.cpp | 79 logicalLeft = (logicalWidth() - logicalWidthForChild(legend)) / 2; in layoutSpecialExcludedChild() 82 … logicalLeft = logicalWidth() - borderEnd() - paddingEnd() - logicalWidthForChild(legend); in layoutSpecialExcludedChild() 96 int centeredWidth = logicalWidth() - logicalWidthForChild(legend); in layoutSpecialExcludedChild() 101 …logicalLeft = logicalWidth() - borderStart() - paddingStart() - marginStartForChild(legend) - logi… in layoutSpecialExcludedChild()
|
D | RenderRubyRun.cpp | 287 int logicalWidth = this->logicalWidth(); in getOverhang() local 295 …logicalRightOverhang = min<int>(logicalRightOverhang, logicalWidth - rootInlineBox->logicalRight()… in getOverhang()
|
D | RenderListItem.cpp | 304 …if (markerLogicalLeft + m_marker->logicalWidth() > newLogicalVisualOverflowRect.maxX() && !hitSelf… in positionListMarker() 305 …newLogicalVisualOverflowRect.setWidth(markerLogicalLeft + m_marker->logicalWidth() - newLogicalVis… in positionListMarker() 309 … if (markerLogicalLeft + m_marker->logicalWidth() > newLogicalLayoutOverflowRect.maxX()) { in positionListMarker() 310 …newLogicalLayoutOverflowRect.setWidth(markerLogicalLeft + m_marker->logicalWidth() - newLogicalLay… in positionListMarker()
|
D | RenderInline.cpp | 525 … childLine->logicalWidth() + childLine->marginLogicalLeft() + childLine->marginLogicalRight(), in culledInlineAbsoluteRects() 531 … childLine->logicalWidth() + childLine->marginLogicalLeft() + childLine->marginLogicalRight()); in culledInlineAbsoluteRects() 543 …et.width() + childText->x(), offset.height() + logicalTop, childText->logicalWidth(), logicalHeigh… in culledInlineAbsoluteRects() 545 ….width() + logicalTop, offset.height() + childText->y(), logicalHeight, childText->logicalWidth()); in culledInlineAbsoluteRects() 609 … childLine->logicalWidth() + childLine->marginLogicalLeft() + childLine->marginLogicalRight(), in culledInlineAbsoluteQuads() 615 … childLine->logicalWidth() + childLine->marginLogicalLeft() + childLine->marginLogicalRight()); in culledInlineAbsoluteQuads() 627 … result = FloatRect(childText->x(), logicalTop, childText->logicalWidth(), logicalHeight); in culledInlineAbsoluteQuads() 629 … result = FloatRect(logicalTop, childText->y(), logicalHeight, childText->logicalWidth()); in culledInlineAbsoluteQuads() 814 … childLine->logicalWidth() + childLine->marginLogicalLeft() + childLine->marginLogicalRight(), in culledInlineBoundingBox() 820 … childLine->logicalWidth() + childLine->marginLogicalLeft() + childLine->marginLogicalRight())); in culledInlineBoundingBox() [all …]
|
D | RenderRubyText.h | 51 …eDirectionLineBounds(int expansionOpportunityCount, float& logicalLeft, float& logicalWidth) const;
|
D | RenderTable.cpp | 93 if (style()->tableLayout() == TFIXED && !style()->logicalWidth().isAuto()) in styleDidChange() 233 LengthType logicalWidthType = style()->logicalWidth().type(); in computeLogicalWidth() 234 if (logicalWidthType > Relative && style()->logicalWidth().isPositive()) { in computeLogicalWidth() 236 setLogicalWidth(style()->logicalWidth().calcMinValue(containerWidthInInlineDirection)); in computeLogicalWidth() 237 setLogicalWidth(max(minPreferredLogicalWidth(), logicalWidth())); in computeLogicalWidth() 253 setLogicalWidth(max(logicalWidth(), minPreferredLogicalWidth())); in computeLogicalWidth() 264 computeInlineDirectionMargins(cb, availableLogicalWidth, logicalWidth()); in computeLogicalWidth() 304 int oldLogicalWidth = logicalWidth(); in layout() 336 if (m_caption && logicalWidth() != oldLogicalWidth) in layout()
|
D | InlineFlowBox.cpp | 365 logicalLeft += text->logicalWidth(); in placeBoxesInInlineDirection() 376 curr->setLogicalLeft(root()->block()->logicalWidth() - logicalLeft); in placeBoxesInInlineDirection() 398 logicalLeft += curr->logicalWidth(); in placeBoxesInInlineDirection() 1044 logicalOffsetOnLine += curr->logicalWidth(); in paintFillLayer() 1047 totalLogicalWidth += curr->logicalWidth(); in paintFillLayer() 1050 logicalOffsetOnLine += curr->logicalWidth(); in paintFillLayer() 1053 totalLogicalWidth += curr->logicalWidth(); in paintFillLayer() 1142 logicalOffsetOnLine += curr->logicalWidth(); in paintBoxDecorations() 1145 totalLogicalWidth += curr->logicalWidth(); in paintBoxDecorations() 1222 logicalOffsetOnLine += curr->logicalWidth(); in paintMask() [all …]
|
D | AutoTableLayout.h | 60 Length logicalWidth; member
|
D | RenderRubyBase.h | 53 …eDirectionLineBounds(int expansionOpportunityCount, float& logicalLeft, float& logicalWidth) const;
|
D | RootInlineBox.cpp | 94 if (logicalWidth() - delta < ellipsisWidth) in lineCanAccommodateEllipsis() 107 … ellipsisWidth - (markupBox ? markupBox->logicalWidth() : 0), logicalHeight(), in placeEllipsis() 116 if (ltr && (x() + logicalWidth() + ellipsisWidth) <= blockRightEdge) { in placeEllipsis() 117 ellipsisBox->m_x = x() + logicalWidth(); in placeEllipsis() 155 FloatRect rootRect(0, selectionTop(), logicalWidth(), selectionHeight()); in addHighlightOverflow() 173 FloatRect rootRect(tx + x(), ty + selectionTop(), logicalWidth(), selectionHeight()); in paintCustomHighlight()
|
D | RenderListMarker.cpp | 1363 int logicalWidth = 0; in computePreferredLogicalWidths() local 1371 logicalWidth = font.width(m_text); // no suffix for these types in computePreferredLogicalWidths() 1377 logicalWidth = (fontMetrics.ascent() * 2 / 3 + 1) / 2 + 2; in computePreferredLogicalWidths() 1456 logicalWidth = 0; in computePreferredLogicalWidths() 1461 logicalWidth = itemWidth + suffixSpaceWidth; in computePreferredLogicalWidths() 1466 m_minPreferredLogicalWidth = logicalWidth; in computePreferredLogicalWidths() 1467 m_maxPreferredLogicalWidth = logicalWidth; in computePreferredLogicalWidths()
|
D | InlineTextBox.cpp | 198 int logicalWidth = r.width(); in selectionRect() local 200 logicalWidth = 0; in selectionRect() 202 logicalWidth = m_logicalWidth - r.x(); in selectionRect() 205 int width = isHorizontal() ? logicalWidth : selHeight; in selectionRect() 206 int height = isHorizontal() ? selHeight : logicalWidth; in selectionRect() 522 FloatRect boxRect(boxOrigin, IntSize(logicalWidth(), logicalHeight())); in paint() 869 FloatRect rootRect(tx + r->x(), ty + selectionTop(), r->logicalWidth(), selectionHeight()); in paintCustomHighlight() 870 FloatRect textRect(tx + x(), rootRect.y(), logicalWidth(), rootRect.height()); in paintCustomHighlight() 1238 if (lineOffset - logicalLeft() > logicalWidth()) in offsetForPosition()
|
D | RenderBox.h | 58 int logicalRight() const { return logicalLeft() + logicalWidth(); } in logicalRight() 61 int logicalWidth() const { return style()->isHorizontalWritingMode() ? width() : height(); } in logicalWidth() function 442 …void computePositionedLogicalWidthUsing(Length logicalWidth, const RenderBoxModelObject* container…
|
D | RenderBlockLineLayout.cpp | 382 …aceRun->m_box->setLogicalWidth(max<float>(0, trailingSpaceRun->m_box->logicalWidth() - totalLogica… in updateLogicalWidthForLeftAlignedBlock() 399 totalLogicalWidth -= trailingSpaceRun->m_box->logicalWidth(); in updateLogicalWidthForRightAlignedBlock() 408 …aceRun->m_box->setLogicalWidth(max<float>(0, trailingSpaceRun->m_box->logicalWidth() - totalLogica… in updateLogicalWidthForRightAlignedBlock() 409 totalLogicalWidth -= trailingSpaceRun->m_box->logicalWidth(); in updateLogicalWidthForRightAlignedBlock() 418 totalLogicalWidth -= trailingSpaceRun->m_box->logicalWidth(); in updateLogicalWidthForCenterAlignedBlock() 419 …trailingSpaceWidth = min(trailingSpaceRun->m_box->logicalWidth(), (availableLogicalWidth - totalLo… in updateLogicalWidthForCenterAlignedBlock() 522 totalLogicalWidth += r->m_box->logicalWidth(); in computeInlineDirectionPositionsForLine() 544 totalLogicalWidth -= trailingSpaceRun->m_box->logicalWidth(); in computeInlineDirectionPositionsForLine() 554 …aceRun->m_box->setLogicalWidth(max<float>(0, trailingSpaceRun->m_box->logicalWidth() - totalLogica… in computeInlineDirectionPositionsForLine() 1845 …sToBreak = !document()->inQuirksMode() || !isTableCell() || !style()->logicalWidth().isIntrinsicOr… in findNextLineBreak() [all …]
|
D | RenderBlock.h | 468 void setLogicalWidthForFloat(FloatingObject* child, int logicalWidth) in setLogicalWidthForFloat() argument 471 child->setWidth(logicalWidth); in setLogicalWidthForFloat() 473 child->setHeight(logicalWidth); in setLogicalWidthForFloat()
|
/external/webkit/Source/WebCore/rendering/svg/ |
D | RenderSVGInline.cpp | 93 …(textBoundingBox.x() + box->x(), textBoundingBox.y() + box->y(), box->logicalWidth(), box->logical… in absoluteQuads()
|
D | SVGRenderTreeAsText.cpp | 440 int logicalWidth = ceilf(box->x() + box->logicalWidth()) - box->x(); in writeRenderSVGTextBox() local 441 …ts << " at (" << text.x() << "," << text.y() << ") size " << logicalWidth << "x" << box->logicalHe… in writeRenderSVGTextBox()
|