REGRESSION (r224780): Text stroke not applied to video captions.
[WebKit-https.git] / Source / WebCore / page / CaptionUserPreferencesMediaAF.cpp
index 23d7e0bf4e7da6a020aa5e97d1af16c25b1f430f..70c55a7f6712221b244a64ba1b3d16540f501a67 100644 (file)
@@ -395,7 +395,7 @@ String CaptionUserPreferencesMediaAF::captionsTextEdgeCSS() const
         appendCSS(builder, CSSPropertyTextShadow, makeString(edgeStyleDropShadow.get(), " black"), important);
 
     if (textEdgeStyle == kMACaptionAppearanceTextEdgeStyleDropShadow || textEdgeStyle == kMACaptionAppearanceTextEdgeStyleUniform) {
-        appendCSS(builder, CSSPropertyWebkitTextStrokeColor, "black", important);
+        appendCSS(builder, CSSPropertyStrokeColor, "black", important);
         appendCSS(builder, CSSPropertyPaintOrder, getValueName(CSSValueStroke), important);
         appendCSS(builder, CSSPropertyStrokeLinejoin, getValueName(CSSValueRound), important);
         appendCSS(builder, CSSPropertyStrokeLinecap, getValueName(CSSValueRound), important);