Skip to content
Permalink
Browse files
Add revert-layer to isUniversalKeyword
https://bugs.webkit.org/show_bug.cgi?id=234674

Reviewed by Antti Koivisto.

* Source/WebCore/css/parser/CSSParserFastPaths.cpp:
(WebCore::isUniversalKeyword):

Canonical link: https://commits.webkit.org/250788@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@294533 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
nt1m committed May 20, 2022
1 parent df5c013 commit 9b805e813a843c2eaa3a723ce0f6a7131f4b8135
Showing 1 changed file with 2 additions and 1 deletion.
@@ -1081,7 +1081,8 @@ static bool isUniversalKeyword(StringView string)
return equalLettersIgnoringASCIICase(string, "initial"_s)
|| equalLettersIgnoringASCIICase(string, "inherit"_s)
|| equalLettersIgnoringASCIICase(string, "unset"_s)
|| equalLettersIgnoringASCIICase(string, "revert"_s);
|| equalLettersIgnoringASCIICase(string, "revert"_s)
|| equalLettersIgnoringASCIICase(string, "revert-layer"_s);
}

static RefPtr<CSSValue> parseKeywordValue(CSSPropertyID propertyId, StringView string, const CSSParserContext& context)

0 comments on commit 9b805e8

Please sign in to comment.