/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
RenderRubyText.cpp | 63 void RenderRubyText::adjustInlineDirectionLineBounds(unsigned expansionOpportunityCount, float& logicalLeft, float& logicalWidth) const 68 return RenderBlockFlow::adjustInlineDirectionLineBounds(expansionOpportunityCount, logicalLeft, logicalWidth); 71 if (maxPreferredLogicalWidth >= logicalWidth) 76 float inset = (logicalWidth - maxPreferredLogicalWidth) / (expansionOpportunityCount + 1); 81 logicalWidth -= inset;
|
AutoTableLayout.cpp | 98 if (cellLogicalWidth.isPositive() && !columnLayout.logicalWidth.isPercent()) { 99 int logicalWidth = cell->adjustBorderBoxLogicalWidthForBoxSizing(cellLogicalWidth.value()); 100 if (columnLayout.logicalWidth.isFixed()) { 102 if ((logicalWidth > columnLayout.logicalWidth.value()) 103 || ((columnLayout.logicalWidth.value() == logicalWidth) && (maxContributor == cell))) { 104 columnLayout.logicalWidth.setValue(Fixed, logicalWidth); 108 columnLayout.logicalWidth.setValue(Fixed, logicalWidth) [all...] |
RenderRubyText.h | 53 virtual void adjustInlineDirectionLineBounds(unsigned expansionOpportunityCount, float& logicalLeft, float& logicalWidth) const OVERRIDE;
|
FixedTableLayout.cpp | 100 Length colStyleLogicalWidth = col->style()->logicalWidth(); 140 Length logicalWidth = cell->styleOrColLogicalWidth(); 143 if (logicalWidth.isCalculated()) 144 logicalWidth = Length(); // Make it Auto 150 if (logicalWidth.isFixed() && logicalWidth.isPositive()) { 151 fixedBorderBoxLogicalWidth = cell->adjustBorderBoxLogicalWidthForBoxSizing(logicalWidth.value()); 152 logicalWidth.setValue(fixedBorderBoxLogicalWidth); 159 if (m_width[currentColumn].isAuto() && logicalWidth.type() != Auto) { 160 m_width[currentColumn] = logicalWidth; [all...] |
RenderRubyBase.cpp | 136 void RenderRubyBase::adjustInlineDirectionLineBounds(unsigned expansionOpportunityCount, float& logicalLeft, float& logicalWidth) const 139 if (maxPreferredLogicalWidth >= logicalWidth) 143 float inset = (logicalWidth - maxPreferredLogicalWidth) / (expansionOpportunityCount + 1); 146 logicalWidth -= inset;
|
RenderTableCaption.cpp | 39 return cb->logicalWidth();
|
RenderRubyBase.h | 56 virtual void adjustInlineDirectionLineBounds(unsigned expansionOpportunityCount, float& logicalLeft, float& logicalWidth) const OVERRIDE;
|
AutoTableLayout.h | 63 Length logicalWidth;
|
RenderReplaced.cpp | 235 return hasRelativeLogicalHeight() && style()->logicalWidth().isAuto() && !hasAutoHeightOrContainingBlockWithAutoHeight(); 279 if (intrinsicRatio && !intrinsicSize.isEmpty() && style()->logicalWidth().isAuto() && style()->logicalHeight().isAuto()) { 340 if (style()->logicalWidth().isSpecified() || style()->logicalWidth().isIntrinsic()) 341 return computeReplacedLogicalWidthRespectingMinMaxWidth(computeReplacedLogicalWidthUsing(style()->logicalWidth()), shouldComputePreferred); 350 if (style()->logicalWidth().isAuto()) { 376 LayoutUnit logicalWidth = containingBlock()->availableLogicalWidth(); 378 // This solves above equation for 'width' (== logicalWidth). 379 LayoutUnit marginStart = minimumValueForLength(style()->marginStart(), logicalWidth); 380 LayoutUnit marginEnd = minimumValueForLength(style()->marginEnd(), logicalWidth); [all...] |
RenderTextControl.cpp | 108 LayoutUnit unitWidth = logicalWidth() - borderAndPaddingLogicalWidth(); 251 if (!style()->logicalWidth().isPercent()) 263 if (styleToUse->logicalWidth().isFixed() && styleToUse->logicalWidth().value() >= 0) 264 m_minPreferredLogicalWidth = m_maxPreferredLogicalWidth = adjustContentBoxLogicalWidthForBoxSizing(styleToUse->logicalWidth().value());
|
InlineBox.h | 53 InlineBox(RenderObject& obj, FloatPoint topLeft, float logicalWidth, bool firstLine, bool constructed, 60 , m_logicalWidth(logicalWidth) 204 float width() const { return isHorizontal() ? logicalWidth() : hasVirtualLogicalHeight() ? virtualLogicalHeight() : logicalHeight(); } 205 float height() const { return isHorizontal() ? hasVirtualLogicalHeight() ? virtualLogicalHeight() : logicalHeight() : logicalWidth(); } 212 float logicalRight() const { return logicalLeft() + logicalWidth(); } 238 float logicalWidth() const { return m_logicalWidth; }
|
RenderFieldset.cpp | 78 logicalLeft = (logicalWidth() - logicalWidthForChild(legend)) / 2; 81 logicalLeft = logicalWidth() - borderEnd() - paddingEnd() - logicalWidthForChild(legend); 95 LayoutUnit centeredWidth = logicalWidth() - logicalWidthForChild(legend); 100 logicalLeft = logicalWidth() - borderStart() - paddingStart() - marginStartForChild(legend) - logicalWidthForChild(legend);
|
RenderRubyRun.cpp | 274 int logicalWidth = this->logicalWidth(); 279 logicalRightOverhang = std::min<int>(logicalRightOverhang, logicalWidth - rootInlineBox->logicalRight());
|
RenderListItem.cpp | 392 if (markerLogicalLeft + m_marker->logicalWidth() > newLogicalVisualOverflowRect.maxX() && !hitSelfPaintingLayer) { 393 newLogicalVisualOverflowRect.setWidth(markerLogicalLeft + m_marker->logicalWidth() - newLogicalVisualOverflowRect.x()); 397 if (markerLogicalLeft + m_marker->logicalWidth() > newLogicalLayoutOverflowRect.maxX()) { 398 newLogicalLayoutOverflowRect.setWidth(markerLogicalLeft + m_marker->logicalWidth() - newLogicalLayoutOverflowRect.x());
|
RenderMultiColumnSet.h | 61 virtual LayoutUnit pageLogicalWidth() const OVERRIDE FINAL { return flowThread()->logicalWidth(); }
|
RenderBox.cpp | 523 LayoutUnit RenderBox::constrainLogicalWidthByMinMax(LayoutUnit logicalWidth, LayoutUnit availableWidth, RenderBlock* cb) const 527 logicalWidth = std::min(logicalWidth, computeLogicalWidthUsing(MaxSize, styleToUse->logicalMaxWidth(), availableWidth, cb)); 528 return std::max(logicalWidth, computeLogicalWidthUsing(MinSize, styleToUse->logicalMinWidth(), availableWidth, cb)); [all...] |
RenderBlockFlow.h | 82 : logicalWidth() - logicalRightOffsetForLine(position, shouldIndentText, logicalHeight); 87 : logicalWidth() - logicalRightOffsetForLine(position, shouldIndentText, logicalHeight); 151 void setLogicalWidthForFloat(FloatingObject* floatingObject, LayoutUnit logicalWidth) 154 floatingObject->setWidth(logicalWidth); 156 floatingObject->setHeight(logicalWidth);
|
InlineTextBox.cpp | 232 LayoutUnit logicalWidth = r.width(); 234 logicalWidth = 0; 236 logicalWidth = logicalRight() - r.x(); 239 LayoutUnit width = isHorizontal() ? logicalWidth : selHeight; 240 LayoutUnit height = isHorizontal() ? selHeight : logicalWidth; 281 bool rtlFullTruncation = !flowIsLTR && ellipsisX >= logicalLeft() + logicalWidth(); 331 truncatedWidth += logicalWidth(); 438 FloatRect boxRect(boxOrigin, LayoutSize(logicalWidth(), logicalHeight())); [all...] |
RenderTable.cpp | 266 Length styleLogicalWidth = style()->logicalWidth(); 288 setLogicalWidth(std::min<int>(logicalWidth(), computedMaxLogicalWidth)); 293 setLogicalWidth(std::max<int>(logicalWidth(), minPreferredLogicalWidth())); 299 setLogicalWidth(std::max<int>(logicalWidth(), computedMinLogicalWidth)); 304 computeMarginsForDirection(InlineDirection, cb, availableLogicalWidth, logicalWidth(), marginValues.m_start, marginValues.m_end, style()->marginStart(), style()->marginEnd()); 312 ASSERT(logicalWidth().toInt() >= minPreferredLogicalWidth().toInt()); 426 LayoutUnit oldLogicalWidth = logicalWidth(); 429 if (logicalWidth() != oldLogicalWidth) { [all...] |
RenderBox.h | 111 LayoutUnit logicalRight() const { return logicalLeft() + logicalWidth(); } 114 LayoutUnit logicalWidth() const { return style()->isHorizontalWritingMode() ? width() : height(); } 439 bool sizesLogicalWidthToFitContent(const Length& logicalWidth) const; 443 LayoutUnit computeLogicalWidthUsing(SizeType, const Length& logicalWidth, LayoutUnit availableLogicalWidth, const RenderBlock* containingBlock) const; 448 LayoutUnit computeReplacedLogicalWidthRespectingMinMaxWidth(LayoutUnit logicalWidth, ShouldComputePreferred = ComputeActual) const; [all...] |
RenderListMarker.cpp | [all...] |
RootInlineBox.cpp | 107 if (logicalWidth() - delta < ellipsisWidth) 120 ellipsisWidth - (markupBox ? markupBox->logicalWidth() : 0), logicalHeight(), 129 if (ltr && (logicalLeft() + logicalWidth() + ellipsisWidth) <= blockRightEdge) { 130 ellipsisBox->setLogicalLeft(logicalLeft() + logicalWidth()); 131 return logicalWidth() + ellipsisWidth; [all...] |
/external/chromium_org/third_party/WebKit/Source/core/paint/ |
InlineFlowBoxPainter.cpp | 117 logicalOffsetOnLine += curr->logicalWidth(); 120 totalLogicalWidth += curr->logicalWidth(); 123 logicalOffsetOnLine += curr->logicalWidth(); 126 totalLogicalWidth += curr->logicalWidth(); 237 logicalOffsetOnLine += curr->logicalWidth(); 240 totalLogicalWidth += curr->logicalWidth(); 305 logicalOffsetOnLine += curr->logicalWidth(); 308 totalLogicalWidth += curr->logicalWidth();
|
/external/chromium_org/third_party/WebKit/Source/core/svg/ |
SVGPreserveAspectRatio.cpp | 293 AffineTransform SVGPreserveAspectRatio::getCTM(float logicalX, float logicalY, float logicalWidth, float logicalHeight, float physicalWidth, float physicalHeight) const 295 ASSERT(logicalWidth); 306 double extendedLogicalWidth = logicalWidth;
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/ |
RenderSVGInline.cpp | 116 quads.append(localToAbsoluteQuad(FloatRect(textBoundingBox.x() + box->x(), textBoundingBox.y() + box->y(), box->logicalWidth(), box->logicalHeight()), false, wasFixed));
|