Changeset 143010 in webkit
- Timestamp:
- Feb 15, 2013 9:31:39 AM (11 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r143005 r143010 1 2013-02-15 Hans Muller <hmuller@adobe.com> 2 3 [CSS Exclusions] Enable shape-inside support for circles 4 https://bugs.webkit.org/show_bug.cgi?id=109713 5 6 Reviewed by Dirk Schulze. 7 8 Added a test for circle shape-inside values. 9 10 * fast/exclusions/shape-inside/shape-inside-circle-expected.html: Added. 11 * fast/exclusions/shape-inside/shape-inside-circle.html: Added. 12 1 13 2013-02-15 Vsevolod Vlasov <vsevik@chromium.org> 2 14 -
trunk/Source/WebCore/ChangeLog
r143009 r143010 1 2013-02-15 Hans Muller <hmuller@adobe.com> 2 3 [CSS Exclusions] Enable shape-inside support for circles 4 https://bugs.webkit.org/show_bug.cgi?id=109713 5 6 Reviewed by Dirk Schulze. 7 8 Removed the test that disabled circle values for shape-inside. 9 The remaining support for circles, which is based on rounded rectangles 10 whose width/height is equal to their radiusX/radiusY, has not changed. 11 12 Test: fast/exclusions/shape-inside/shape-inside-circle.html 13 14 * rendering/ExclusionShapeInsideInfo.h: 15 (WebCore::ExclusionShapeInsideInfo::isEnabledFor): Now only disallows ellipse. 16 1 17 2013-02-15 Christophe Dumez <ch.dumez@sisa.samsung.com> 2 18 -
trunk/Source/WebCore/rendering/ExclusionShapeInsideInfo.h
r142164 r143010 62 62 ExclusionShapeValue* shapeValue = renderer->style()->shapeInside(); 63 63 BasicShape* shape = (shapeValue && shapeValue->type() == ExclusionShapeValue::SHAPE) ? shapeValue->shape() : 0; 64 return shape && (shape->type() == BasicShape::BASIC_SHAPE_RECTANGLE || shape->type() == BasicShape::BASIC_SHAPE_POLYGON);64 return shape && shape->type() != BasicShape::BASIC_SHAPE_ELLIPSE; 65 65 } 66 66 bool lineOverlapsShapeBounds() const { return logicalLineTop() < shapeLogicalBottom() && logicalLineBottom() >= shapeLogicalTop(); }
Note: See TracChangeset
for help on using the changeset viewer.