Changeset 58243 in webkit
- Timestamp:
- Apr 26, 2010 3:05:10 AM (14 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r58242 r58243 1 2010-04-26 Zoltan Herczeg <zherczeg@webkit.org> 2 3 Reviewed by Dirk Schulze. 4 5 Call setStrokeStyle in applyStrokeStyleToContext 6 https://bugs.webkit.org/show_bug.cgi?id=37849 7 8 Not all platforms set the stroke style to solid if they 9 get an empty line dash array. Some just ignore the operation. 10 11 * rendering/SVGRenderSupport.cpp: 12 (WebCore::applyStrokeStyleToContext): 13 1 14 2010-04-23 Ilya Tikhonovsky <loislo@chromium.org> 2 15 -
trunk/WebCore/rendering/SVGRenderSupport.cpp
r58214 r58243 400 400 const DashArray& dashes = dashArrayFromRenderingStyle(object->style(), object->document()->documentElement()->renderStyle()); 401 401 float dashOffset = SVGRenderStyle::cssPrimitiveToLength(object, style->svgStyle()->strokeDashOffset(), 0.0f); 402 context->setLineDash(dashes, dashOffset); 402 if (dashes.isEmpty()) 403 context->setStrokeStyle(SolidStroke); 404 else 405 context->setLineDash(dashes, dashOffset); 403 406 } 404 407
Note: See TracChangeset
for help on using the changeset viewer.