Changeset 169195 in webkit
- Timestamp:
- May 22, 2014 4:54:24 AM (10 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r169189 r169195 1 2014-05-22 Manuel Rego Casasnovas <rego@igalia.com> 2 3 [CSS Grid Layout] Guard RenderObject::isRenderGrid() method 4 https://bugs.webkit.org/show_bug.cgi?id=132380 5 6 Reviewed by Benjamin Poulain. 7 8 Guard RenderObject::isRenderGrid() method under ENABLE_CSS_GRID_LAYOUT compilation flag. 9 10 * rendering/RenderBox.cpp: 11 (WebCore::RenderBox::computeLogicalWidthInRegion): 12 * rendering/RenderObject.h: 13 1 14 2014-05-21 Antti Koivisto <antti@apple.com> 2 15 -
trunk/Source/WebCore/rendering/RenderBox.cpp
r169160 r169195 2307 2307 2308 2308 if (!hasPerpendicularContainingBlock && containerLogicalWidth && containerLogicalWidth != (computedValues.m_extent + computedValues.m_margins.m_start + computedValues.m_margins.m_end) 2309 && !isFloating() && !isInline() && !cb->isFlexibleBoxIncludingDeprecated() && !cb->isRenderGrid()) { 2309 && !isFloating() && !isInline() && !cb->isFlexibleBoxIncludingDeprecated() 2310 #if ENABLE(CSS_GRID_LAYOUT) 2311 && !cb->isRenderGrid() 2312 #endif 2313 ) { 2310 2314 LayoutUnit newMargin = containerLogicalWidth - computedValues.m_extent - cb->marginStartForChild(*this); 2311 2315 bool hasInvertedDirection = cb->style().isLeftToRightDirection() != style().isLeftToRightDirection(); -
trunk/Source/WebCore/rendering/RenderObject.h
r169024 r169195 355 355 virtual bool isRenderFullScreenPlaceholder() const { return false; } 356 356 #endif 357 357 #if ENABLE(CSS_GRID_LAYOUT) 358 358 virtual bool isRenderGrid() const { return false; } 359 359 #endif 360 360 virtual bool isRenderFlowThread() const { return false; } 361 361 virtual bool isRenderNamedFlowThread() const { return false; }
Note: See TracChangeset
for help on using the changeset viewer.