diff --git a/layout/generic/nsTextFrame.cpp b/layout/generic/nsTextFrame.cpp index fffcd017daff..71cd7aab769f 100644 --- a/layout/generic/nsTextFrame.cpp +++ b/layout/generic/nsTextFrame.cpp @@ -7262,6 +7262,10 @@ DrawTextRun(const gfxTextRun* aTextRun, if ((NS_GET_A(aParams.textStrokeColor) != 0 || textDrawer) && aParams.textStrokeWidth != 0.0f) { + if (textDrawer) { + textDrawer->FoundUnsupportedFeature(); + return; + } StrokeOptions strokeOpts; params.drawMode |= DrawMode::GLYPH_STROKE; params.textStrokeColor = aParams.textStrokeColor;