Searched refs:logicalHeight (Results 1 - 25 of 32) sorted by relevance

12

/external/webkit/Source/WebCore/rendering/
H A DRenderTableSection.cpp54 row->logicalHeight = row->rowRenderer->style()->logicalHeight();
55 if (row->logicalHeight.isRelative())
56 row->logicalHeight = Length();
182 m_grid[r].logicalHeight = Length();
207 Length logicalHeight = cell->style()->logicalHeight(); local
208 if (logicalHeight.isPositive() || (logicalHeight.isRelative() && logicalHeight
[all...]
H A DRenderReplaced.cpp225 int logicalHeight; local
226 if (lengthIsSpecified(style()->logicalHeight()))
227 logicalHeight = computeReplacedLogicalHeightUsing(style()->logicalHeight());
229 logicalHeight = calcAspectRatioLogicalHeight();
231 logicalHeight = intrinsicLogicalHeight();
234 int maxLogicalHeight = style()->logicalMaxHeight().isUndefined() ? logicalHeight : computeReplacedLogicalHeightUsing(style()->logicalMaxHeight());
236 return max(minLogicalHeight, min(logicalHeight, maxLogicalHeight));
H A DInlineBox.h232 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()); }
H A DRenderImage.cpp467 switch (style()->logicalHeight().type()) {
519 int logicalHeight; local
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, maxLogicalHeigh
[all...]
H A DRenderInline.cpp503 int logicalHeight = container->style(rootBox->isFirstLineStyle())->font().fontMetrics().height(); local
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(); local
526 logicalHeight);
530 logicalHeight,
540 int logicalHeight = container->style(rootBox->isFirstLineStyle())->font().fontMetrics().height(); local
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 local
604 int logicalHeight = container->style(rootBox->isFirstLineStyle())->font().fontMetrics().height(); local
624 int logicalHeight = container->style(rootBox->isFirstLineStyle())->font().fontMetrics().height(); local
795 int logicalHeight = container->style(rootBox->isFirstLineStyle())->font().fontMetrics().height(); local
810 int logicalHeight = container->style(rootBox->isFirstLineStyle())->font().fontMetrics().height(); local
829 int logicalHeight = container->style(rootBox->isFirstLineStyle())->font().fontMetrics().height(); local
951 int logicalHeight = lastLineBox()->logicalBottomVisualOverflow(lastRootBox->lineBottom()) - logicalTop; local
[all...]
H A DRenderTableSection.h52 int layoutRows(int logicalHeight);
82 Length logicalHeight; member in struct:WebCore::RenderTableSection::RowStruct
H A DRenderTable.cpp277 m_caption->setLogicalLocation(m_caption->marginStart(), logicalHeight());
281 setLogicalHeight(logicalHeight() + m_caption->logicalHeight() + m_caption->marginBefore() + m_caption->marginAfter());
350 int oldTableLogicalTop = m_caption ? m_caption->logicalHeight() + m_caption->marginBefore() + m_caption->marginAfter() : 0;
391 if (logicalHeight() != oldTableLogicalTop) {
393 movedSectionLogicalTop = min(logicalHeight(), oldTableLogicalTop);
400 setLogicalHeight(logicalHeight() + borderAndPaddingBefore);
405 Length logicalHeightLength = style()->logicalHeight();
423 setLogicalHeight(logicalHeight() + computedLogicalHeight);
433 if (!sectionMoved && section->logicalTop() != logicalHeight()) {
[all...]
H A DRenderBox.cpp219 if (style() && (style()->logicalHeight().isPercent() || style()->logicalMinHeight().isPercent() || style()->logicalMaxHeight().isPercent()))
303 if (oldStyle && (oldStyle->logicalHeight().isPercent() || oldStyle->logicalMinHeight().isPercent() || oldStyle->logicalMaxHeight().isPercent()))
1183 Length logicalHeightLength = containingBlockStyle->logicalHeight();
1806 computeInlineDirectionMargins(cb, containingBlockLogicalWidthForContent(), logicalHeight());
1827 h = style()->logicalHeight();
1848 heightResult = computeLogicalHeightUsing(style()->logicalHeight());
1850 heightResult = logicalHeight();
1876 && (isRoot() || (isBody() && document()->documentElement()->renderer()->style()->logicalHeight().isPercent()));
1891 setLogicalHeight(max(logicalHeight(), visHeight - margins));
1894 setLogicalHeight(max(logicalHeight(), visHeigh
1901 int logicalHeight = -1; local
2028 int logicalHeight = computeReplacedLogicalHeightUsing(style()->logicalHeight()); local
[all...]
H A DRenderBlockLineLayout.cpp432 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();
948 repaintLogicalTop = logicalHeight();
949 repaintLogicalBottom = logicalHeight();
1033 int oldLogicalHeight = logicalHeight();
1149 int delta = logicalHeight()
[all...]
H A DInlineFlowBox.cpp616 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());
718 curr->setLogicalTop(lineBottom - (curr->logicalTop() - lineTop) - curr->logicalHeight());
929 int& logicalHeight = isHorizontal() ? height : width; local
930 int bottom = min(rootBox->lineBottom(), top + logicalHeight);
932 logicalHeight = bottom - top;
1094 int& logicalHeight local
1176 int& logicalHeight = isHorizontal() ? h : w; local
[all...]
H A DRenderBlock.cpp108 (block->style()->logicalHeight().isAuto() && block->style()->logicalHeight().value() == 0) && block->style()->marginAfterCollapse() != MSEPARATE;
1095 if (logicalHeight() > 0
1101 Length logicalHeightLength = style()->logicalHeight();
1106 if (cb->style()->logicalHeight().isFixed() || cb->isTableCell())
1215 int previousHeight = logicalHeight();
1290 if (lowestFloatLogicalBottom() > (logicalHeight() - toAdd) && expandsToEncloseOverhangingFloats())
1297 int oldHeight = logicalHeight();
1300 int newHeight = logicalHeight();
1489 int logicalTop = logicalHeight();
3022 int logicalHeight = blockDirectionOffset(rootBlock, offsetFromRootBlock) + logicalBottom - logicalTop; local
3039 logicalLeftSelectionGap(RenderBlock* rootBlock, const IntPoint& rootBlockPhysicalPosition, const IntSize& offsetFromRootBlock, RenderObject* selObj, int logicalLeft, int logicalTop, int logicalHeight, const PaintInfo* paintInfo) argument
3055 logicalRightSelectionGap(RenderBlock* rootBlock, const IntPoint& rootBlockPhysicalPosition, const IntSize& offsetFromRootBlock, RenderObject* selObj, int logicalRight, int logicalTop, int logicalHeight, const PaintInfo* paintInfo) argument
[all...]
H A DRenderRubyRun.cpp235 int lastLineRubyTextBottom = rt->logicalHeight();
255 int lastLineBottom = logicalHeight();
H A DRenderTableRow.cpp58 if (section() && style() && style()->logicalHeight() != newStyle->logicalHeight())
H A DRenderBox.h60 int logicalBottom() const { return logicalTop() + logicalHeight(); }
62 int logicalHeight() const { return style()->isHorizontalWritingMode() ? height() : width(); } function in class:WebCore::RenderBox
289 return document()->inQuirksMode() && style()->logicalHeight().isAuto() && !isFloatingOrPositioned() && (isRoot() || isBody());
448 void computePositionedLogicalHeightUsing(Length logicalHeight, const RenderBoxModelObject* containerBlock,
H A DRenderDetailsMarker.cpp116 result.transform(AffineTransform().scale(logicalHeight()));
H A DRenderBlock.h125 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) argument
464 child->setHeight(logicalHeight);
466 child->setWidth(logicalHeight);
544 bool hasOverhangingFloats() { return parent() && !hasColumns() && containsFloats() && lowestFloatLogicalBottom() > logicalHeight(); }
H A DInlineBox.cpp89 int InlineBox::logicalHeight() const function in class:WebCore::InlineBox
H A DInlineTextBox.cpp519 ty -= styleToUse->isHorizontalWritingMode() ? 0 : logicalHeight();
523 FloatRect boxRect(boxOrigin, IntSize(logicalWidth(), logicalHeight()));
1038 int descent = logicalHeight() - baseline;
1042 underlineOffset = logicalHeight() - lineThickness;
1195 if (underline.thick && logicalHeight() - baseline >= 2)
1205 ctx->drawLineForText(FloatPoint(boxOrigin.x() + start, boxOrigin.y() + logicalHeight() - lineThickness), width, textRenderer()->document()->printing());
H A DRenderText.cpp329 IntRect r = IntRect(box->x(), box->y(), box->logicalWidth(), box->logicalHeight());
345 r.setHeight(box->logicalHeight());
438 r.setHeight(box->logicalHeight());
441 r.setWidth(box->logicalHeight());
1380 int logicalHeight = lastTextBox()->logicalBottomVisualOverflow() - logicalTop; local
1382 IntRect rect(logicalLeftSide, logicalTop, logicalWidth, logicalHeight);
H A DRenderWidget.cpp143 if (style() && (style()->logicalHeight().isPercent() || style()->logicalMinHeight().isPercent() || style()->logicalMaxHeight().isPercent()))
H A DRenderListItem.cpp350 if (!logicalHeight())
/external/webkit/Source/WebCore/rendering/svg/
H A DRenderSVGInline.cpp93 quads.append(localToAbsoluteQuad(FloatRect(textBoundingBox.x() + box->x(), textBoundingBox.y() + box->y(), box->logicalWidth(), box->logicalHeight())));
H A DRenderSVGRoot.cpp93 if (!style()->logicalHeight().isPercent())
/external/webkit/Source/WebKit/mac/WebView/
H A DWebHTMLView.mm434 - (void)_setPrinting:(BOOL)printing minimumPageLogicalWidth:(float)minPageWidth logicalHeight:(float)minPageHeight maximumPageLogicalWidth:(float)maxPageWidth adjustViewSize:(BOOL)adjustViewSize paginateScreenContent:(BOOL)paginateScreenContent;
1114 [self _setPrinting:YES minimumPageLogicalWidth:0 logicalHeight:0 maximumPageLogicalWidth:0 adjustViewSize:NO paginateScreenContent:[self _isInScreenPaginationMode]];
1126 [[descendantWebHTMLViews objectAtIndex:i] _setPrinting:YES minimumPageLogicalWidth:0 logicalHeight:0 maximumPageLogicalWidth:0 adjustViewSize:NO paginateScreenContent:[self _isInScreenPaginationMode]];
1137 [self _setPrinting:NO minimumPageLogicalWidth:0 logicalHeight:0 maximumPageLogicalWidth:0 adjustViewSize:NO paginateScreenContent:[self _isInScreenPaginationMode]];
1149 [[descendantWebHTMLViews objectAtIndex:i] _setPrinting:NO minimumPageLogicalWidth:0 logicalHeight:0 maximumPageLogicalWidth:0 adjustViewSize:NO paginateScreenContent:[self _isInScreenPaginationMode]];
1160 [self _setPrinting:YES minimumPageLogicalWidth:0 logicalHeight:0 maximumPageLogicalWidth:0 adjustViewSize:YES paginateScreenContent:[self _isInScreenPaginationMode]];
1172 [[descendantWebHTMLViews objectAtIndex:i] _setPrinting:YES minimumPageLogicalWidth:0 logicalHeight:0 maximumPageLogicalWidth:0 adjustViewSize:YES paginateScreenContent:[self _isInScreenPaginationMode]];
2222 [self _setPrinting:YES minimumPageLogicalWidth:minimumPageWidth logicalHeight:minimumPageHeight maximumPageLogicalWidth:maximumPageWidth adjustViewSize:YES paginateScreenContent:[self _isInScreenPaginationMode]];
2246 [self _setPrinting:YES minimumPageLogicalWidth:minLayoutLogicalWidth logicalHeight:minLayoutLogicalHeight maximumPageLogicalWidth:maxLayoutLogicalWidth adjustViewSize:YES paginateScreenContent:[self _isInScreenPaginationMode]];
2253 [self _setPrinting:NO minimumPageLogicalWidth:0 logicalHeight
[all...]
/external/webkit/Source/WebCore/editing/
H A Dvisible_units.cpp523 if (root && root->logicalHeight())
634 if (root && root->logicalHeight())

Completed in 292 milliseconds

12