mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-05 23:38:38 +09:00
Issue #2045 - Part 4: Parse "revert" in property values wherever "unset" is allowed
This commit is contained in:
parent
b0f0972314
commit
9105c58a30
6 changed files with 113 additions and 67 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue