Issue #2045 - Part 4: Parse "revert" in property values wherever "unset" is allowed

This commit is contained in:
Francis Dominic Fajardo 2025-06-20 10:33:30 +08:00 committed by roytam1
commit 9105c58a30
6 changed files with 113 additions and 67 deletions

View file

@ -201,7 +201,7 @@ FontFaceSet::ParseFontShorthandForMatching(
const nsCSSValue* family = data->ValueFor(eCSSProperty_font_family);
if (family->GetUnit() != eCSSUnit_FontFamilyList) {
// We got inherit, initial, unset, a system font, or a token stream.
// We got inherit, initial, unset, revert, a system font, or a token stream.
aRv.Throw(NS_ERROR_DOM_SYNTAX_ERR);
return;
}