Changeset 167150 in webkit
- Timestamp:
- Apr 11, 2014 2:27:10 PM (10 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r167142 r167150 1 2014-04-11 Hans Muller <hmuller@adobe.com> 2 3 [CSS Shapes] shape-outside from image doesn't load properly 4 https://bugs.webkit.org/show_bug.cgi?id=131491 5 6 Reviewed by Bem Jones-Bey. 7 8 * http/tests/css/shape-image-file-expected.html: Added. 9 * http/tests/css/shape-image-file.html: Added. 10 1 11 2014-04-11 Mark Lam <mark.lam@apple.com> 2 12 -
trunk/Source/WebCore/ChangeLog
r167148 r167150 1 2014-04-11 Hans Muller <hmuller@adobe.com> 2 3 [CSS Shapes] shape-outside from image doesn't load properly 4 https://bugs.webkit.org/show_bug.cgi?id=131491 5 6 Reviewed by Bem Jones-Bey. 7 8 Make RenderImage::imageChanged() call super if there's a shape-outside 9 image because the shape-outside imageChanged() logic is in RenderBox. 10 11 Test: http/tests/css/shape-image-file.html 12 13 * rendering/RenderElement.h: 14 (WebCore::RenderElement::hasShapeOutside): 15 * rendering/RenderImage.cpp: 16 (WebCore::RenderImage::imageChanged): 17 1 18 2014-04-11 Brady Eidson <beidson@apple.com> 2 19 -
trunk/Source/WebCore/rendering/RenderElement.h
r166422 r167150 144 144 #endif 145 145 146 #if ENABLE(CSS_SHAPES) 147 bool hasShapeOutside() const { return style().shapeOutside(); } 148 #else 149 bool hasShapeOutside() const { return false; } 150 #endif 151 146 152 bool repaintForPausedImageAnimationsIfNeeded(const IntRect& visibleRect); 147 153 bool hasPausedImageAnimations() const { return m_hasPausedImageAnimations; } -
trunk/Source/WebCore/rendering/RenderImage.cpp
r166582 r167150 237 237 return; 238 238 239 if (hasBoxDecorations() || hasMask() )239 if (hasBoxDecorations() || hasMask() || hasShapeOutside()) 240 240 RenderReplaced::imageChanged(newImage, rect); 241 241
Note: See TracChangeset
for help on using the changeset viewer.