Skip to content

Commit 017613f

Browse files
NickGerlemanfacebook-github-bot
authored andcommitted
Fix missing handling of "inset" CSS Keyword (#48990)
Summary: tsia Changelog: [Internal] Reviewed By: joevilches Differential Revision: D68743950
1 parent cdd7908 commit 017613f

File tree

1 file changed

+5
-0
lines changed
  • packages/react-native/ReactCommon/react/renderer/css

1 file changed

+5
-0
lines changed

packages/react-native/ReactCommon/react/renderer/css/CSSKeyword.h

+5
Original file line numberDiff line numberDiff line change
@@ -307,6 +307,11 @@ constexpr std::optional<KeywordT> parseCSSKeyword(std::string_view ident) {
307307
return KeywordT::InlineGrid;
308308
}
309309
break;
310+
case fnv1a("inset"):
311+
if constexpr (detail::hasInset<KeywordT>) {
312+
return KeywordT::Inset;
313+
}
314+
break;
310315
case fnv1a("ltr"):
311316
if constexpr (detail::hasLtr<KeywordT>) {
312317
return KeywordT::Ltr;

0 commit comments

Comments
 (0)