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:
Pull Request resolved: #48990

tsia

Changelog: [Internal]

Reviewed By: joevilches

Differential Revision: D68743950

fbshipit-source-id: 4c4814e3e83be92aea56992cc7d2c830edca99dd
  • Loading branch information
NickGerleman authored and facebook-github-bot committed Feb 4, 2025
1 parent f77fced commit 1624cdb
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 1624cdb

Please sign in to comment.