@@ -158,88 +158,88 @@ using EdgeSetter = void (*)(const YGNodeRef, const YGEdge, float);
158158
159159// Sorted list of CSS node properties.
160160const std::tuple<const char *, IntConverter, IntSetter> int_setters[] = {
161- {" aligncontent " , AlignValue,
161+ {" alignContent " , AlignValue,
162162 reinterpret_cast <IntSetter>(YGNodeStyleSetAlignContent)},
163- {" alignitems " , AlignValue,
163+ {" alignItems " , AlignValue,
164164 reinterpret_cast <IntSetter>(YGNodeStyleSetAlignItems)},
165- {" alignself " , AlignValue,
165+ {" alignSelf " , AlignValue,
166166 reinterpret_cast <IntSetter>(YGNodeStyleSetAlignSelf)},
167167 {" direction" , DirectionValue,
168168 reinterpret_cast <IntSetter>(YGNodeStyleSetDirection)},
169169 {" display" , DisplayValue,
170170 reinterpret_cast <IntSetter>(YGNodeStyleSetDisplay)},
171- {" flexdirection " , FlexDirectionValue,
171+ {" flexDirection " , FlexDirectionValue,
172172 reinterpret_cast <IntSetter>(YGNodeStyleSetFlexDirection)},
173- {" flexwrap " , WrapValue,
173+ {" flexWrap " , WrapValue,
174174 reinterpret_cast <IntSetter>(YGNodeStyleSetFlexWrap)},
175- {" justifycontent " , JustifyValue,
175+ {" justifyContent " , JustifyValue,
176176 reinterpret_cast <IntSetter>(YGNodeStyleSetJustifyContent)},
177177 {" overflow" , OverflowValue,
178178 reinterpret_cast <IntSetter>(YGNodeStyleSetOverflow)},
179179 {" position" , PositionValue,
180180 reinterpret_cast <IntSetter>(YGNodeStyleSetPositionType)},
181181};
182182const std::pair<const char *, FloatSetter> float_setters[] = {
183- {" aspectratio " , YGNodeStyleSetAspectRatio},
183+ {" aspectRatio " , YGNodeStyleSetAspectRatio},
184184 {" flex" , YGNodeStyleSetFlex},
185- {" flexbasis " , YGNodeStyleSetFlexBasis},
186- {" flexgrow " , YGNodeStyleSetFlexGrow},
187- {" flexshrink " , YGNodeStyleSetFlexShrink},
185+ {" flexBasis " , YGNodeStyleSetFlexBasis},
186+ {" flexGrow " , YGNodeStyleSetFlexGrow},
187+ {" flexShrink " , YGNodeStyleSetFlexShrink},
188188 {" height" , YGNodeStyleSetHeight},
189- {" maxheight " , YGNodeStyleSetMaxHeight},
190- {" maxwidth " , YGNodeStyleSetMaxWidth},
191- {" minheight " , YGNodeStyleSetMinHeight},
192- {" minwidth " , YGNodeStyleSetMinWidth},
189+ {" maxHeight " , YGNodeStyleSetMaxHeight},
190+ {" maxWidth " , YGNodeStyleSetMaxWidth},
191+ {" minHeight " , YGNodeStyleSetMinHeight},
192+ {" minWidth " , YGNodeStyleSetMinWidth},
193193 {" width" , YGNodeStyleSetWidth},
194194};
195195const std::pair<const char *, AutoSetter> auto_setters[] = {
196- {" flexbasis " , YGNodeStyleSetFlexBasisAuto},
196+ {" flexBasis " , YGNodeStyleSetFlexBasisAuto},
197197 {" height" , YGNodeStyleSetHeightAuto},
198198 {" width" , YGNodeStyleSetWidthAuto},
199199};
200200const std::pair<const char *, FloatSetter> percent_setters[] = {
201- {" flexbasis " , YGNodeStyleSetFlexBasisPercent},
201+ {" flexBasis " , YGNodeStyleSetFlexBasisPercent},
202202 {" height" , YGNodeStyleSetHeightPercent},
203- {" maxheight " , YGNodeStyleSetMaxHeightPercent},
204- {" maxwidth " , YGNodeStyleSetMaxWidthPercent},
205- {" minheight " , YGNodeStyleSetMinHeightPercent},
206- {" minwidth " , YGNodeStyleSetMinWidthPercent},
203+ {" maxHeight " , YGNodeStyleSetMaxHeightPercent},
204+ {" maxWidth " , YGNodeStyleSetMaxWidthPercent},
205+ {" minHeight " , YGNodeStyleSetMinHeightPercent},
206+ {" minWidth " , YGNodeStyleSetMinWidthPercent},
207207 {" width" , YGNodeStyleSetWidthPercent},
208208};
209209const std::tuple<const char *, YGEdge, EdgeSetter> edge_setters[] = {
210210 {" border" , YGEdgeAll, YGNodeStyleSetBorder},
211- {" borderbottom " , YGEdgeBottom, YGNodeStyleSetBorder},
212- {" borderleft " , YGEdgeLeft, YGNodeStyleSetBorder},
213- {" borderright " , YGEdgeRight, YGNodeStyleSetBorder},
214- {" bordertop " , YGEdgeTop, YGNodeStyleSetBorder},
211+ {" borderBottom " , YGEdgeBottom, YGNodeStyleSetBorder},
212+ {" borderLeft " , YGEdgeLeft, YGNodeStyleSetBorder},
213+ {" borderRight " , YGEdgeRight, YGNodeStyleSetBorder},
214+ {" borderTop " , YGEdgeTop, YGNodeStyleSetBorder},
215215 {" bottom" , YGEdgeBottom, YGNodeStyleSetPosition},
216216 {" left" , YGEdgeLeft, YGNodeStyleSetPosition},
217217 {" margin" , YGEdgeAll, YGNodeStyleSetMargin},
218- {" marginbottom " , YGEdgeBottom, YGNodeStyleSetMargin},
219- {" marginleft " , YGEdgeLeft, YGNodeStyleSetMargin},
220- {" marginright " , YGEdgeRight, YGNodeStyleSetMargin},
221- {" margintop " , YGEdgeTop, YGNodeStyleSetMargin},
218+ {" marginBottom " , YGEdgeBottom, YGNodeStyleSetMargin},
219+ {" marginLeft " , YGEdgeLeft, YGNodeStyleSetMargin},
220+ {" marginRight " , YGEdgeRight, YGNodeStyleSetMargin},
221+ {" marginTop " , YGEdgeTop, YGNodeStyleSetMargin},
222222 {" padding" , YGEdgeAll, YGNodeStyleSetPadding},
223- {" paddingbottom " , YGEdgeBottom, YGNodeStyleSetPadding},
224- {" paddingleft " , YGEdgeLeft, YGNodeStyleSetPadding},
225- {" paddingright " , YGEdgeRight, YGNodeStyleSetPadding},
226- {" paddingtop " , YGEdgeTop, YGNodeStyleSetPadding},
223+ {" paddingBottom " , YGEdgeBottom, YGNodeStyleSetPadding},
224+ {" paddingLeft " , YGEdgeLeft, YGNodeStyleSetPadding},
225+ {" paddingRight " , YGEdgeRight, YGNodeStyleSetPadding},
226+ {" paddingTop " , YGEdgeTop, YGNodeStyleSetPadding},
227227 {" right" , YGEdgeRight, YGNodeStyleSetPosition},
228228 {" top" , YGEdgeTop, YGNodeStyleSetPosition},
229229};
230230const std::tuple<const char *, YGEdge, EdgeSetter> edge_percent_setters[] = {
231231 {" bottom" , YGEdgeBottom, YGNodeStyleSetPositionPercent},
232232 {" left" , YGEdgeLeft, YGNodeStyleSetPositionPercent},
233233 {" margin" , YGEdgeAll, YGNodeStyleSetMarginPercent},
234- {" marginbottom " , YGEdgeBottom, YGNodeStyleSetMarginPercent},
235- {" marginleft " , YGEdgeLeft, YGNodeStyleSetMarginPercent},
236- {" marginright " , YGEdgeRight, YGNodeStyleSetMarginPercent},
237- {" margintop " , YGEdgeTop, YGNodeStyleSetMarginPercent},
234+ {" marginBottom " , YGEdgeBottom, YGNodeStyleSetMarginPercent},
235+ {" marginLeft " , YGEdgeLeft, YGNodeStyleSetMarginPercent},
236+ {" marginRight " , YGEdgeRight, YGNodeStyleSetMarginPercent},
237+ {" marginTop " , YGEdgeTop, YGNodeStyleSetMarginPercent},
238238 {" padding" , YGEdgeAll, YGNodeStyleSetPaddingPercent},
239- {" paddingbottom " , YGEdgeBottom, YGNodeStyleSetPaddingPercent},
240- {" paddingleft " , YGEdgeLeft, YGNodeStyleSetPaddingPercent},
241- {" paddingright " , YGEdgeRight, YGNodeStyleSetPaddingPercent},
242- {" paddingtop " , YGEdgeTop, YGNodeStyleSetPaddingPercent},
239+ {" paddingBottom " , YGEdgeBottom, YGNodeStyleSetPaddingPercent},
240+ {" paddingLeft " , YGEdgeLeft, YGNodeStyleSetPaddingPercent},
241+ {" paddingRight " , YGEdgeRight, YGNodeStyleSetPaddingPercent},
242+ {" paddingTop " , YGEdgeTop, YGNodeStyleSetPaddingPercent},
243243 {" right" , YGEdgeRight, YGNodeStyleSetPositionPercent},
244244 {" top" , YGEdgeTop, YGNodeStyleSetPositionPercent},
245245};
0 commit comments