зеркало из https://github.com/mozilla/gecko-dev.git
Bug 854296, part 1 - Make SVG respect stroke-miterlimit again. r=Bas
This commit is contained in:
Родитель
9e326f88fc
Коммит
e45d8102b6
|
@ -199,7 +199,7 @@ SVGContentUtils::GetStrokeOptions(AutoStrokeOptions* aStrokeOptions,
|
|||
|
||||
switch (styleSVG->mStrokeLinejoin) {
|
||||
case NS_STYLE_STROKE_LINEJOIN_MITER:
|
||||
aStrokeOptions->mLineJoin = JoinStyle::MITER;
|
||||
aStrokeOptions->mLineJoin = JoinStyle::MITER_OR_BEVEL;
|
||||
break;
|
||||
case NS_STYLE_STROKE_LINEJOIN_ROUND:
|
||||
aStrokeOptions->mLineJoin = JoinStyle::ROUND;
|
||||
|
|
|
@ -1507,7 +1507,7 @@ nsSVGUtils::SetupCairoStrokeGeometry(nsIFrame* aFrame,
|
|||
|
||||
switch (style->mStrokeLinejoin) {
|
||||
case NS_STYLE_STROKE_LINEJOIN_MITER:
|
||||
aContext->SetLineJoin(JoinStyle::MITER);
|
||||
aContext->SetLineJoin(JoinStyle::MITER_OR_BEVEL);
|
||||
break;
|
||||
case NS_STYLE_STROKE_LINEJOIN_ROUND:
|
||||
aContext->SetLineJoin(JoinStyle::ROUND);
|
||||
|
|
Загрузка…
Ссылка в новой задаче