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:
Joe Vilches
2024-01-18 21:22:05 -08:00
committed by Facebook GitHub Bot
parent 0bbfe4503d
commit f69a1a43e5
73 changed files with 69 additions and 1825 deletions

View File

@@ -5,7 +5,7 @@
* LICENSE file in the root directory of this source tree.
*
* clang-format off
* @generated SignedSource<<7756efeafb66f705aecda51d7d361f2f>>
* @generated SignedSource<<00c7c9f10d513c97b4c00c9d52e52400>>
* generated by gentest/gentest-driver.ts from gentest/fixtures/YGAlignContentTest.html
*/
@@ -14,7 +14,6 @@
TEST(YogaTest, align_content_flex_start_nowrap) {
const YGConfigRef config = YGConfigNew();
YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true);
const YGNodeRef root = YGNodeNewWithConfig(config);
YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow);
@@ -72,7 +71,6 @@ TEST(YogaTest, align_content_flex_start_nowrap) {
TEST(YogaTest, align_content_flex_start_wrap) {
const YGConfigRef config = YGConfigNew();
YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true);
const YGNodeRef root = YGNodeNewWithConfig(config);
YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow);
@@ -176,7 +174,6 @@ TEST(YogaTest, align_content_flex_start_wrap) {
TEST(YogaTest, align_content_flex_start_wrap_singleline) {
const YGConfigRef config = YGConfigNew();
YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true);
const YGNodeRef root = YGNodeNewWithConfig(config);
YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow);
@@ -235,7 +232,6 @@ TEST(YogaTest, align_content_flex_start_wrap_singleline) {
TEST(YogaTest, align_content_flex_start_wrapped_negative_space) {
const YGConfigRef config = YGConfigNew();
YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true);
const YGNodeRef root = YGNodeNewWithConfig(config);
YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute);
@@ -328,7 +324,6 @@ TEST(YogaTest, align_content_flex_start_wrapped_negative_space) {
TEST(YogaTest, align_content_flex_start_wrapped_negative_space_gap) {
const YGConfigRef config = YGConfigNew();
YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true);
const YGNodeRef root = YGNodeNewWithConfig(config);
YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute);
@@ -423,7 +418,6 @@ TEST(YogaTest, align_content_flex_start_wrapped_negative_space_gap) {
TEST(YogaTest, align_content_flex_start_without_height_on_children) {
const YGConfigRef config = YGConfigNew();
YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true);
const YGNodeRef root = YGNodeNewWithConfig(config);
YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute);
@@ -523,7 +517,6 @@ TEST(YogaTest, align_content_flex_start_without_height_on_children) {
TEST(YogaTest, align_content_flex_start_with_flex) {
const YGConfigRef config = YGConfigNew();
YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true);
const YGNodeRef root = YGNodeNewWithConfig(config);
YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute);
@@ -629,7 +622,6 @@ TEST(YogaTest, align_content_flex_start_with_flex) {
TEST(YogaTest, align_content_flex_end_nowrap) {
const YGConfigRef config = YGConfigNew();
YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true);
const YGNodeRef root = YGNodeNewWithConfig(config);
YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow);
@@ -688,7 +680,6 @@ TEST(YogaTest, align_content_flex_end_nowrap) {
TEST(YogaTest, align_content_flex_end_wrap) {
const YGConfigRef config = YGConfigNew();
YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true);
const YGNodeRef root = YGNodeNewWithConfig(config);
YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow);
@@ -793,7 +784,6 @@ TEST(YogaTest, align_content_flex_end_wrap) {
TEST(YogaTest, align_content_flex_end_wrap_singleline) {
const YGConfigRef config = YGConfigNew();
YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true);
const YGNodeRef root = YGNodeNewWithConfig(config);
YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow);
@@ -853,7 +843,6 @@ TEST(YogaTest, align_content_flex_end_wrap_singleline) {
TEST(YogaTest, align_content_flex_end_wrapped_negative_space) {
const YGConfigRef config = YGConfigNew();
YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true);
const YGNodeRef root = YGNodeNewWithConfig(config);
YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute);
@@ -947,7 +936,6 @@ TEST(YogaTest, align_content_flex_end_wrapped_negative_space) {
TEST(YogaTest, align_content_flex_end_wrapped_negative_space_gap) {
const YGConfigRef config = YGConfigNew();
YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true);
const YGNodeRef root = YGNodeNewWithConfig(config);
YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute);
@@ -1043,7 +1031,6 @@ TEST(YogaTest, align_content_flex_end_wrapped_negative_space_gap) {
TEST(YogaTest, align_content_center_nowrap) {
const YGConfigRef config = YGConfigNew();
YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true);
const YGNodeRef root = YGNodeNewWithConfig(config);
YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow);
@@ -1102,7 +1089,6 @@ TEST(YogaTest, align_content_center_nowrap) {
TEST(YogaTest, align_content_center_wrap) {
const YGConfigRef config = YGConfigNew();
YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true);
const YGNodeRef root = YGNodeNewWithConfig(config);
YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow);
@@ -1207,7 +1193,6 @@ TEST(YogaTest, align_content_center_wrap) {
TEST(YogaTest, align_content_center_wrap_singleline) {
const YGConfigRef config = YGConfigNew();
YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true);
const YGNodeRef root = YGNodeNewWithConfig(config);
YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow);
@@ -1267,7 +1252,6 @@ TEST(YogaTest, align_content_center_wrap_singleline) {
TEST(YogaTest, align_content_center_wrapped_negative_space) {
const YGConfigRef config = YGConfigNew();
YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true);
const YGNodeRef root = YGNodeNewWithConfig(config);
YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute);
@@ -1361,7 +1345,6 @@ TEST(YogaTest, align_content_center_wrapped_negative_space) {
TEST(YogaTest, align_content_center_wrapped_negative_space_gap) {
const YGConfigRef config = YGConfigNew();
YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true);
const YGNodeRef root = YGNodeNewWithConfig(config);
YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute);
@@ -1457,7 +1440,6 @@ TEST(YogaTest, align_content_center_wrapped_negative_space_gap) {
TEST(YogaTest, align_content_space_between_nowrap) {
const YGConfigRef config = YGConfigNew();
YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true);
const YGNodeRef root = YGNodeNewWithConfig(config);
YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow);
@@ -1516,7 +1498,6 @@ TEST(YogaTest, align_content_space_between_nowrap) {
TEST(YogaTest, align_content_space_between_wrap) {
const YGConfigRef config = YGConfigNew();
YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true);
const YGNodeRef root = YGNodeNewWithConfig(config);
YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow);
@@ -1621,7 +1602,6 @@ TEST(YogaTest, align_content_space_between_wrap) {
TEST(YogaTest, align_content_space_between_wrap_singleline) {
const YGConfigRef config = YGConfigNew();
YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true);
const YGNodeRef root = YGNodeNewWithConfig(config);
YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow);
@@ -1681,7 +1661,6 @@ TEST(YogaTest, align_content_space_between_wrap_singleline) {
TEST(YogaTest, align_content_space_between_wrapped_negative_space) {
const YGConfigRef config = YGConfigNew();
YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true);
const YGNodeRef root = YGNodeNewWithConfig(config);
YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute);
@@ -1775,7 +1754,6 @@ TEST(YogaTest, align_content_space_between_wrapped_negative_space) {
TEST(YogaTest, align_content_space_between_wrapped_negative_space_gap) {
const YGConfigRef config = YGConfigNew();
YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true);
const YGNodeRef root = YGNodeNewWithConfig(config);
YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute);
@@ -1871,7 +1849,6 @@ TEST(YogaTest, align_content_space_between_wrapped_negative_space_gap) {
TEST(YogaTest, align_content_space_around_nowrap) {
const YGConfigRef config = YGConfigNew();
YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true);
const YGNodeRef root = YGNodeNewWithConfig(config);
YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow);
@@ -1930,7 +1907,6 @@ TEST(YogaTest, align_content_space_around_nowrap) {
TEST(YogaTest, align_content_space_around_wrap) {
const YGConfigRef config = YGConfigNew();
YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true);
const YGNodeRef root = YGNodeNewWithConfig(config);
YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow);
@@ -2035,7 +2011,6 @@ TEST(YogaTest, align_content_space_around_wrap) {
TEST(YogaTest, align_content_space_around_wrap_singleline) {
const YGConfigRef config = YGConfigNew();
YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true);
const YGNodeRef root = YGNodeNewWithConfig(config);
YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow);
@@ -2095,7 +2070,6 @@ TEST(YogaTest, align_content_space_around_wrap_singleline) {
TEST(YogaTest, align_content_space_around_wrapped_negative_space) {
const YGConfigRef config = YGConfigNew();
YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true);
const YGNodeRef root = YGNodeNewWithConfig(config);
YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute);
@@ -2189,7 +2163,6 @@ TEST(YogaTest, align_content_space_around_wrapped_negative_space) {
TEST(YogaTest, align_content_space_around_wrapped_negative_space_gap) {
const YGConfigRef config = YGConfigNew();
YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true);
const YGNodeRef root = YGNodeNewWithConfig(config);
YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute);
@@ -2285,7 +2258,6 @@ TEST(YogaTest, align_content_space_around_wrapped_negative_space_gap) {
TEST(YogaTest, align_content_space_evenly_nowrap) {
const YGConfigRef config = YGConfigNew();
YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true);
const YGNodeRef root = YGNodeNewWithConfig(config);
YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow);
@@ -2344,7 +2316,6 @@ TEST(YogaTest, align_content_space_evenly_nowrap) {
TEST(YogaTest, align_content_space_evenly_wrap) {
const YGConfigRef config = YGConfigNew();
YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true);
const YGNodeRef root = YGNodeNewWithConfig(config);
YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow);
@@ -2449,7 +2420,6 @@ TEST(YogaTest, align_content_space_evenly_wrap) {
TEST(YogaTest, align_content_space_evenly_wrap_singleline) {
const YGConfigRef config = YGConfigNew();
YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true);
const YGNodeRef root = YGNodeNewWithConfig(config);
YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow);
@@ -2509,7 +2479,6 @@ TEST(YogaTest, align_content_space_evenly_wrap_singleline) {
TEST(YogaTest, align_content_space_evenly_wrapped_negative_space) {
const YGConfigRef config = YGConfigNew();
YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true);
const YGNodeRef root = YGNodeNewWithConfig(config);
YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute);
@@ -2603,7 +2572,6 @@ TEST(YogaTest, align_content_space_evenly_wrapped_negative_space) {
TEST(YogaTest, align_content_space_evenly_wrapped_negative_space_gap) {
const YGConfigRef config = YGConfigNew();
YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true);
const YGNodeRef root = YGNodeNewWithConfig(config);
YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute);
@@ -2699,7 +2667,6 @@ TEST(YogaTest, align_content_space_evenly_wrapped_negative_space_gap) {
TEST(YogaTest, align_content_stretch) {
const YGConfigRef config = YGConfigNew();
YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true);
const YGNodeRef root = YGNodeNewWithConfig(config);
YGNodeStyleSetAlignContent(root, YGAlignStretch);
@@ -2798,7 +2765,6 @@ TEST(YogaTest, align_content_stretch) {
TEST(YogaTest, align_content_stretch_row) {
const YGConfigRef config = YGConfigNew();
YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true);
const YGNodeRef root = YGNodeNewWithConfig(config);
YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow);
@@ -2898,7 +2864,6 @@ TEST(YogaTest, align_content_stretch_row) {
TEST(YogaTest, align_content_stretch_row_with_children) {
const YGConfigRef config = YGConfigNew();
YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true);
const YGNodeRef root = YGNodeNewWithConfig(config);
YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow);
@@ -3014,7 +2979,6 @@ TEST(YogaTest, align_content_stretch_row_with_children) {
TEST(YogaTest, align_content_stretch_row_with_flex) {
const YGConfigRef config = YGConfigNew();
YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true);
const YGNodeRef root = YGNodeNewWithConfig(config);
YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow);
@@ -3120,7 +3084,6 @@ TEST(YogaTest, align_content_stretch_row_with_flex) {
TEST(YogaTest, align_content_stretch_row_with_flex_no_shrink) {
const YGConfigRef config = YGConfigNew();
YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true);
const YGNodeRef root = YGNodeNewWithConfig(config);
YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow);
@@ -3225,7 +3188,6 @@ TEST(YogaTest, align_content_stretch_row_with_flex_no_shrink) {
TEST(YogaTest, align_content_stretch_row_with_margin) {
const YGConfigRef config = YGConfigNew();
YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true);
const YGNodeRef root = YGNodeNewWithConfig(config);
YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow);
@@ -3333,7 +3295,6 @@ TEST(YogaTest, align_content_stretch_row_with_margin) {
TEST(YogaTest, align_content_stretch_row_with_padding) {
const YGConfigRef config = YGConfigNew();
YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true);
const YGNodeRef root = YGNodeNewWithConfig(config);
YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow);
@@ -3441,7 +3402,6 @@ TEST(YogaTest, align_content_stretch_row_with_padding) {
TEST(YogaTest, align_content_stretch_row_with_single_row) {
const YGConfigRef config = YGConfigNew();
YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true);
const YGNodeRef root = YGNodeNewWithConfig(config);
YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow);
@@ -3499,7 +3459,6 @@ TEST(YogaTest, align_content_stretch_row_with_single_row) {
TEST(YogaTest, align_content_stretch_row_with_fixed_height) {
const YGConfigRef config = YGConfigNew();
YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true);
const YGNodeRef root = YGNodeNewWithConfig(config);
YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow);
@@ -3600,7 +3559,6 @@ TEST(YogaTest, align_content_stretch_row_with_fixed_height) {
TEST(YogaTest, align_content_stretch_row_with_max_height) {
const YGConfigRef config = YGConfigNew();
YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true);
const YGNodeRef root = YGNodeNewWithConfig(config);
YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow);
@@ -3701,7 +3659,6 @@ TEST(YogaTest, align_content_stretch_row_with_max_height) {
TEST(YogaTest, align_content_stretch_row_with_min_height) {
const YGConfigRef config = YGConfigNew();
YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true);
const YGNodeRef root = YGNodeNewWithConfig(config);
YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow);
@@ -3802,7 +3759,6 @@ TEST(YogaTest, align_content_stretch_row_with_min_height) {
TEST(YogaTest, align_content_stretch_column) {
const YGConfigRef config = YGConfigNew();
YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true);
const YGNodeRef root = YGNodeNewWithConfig(config);
YGNodeStyleSetAlignContent(root, YGAlignStretch);
@@ -3920,7 +3876,6 @@ TEST(YogaTest, align_content_stretch_column) {
TEST(YogaTest, align_content_stretch_is_not_overriding_align_items) {
const YGConfigRef config = YGConfigNew();
YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true);
const YGNodeRef root = YGNodeNewWithConfig(config);
YGNodeStyleSetAlignContent(root, YGAlignStretch);
@@ -3980,7 +3935,6 @@ TEST(YogaTest, align_content_stretch_is_not_overriding_align_items) {
TEST(YogaTest, align_content_stretch_with_min_cross_axis) {
const YGConfigRef config = YGConfigNew();
YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true);
const YGNodeRef root = YGNodeNewWithConfig(config);
YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow);
@@ -4040,7 +3994,6 @@ TEST(YogaTest, align_content_stretch_with_min_cross_axis) {
TEST(YogaTest, align_content_stretch_with_max_cross_axis) {
const YGConfigRef config = YGConfigNew();
YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true);
const YGNodeRef root = YGNodeNewWithConfig(config);
YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow);
@@ -4100,7 +4053,6 @@ TEST(YogaTest, align_content_stretch_with_max_cross_axis) {
TEST(YogaTest, align_content_stretch_with_max_cross_axis_and_border_padding) {
const YGConfigRef config = YGConfigNew();
YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true);
const YGNodeRef root = YGNodeNewWithConfig(config);
YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow);
@@ -4168,7 +4120,6 @@ TEST(YogaTest, align_content_stretch_with_max_cross_axis_and_border_padding) {
TEST(YogaTest, align_content_space_evenly_with_min_cross_axis) {
const YGConfigRef config = YGConfigNew();
YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true);
const YGNodeRef root = YGNodeNewWithConfig(config);
YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow);
@@ -4228,7 +4179,6 @@ TEST(YogaTest, align_content_space_evenly_with_min_cross_axis) {
TEST(YogaTest, align_content_space_evenly_with_max_cross_axis) {
const YGConfigRef config = YGConfigNew();
YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true);
const YGNodeRef root = YGNodeNewWithConfig(config);
YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow);
@@ -4288,7 +4238,6 @@ TEST(YogaTest, align_content_space_evenly_with_max_cross_axis) {
TEST(YogaTest, align_content_space_evenly_with_max_cross_axis_violated) {
const YGConfigRef config = YGConfigNew();
YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true);
const YGNodeRef root = YGNodeNewWithConfig(config);
YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow);
@@ -4348,7 +4297,6 @@ TEST(YogaTest, align_content_space_evenly_with_max_cross_axis_violated) {
TEST(YogaTest, align_content_space_evenly_with_max_cross_axis_violated_padding_and_border) {
const YGConfigRef config = YGConfigNew();
YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true);
const YGNodeRef root = YGNodeNewWithConfig(config);
YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow);
@@ -4416,7 +4364,6 @@ TEST(YogaTest, align_content_space_evenly_with_max_cross_axis_violated_padding_a
TEST(YogaTest, align_content_space_around_and_align_items_flex_end_with_flex_wrap) {
const YGConfigRef config = YGConfigNew();
YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true);
const YGNodeRef root = YGNodeNewWithConfig(config);
YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow);
@@ -4492,7 +4439,6 @@ TEST(YogaTest, align_content_space_around_and_align_items_flex_end_with_flex_wra
TEST(YogaTest, align_content_space_around_and_align_items_center_with_flex_wrap) {
const YGConfigRef config = YGConfigNew();
YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true);
const YGNodeRef root = YGNodeNewWithConfig(config);
YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow);
@@ -4568,7 +4514,6 @@ TEST(YogaTest, align_content_space_around_and_align_items_center_with_flex_wrap)
TEST(YogaTest, align_content_space_around_and_align_items_flex_start_with_flex_wrap) {
const YGConfigRef config = YGConfigNew();
YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true);
const YGNodeRef root = YGNodeNewWithConfig(config);
YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow);
@@ -4644,7 +4589,6 @@ TEST(YogaTest, align_content_space_around_and_align_items_flex_start_with_flex_w
TEST(YogaTest, align_content_flex_start_stretch_doesnt_influence_line_box_dim) {
const YGConfigRef config = YGConfigNew();
YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true);
const YGNodeRef root = YGNodeNewWithConfig(config);
YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow);
@@ -4804,7 +4748,6 @@ TEST(YogaTest, align_content_flex_start_stretch_doesnt_influence_line_box_dim) {
TEST(YogaTest, align_content_stretch_stretch_does_influence_line_box_dim) {
const YGConfigRef config = YGConfigNew();
YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true);
const YGNodeRef root = YGNodeNewWithConfig(config);
YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow);
@@ -4965,7 +4908,6 @@ TEST(YogaTest, align_content_stretch_stretch_does_influence_line_box_dim) {
TEST(YogaTest, align_content_space_evenly_stretch_does_influence_line_box_dim) {
const YGConfigRef config = YGConfigNew();
YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true);
const YGNodeRef root = YGNodeNewWithConfig(config);
YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow);