Changeset 143420 in webkit
- Timestamp:
- Feb 19, 2013 5:56:15 PM (11 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r143419 r143420 1 2013-02-19 Hans Muller <hmuller@adobe.com> 2 3 [CSS Exclusions] Enable shape-inside support for ellipses 4 https://bugs.webkit.org/show_bug.cgi?id=109868 5 6 Reviewed by Dirk Schulze. 7 8 Added a test for ellipse shape-inside values. 9 10 * fast/exclusions/shape-inside/shape-inside-ellipse-expected.html: Added. 11 * fast/exclusions/shape-inside/shape-inside-ellipse.html: Added. 12 1 13 2013-02-19 Uday Kiran <udaykiran@motorola.com> 2 14 -
trunk/Source/WebCore/ChangeLog
r143419 r143420 1 2013-02-19 Hans Muller <hmuller@adobe.com> 2 3 [CSS Exclusions] Enable shape-inside support for ellipses 4 https://bugs.webkit.org/show_bug.cgi?id=109868 5 6 Reviewed by Dirk Schulze. 7 8 This change is very similar to the one recently made for circles: 9 removed the test that disabled ellipse values for shape-inside. 10 The remaining support for ellipses, which is based on rounded rectangles 11 whose width/height is equal to their radiusX/radiusY, has not changed. 12 13 Test: fast/exclusions/shape-inside/shape-inside-ellipse.html 14 15 * rendering/ExclusionShapeInsideInfo.h: 16 (WebCore::ExclusionShapeInsideInfo::isEnabledFor): No longer disallows any BasicShape type. 17 1 18 2013-02-19 Uday Kiran <udaykiran@motorola.com> 2 19 … … 258 275 (WebCore::HTMLDocumentParser::prepareToStopParsing): 259 276 (WebCore::HTMLDocumentParser::attemptToRunDeferredScriptsAndEnd): 277 278 2013-02-19 Hans Muller <hmuller@adobe.com> 279 280 [CSS Exclusions] Enable shape-inside support for ellipses 281 https://bugs.webkit.org/show_bug.cgi?id=109868 282 283 Reviewed by Dirk Schulze. 284 285 This change is very similar to the one recently made for circles: 286 removed the test that disabled ellipse values for shape-inside. 287 The remaining support for ellipses, which is based on rounded rectangles 288 whose width/height is equal to their radiusX/radiusY, has not changed. 289 290 Test: fast/exclusions/shape-inside/shape-inside-ellipse.html 291 292 * rendering/ExclusionShapeInsideInfo.h: 293 (WebCore::ExclusionShapeInsideInfo::isEnabledFor): No longer disallows any BasicShape type. 260 294 261 295 2013-02-19 Simon Fraser <simon.fraser@apple.com> -
trunk/Source/WebCore/rendering/ExclusionShapeInsideInfo.h
r143225 r143420 59 59 static bool isEnabledFor(const RenderBlock* renderer) 60 60 { 61 // FIXME: Bug 89707: Enable shape inside for non-rectangular shapes62 61 ExclusionShapeValue* shapeValue = renderer->style()->resolvedShapeInside(); 63 BasicShape* shape = (shapeValue && shapeValue->type() == ExclusionShapeValue::SHAPE) ? shapeValue->shape() : 0; 64 return shape && shape->type() != BasicShape::BASIC_SHAPE_ELLIPSE; 62 return (shapeValue && shapeValue->type() == ExclusionShapeValue::SHAPE) ? shapeValue->shape() : 0; 65 63 } 66 64 bool lineOverlapsShapeBounds() const { return logicalLineTop() < shapeLogicalBottom() && logicalLineBottom() >= shapeLogicalTop(); }
Note: See TracChangeset
for help on using the changeset viewer.