Changeset 152293 in webkit
- Timestamp:
- Jul 2, 2013 8:00:31 AM (11 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r152290 r152293 1 2013-07-02 Radu Stavila <stavila@adobe.com> 2 3 [CSSRegions] No other SVG elements except the SVGRoot must have RegionInfo objects attached 4 https://bugs.webkit.org/show_bug.cgi?id=118295 5 6 Reviewed by Antti Koivisto. 7 8 Only the SVGRoot element can be collected in a named flow. As such, no SVG element below the root should 9 be attached to a RenderBoxRegionInfo object. 10 11 A larger patch's test (https://bugs.webkit.org/show_bug.cgi?id=118300) is failing because of this. 12 This change will be covered by that test. 13 14 * rendering/RenderBoxModelObject.h: 15 (WebCore::RenderBoxModelObject::canHaveBoxInfoInRegion): 16 * rendering/RenderObject.h: 17 (WebCore::RenderObject::isRenderSVGBlock): 18 * rendering/svg/RenderSVGBlock.h: 19 1 20 2013-07-02 Kangil Han <kangil.han@samsung.com> 2 21 -
trunk/Source/WebCore/rendering/RenderBoxModelObject.h
r152122 r152293 175 175 virtual void setSelectionState(SelectionState s); 176 176 177 bool canHaveBoxInfoInRegion() const { return !isFloating() && !isReplaced() && !isInline() && !hasColumns() && !isTableCell() && isBlockFlow(); } 177 bool canHaveBoxInfoInRegion() const { return !isFloating() && !isReplaced() && !isInline() && !hasColumns() && !isTableCell() && isBlockFlow() && !isRenderSVGBlock(); } 178 178 179 179 180 void getGeometryForBackgroundImage(const RenderLayerModelObject* paintContainer, IntRect& destRect, IntPoint& phase, IntSize& tileSize) const; -
trunk/Source/WebCore/rendering/RenderObject.h
r152122 r152293 354 354 #endif 355 355 virtual bool isRenderBlock() const { return false; } 356 virtual bool isRenderSVGBlock() const { return false; }; 356 357 virtual bool isRenderButton() const { return false; } 357 358 virtual bool isRenderIFrame() const { return false; } -
trunk/Source/WebCore/rendering/svg/RenderSVGBlock.h
r150312 r152293 42 42 virtual void updateFromStyle() OVERRIDE; 43 43 44 virtual bool isRenderSVGBlock() const OVERRIDE { return true; }; 45 44 46 virtual void absoluteRects(Vector<IntRect>&, const LayoutPoint& accumulatedOffset) const; 45 47
Note: See TracChangeset
for help on using the changeset viewer.