HomeSort by relevance Sort by last modified time
    Searched full:logicalwidth (Results 1 - 25 of 41) sorted by null

1 2

  /external/webkit/Source/WebCore/rendering/
AutoTableLayout.cpp 91 if (cellLogicalWidth.value() > 0 && columnLayout.logicalWidth.type() != Percent) {
92 int logicalWidth = cell->computeBorderBoxLogicalWidth(cellLogicalWidth.value());
93 if (columnLayout.logicalWidth.isFixed()) {
95 if ((logicalWidth > columnLayout.logicalWidth.value()) ||
96 ((columnLayout.logicalWidth.value() == logicalWidth) && (maxContributor == cell))) {
97 columnLayout.logicalWidth.setValue(logicalWidth);
101 columnLayout.logicalWidth.setValue(Fixed, logicalWidth)
    [all...]
RenderRubyText.cpp 64 void RenderRubyText::adjustInlineDirectionLineBounds(int expansionOpportunityCount, float& logicalLeft, float& logicalWidth) const
68 return RenderBlock::adjustInlineDirectionLineBounds(expansionOpportunityCount, logicalLeft, logicalWidth);
71 if (maxPreferredLogicalWidth >= logicalWidth)
76 float inset = (logicalWidth - maxPreferredLogicalWidth) / (expansionOpportunityCount + 1);
81 logicalWidth -= inset;
RenderImage.cpp 451 switch (style()->logicalWidth().type()) {
489 int logicalWidth;
491 logicalWidth = computeReplacedLogicalWidthUsing(style()->logicalWidth());
494 logicalWidth = style()->isHorizontalWritingMode() ? size.width() : size.height();
496 logicalWidth = 0; // If the image is relatively-sized, set the width to 0 until there is a set container size.
498 logicalWidth = calcAspectRatioLogicalWidth();
501 int maxLogicalWidth = !includeMaxWidth || style()->logicalMaxWidth().isUndefined() ? logicalWidth : computeReplacedLogicalWidthUsing(style()->logicalMaxWidth());
504 logicalWidth = max(minLogicalWidth, min(logicalWidth, maxLogicalWidth))
    [all...]
RenderReplaced.cpp 201 int logicalWidth;
203 logicalWidth = computeReplacedLogicalWidthUsing(style()->logicalWidth());
205 logicalWidth = calcAspectRatioLogicalWidth();
207 logicalWidth = intrinsicLogicalWidth();
210 int maxLogicalWidth = !includeMaxWidth || style()->logicalMaxWidth().isUndefined() ? logicalWidth : computeReplacedLogicalWidthUsing(style()->logicalMaxWidth());
212 return max(minLogicalWidth, min(logicalWidth, maxLogicalWidth));
297 if (lineDirectionPosition <= box->logicalLeft() + (box->logicalWidth() / 2))
AutoTableLayout.h 60 Length logicalWidth;
RenderFieldset.cpp 79 logicalLeft = (logicalWidth() - logicalWidthForChild(legend)) / 2;
82 logicalLeft = logicalWidth() - borderEnd() - paddingEnd() - logicalWidthForChild(legend);
96 int centeredWidth = logicalWidth() - logicalWidthForChild(legend);
101 logicalLeft = logicalWidth() - borderStart() - paddingStart() - marginStartForChild(legend) - logicalWidthForChild(legend);
RenderRubyBase.cpp 202 void RenderRubyBase::adjustInlineDirectionLineBounds(int expansionOpportunityCount, float& logicalLeft, float& logicalWidth) const
205 if (maxPreferredLogicalWidth >= logicalWidth)
209 float inset = (logicalWidth - maxPreferredLogicalWidth) / (expansionOpportunityCount + 1);
212 logicalWidth -= inset;
FixedTableLayout.cpp 95 grpWidth = col->style()->logicalWidth();
97 Length w = col->style()->logicalWidth();
205 int tableLogicalWidth = m_table->style()->logicalWidth().isFixed() ? m_table->style()->logicalWidth().value() - bordersPaddingAndSpacing : 0;
225 if (m_table->document()->inQuirksMode() && m_table->style()->logicalWidth().isPercent() && maxWidth < TABLE_MAX_WIDTH)
231 int tableLogicalWidth = m_table->logicalWidth() - m_table->bordersPaddingAndSpacingInRowDirection();
InlineBox.h 72 InlineBox(RenderObject* obj, float x, float y, float logicalWidth, bool firstLine, bool constructed,
80 , m_logicalWidth(logicalWidth)
232 float width() const { return isHorizontal() ? logicalWidth() : logicalHeight(); }
233 float height() const { return isHorizontal() ? logicalHeight() : logicalWidth(); }
237 float logicalRight() const { return logicalLeft() + logicalWidth(); }
261 float logicalWidth() const { return m_logicalWidth; }
RenderRubyText.h 51 virtual void adjustInlineDirectionLineBounds(int expansionOpportunityCount, float& logicalLeft, float& logicalWidth) const;
RenderRubyBase.h 53 virtual void adjustInlineDirectionLineBounds(int expansionOpportunityCount, float& logicalLeft, float& logicalWidth) const;
RenderBox.cpp     [all...]
RenderTable.cpp 93 if (style()->tableLayout() == TFIXED && !style()->logicalWidth().isAuto())
233 LengthType logicalWidthType = style()->logicalWidth().type();
234 if (logicalWidthType > Relative && style()->logicalWidth().isPositive()) {
236 setLogicalWidth(style()->logicalWidth().calcMinValue(containerWidthInInlineDirection));
237 setLogicalWidth(max(minPreferredLogicalWidth(), logicalWidth()));
253 setLogicalWidth(max(logicalWidth(), minPreferredLogicalWidth()));
264 computeInlineDirectionMargins(cb, availableLogicalWidth, logicalWidth());
304 int oldLogicalWidth = logicalWidth();
336 if (m_caption && logicalWidth() != oldLogicalWidth)
    [all...]
RenderRubyRun.cpp 287 int logicalWidth = this->logicalWidth();
295 logicalRightOverhang = min<int>(logicalRightOverhang, logicalWidth - rootInlineBox->logicalRight());
RenderListItem.cpp 304 if (markerLogicalLeft + m_marker->logicalWidth() > newLogicalVisualOverflowRect.maxX() && !hitSelfPaintingLayer) {
305 newLogicalVisualOverflowRect.setWidth(markerLogicalLeft + m_marker->logicalWidth() - newLogicalVisualOverflowRect.x());
309 if (markerLogicalLeft + m_marker->logicalWidth() > newLogicalLayoutOverflowRect.maxX()) {
310 newLogicalLayoutOverflowRect.setWidth(markerLogicalLeft + m_marker->logicalWidth() - newLogicalLayoutOverflowRect.x());
RenderInline.cpp 525 childLine->logicalWidth() + childLine->marginLogicalLeft() + childLine->marginLogicalRight(),
531 childLine->logicalWidth() + childLine->marginLogicalLeft() + childLine->marginLogicalRight());
543 result = FloatRect(offset.width() + childText->x(), offset.height() + logicalTop, childText->logicalWidth(), logicalHeight);
545 result = FloatRect(offset.width() + logicalTop, offset.height() + childText->y(), logicalHeight, childText->logicalWidth());
609 childLine->logicalWidth() + childLine->marginLogicalLeft() + childLine->marginLogicalRight(),
615 childLine->logicalWidth() + childLine->marginLogicalLeft() + childLine->marginLogicalRight());
627 result = FloatRect(childText->x(), logicalTop, childText->logicalWidth(), logicalHeight);
629 result = FloatRect(logicalTop, childText->y(), logicalHeight, childText->logicalWidth());
    [all...]
InlineFlowBox.cpp 365 logicalLeft += text->logicalWidth();
376 curr->setLogicalLeft(root()->block()->logicalWidth() - logicalLeft);
398 logicalLeft += curr->logicalWidth();
    [all...]
InlineTextBox.cpp 198 int logicalWidth = r.width();
200 logicalWidth = 0;
202 logicalWidth = m_logicalWidth - r.x();
205 int width = isHorizontal() ? logicalWidth : selHeight;
206 int height = isHorizontal() ? selHeight : logicalWidth;
522 FloatRect boxRect(boxOrigin, IntSize(logicalWidth(), logicalHeight()));
    [all...]
RootInlineBox.cpp 94 if (logicalWidth() - delta < ellipsisWidth)
107 ellipsisWidth - (markupBox ? markupBox->logicalWidth() : 0), logicalHeight(),
116 if (ltr && (x() + logicalWidth() + ellipsisWidth) <= blockRightEdge) {
117 ellipsisBox->m_x = x() + logicalWidth();
155 FloatRect rootRect(0, selectionTop(), logicalWidth(), selectionHeight());
173 FloatRect rootRect(tx + x(), ty + selectionTop(), logicalWidth(), selectionHeight());
    [all...]
RenderBox.h 34 enum LogicalWidthType { LogicalWidth, MinLogicalWidth, MaxLogicalWidth };
58 int logicalRight() const { return logicalLeft() + logicalWidth(); }
61 int logicalWidth() const { return style()->isHorizontalWritingMode() ? width() : height(); }
442 void computePositionedLogicalWidthUsing(Length logicalWidth, const RenderBoxModelObject* containerBlock, TextDirection containerDirection,
RenderBlock.h 281 virtual void adjustInlineDirectionLineBounds(int /* expansionOpportunityCount */, float& /* logicalLeft */, float& /* logicalWidth */) const { }
468 void setLogicalWidthForFloat(FloatingObject* child, int logicalWidth)
471 child->setWidth(logicalWidth);
473 child->setHeight(logicalWidth);
    [all...]
RenderTreeAsText.cpp 493 // FIXME: For now use an "enclosingIntRect" model for x, y and logicalWidth, although this makes it harder
497 int logicalWidth = ceilf(run.m_x + run.m_logicalWidth) - x;
503 ts << "text run at (" << x << "," << y << ") width " << logicalWidth;
  /external/webkit/Source/WebCore/css/
CSSProperty.cpp 148 enum LogicalExtent { LogicalWidth, LogicalHeight };
154 return logicalSide == LogicalWidth ? properties[1] : properties[0];
258 return resolveToPhysicalProperty(writingMode, LogicalWidth, properties);
266 return resolveToPhysicalProperty(writingMode, LogicalWidth, properties);
274 return resolveToPhysicalProperty(writingMode, LogicalWidth, properties);
  /external/webkit/Source/WebCore/rendering/svg/
RenderSVGInline.cpp 93 quads.append(localToAbsoluteQuad(FloatRect(textBoundingBox.x() + box->x(), textBoundingBox.y() + box->y(), box->logicalWidth(), box->logicalHeight())));
SVGRenderTreeAsText.cpp 438 // FIXME: For now use an int for logicalWidth, although this makes it harder
440 int logicalWidth = ceilf(box->x() + box->logicalWidth()) - box->x();
441 ts << " at (" << text.x() << "," << text.y() << ") size " << logicalWidth << "x" << box->logicalHeight();

Completed in 2209 milliseconds

1 2