Hardcode AbsolutePercentageAgainstPaddingEdge experimental feature to false (#1549)
Summary: Pull Request resolved: https://github.com/facebook/yoga/pull/1549 X-link: https://github.com/facebook/react-native/pull/42253 This experimental feature is always false, and with the next diff I will be deleting the branch that actually calls into this. Separating this diff out to simplify the review process. Reviewed By: NickGerleman Differential Revision: D52705765 fbshipit-source-id: 705f4aa297eae730af9b44753eb01c9dec385dcf
This commit is contained in:
committed by
Facebook GitHub Bot
parent
0bbfe4503d
commit
f69a1a43e5
@@ -5,7 +5,7 @@
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*
|
||||
* clang-format off
|
||||
* @generated SignedSource<<19c4ab5c2e89cd74936b59b98153b91e>>
|
||||
* @generated SignedSource<<4a6a69c4e9bfda6dc73198791f553e13>>
|
||||
* generated by gentest/gentest-driver.ts from gentest/fixtures/YGFlexDirectionTest.html
|
||||
*/
|
||||
|
||||
@@ -14,7 +14,6 @@
|
||||
|
||||
TEST(YogaTest, flex_direction_column_no_height) {
|
||||
const YGConfigRef config = YGConfigNew();
|
||||
YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true);
|
||||
|
||||
const YGNodeRef root = YGNodeNewWithConfig(config);
|
||||
YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute);
|
||||
@@ -82,7 +81,6 @@ TEST(YogaTest, flex_direction_column_no_height) {
|
||||
|
||||
TEST(YogaTest, flex_direction_row_no_width) {
|
||||
const YGConfigRef config = YGConfigNew();
|
||||
YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true);
|
||||
|
||||
const YGNodeRef root = YGNodeNewWithConfig(config);
|
||||
YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow);
|
||||
@@ -151,7 +149,6 @@ TEST(YogaTest, flex_direction_row_no_width) {
|
||||
|
||||
TEST(YogaTest, flex_direction_column) {
|
||||
const YGConfigRef config = YGConfigNew();
|
||||
YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true);
|
||||
|
||||
const YGNodeRef root = YGNodeNewWithConfig(config);
|
||||
YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute);
|
||||
@@ -220,7 +217,6 @@ TEST(YogaTest, flex_direction_column) {
|
||||
|
||||
TEST(YogaTest, flex_direction_row) {
|
||||
const YGConfigRef config = YGConfigNew();
|
||||
YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true);
|
||||
|
||||
const YGNodeRef root = YGNodeNewWithConfig(config);
|
||||
YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow);
|
||||
@@ -290,7 +286,6 @@ TEST(YogaTest, flex_direction_row) {
|
||||
|
||||
TEST(YogaTest, flex_direction_column_reverse) {
|
||||
const YGConfigRef config = YGConfigNew();
|
||||
YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true);
|
||||
|
||||
const YGNodeRef root = YGNodeNewWithConfig(config);
|
||||
YGNodeStyleSetFlexDirection(root, YGFlexDirectionColumnReverse);
|
||||
@@ -360,7 +355,6 @@ TEST(YogaTest, flex_direction_column_reverse) {
|
||||
|
||||
TEST(YogaTest, flex_direction_row_reverse) {
|
||||
const YGConfigRef config = YGConfigNew();
|
||||
YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true);
|
||||
|
||||
const YGNodeRef root = YGNodeNewWithConfig(config);
|
||||
YGNodeStyleSetFlexDirection(root, YGFlexDirectionRowReverse);
|
||||
@@ -430,7 +424,6 @@ TEST(YogaTest, flex_direction_row_reverse) {
|
||||
|
||||
TEST(YogaTest, flex_direction_row_reverse_margin_left) {
|
||||
const YGConfigRef config = YGConfigNew();
|
||||
YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true);
|
||||
|
||||
const YGNodeRef root = YGNodeNewWithConfig(config);
|
||||
YGNodeStyleSetFlexDirection(root, YGFlexDirectionRowReverse);
|
||||
@@ -501,7 +494,6 @@ TEST(YogaTest, flex_direction_row_reverse_margin_left) {
|
||||
|
||||
TEST(YogaTest, flex_direction_row_reverse_margin_start) {
|
||||
const YGConfigRef config = YGConfigNew();
|
||||
YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true);
|
||||
|
||||
const YGNodeRef root = YGNodeNewWithConfig(config);
|
||||
YGNodeStyleSetFlexDirection(root, YGFlexDirectionRowReverse);
|
||||
@@ -572,7 +564,6 @@ TEST(YogaTest, flex_direction_row_reverse_margin_start) {
|
||||
|
||||
TEST(YogaTest, flex_direction_row_reverse_margin_right) {
|
||||
const YGConfigRef config = YGConfigNew();
|
||||
YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true);
|
||||
|
||||
const YGNodeRef root = YGNodeNewWithConfig(config);
|
||||
YGNodeStyleSetFlexDirection(root, YGFlexDirectionRowReverse);
|
||||
@@ -643,7 +634,6 @@ TEST(YogaTest, flex_direction_row_reverse_margin_right) {
|
||||
|
||||
TEST(YogaTest, flex_direction_row_reverse_margin_end) {
|
||||
const YGConfigRef config = YGConfigNew();
|
||||
YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true);
|
||||
|
||||
const YGNodeRef root = YGNodeNewWithConfig(config);
|
||||
YGNodeStyleSetFlexDirection(root, YGFlexDirectionRowReverse);
|
||||
@@ -714,7 +704,6 @@ TEST(YogaTest, flex_direction_row_reverse_margin_end) {
|
||||
|
||||
TEST(YogaTest, flex_direction_column_reverse_margin_top) {
|
||||
const YGConfigRef config = YGConfigNew();
|
||||
YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true);
|
||||
|
||||
const YGNodeRef root = YGNodeNewWithConfig(config);
|
||||
YGNodeStyleSetFlexDirection(root, YGFlexDirectionColumnReverse);
|
||||
@@ -785,7 +774,6 @@ TEST(YogaTest, flex_direction_column_reverse_margin_top) {
|
||||
|
||||
TEST(YogaTest, flex_direction_column_reverse_margin_bottom) {
|
||||
const YGConfigRef config = YGConfigNew();
|
||||
YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true);
|
||||
|
||||
const YGNodeRef root = YGNodeNewWithConfig(config);
|
||||
YGNodeStyleSetFlexDirection(root, YGFlexDirectionColumnReverse);
|
||||
@@ -856,7 +844,6 @@ TEST(YogaTest, flex_direction_column_reverse_margin_bottom) {
|
||||
|
||||
TEST(YogaTest, flex_direction_row_reverse_padding_left) {
|
||||
const YGConfigRef config = YGConfigNew();
|
||||
YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true);
|
||||
|
||||
const YGNodeRef root = YGNodeNewWithConfig(config);
|
||||
YGNodeStyleSetFlexDirection(root, YGFlexDirectionRowReverse);
|
||||
@@ -927,7 +914,6 @@ TEST(YogaTest, flex_direction_row_reverse_padding_left) {
|
||||
|
||||
TEST(YogaTest, flex_direction_row_reverse_padding_start) {
|
||||
const YGConfigRef config = YGConfigNew();
|
||||
YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true);
|
||||
|
||||
const YGNodeRef root = YGNodeNewWithConfig(config);
|
||||
YGNodeStyleSetFlexDirection(root, YGFlexDirectionRowReverse);
|
||||
@@ -998,7 +984,6 @@ TEST(YogaTest, flex_direction_row_reverse_padding_start) {
|
||||
|
||||
TEST(YogaTest, flex_direction_row_reverse_padding_right) {
|
||||
const YGConfigRef config = YGConfigNew();
|
||||
YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true);
|
||||
|
||||
const YGNodeRef root = YGNodeNewWithConfig(config);
|
||||
YGNodeStyleSetFlexDirection(root, YGFlexDirectionRowReverse);
|
||||
@@ -1069,7 +1054,6 @@ TEST(YogaTest, flex_direction_row_reverse_padding_right) {
|
||||
|
||||
TEST(YogaTest, flex_direction_row_reverse_padding_end) {
|
||||
const YGConfigRef config = YGConfigNew();
|
||||
YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true);
|
||||
|
||||
const YGNodeRef root = YGNodeNewWithConfig(config);
|
||||
YGNodeStyleSetFlexDirection(root, YGFlexDirectionRowReverse);
|
||||
@@ -1140,7 +1124,6 @@ TEST(YogaTest, flex_direction_row_reverse_padding_end) {
|
||||
|
||||
TEST(YogaTest, flex_direction_column_reverse_padding_top) {
|
||||
const YGConfigRef config = YGConfigNew();
|
||||
YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true);
|
||||
|
||||
const YGNodeRef root = YGNodeNewWithConfig(config);
|
||||
YGNodeStyleSetFlexDirection(root, YGFlexDirectionColumnReverse);
|
||||
@@ -1211,7 +1194,6 @@ TEST(YogaTest, flex_direction_column_reverse_padding_top) {
|
||||
|
||||
TEST(YogaTest, flex_direction_column_reverse_padding_bottom) {
|
||||
const YGConfigRef config = YGConfigNew();
|
||||
YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true);
|
||||
|
||||
const YGNodeRef root = YGNodeNewWithConfig(config);
|
||||
YGNodeStyleSetFlexDirection(root, YGFlexDirectionColumnReverse);
|
||||
@@ -1282,7 +1264,6 @@ TEST(YogaTest, flex_direction_column_reverse_padding_bottom) {
|
||||
|
||||
TEST(YogaTest, flex_direction_row_reverse_border_left) {
|
||||
const YGConfigRef config = YGConfigNew();
|
||||
YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true);
|
||||
|
||||
const YGNodeRef root = YGNodeNewWithConfig(config);
|
||||
YGNodeStyleSetFlexDirection(root, YGFlexDirectionRowReverse);
|
||||
@@ -1353,7 +1334,6 @@ TEST(YogaTest, flex_direction_row_reverse_border_left) {
|
||||
|
||||
TEST(YogaTest, flex_direction_row_reverse_border_start) {
|
||||
const YGConfigRef config = YGConfigNew();
|
||||
YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true);
|
||||
|
||||
const YGNodeRef root = YGNodeNewWithConfig(config);
|
||||
YGNodeStyleSetFlexDirection(root, YGFlexDirectionRowReverse);
|
||||
@@ -1424,7 +1404,6 @@ TEST(YogaTest, flex_direction_row_reverse_border_start) {
|
||||
|
||||
TEST(YogaTest, flex_direction_row_reverse_border_right) {
|
||||
const YGConfigRef config = YGConfigNew();
|
||||
YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true);
|
||||
|
||||
const YGNodeRef root = YGNodeNewWithConfig(config);
|
||||
YGNodeStyleSetFlexDirection(root, YGFlexDirectionRowReverse);
|
||||
@@ -1495,7 +1474,6 @@ TEST(YogaTest, flex_direction_row_reverse_border_right) {
|
||||
|
||||
TEST(YogaTest, flex_direction_row_reverse_border_end) {
|
||||
const YGConfigRef config = YGConfigNew();
|
||||
YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true);
|
||||
|
||||
const YGNodeRef root = YGNodeNewWithConfig(config);
|
||||
YGNodeStyleSetFlexDirection(root, YGFlexDirectionRowReverse);
|
||||
@@ -1566,7 +1544,6 @@ TEST(YogaTest, flex_direction_row_reverse_border_end) {
|
||||
|
||||
TEST(YogaTest, flex_direction_column_reverse_border_top) {
|
||||
const YGConfigRef config = YGConfigNew();
|
||||
YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true);
|
||||
|
||||
const YGNodeRef root = YGNodeNewWithConfig(config);
|
||||
YGNodeStyleSetFlexDirection(root, YGFlexDirectionColumnReverse);
|
||||
@@ -1637,7 +1614,6 @@ TEST(YogaTest, flex_direction_column_reverse_border_top) {
|
||||
|
||||
TEST(YogaTest, flex_direction_column_reverse_border_bottom) {
|
||||
const YGConfigRef config = YGConfigNew();
|
||||
YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true);
|
||||
|
||||
const YGNodeRef root = YGNodeNewWithConfig(config);
|
||||
YGNodeStyleSetFlexDirection(root, YGFlexDirectionColumnReverse);
|
||||
@@ -1708,7 +1684,6 @@ TEST(YogaTest, flex_direction_column_reverse_border_bottom) {
|
||||
|
||||
TEST(YogaTest, flex_direction_row_reverse_pos_left) {
|
||||
const YGConfigRef config = YGConfigNew();
|
||||
YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true);
|
||||
|
||||
const YGNodeRef root = YGNodeNewWithConfig(config);
|
||||
YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute);
|
||||
@@ -1794,7 +1769,6 @@ TEST(YogaTest, flex_direction_row_reverse_pos_left) {
|
||||
|
||||
TEST(YogaTest, flex_direction_row_reverse_pos_start) {
|
||||
const YGConfigRef config = YGConfigNew();
|
||||
YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true);
|
||||
|
||||
const YGNodeRef root = YGNodeNewWithConfig(config);
|
||||
YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute);
|
||||
@@ -1880,7 +1854,6 @@ TEST(YogaTest, flex_direction_row_reverse_pos_start) {
|
||||
|
||||
TEST(YogaTest, flex_direction_row_reverse_pos_right) {
|
||||
const YGConfigRef config = YGConfigNew();
|
||||
YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true);
|
||||
|
||||
const YGNodeRef root = YGNodeNewWithConfig(config);
|
||||
YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute);
|
||||
@@ -1966,7 +1939,6 @@ TEST(YogaTest, flex_direction_row_reverse_pos_right) {
|
||||
|
||||
TEST(YogaTest, flex_direction_row_reverse_pos_end) {
|
||||
const YGConfigRef config = YGConfigNew();
|
||||
YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true);
|
||||
|
||||
const YGNodeRef root = YGNodeNewWithConfig(config);
|
||||
YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute);
|
||||
@@ -2052,7 +2024,6 @@ TEST(YogaTest, flex_direction_row_reverse_pos_end) {
|
||||
|
||||
TEST(YogaTest, flex_direction_column_reverse_pos_top) {
|
||||
const YGConfigRef config = YGConfigNew();
|
||||
YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true);
|
||||
|
||||
const YGNodeRef root = YGNodeNewWithConfig(config);
|
||||
YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute);
|
||||
@@ -2138,7 +2109,6 @@ TEST(YogaTest, flex_direction_column_reverse_pos_top) {
|
||||
|
||||
TEST(YogaTest, flex_direction_column_reverse_pos_bottom) {
|
||||
const YGConfigRef config = YGConfigNew();
|
||||
YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true);
|
||||
|
||||
const YGNodeRef root = YGNodeNewWithConfig(config);
|
||||
YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute);
|
||||
@@ -2224,7 +2194,6 @@ TEST(YogaTest, flex_direction_column_reverse_pos_bottom) {
|
||||
|
||||
TEST(YogaTest, flex_direction_row_reverse_inner_pos_left) {
|
||||
const YGConfigRef config = YGConfigNew();
|
||||
YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true);
|
||||
|
||||
const YGNodeRef root = YGNodeNewWithConfig(config);
|
||||
YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute);
|
||||
@@ -2312,7 +2281,6 @@ TEST(YogaTest, flex_direction_row_reverse_inner_pos_left) {
|
||||
|
||||
TEST(YogaTest, flex_direction_row_reverse_inner_pos_right) {
|
||||
const YGConfigRef config = YGConfigNew();
|
||||
YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true);
|
||||
|
||||
const YGNodeRef root = YGNodeNewWithConfig(config);
|
||||
YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute);
|
||||
@@ -2400,7 +2368,6 @@ TEST(YogaTest, flex_direction_row_reverse_inner_pos_right) {
|
||||
|
||||
TEST(YogaTest, flex_direction_col_reverse_inner_pos_top) {
|
||||
const YGConfigRef config = YGConfigNew();
|
||||
YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true);
|
||||
|
||||
const YGNodeRef root = YGNodeNewWithConfig(config);
|
||||
YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute);
|
||||
@@ -2488,7 +2455,6 @@ TEST(YogaTest, flex_direction_col_reverse_inner_pos_top) {
|
||||
|
||||
TEST(YogaTest, flex_direction_col_reverse_inner_pos_bottom) {
|
||||
const YGConfigRef config = YGConfigNew();
|
||||
YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true);
|
||||
|
||||
const YGNodeRef root = YGNodeNewWithConfig(config);
|
||||
YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute);
|
||||
@@ -2578,7 +2544,6 @@ TEST(YogaTest, flex_direction_row_reverse_inner_pos_start) {
|
||||
GTEST_SKIP();
|
||||
|
||||
const YGConfigRef config = YGConfigNew();
|
||||
YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true);
|
||||
|
||||
const YGNodeRef root = YGNodeNewWithConfig(config);
|
||||
YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute);
|
||||
@@ -2668,7 +2633,6 @@ TEST(YogaTest, flex_direction_row_reverse_inner_pos_end) {
|
||||
GTEST_SKIP();
|
||||
|
||||
const YGConfigRef config = YGConfigNew();
|
||||
YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true);
|
||||
|
||||
const YGNodeRef root = YGNodeNewWithConfig(config);
|
||||
YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute);
|
||||
@@ -2756,7 +2720,6 @@ TEST(YogaTest, flex_direction_row_reverse_inner_pos_end) {
|
||||
|
||||
TEST(YogaTest, flex_direction_row_reverse_inner_margin_left) {
|
||||
const YGConfigRef config = YGConfigNew();
|
||||
YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true);
|
||||
|
||||
const YGNodeRef root = YGNodeNewWithConfig(config);
|
||||
YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute);
|
||||
@@ -2844,7 +2807,6 @@ TEST(YogaTest, flex_direction_row_reverse_inner_margin_left) {
|
||||
|
||||
TEST(YogaTest, flex_direction_row_reverse_inner_margin_right) {
|
||||
const YGConfigRef config = YGConfigNew();
|
||||
YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true);
|
||||
|
||||
const YGNodeRef root = YGNodeNewWithConfig(config);
|
||||
YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute);
|
||||
@@ -2932,7 +2894,6 @@ TEST(YogaTest, flex_direction_row_reverse_inner_margin_right) {
|
||||
|
||||
TEST(YogaTest, flex_direction_col_reverse_inner_margin_top) {
|
||||
const YGConfigRef config = YGConfigNew();
|
||||
YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true);
|
||||
|
||||
const YGNodeRef root = YGNodeNewWithConfig(config);
|
||||
YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute);
|
||||
@@ -3020,7 +2981,6 @@ TEST(YogaTest, flex_direction_col_reverse_inner_margin_top) {
|
||||
|
||||
TEST(YogaTest, flex_direction_col_reverse_inner_margin_bottom) {
|
||||
const YGConfigRef config = YGConfigNew();
|
||||
YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true);
|
||||
|
||||
const YGNodeRef root = YGNodeNewWithConfig(config);
|
||||
YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute);
|
||||
@@ -3108,7 +3068,6 @@ TEST(YogaTest, flex_direction_col_reverse_inner_margin_bottom) {
|
||||
|
||||
TEST(YogaTest, flex_direction_row_reverse_inner_marign_start) {
|
||||
const YGConfigRef config = YGConfigNew();
|
||||
YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true);
|
||||
|
||||
const YGNodeRef root = YGNodeNewWithConfig(config);
|
||||
YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute);
|
||||
@@ -3196,7 +3155,6 @@ TEST(YogaTest, flex_direction_row_reverse_inner_marign_start) {
|
||||
|
||||
TEST(YogaTest, flex_direction_row_reverse_inner_margin_end) {
|
||||
const YGConfigRef config = YGConfigNew();
|
||||
YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true);
|
||||
|
||||
const YGNodeRef root = YGNodeNewWithConfig(config);
|
||||
YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute);
|
||||
@@ -3284,7 +3242,6 @@ TEST(YogaTest, flex_direction_row_reverse_inner_margin_end) {
|
||||
|
||||
TEST(YogaTest, flex_direction_row_reverse_inner_border_left) {
|
||||
const YGConfigRef config = YGConfigNew();
|
||||
YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true);
|
||||
|
||||
const YGNodeRef root = YGNodeNewWithConfig(config);
|
||||
YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute);
|
||||
@@ -3372,7 +3329,6 @@ TEST(YogaTest, flex_direction_row_reverse_inner_border_left) {
|
||||
|
||||
TEST(YogaTest, flex_direction_row_reverse_inner_border_right) {
|
||||
const YGConfigRef config = YGConfigNew();
|
||||
YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true);
|
||||
|
||||
const YGNodeRef root = YGNodeNewWithConfig(config);
|
||||
YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute);
|
||||
@@ -3460,7 +3416,6 @@ TEST(YogaTest, flex_direction_row_reverse_inner_border_right) {
|
||||
|
||||
TEST(YogaTest, flex_direction_col_reverse_inner_border_top) {
|
||||
const YGConfigRef config = YGConfigNew();
|
||||
YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true);
|
||||
|
||||
const YGNodeRef root = YGNodeNewWithConfig(config);
|
||||
YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute);
|
||||
@@ -3548,7 +3503,6 @@ TEST(YogaTest, flex_direction_col_reverse_inner_border_top) {
|
||||
|
||||
TEST(YogaTest, flex_direction_col_reverse_inner_border_bottom) {
|
||||
const YGConfigRef config = YGConfigNew();
|
||||
YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true);
|
||||
|
||||
const YGNodeRef root = YGNodeNewWithConfig(config);
|
||||
YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute);
|
||||
@@ -3636,7 +3590,6 @@ TEST(YogaTest, flex_direction_col_reverse_inner_border_bottom) {
|
||||
|
||||
TEST(YogaTest, flex_direction_row_reverse_inner_border_start) {
|
||||
const YGConfigRef config = YGConfigNew();
|
||||
YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true);
|
||||
|
||||
const YGNodeRef root = YGNodeNewWithConfig(config);
|
||||
YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute);
|
||||
@@ -3724,7 +3677,6 @@ TEST(YogaTest, flex_direction_row_reverse_inner_border_start) {
|
||||
|
||||
TEST(YogaTest, flex_direction_row_reverse_inner_border_end) {
|
||||
const YGConfigRef config = YGConfigNew();
|
||||
YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true);
|
||||
|
||||
const YGNodeRef root = YGNodeNewWithConfig(config);
|
||||
YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute);
|
||||
@@ -3812,7 +3764,6 @@ TEST(YogaTest, flex_direction_row_reverse_inner_border_end) {
|
||||
|
||||
TEST(YogaTest, flex_direction_row_reverse_inner_padding_left) {
|
||||
const YGConfigRef config = YGConfigNew();
|
||||
YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true);
|
||||
|
||||
const YGNodeRef root = YGNodeNewWithConfig(config);
|
||||
YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute);
|
||||
@@ -3900,7 +3851,6 @@ TEST(YogaTest, flex_direction_row_reverse_inner_padding_left) {
|
||||
|
||||
TEST(YogaTest, flex_direction_row_reverse_inner_padding_right) {
|
||||
const YGConfigRef config = YGConfigNew();
|
||||
YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true);
|
||||
|
||||
const YGNodeRef root = YGNodeNewWithConfig(config);
|
||||
YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute);
|
||||
@@ -3988,7 +3938,6 @@ TEST(YogaTest, flex_direction_row_reverse_inner_padding_right) {
|
||||
|
||||
TEST(YogaTest, flex_direction_col_reverse_inner_padding_top) {
|
||||
const YGConfigRef config = YGConfigNew();
|
||||
YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true);
|
||||
|
||||
const YGNodeRef root = YGNodeNewWithConfig(config);
|
||||
YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute);
|
||||
@@ -4076,7 +4025,6 @@ TEST(YogaTest, flex_direction_col_reverse_inner_padding_top) {
|
||||
|
||||
TEST(YogaTest, flex_direction_col_reverse_inner_padding_bottom) {
|
||||
const YGConfigRef config = YGConfigNew();
|
||||
YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true);
|
||||
|
||||
const YGNodeRef root = YGNodeNewWithConfig(config);
|
||||
YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute);
|
||||
@@ -4164,7 +4112,6 @@ TEST(YogaTest, flex_direction_col_reverse_inner_padding_bottom) {
|
||||
|
||||
TEST(YogaTest, flex_direction_row_reverse_inner_padding_start) {
|
||||
const YGConfigRef config = YGConfigNew();
|
||||
YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true);
|
||||
|
||||
const YGNodeRef root = YGNodeNewWithConfig(config);
|
||||
YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute);
|
||||
@@ -4252,7 +4199,6 @@ TEST(YogaTest, flex_direction_row_reverse_inner_padding_start) {
|
||||
|
||||
TEST(YogaTest, flex_direction_row_reverse_inner_padding_end) {
|
||||
const YGConfigRef config = YGConfigNew();
|
||||
YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true);
|
||||
|
||||
const YGNodeRef root = YGNodeNewWithConfig(config);
|
||||
YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute);
|
||||
|
Reference in New Issue
Block a user