style: Fix special color keywords.

They're -moz-activehyperlinktext and -moz-visitedhyperlinktext.
This commit is contained in:
Emilio Cobos Álvarez 2018-03-08 14:01:09 +01:00
parent 72d09202f4
commit 2192090ea5
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C

View file

@ -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,
})
})
}