Skip to content

Commit

Permalink
Fix missing handling of "inset" CSS Keyword (#48990)
Browse files Browse the repository at this point in the history
Summary:

tsia

Changelog: [Internal]

Reviewed By: joevilches

Differential Revision: D68743950
  • Loading branch information
NickGerleman authored and facebook-github-bot committed Jan 29, 2025
1 parent 566c292 commit c701974
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,11 @@ constexpr std::optional<KeywordT> parseCSSKeyword(std::string_view ident) {
return KeywordT::InlineGrid;
}
break;
case fnv1a("inset"):
if constexpr (detail::hasInset<KeywordT>) {
return KeywordT::Inset;
}
break;
case fnv1a("ltr"):
if constexpr (detail::hasLtr<KeywordT>) {
return KeywordT::Ltr;
Expand Down

0 comments on commit c701974

Please sign in to comment.