/external/webkit/Source/WebCore/rendering/ |
RenderTableSection.cpp | 54 row->logicalHeight = row->rowRenderer->style()->logicalHeight(); 55 if (row->logicalHeight.isRelative()) 56 row->logicalHeight = Length(); 176 m_grid[r].logicalHeight = Length(); 201 Length logicalHeight = cell->style()->logicalHeight(); 202 if (logicalHeight.isPositive() || (logicalHeight.isRelative() && logicalHeight.value() >= 0)) [all...] |
RenderReplaced.cpp | 217 int logicalHeight; 218 if (lengthIsSpecified(style()->logicalHeight())) 219 logicalHeight = computeReplacedLogicalHeightUsing(style()->logicalHeight()); 221 logicalHeight = calcAspectRatioLogicalHeight(); 223 logicalHeight = intrinsicLogicalHeight(); 226 int maxLogicalHeight = style()->logicalMaxHeight().isUndefined() ? logicalHeight : computeReplacedLogicalHeightUsing(style()->logicalMaxHeight()); 228 return max(minLogicalHeight, min(logicalHeight, maxLogicalHeight));
|
RenderImage.cpp | 467 switch (style()->logicalHeight().type()) { 519 int logicalHeight; 521 logicalHeight = computeReplacedLogicalHeightUsing(style()->logicalHeight()); 524 logicalHeight = style()->isHorizontalWritingMode() ? size.height() : size.width(); 526 logicalHeight = 0; // If the image is relatively-sized, set the height to 0 until there is a set container size. 528 logicalHeight = calcAspectRatioLogicalHeight(); 531 int maxLogicalHeight = style()->logicalMaxHeight().isUndefined() ? logicalHeight : computeReplacedLogicalHeightUsing(style()->logicalMaxHeight()); 534 logicalHeight = max(minLogicalHeight, min(logicalHeight, maxLogicalHeight)) [all...] |
InlineBox.h | 232 float width() const { return isHorizontal() ? logicalWidth() : logicalHeight(); } 233 float height() const { return isHorizontal() ? logicalHeight() : logicalWidth(); } 250 int logicalBottom() const { return logicalTop() + logicalHeight(); } 264 int logicalHeight() const; 266 FloatRect logicalFrameRect() const { return isHorizontal() ? IntRect(m_x, m_y, m_logicalWidth, logicalHeight()) : IntRect(m_y, m_x, m_logicalWidth, logicalHeight()); }
|
RenderTableSection.h | 52 int layoutRows(int logicalHeight); 82 Length logicalHeight;
|
RenderTable.cpp | 276 m_caption->setLogicalLocation(m_caption->marginStart(), logicalHeight()); 280 setLogicalHeight(logicalHeight() + m_caption->logicalHeight() + m_caption->marginBefore() + m_caption->marginAfter()); 349 int oldTableLogicalTop = m_caption ? m_caption->logicalHeight() + m_caption->marginBefore() + m_caption->marginAfter() : 0; 390 if (logicalHeight() != oldTableLogicalTop) { 392 movedSectionLogicalTop = min(logicalHeight(), oldTableLogicalTop); 399 setLogicalHeight(logicalHeight() + borderAndPaddingBefore); 404 Length logicalHeightLength = style()->logicalHeight(); 422 setLogicalHeight(logicalHeight() + computedLogicalHeight); 432 if (!sectionMoved && section->logicalTop() != logicalHeight()) { [all...] |
RenderInline.cpp | 503 int logicalHeight = container->style(rootBox->isFirstLineStyle())->font().fontMetrics().height(); 506 result = FloatRect(offset.width() + currBox->inlineBoxWrapper()->x() - currBox->marginLeft(), offset.height() + logicalTop, currBox->width() + currBox->marginLeft() + currBox->marginRight(), logicalHeight); 508 result = FloatRect(offset.width() + logicalTop, offset.height() + currBox->inlineBoxWrapper()->y() - currBox->marginTop(), logicalHeight, currBox->height() + currBox->marginTop() + currBox->marginBottom()); 520 int logicalHeight = container->style(rootBox->isFirstLineStyle())->font().fontMetrics().height(); 526 logicalHeight); 530 logicalHeight, 540 int logicalHeight = container->style(rootBox->isFirstLineStyle())->font().fontMetrics().height(); 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()); 587 int logicalHeight = container->style(rootBox->isFirstLineStyle())->font().fontMetrics().height() [all...] |
RenderBlockLineLayout.cpp | 432 float logicalLeft = logicalLeftOffsetForLine(logicalHeight(), firstLine); 433 float availableLogicalWidth = logicalRightOffsetForLine(logicalHeight(), firstLine) - logicalLeft; 613 setLogicalHeight(lineBox->alignBoxesInBlockDirection(logicalHeight(), textBoxDataMap, verticalPositionCache)); 614 lineBox->setBlockLogicalHeight(logicalHeight()); 625 r->m_box->setLogicalTop(logicalHeight()); 656 int blockHeight = block->logicalHeight(); [all...] |
InlineFlowBox.cpp | 616 int boxHeight = curr->logicalHeight(); 651 int bottomRubyBaseLeading = (curr->logicalHeight() - rubyBase->logicalBottom()) + rubyBase->logicalHeight() - (rubyBase->lastRootBox() ? rubyBase->lastRootBox()->lineBottom() : 0); 697 lineBottom = max(lineBottom, logicalTop() + logicalHeight()); 709 setLogicalTop(lineBottom - (logicalTop() - lineTop) - logicalHeight()); [all...] |
RenderBox.cpp | 219 if (style() && (style()->logicalHeight().isPercent() || style()->logicalMinHeight().isPercent() || style()->logicalMaxHeight().isPercent())) 303 if (oldStyle && (oldStyle->logicalHeight().isPercent() || oldStyle->logicalMinHeight().isPercent() || oldStyle->logicalMaxHeight().isPercent())) [all...] |
RenderBlock.cpp | 108 (block->style()->logicalHeight().isAuto() && block->style()->logicalHeight().value() == 0) && block->style()->marginAfterCollapse() != MSEPARATE; [all...] |
RenderDetailsMarker.cpp | 116 result.transform(AffineTransform().scale(logicalHeight()));
|
RenderTableRow.cpp | 58 if (section() && style() && style()->logicalHeight() != newStyle->logicalHeight())
|
RenderBlock.h | 125 RenderObject* selObj, int logicalLeft, int logicalTop, int logicalHeight, const PaintInfo*); 127 RenderObject* selObj, int logicalRight, int logicalTop, int logicalHeight, const PaintInfo*); 461 void setLogicalHeightForFloat(FloatingObject* child, int logicalHeight) 464 child->setHeight(logicalHeight); 466 child->setWidth(logicalHeight); 544 bool hasOverhangingFloats() { return parent() && !hasColumns() && containsFloats() && lowestFloatLogicalBottom() > logicalHeight(); } [all...] |
RenderRubyRun.cpp | 235 int lastLineRubyTextBottom = rt->logicalHeight(); 255 int lastLineBottom = logicalHeight();
|
RenderBox.h | 60 int logicalBottom() const { return logicalTop() + logicalHeight(); } 62 int logicalHeight() const { return style()->isHorizontalWritingMode() ? height() : width(); } 289 return document()->inQuirksMode() && style()->logicalHeight().isAuto() && !isFloatingOrPositioned() && (isRoot() || isBody()); 446 void computePositionedLogicalHeightUsing(Length logicalHeight, const RenderBoxModelObject* containerBlock,
|
InlineTextBox.cpp | 518 ty -= styleToUse->isHorizontalWritingMode() ? 0 : logicalHeight(); 522 FloatRect boxRect(boxOrigin, IntSize(logicalWidth(), logicalHeight())); [all...] |
RenderText.cpp | 294 IntRect r = IntRect(box->x(), box->y(), box->logicalWidth(), box->logicalHeight()); 310 r.setHeight(box->logicalHeight()); 403 r.setHeight(box->logicalHeight()); 406 r.setWidth(box->logicalHeight()); [all...] |
InlineBox.cpp | 89 int InlineBox::logicalHeight() const
|
RenderWidget.cpp | 139 if (style() && (style()->logicalHeight().isPercent() || style()->logicalMinHeight().isPercent() || style()->logicalMaxHeight().isPercent()))
|
RenderListItem.cpp | 350 if (!logicalHeight())
|
/external/webkit/Source/WebCore/css/ |
CSSProperty.cpp | 148 enum LogicalExtent { LogicalWidth, LogicalHeight }; 262 return resolveToPhysicalProperty(writingMode, LogicalHeight, properties); 270 return resolveToPhysicalProperty(writingMode, LogicalHeight, properties); 278 return resolveToPhysicalProperty(writingMode, LogicalHeight, 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())));
|
RenderSVGRoot.cpp | 93 if (!style()->logicalHeight().isPercent())
|
/external/webkit/Source/WebKit/mac/WebView/ |
WebHTMLView.mm | 434 - (void)_setPrinting:(BOOL)printing minimumPageLogicalWidth:(float)minPageWidth logicalHeight:(float)minPageHeight maximumPageLogicalWidth:(float)maxPageWidth adjustViewSize:(BOOL)adjustViewSize paginateScreenContent:(BOOL)paginateScreenContent; [all...] |