Searched refs:logicalWidth (Results 1 - 25 of 53) sorted by relevance

123

/external/chromium_org/third_party/WebKit/Source/core/rendering/
H A DRenderRubyText.cpp65 void RenderRubyText::adjustInlineDirectionLineBounds(unsigned expansionOpportunityCount, float& logicalLeft, float& logicalWidth) const
70 return RenderBlockFlow::adjustInlineDirectionLineBounds(expansionOpportunityCount, logicalLeft, logicalWidth);
73 if (maxPreferredLogicalWidth >= logicalWidth)
78 float inset = (logicalWidth - maxPreferredLogicalWidth) / (expansionOpportunityCount + 1);
83 logicalWidth -= inset;
H A DAutoTableLayout.cpp97 if (cellLogicalWidth.isPositive() && !columnLayout.logicalWidth.isPercent()) {
98 int logicalWidth = cell->adjustBorderBoxLogicalWidthForBoxSizing(cellLogicalWidth.value()); local
99 if (columnLayout.logicalWidth.isFixed()) {
101 if ((logicalWidth > columnLayout.logicalWidth.value())
102 || ((columnLayout.logicalWidth.value() == logicalWidth) && (maxContributor == cell))) {
103 columnLayout.logicalWidth.setValue(Fixed, logicalWidth);
107 columnLayout.logicalWidth
233 float logicalWidth = static_cast<float>(m_layoutStruct[i].effectiveMaxLogicalWidth) * 100 / max(percent, epsilon); local
524 Length& logicalWidth = m_layoutStruct[i].effectiveLogicalWidth; local
552 Length& logicalWidth = m_layoutStruct[i].effectiveLogicalWidth; local
580 Length& logicalWidth = m_layoutStruct[i].effectiveLogicalWidth; local
592 Length& logicalWidth = m_layoutStruct[i].effectiveLogicalWidth; local
605 Length& logicalWidth = m_layoutStruct[i].effectiveLogicalWidth; local
618 Length& logicalWidth = m_layoutStruct[i].effectiveLogicalWidth; local
658 Length& logicalWidth = m_layoutStruct[i].effectiveLogicalWidth; local
665 Length& logicalWidth = m_layoutStruct[i].effectiveLogicalWidth; local
682 Length& logicalWidth = m_layoutStruct[i].effectiveLogicalWidth; local
689 Length& logicalWidth = m_layoutStruct[i].effectiveLogicalWidth; local
706 Length& logicalWidth = m_layoutStruct[i].effectiveLogicalWidth; local
713 Length& logicalWidth = m_layoutStruct[i].effectiveLogicalWidth; local
[all...]
H A DRenderRubyText.h53 virtual void adjustInlineDirectionLineBounds(unsigned expansionOpportunityCount, float& logicalLeft, float& logicalWidth) const OVERRIDE;
H A DRenderTableCaption.cpp39 return cb->logicalWidth();
H A DFixedTableLayout.cpp102 Length colStyleLogicalWidth = col->style()->logicalWidth();
142 Length logicalWidth = cell->styleOrColLogicalWidth(); local
147 if (logicalWidth.isFixed() && logicalWidth.isPositive()) {
148 fixedBorderBoxLogicalWidth = cell->adjustBorderBoxLogicalWidthForBoxSizing(logicalWidth.value());
149 logicalWidth.setValue(fixedBorderBoxLogicalWidth);
156 if (m_width[currentColumn].isAuto() && logicalWidth.type() != Auto) {
157 m_width[currentColumn] = logicalWidth;
182 Length tableLogicalWidth = m_table->style()->logicalWidth();
198 if (m_table->style()->logicalWidth()
[all...]
H A DRenderRubyBase.cpp138 void RenderRubyBase::adjustInlineDirectionLineBounds(unsigned expansionOpportunityCount, float& logicalLeft, float& logicalWidth) const
141 if (maxPreferredLogicalWidth >= logicalWidth)
145 float inset = (logicalWidth - maxPreferredLogicalWidth) / (expansionOpportunityCount + 1);
148 logicalWidth -= inset;
H A DRenderReplaced.cpp224 if (containingBlock->style()->logicalWidth().isSpecified()
254 return hasRelativeLogicalHeight() && style()->logicalWidth().isAuto() && !hasAutoHeightOrContainingBlockWithAutoHeight();
298 if (intrinsicRatio && !intrinsicSize.isEmpty() && style()->logicalWidth().isAuto() && style()->logicalHeight().isAuto()) {
361 if (style()->logicalWidth().isSpecified() || style()->logicalWidth().isIntrinsic())
362 return computeReplacedLogicalWidthRespectingMinMaxWidth(computeReplacedLogicalWidthUsing(style()->logicalWidth()), shouldComputePreferred);
371 if (style()->logicalWidth().isAuto()) {
397 LayoutUnit logicalWidth;
405 logicalWidth = blockWithWidth->computeReplacedLogicalWidthRespectingMinMaxWidth(blockWithWidth->computeReplacedLogicalWidthUsing(blockWithWidth->style()->logicalWidth()), shouldComputePreferre
[all...]
H A DAutoTableLayout.h63 Length logicalWidth; member in struct:WebCore::FINAL::Layout
H A DRenderRubyBase.h56 virtual void adjustInlineDirectionLineBounds(unsigned expansionOpportunityCount, float& logicalLeft, float& logicalWidth) const OVERRIDE;
H A DRenderTextControl.cpp109 LayoutUnit unitWidth = logicalWidth() - borderAndPaddingLogicalWidth();
253 if (!style()->logicalWidth().isPercent())
265 if (styleToUse->logicalWidth().isFixed() && styleToUse->logicalWidth().value() >= 0)
266 m_minPreferredLogicalWidth = m_maxPreferredLogicalWidth = adjustContentBoxLogicalWidthForBoxSizing(styleToUse->logicalWidth().value());
H A DRenderFieldset.cpp76 logicalLeft = (logicalWidth() - logicalWidthForChild(legend)) / 2;
79 logicalLeft = logicalWidth() - borderEnd() - paddingEnd() - logicalWidthForChild(legend);
93 LayoutUnit centeredWidth = logicalWidth() - logicalWidthForChild(legend);
98 logicalLeft = logicalWidth() - borderStart() - paddingStart() - marginStartForChild(legend) - logicalWidthForChild(legend);
H A DInlineBox.h52 InlineBox(RenderObject& obj, FloatPoint topLeft, float logicalWidth, bool firstLine, bool constructed, argument
59 , m_logicalWidth(logicalWidth)
203 float width() const { return isHorizontal() ? logicalWidth() : hasVirtualLogicalHeight() ? virtualLogicalHeight() : logicalHeight(); }
204 float height() const { return isHorizontal() ? hasVirtualLogicalHeight() ? virtualLogicalHeight() : logicalHeight() : logicalWidth(); }
211 float logicalRight() const { return logicalLeft() + logicalWidth(); }
237 float logicalWidth() const { return m_logicalWidth; } function in class:WebCore::InlineBox
H A DRenderRubyRun.cpp285 int logicalWidth = this->logicalWidth(); local
290 logicalRightOverhang = min<int>(logicalRightOverhang, logicalWidth - rootInlineBox->logicalRight());
H A DRenderListItem.cpp395 if (markerLogicalLeft + m_marker->logicalWidth() > newLogicalVisualOverflowRect.maxX() && !hitSelfPaintingLayer) {
396 newLogicalVisualOverflowRect.setWidth(markerLogicalLeft + m_marker->logicalWidth() - newLogicalVisualOverflowRect.x());
400 if (markerLogicalLeft + m_marker->logicalWidth() > newLogicalLayoutOverflowRect.maxX()) {
401 newLogicalLayoutOverflowRect.setWidth(markerLogicalLeft + m_marker->logicalWidth() - newLogicalLayoutOverflowRect.x());
H A DRenderBox.cpp544 LayoutUnit RenderBox::constrainLogicalWidthByMinMax(LayoutUnit logicalWidth, LayoutUnit availableWidth, RenderBlock* cb) const argument
548 logicalWidth = min(logicalWidth, computeLogicalWidthUsing(MaxSize, styleToUse->logicalMaxWidth(), availableWidth, cb));
549 return max(logicalWidth, computeLogicalWidthUsing(MinSize, styleToUse->logicalMinWidth(), availableWidth, cb));
1013 void RenderBox::setOverrideContainingBlockContentLogicalWidth(LayoutUnit logicalWidth) argument
1017 gOverrideContainingBlockLogicalWidthMap->set(this, logicalWidth);
2162 maxWidth = max<float>(maxWidth, toRenderListMarker(itemMarker)->logicalWidth().toFloat());
2171 computedValues.m_extent = logicalWidth();
2203 Length logicalWidthLength = treatAsReplaced ? Length(computeReplacedLogicalWidth(), Fixed) : styleToUse->logicalWidth();
2225 LayoutUnit preferredWidth = computeLogicalWidthUsing(MainOrPreferredSize, styleToUse->logicalWidth(), containerWidthInInlineDirectio
2296 computeLogicalWidthUsing(SizeType widthType, const Length& logicalWidth, LayoutUnit availableLogicalWidth, const RenderBlock* cb) const argument
2746 computeReplacedLogicalWidthRespectingMinMaxWidth(LayoutUnit logicalWidth, ShouldComputePreferred shouldComputePreferred) const argument
3195 computePositionedLogicalWidthUsing(Length logicalWidth, const RenderBoxModelObject* containerBlock, TextDirection containerDirection, LayoutUnit containerLogicalWidth, LayoutUnit bordersPlusPadding, const Length& logicalLeft, const Length& logicalRight, const Length& marginLogicalLeft, const Length& marginLogicalRight, LogicalExtentComputedValues& computedValues) const argument
[all...]
H A DRenderBlockFlow.h80 : logicalWidth() - logicalRightOffsetForLine(position, shouldIndentText, logicalHeight);
85 : logicalWidth() - logicalRightOffsetForLine(position, shouldIndentText, logicalHeight);
143 void setLogicalWidthForFloat(FloatingObject* floatingObject, LayoutUnit logicalWidth) argument
146 floatingObject->setWidth(logicalWidth);
148 floatingObject->setHeight(logicalWidth);
H A DRenderMultiColumnSet.h61 virtual LayoutUnit pageLogicalWidth() const OVERRIDE FINAL { return flowThread()->logicalWidth(); }
H A DRenderTable.cpp268 Length styleLogicalWidth = style()->logicalWidth();
290 setLogicalWidth(min<int>(logicalWidth(), computedMaxLogicalWidth));
295 setLogicalWidth(max<int>(logicalWidth(), minPreferredLogicalWidth()));
301 setLogicalWidth(max<int>(logicalWidth(), computedMinLogicalWidth));
306 computeMarginsForDirection(InlineDirection, cb, availableLogicalWidth, logicalWidth(), marginValues.m_start, marginValues.m_end, style()->marginStart(), style()->marginEnd());
314 ASSERT(logicalWidth().toInt() >= minPreferredLogicalWidth().toInt());
432 LayoutUnit oldLogicalWidth = logicalWidth();
435 if (logicalWidth() != oldLogicalWidth) {
H A DRenderBox.h109 LayoutUnit logicalRight() const { return logicalLeft() + logicalWidth(); }
112 LayoutUnit logicalWidth() const { return style()->isHorizontalWritingMode() ? width() : height(); } function in class:WebCore::RenderBox
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;
683 void computePositionedLogicalWidthUsing(Length logicalWidth, const RenderBoxModelObject* containerBlock, TextDirection containerDirection,
H A DInlineFlowBox.cpp393 logicalLeft += text->logicalWidth();
404 curr->setLogicalLeft(root().block().logicalWidth() - logicalLeft);
427 logicalLeft += curr->logicalWidth();
1201 logicalOffsetOnLine += curr->logicalWidth();
1204 totalLogicalWidth += curr->logicalWidth();
1207 logicalOffsetOnLine += curr->logicalWidth();
1210 totalLogicalWidth += curr->logicalWidth();
1335 logicalOffsetOnLine += curr->logicalWidth();
1338 totalLogicalWidth += curr->logicalWidth();
1407 logicalOffsetOnLine += curr->logicalWidth();
[all...]
H A DInlineTextBox.cpp224 LayoutUnit logicalWidth = r.width(); local
226 logicalWidth = 0;
228 logicalWidth = logicalRight() - r.x();
231 LayoutUnit width = isHorizontal() ? logicalWidth : selHeight;
232 LayoutUnit height = isHorizontal() ? selHeight : logicalWidth;
273 bool rtlFullTruncation = !flowIsLTR && ellipsisX >= logicalLeft() + logicalWidth();
323 truncatedWidth += logicalWidth();
532 FloatRect boxRect(boxOrigin, LayoutSize(logicalWidth(), logicalHeight()));
1442 if (lineOffset - logicalLeft() > 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 DRenderBlockLineLayout.cpp354 trailingSpaceRun->m_box->setLogicalWidth(max<float>(0, trailingSpaceRun->m_box->logicalWidth() - totalLogicalWidth + availableLogicalWidth));
371 totalLogicalWidth -= trailingSpaceRun->m_box->logicalWidth();
380 trailingSpaceRun->m_box->setLogicalWidth(max<float>(0, trailingSpaceRun->m_box->logicalWidth() - totalLogicalWidth + availableLogicalWidth));
381 totalLogicalWidth -= trailingSpaceRun->m_box->logicalWidth();
390 totalLogicalWidth -= trailingSpaceRun->m_box->logicalWidth();
391 trailingSpaceWidth = min(trailingSpaceRun->m_box->logicalWidth(), (availableLogicalWidth - totalLogicalWidth + 1) / 2);
564 totalLogicalWidth -= trailingSpaceRun->m_box->logicalWidth();
675 totalLogicalWidth += r->m_box->logicalWidth();
1362 bool allowImagesToBreak = !document().inQuirksMode() || !isTableCell() || !styleToUse->logicalWidth().isIntrinsicOrAuto();
2060 float totalLogicalWidth = curr->logicalWidth();
[all...]
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
H A DRenderSVGInline.cpp116 quads.append(localToAbsoluteQuad(FloatRect(textBoundingBox.x() + box->x(), textBoundingBox.y() + box->y(), box->logicalWidth(), box->logicalHeight()), false, wasFixed));
/external/chromium_org/third_party/WebKit/Source/core/svg/
H A DSVGPreserveAspectRatio.cpp303 AffineTransform SVGPreserveAspectRatio::getCTM(float logicalX, float logicalY, float logicalWidth, float logicalHeight, float physicalWidth, float physicalHeight) const argument
311 double extendedLogicalWidth = logicalWidth;

Completed in 405 milliseconds

123