Title: [294533] trunk/Source/WebCore/css/parser/CSSParserFastPaths.cpp
Revision
294533
Author
[email protected]
Date
2022-05-19 23:39:43 -0700 (Thu, 19 May 2022)

Log Message

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

Modified Paths

Diff

Modified: trunk/Source/WebCore/css/parser/CSSParserFastPaths.cpp (294532 => 294533)


--- trunk/Source/WebCore/css/parser/CSSParserFastPaths.cpp	2022-05-20 06:19:49 UTC (rev 294532)
+++ trunk/Source/WebCore/css/parser/CSSParserFastPaths.cpp	2022-05-20 06:39:43 UTC (rev 294533)
@@ -1081,7 +1081,8 @@
     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)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to