From 2192090ea5432db9db7b2c37a10102b8adeb46d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emilio=20Cobos=20=C3=81lvarez?= Date: Thu, 8 Mar 2018 14:01:09 +0100 Subject: [PATCH] style: Fix special color keywords. They're -moz-activehyperlinktext and -moz-visitedhyperlinktext. --- components/style/values/specified/color.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/components/style/values/specified/color.rs b/components/style/values/specified/color.rs index 134bd673cb1..a9c52de811a 100644 --- a/components/style/values/specified/color.rs +++ b/components/style/values/specified/color.rs @@ -52,8 +52,8 @@ mod gecko { MozDefaultColor, MozDefaultBackgroundColor, MozHyperlinktext, - MozActiveHyperlinktext, - MozVisitedHyperlinktext, + MozActivehyperlinktext, + MozVisitedhyperlinktext, } } @@ -368,8 +368,8 @@ impl Color { Keyword::MozDefaultColor => pres_context.mDefaultColor, Keyword::MozDefaultBackgroundColor => pres_context.mBackgroundColor, Keyword::MozHyperlinktext => pres_context.mLinkColor, - Keyword::MozActiveHyperlinktext => pres_context.mActiveLinkColor, - Keyword::MozVisitedHyperlinktext => pres_context.mVisitedLinkColor, + Keyword::MozActivehyperlinktext => pres_context.mActiveLinkColor, + Keyword::MozVisitedhyperlinktext => pres_context.mVisitedLinkColor, }) }) }