Unprefix text-decoration CSS3 properties
[WebKit-https.git] / Source / WebCore / editing / cocoa / DataDetection.mm
index 9109c55..c999dd7 100644 (file)
@@ -616,7 +616,7 @@ NSArray *DataDetection::detectContentInRange(RefPtr<Range>& contextRange, DataDe
                         auto underlineColor = Color(colorWithOverrideAlpha(textColor.rgb(), overrideAlpha));
 
                         anchorElement->setInlineStyleProperty(CSSPropertyColor, textColor.cssText());
-                        anchorElement->setInlineStyleProperty(CSSPropertyWebkitTextDecorationColor, underlineColor.cssText());
+                        anchorElement->setInlineStyleProperty(CSSPropertyTextDecorationColor, underlineColor.cssText());
                     }
                 }
             } else if (is<StyledElement>(*parentNode)) {