mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-27 18:17:22 +02:00
LibWeb/CSS: Implement revert-layer
With the introduction of the cascade layer, the 5th CSS-wide keyword, `revert-layer`, has been added.
This commit is contained in:
Notes:
github-actions[bot]
2024-09-11 21:31:19 +00:00
Author: https://github.com/An-n-ya 🔰 Commit: https://github.com/LadybirdBrowser/ladybird/commit/bea7eec5183 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1371 Reviewed-by: https://github.com/AtkinsSJ ✅
@@ -77,6 +77,7 @@ inline bool is_css_wide_keyword(StringView name)
|
||||
return name.equals_ignoring_ascii_case("inherit"sv)
|
||||
|| name.equals_ignoring_ascii_case("initial"sv)
|
||||
|| name.equals_ignoring_ascii_case("revert"sv)
|
||||
|| name.equals_ignoring_ascii_case("revert-layer"sv)
|
||||
|| name.equals_ignoring_ascii_case("unset"sv);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user