From 446101a168114ced563277b24abbcabf27dd5764 Mon Sep 17 00:00:00 2001 From: Yuichi ONO Date: Tue, 19 Feb 2019 04:51:48 -0800 Subject: [PATCH] `flexWrap` should be kebab-case inside inline-style (#761) Summary: Inside css inline style, it should be spelled as `flex-wrap`. Pull Request resolved: https://github.com/facebook/yoga/pull/761 Reviewed By: davidaurelio Differential Revision: D14100508 Pulled By: SidharthGuglani fbshipit-source-id: 65ebc984d959555107d58ad16ca27b2b8b4d0874 --- yoga/YGNodePrint.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yoga/YGNodePrint.cpp b/yoga/YGNodePrint.cpp index 4e02deee..28b1c47e 100644 --- a/yoga/YGNodePrint.cpp +++ b/yoga/YGNodePrint.cpp @@ -169,7 +169,7 @@ void YGNodeToString( if (node->getStyle().flexWrap != YGNode().getStyle().flexWrap) { appendFormatedString( - str, "flexWrap: %s; ", YGWrapToString(node->getStyle().flexWrap)); + str, "flex-wrap: %s; ", YGWrapToString(node->getStyle().flexWrap)); } if (node->getStyle().overflow != YGNode().getStyle().overflow) {