diff --git a/enums.py b/enums.py index b494222a..d5595b5e 100755 --- a/enums.py +++ b/enums.py @@ -52,8 +52,6 @@ ENUMS = { "ExperimentalFeature": [ # Mimic web flex-basis behavior (experiment may be broken) "WebFlexBasis", - # Conformance fix: https://github.com/facebook/yoga/pull/1028 - "AbsolutePercentageAgainstPaddingEdge", ], "PrintOptions": [ ("Layout", 1 << 0), diff --git a/gentest/gentest.js b/gentest/gentest.js index e7495234..8223a0ef 100755 --- a/gentest/gentest.js +++ b/gentest/gentest.js @@ -8,8 +8,6 @@ /* eslint-env browser */ /* global CPPEmitter:readable, JavaEmitter:readable, JavascriptEmitter:readable */ -const DEFAULT_EXPERIMENTS = ['AbsolutePercentageAgainstPaddingEdge']; - const INVISIBLE_BORDER_STYLES = ['none', 'initial']; window.onload = function () { @@ -723,7 +721,7 @@ function calculateTree(root, parentOffsetLeft, parentOffsetTop) { rawStyle: child.getAttribute('style'), experiments: child.dataset.experiments ? child.dataset.experiments.split(' ') - : DEFAULT_EXPERIMENTS, + : [], disabled: child.dataset.disabled === 'true', }; diff --git a/java/com/facebook/yoga/YogaExperimentalFeature.java b/java/com/facebook/yoga/YogaExperimentalFeature.java index a9e621ef..3fabbb91 100644 --- a/java/com/facebook/yoga/YogaExperimentalFeature.java +++ b/java/com/facebook/yoga/YogaExperimentalFeature.java @@ -10,8 +10,7 @@ package com.facebook.yoga; public enum YogaExperimentalFeature { - WEB_FLEX_BASIS(0), - ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE(1); + WEB_FLEX_BASIS(0); private final int mIntValue; @@ -26,7 +25,6 @@ public enum YogaExperimentalFeature { public static YogaExperimentalFeature fromInt(int value) { switch (value) { case 0: return WEB_FLEX_BASIS; - case 1: return ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE; default: throw new IllegalArgumentException("Unknown enum value: " + value); } } diff --git a/java/tests/com/facebook/yoga/YGAbsolutePositionTest.java b/java/tests/com/facebook/yoga/YGAbsolutePositionTest.java index 333992b2..3978f630 100644 --- a/java/tests/com/facebook/yoga/YGAbsolutePositionTest.java +++ b/java/tests/com/facebook/yoga/YGAbsolutePositionTest.java @@ -4,7 +4,7 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @generated SignedSource<> + * @generated SignedSource<<655bad05f0830b5ea39b80b01b0e5e9c>> * generated by gentest/gentest-driver.ts from gentest/fixtures/YGAbsolutePositionTest.html */ @@ -29,7 +29,6 @@ public class YGAbsolutePositionTest { @Test public void test_absolute_layout_width_height_start_top() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -73,7 +72,6 @@ public class YGAbsolutePositionTest { @Test public void test_absolute_layout_width_height_end_bottom() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -117,7 +115,6 @@ public class YGAbsolutePositionTest { @Test public void test_absolute_layout_start_top_end_bottom() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -161,7 +158,6 @@ public class YGAbsolutePositionTest { @Test public void test_absolute_layout_width_height_start_top_end_bottom() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -207,7 +203,6 @@ public class YGAbsolutePositionTest { @Test public void test_do_not_clamp_height_of_absolute_node_to_height_of_its_overflow_hidden_parent() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -266,7 +261,6 @@ public class YGAbsolutePositionTest { @Test public void test_absolute_layout_within_border() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -384,7 +378,6 @@ public class YGAbsolutePositionTest { @Test public void test_absolute_layout_align_items_and_justify_content_center() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setJustifyContent(YogaJustify.CENTER); @@ -429,7 +422,6 @@ public class YGAbsolutePositionTest { @Test public void test_absolute_layout_align_items_and_justify_content_flex_end() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setJustifyContent(YogaJustify.FLEX_END); @@ -474,7 +466,6 @@ public class YGAbsolutePositionTest { @Test public void test_absolute_layout_justify_content_center() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setJustifyContent(YogaJustify.CENTER); @@ -518,7 +509,6 @@ public class YGAbsolutePositionTest { @Test public void test_absolute_layout_align_items_center() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setAlignItems(YogaAlign.CENTER); @@ -562,7 +552,6 @@ public class YGAbsolutePositionTest { @Test public void test_absolute_layout_align_items_center_on_child_only() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -606,7 +595,6 @@ public class YGAbsolutePositionTest { @Test public void test_absolute_layout_align_items_and_justify_content_center_and_top_position() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setJustifyContent(YogaJustify.CENTER); @@ -652,7 +640,6 @@ public class YGAbsolutePositionTest { @Test public void test_absolute_layout_align_items_and_justify_content_center_and_bottom_position() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setJustifyContent(YogaJustify.CENTER); @@ -698,7 +685,6 @@ public class YGAbsolutePositionTest { @Test public void test_absolute_layout_align_items_and_justify_content_center_and_left_position() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setJustifyContent(YogaJustify.CENTER); @@ -744,7 +730,6 @@ public class YGAbsolutePositionTest { @Test public void test_absolute_layout_align_items_and_justify_content_center_and_right_position() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setJustifyContent(YogaJustify.CENTER); @@ -790,7 +775,6 @@ public class YGAbsolutePositionTest { @Test public void test_position_root_with_rtl_should_position_withoutdirection() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -817,7 +801,6 @@ public class YGAbsolutePositionTest { @Test public void test_absolute_layout_percentage_bottom_based_on_parent_height() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -894,7 +877,6 @@ public class YGAbsolutePositionTest { @Test public void test_absolute_layout_in_wrap_reverse_column_container() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -937,7 +919,6 @@ public class YGAbsolutePositionTest { @Test public void test_absolute_layout_in_wrap_reverse_row_container() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -981,7 +962,6 @@ public class YGAbsolutePositionTest { @Test public void test_absolute_layout_in_wrap_reverse_column_container_flex_end() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -1025,7 +1005,6 @@ public class YGAbsolutePositionTest { @Test public void test_absolute_layout_in_wrap_reverse_row_container_flex_end() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -1070,7 +1049,6 @@ public class YGAbsolutePositionTest { @Test public void test_percent_absolute_position_infinite_height() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -1127,7 +1105,6 @@ public class YGAbsolutePositionTest { @Test public void test_absolute_layout_percentage_height_based_on_padded_parent() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -1171,7 +1148,6 @@ public class YGAbsolutePositionTest { @Test public void test_absolute_layout_percentage_height_based_on_padded_parent_and_align_items_center() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setJustifyContent(YogaJustify.CENTER); @@ -1216,7 +1192,6 @@ public class YGAbsolutePositionTest { @Test public void test_absolute_layout_padding_left() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -1259,7 +1234,6 @@ public class YGAbsolutePositionTest { @Test public void test_absolute_layout_padding_right() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -1302,7 +1276,6 @@ public class YGAbsolutePositionTest { @Test public void test_absolute_layout_padding_top() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -1345,7 +1318,6 @@ public class YGAbsolutePositionTest { @Test public void test_absolute_layout_padding_bottom() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); diff --git a/java/tests/com/facebook/yoga/YGAlignContentTest.java b/java/tests/com/facebook/yoga/YGAlignContentTest.java index c2962491..b6cb839e 100644 --- a/java/tests/com/facebook/yoga/YGAlignContentTest.java +++ b/java/tests/com/facebook/yoga/YGAlignContentTest.java @@ -4,7 +4,7 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @generated SignedSource<<75aa9390813e51550d9760c37e59de0c>> + * @generated SignedSource<> * generated by gentest/gentest-driver.ts from gentest/fixtures/YGAlignContentTest.html */ @@ -29,7 +29,6 @@ public class YGAlignContentTest { @Test public void test_align_content_flex_start_nowrap() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -86,7 +85,6 @@ public class YGAlignContentTest { @Test public void test_align_content_flex_start_wrap() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -189,7 +187,6 @@ public class YGAlignContentTest { @Test public void test_align_content_flex_start_wrap_singleline() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -247,7 +244,6 @@ public class YGAlignContentTest { @Test public void test_align_content_flex_start_wrapped_negative_space() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -339,7 +335,6 @@ public class YGAlignContentTest { @Test public void test_align_content_flex_start_wrapped_negative_space_gap() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -433,7 +428,6 @@ public class YGAlignContentTest { @Test public void test_align_content_flex_start_without_height_on_children() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -532,7 +526,6 @@ public class YGAlignContentTest { @Test public void test_align_content_flex_start_with_flex() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -637,7 +630,6 @@ public class YGAlignContentTest { @Test public void test_align_content_flex_end_nowrap() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -695,7 +687,6 @@ public class YGAlignContentTest { @Test public void test_align_content_flex_end_wrap() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -799,7 +790,6 @@ public class YGAlignContentTest { @Test public void test_align_content_flex_end_wrap_singleline() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -858,7 +848,6 @@ public class YGAlignContentTest { @Test public void test_align_content_flex_end_wrapped_negative_space() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -951,7 +940,6 @@ public class YGAlignContentTest { @Test public void test_align_content_flex_end_wrapped_negative_space_gap() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -1046,7 +1034,6 @@ public class YGAlignContentTest { @Test public void test_align_content_center_nowrap() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -1104,7 +1091,6 @@ public class YGAlignContentTest { @Test public void test_align_content_center_wrap() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -1208,7 +1194,6 @@ public class YGAlignContentTest { @Test public void test_align_content_center_wrap_singleline() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -1267,7 +1252,6 @@ public class YGAlignContentTest { @Test public void test_align_content_center_wrapped_negative_space() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -1360,7 +1344,6 @@ public class YGAlignContentTest { @Test public void test_align_content_center_wrapped_negative_space_gap() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -1455,7 +1438,6 @@ public class YGAlignContentTest { @Test public void test_align_content_space_between_nowrap() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -1513,7 +1495,6 @@ public class YGAlignContentTest { @Test public void test_align_content_space_between_wrap() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -1617,7 +1598,6 @@ public class YGAlignContentTest { @Test public void test_align_content_space_between_wrap_singleline() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -1676,7 +1656,6 @@ public class YGAlignContentTest { @Test public void test_align_content_space_between_wrapped_negative_space() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -1769,7 +1748,6 @@ public class YGAlignContentTest { @Test public void test_align_content_space_between_wrapped_negative_space_gap() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -1864,7 +1842,6 @@ public class YGAlignContentTest { @Test public void test_align_content_space_around_nowrap() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -1922,7 +1899,6 @@ public class YGAlignContentTest { @Test public void test_align_content_space_around_wrap() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -2026,7 +2002,6 @@ public class YGAlignContentTest { @Test public void test_align_content_space_around_wrap_singleline() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -2085,7 +2060,6 @@ public class YGAlignContentTest { @Test public void test_align_content_space_around_wrapped_negative_space() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -2178,7 +2152,6 @@ public class YGAlignContentTest { @Test public void test_align_content_space_around_wrapped_negative_space_gap() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -2273,7 +2246,6 @@ public class YGAlignContentTest { @Test public void test_align_content_space_evenly_nowrap() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -2331,7 +2303,6 @@ public class YGAlignContentTest { @Test public void test_align_content_space_evenly_wrap() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -2435,7 +2406,6 @@ public class YGAlignContentTest { @Test public void test_align_content_space_evenly_wrap_singleline() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -2494,7 +2464,6 @@ public class YGAlignContentTest { @Test public void test_align_content_space_evenly_wrapped_negative_space() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -2587,7 +2556,6 @@ public class YGAlignContentTest { @Test public void test_align_content_space_evenly_wrapped_negative_space_gap() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -2682,7 +2650,6 @@ public class YGAlignContentTest { @Test public void test_align_content_stretch() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setAlignContent(YogaAlign.STRETCH); @@ -2780,7 +2747,6 @@ public class YGAlignContentTest { @Test public void test_align_content_stretch_row() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -2879,7 +2845,6 @@ public class YGAlignContentTest { @Test public void test_align_content_stretch_row_with_children() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -2994,7 +2959,6 @@ public class YGAlignContentTest { @Test public void test_align_content_stretch_row_with_flex() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -3099,7 +3063,6 @@ public class YGAlignContentTest { @Test public void test_align_content_stretch_row_with_flex_no_shrink() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -3203,7 +3166,6 @@ public class YGAlignContentTest { @Test public void test_align_content_stretch_row_with_margin() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -3310,7 +3272,6 @@ public class YGAlignContentTest { @Test public void test_align_content_stretch_row_with_padding() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -3417,7 +3378,6 @@ public class YGAlignContentTest { @Test public void test_align_content_stretch_row_with_single_row() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -3474,7 +3434,6 @@ public class YGAlignContentTest { @Test public void test_align_content_stretch_row_with_fixed_height() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -3574,7 +3533,6 @@ public class YGAlignContentTest { @Test public void test_align_content_stretch_row_with_max_height() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -3674,7 +3632,6 @@ public class YGAlignContentTest { @Test public void test_align_content_stretch_row_with_min_height() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -3774,7 +3731,6 @@ public class YGAlignContentTest { @Test public void test_align_content_stretch_column() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setAlignContent(YogaAlign.STRETCH); @@ -3891,7 +3847,6 @@ public class YGAlignContentTest { @Test public void test_align_content_stretch_is_not_overriding_align_items() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setAlignContent(YogaAlign.STRETCH); @@ -3950,7 +3905,6 @@ public class YGAlignContentTest { @Test public void test_align_content_stretch_with_min_cross_axis() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -4009,7 +3963,6 @@ public class YGAlignContentTest { @Test public void test_align_content_stretch_with_max_cross_axis() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -4068,7 +4021,6 @@ public class YGAlignContentTest { @Test public void test_align_content_stretch_with_max_cross_axis_and_border_padding() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -4135,7 +4087,6 @@ public class YGAlignContentTest { @Test public void test_align_content_space_evenly_with_min_cross_axis() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -4194,7 +4145,6 @@ public class YGAlignContentTest { @Test public void test_align_content_space_evenly_with_max_cross_axis() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -4253,7 +4203,6 @@ public class YGAlignContentTest { @Test public void test_align_content_space_evenly_with_max_cross_axis_violated() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -4312,7 +4261,6 @@ public class YGAlignContentTest { @Test public void test_align_content_space_evenly_with_max_cross_axis_violated_padding_and_border() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -4379,7 +4327,6 @@ public class YGAlignContentTest { @Test public void test_align_content_space_around_and_align_items_flex_end_with_flex_wrap() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -4454,7 +4401,6 @@ public class YGAlignContentTest { @Test public void test_align_content_space_around_and_align_items_center_with_flex_wrap() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -4529,7 +4475,6 @@ public class YGAlignContentTest { @Test public void test_align_content_space_around_and_align_items_flex_start_with_flex_wrap() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -4604,7 +4549,6 @@ public class YGAlignContentTest { @Test public void test_align_content_flex_start_stretch_doesnt_influence_line_box_dim() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -4763,7 +4707,6 @@ public class YGAlignContentTest { @Test public void test_align_content_stretch_stretch_does_influence_line_box_dim() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -4923,7 +4866,6 @@ public class YGAlignContentTest { @Test public void test_align_content_space_evenly_stretch_does_influence_line_box_dim() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); diff --git a/java/tests/com/facebook/yoga/YGAlignItemsTest.java b/java/tests/com/facebook/yoga/YGAlignItemsTest.java index 07681d4c..5e1c1377 100644 --- a/java/tests/com/facebook/yoga/YGAlignItemsTest.java +++ b/java/tests/com/facebook/yoga/YGAlignItemsTest.java @@ -4,7 +4,7 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @generated SignedSource<> + * @generated SignedSource<<0b1894c4c0d67fd96c7fac6d482c5a5e>> * generated by gentest/gentest-driver.ts from gentest/fixtures/YGAlignItemsTest.html */ @@ -29,7 +29,6 @@ public class YGAlignItemsTest { @Test public void test_align_items_stretch() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -69,7 +68,6 @@ public class YGAlignItemsTest { @Test public void test_align_items_center() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setAlignItems(YogaAlign.CENTER); @@ -111,7 +109,6 @@ public class YGAlignItemsTest { @Test public void test_align_items_flex_start() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setAlignItems(YogaAlign.FLEX_START); @@ -153,7 +150,6 @@ public class YGAlignItemsTest { @Test public void test_align_items_flex_end() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setAlignItems(YogaAlign.FLEX_END); @@ -195,7 +191,6 @@ public class YGAlignItemsTest { @Test public void test_align_baseline() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -253,7 +248,6 @@ public class YGAlignItemsTest { @Test public void test_align_baseline_child() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -326,7 +320,6 @@ public class YGAlignItemsTest { @Test public void test_align_baseline_child_multiline() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -446,7 +439,6 @@ public class YGAlignItemsTest { @Test public void test_align_baseline_child_multiline_override() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -568,7 +560,6 @@ public class YGAlignItemsTest { @Test public void test_align_baseline_child_multiline_no_override_on_secondline() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -689,7 +680,6 @@ public class YGAlignItemsTest { @Test public void test_align_baseline_child_top() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -763,7 +753,6 @@ public class YGAlignItemsTest { @Test public void test_align_baseline_child_top2() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -837,7 +826,6 @@ public class YGAlignItemsTest { @Test public void test_align_baseline_double_nested_child() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -925,7 +913,6 @@ public class YGAlignItemsTest { @Test public void test_align_baseline_column() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setAlignItems(YogaAlign.BASELINE); @@ -982,7 +969,6 @@ public class YGAlignItemsTest { @Test public void test_align_baseline_child_margin() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -1063,7 +1049,6 @@ public class YGAlignItemsTest { @Test public void test_align_baseline_child_padding() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -1144,7 +1129,6 @@ public class YGAlignItemsTest { @Test public void test_align_baseline_multiline() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -1264,7 +1248,6 @@ public class YGAlignItemsTest { @Ignore public void test_align_baseline_multiline_column() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setAlignItems(YogaAlign.BASELINE); @@ -1383,7 +1366,6 @@ public class YGAlignItemsTest { @Ignore public void test_align_baseline_multiline_column2() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setAlignItems(YogaAlign.BASELINE); @@ -1501,7 +1483,6 @@ public class YGAlignItemsTest { @Test public void test_align_baseline_multiline_row_and_column() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -1620,7 +1601,6 @@ public class YGAlignItemsTest { @Test public void test_align_items_center_child_with_margin_bigger_than_parent() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setJustifyContent(YogaJustify.CENTER); @@ -1679,7 +1659,6 @@ public class YGAlignItemsTest { @Test public void test_align_items_flex_end_child_with_margin_bigger_than_parent() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setJustifyContent(YogaJustify.CENTER); @@ -1738,7 +1717,6 @@ public class YGAlignItemsTest { @Test public void test_align_items_center_child_without_margin_bigger_than_parent() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setJustifyContent(YogaJustify.CENTER); @@ -1795,7 +1773,6 @@ public class YGAlignItemsTest { @Test public void test_align_items_flex_end_child_without_margin_bigger_than_parent() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setJustifyContent(YogaJustify.CENTER); @@ -1852,7 +1829,6 @@ public class YGAlignItemsTest { @Test public void test_align_center_should_size_based_on_content() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setAlignItems(YogaAlign.CENTER); @@ -1925,7 +1901,6 @@ public class YGAlignItemsTest { @Test public void test_align_stretch_should_size_based_on_parent() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -1997,7 +1972,6 @@ public class YGAlignItemsTest { @Test public void test_align_flex_start_with_shrinking_children() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -2067,7 +2041,6 @@ public class YGAlignItemsTest { @Test public void test_align_flex_start_with_stretching_children() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -2136,7 +2109,6 @@ public class YGAlignItemsTest { @Test public void test_align_flex_start_with_shrinking_children_with_stretch() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); diff --git a/java/tests/com/facebook/yoga/YGAlignSelfTest.java b/java/tests/com/facebook/yoga/YGAlignSelfTest.java index 3aad127a..0750ec04 100644 --- a/java/tests/com/facebook/yoga/YGAlignSelfTest.java +++ b/java/tests/com/facebook/yoga/YGAlignSelfTest.java @@ -4,7 +4,7 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @generated SignedSource<<5701a3565a038ff7b212874ae092ae65>> + * @generated SignedSource<<473604215dcf5ee686799fe2c2dc2004>> * generated by gentest/gentest-driver.ts from gentest/fixtures/YGAlignSelfTest.html */ @@ -29,7 +29,6 @@ public class YGAlignSelfTest { @Test public void test_align_self_center() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -71,7 +70,6 @@ public class YGAlignSelfTest { @Test public void test_align_self_flex_end() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -113,7 +111,6 @@ public class YGAlignSelfTest { @Test public void test_align_self_flex_start() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -155,7 +152,6 @@ public class YGAlignSelfTest { @Test public void test_align_self_flex_end_override_flex_start() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setAlignItems(YogaAlign.FLEX_START); @@ -198,7 +194,6 @@ public class YGAlignSelfTest { @Test public void test_align_self_baseline() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); diff --git a/java/tests/com/facebook/yoga/YGAndroidNewsFeed.java b/java/tests/com/facebook/yoga/YGAndroidNewsFeed.java index ce6aa6f9..a779f2dd 100644 --- a/java/tests/com/facebook/yoga/YGAndroidNewsFeed.java +++ b/java/tests/com/facebook/yoga/YGAndroidNewsFeed.java @@ -4,7 +4,7 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @generated SignedSource<> + * @generated SignedSource<> * generated by gentest/gentest-driver.ts from gentest/fixtures/YGAndroidNewsFeed.html */ @@ -29,7 +29,6 @@ public class YGAndroidNewsFeed { @Test public void test_android_news_feed() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setAlignContent(YogaAlign.STRETCH); diff --git a/java/tests/com/facebook/yoga/YGAspectRatioTest.java b/java/tests/com/facebook/yoga/YGAspectRatioTest.java index fb645c63..0582ceb1 100644 --- a/java/tests/com/facebook/yoga/YGAspectRatioTest.java +++ b/java/tests/com/facebook/yoga/YGAspectRatioTest.java @@ -4,7 +4,7 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @generated SignedSource<<09a81ecf638d0330a6047ed77f1339d1>> + * @generated SignedSource<<474f52d92a8fc32c66d5b5c1cc446124>> * generated by gentest/gentest-driver.ts from gentest/fixtures/YGAspectRatioTest.html */ @@ -30,7 +30,6 @@ public class YGAspectRatioTest { @Ignore public void test_aspect_ratio_does_not_stretch_cross_axis_dim() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); diff --git a/java/tests/com/facebook/yoga/YGBorderTest.java b/java/tests/com/facebook/yoga/YGBorderTest.java index a3d4aa50..90703746 100644 --- a/java/tests/com/facebook/yoga/YGBorderTest.java +++ b/java/tests/com/facebook/yoga/YGBorderTest.java @@ -4,7 +4,7 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @generated SignedSource<> + * @generated SignedSource<> * generated by gentest/gentest-driver.ts from gentest/fixtures/YGBorderTest.html */ @@ -29,7 +29,6 @@ public class YGBorderTest { @Test public void test_border_no_size() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -57,7 +56,6 @@ public class YGBorderTest { @Test public void test_border_container_match_child() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -100,7 +98,6 @@ public class YGBorderTest { @Test public void test_border_flex_child() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -145,7 +142,6 @@ public class YGBorderTest { @Test public void test_border_stretch_child() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -189,7 +185,6 @@ public class YGBorderTest { @Test public void test_border_center_child() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setJustifyContent(YogaJustify.CENTER); diff --git a/java/tests/com/facebook/yoga/YGDimensionTest.java b/java/tests/com/facebook/yoga/YGDimensionTest.java index dc40f692..2d71ff7c 100644 --- a/java/tests/com/facebook/yoga/YGDimensionTest.java +++ b/java/tests/com/facebook/yoga/YGDimensionTest.java @@ -4,7 +4,7 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @generated SignedSource<<316725bbf2492ae22512c52b8a16d04a>> + * @generated SignedSource<<0f79d7debf11777b10de09656cb38147>> * generated by gentest/gentest-driver.ts from gentest/fixtures/YGDimensionTest.html */ @@ -29,7 +29,6 @@ public class YGDimensionTest { @Test public void test_wrap_child() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -68,7 +67,6 @@ public class YGDimensionTest { @Test public void test_wrap_grandchild() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); diff --git a/java/tests/com/facebook/yoga/YGDisplayTest.java b/java/tests/com/facebook/yoga/YGDisplayTest.java index 80633395..8492950c 100644 --- a/java/tests/com/facebook/yoga/YGDisplayTest.java +++ b/java/tests/com/facebook/yoga/YGDisplayTest.java @@ -4,7 +4,7 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @generated SignedSource<<9a56229657528d8dab1a82ef99aace64>> + * @generated SignedSource<> * generated by gentest/gentest-driver.ts from gentest/fixtures/YGDisplayTest.html */ @@ -29,7 +29,6 @@ public class YGDisplayTest { @Test public void test_display_none() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -85,7 +84,6 @@ public class YGDisplayTest { @Test public void test_display_none_fixed_size() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -142,7 +140,6 @@ public class YGDisplayTest { @Test public void test_display_none_with_margin() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -203,7 +200,6 @@ public class YGDisplayTest { @Test public void test_display_none_with_child() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -296,7 +292,6 @@ public class YGDisplayTest { @Test public void test_display_none_with_position() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -353,7 +348,6 @@ public class YGDisplayTest { @Test public void test_display_none_with_position_absolute() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); diff --git a/java/tests/com/facebook/yoga/YGFlexDirectionTest.java b/java/tests/com/facebook/yoga/YGFlexDirectionTest.java index 55e09a4d..2e8561ee 100644 --- a/java/tests/com/facebook/yoga/YGFlexDirectionTest.java +++ b/java/tests/com/facebook/yoga/YGFlexDirectionTest.java @@ -4,7 +4,7 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @generated SignedSource<> + * @generated SignedSource<<4007f83eb3e84f3ee3fcf46d6d7be3bc>> * generated by gentest/gentest-driver.ts from gentest/fixtures/YGFlexDirectionTest.html */ @@ -29,7 +29,6 @@ public class YGFlexDirectionTest { @Test public void test_flex_direction_column_no_height() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -96,7 +95,6 @@ public class YGFlexDirectionTest { @Test public void test_flex_direction_row_no_width() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -164,7 +162,6 @@ public class YGFlexDirectionTest { @Test public void test_flex_direction_column() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -232,7 +229,6 @@ public class YGFlexDirectionTest { @Test public void test_flex_direction_row() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -301,7 +297,6 @@ public class YGFlexDirectionTest { @Test public void test_flex_direction_column_reverse() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.COLUMN_REVERSE); @@ -370,7 +365,6 @@ public class YGFlexDirectionTest { @Test public void test_flex_direction_row_reverse() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW_REVERSE); @@ -439,7 +433,6 @@ public class YGFlexDirectionTest { @Test public void test_flex_direction_row_reverse_margin_left() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW_REVERSE); @@ -509,7 +502,6 @@ public class YGFlexDirectionTest { @Test public void test_flex_direction_row_reverse_margin_start() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW_REVERSE); @@ -579,7 +571,6 @@ public class YGFlexDirectionTest { @Test public void test_flex_direction_row_reverse_margin_right() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW_REVERSE); @@ -649,7 +640,6 @@ public class YGFlexDirectionTest { @Test public void test_flex_direction_row_reverse_margin_end() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW_REVERSE); @@ -719,7 +709,6 @@ public class YGFlexDirectionTest { @Test public void test_flex_direction_column_reverse_margin_top() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.COLUMN_REVERSE); @@ -789,7 +778,6 @@ public class YGFlexDirectionTest { @Test public void test_flex_direction_column_reverse_margin_bottom() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.COLUMN_REVERSE); @@ -859,7 +847,6 @@ public class YGFlexDirectionTest { @Test public void test_flex_direction_row_reverse_padding_left() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW_REVERSE); @@ -929,7 +916,6 @@ public class YGFlexDirectionTest { @Test public void test_flex_direction_row_reverse_padding_start() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW_REVERSE); @@ -999,7 +985,6 @@ public class YGFlexDirectionTest { @Test public void test_flex_direction_row_reverse_padding_right() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW_REVERSE); @@ -1069,7 +1054,6 @@ public class YGFlexDirectionTest { @Test public void test_flex_direction_row_reverse_padding_end() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW_REVERSE); @@ -1139,7 +1123,6 @@ public class YGFlexDirectionTest { @Test public void test_flex_direction_column_reverse_padding_top() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.COLUMN_REVERSE); @@ -1209,7 +1192,6 @@ public class YGFlexDirectionTest { @Test public void test_flex_direction_column_reverse_padding_bottom() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.COLUMN_REVERSE); @@ -1279,7 +1261,6 @@ public class YGFlexDirectionTest { @Test public void test_flex_direction_row_reverse_border_left() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW_REVERSE); @@ -1349,7 +1330,6 @@ public class YGFlexDirectionTest { @Test public void test_flex_direction_row_reverse_border_start() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW_REVERSE); @@ -1419,7 +1399,6 @@ public class YGFlexDirectionTest { @Test public void test_flex_direction_row_reverse_border_right() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW_REVERSE); @@ -1489,7 +1468,6 @@ public class YGFlexDirectionTest { @Test public void test_flex_direction_row_reverse_border_end() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW_REVERSE); @@ -1559,7 +1537,6 @@ public class YGFlexDirectionTest { @Test public void test_flex_direction_column_reverse_border_top() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.COLUMN_REVERSE); @@ -1629,7 +1606,6 @@ public class YGFlexDirectionTest { @Test public void test_flex_direction_column_reverse_border_bottom() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.COLUMN_REVERSE); @@ -1699,7 +1675,6 @@ public class YGFlexDirectionTest { @Test public void test_flex_direction_row_reverse_pos_left() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -1784,7 +1759,6 @@ public class YGFlexDirectionTest { @Test public void test_flex_direction_row_reverse_pos_start() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -1869,7 +1843,6 @@ public class YGFlexDirectionTest { @Test public void test_flex_direction_row_reverse_pos_right() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -1954,7 +1927,6 @@ public class YGFlexDirectionTest { @Test public void test_flex_direction_row_reverse_pos_end() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -2039,7 +2011,6 @@ public class YGFlexDirectionTest { @Test public void test_flex_direction_column_reverse_pos_top() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -2124,7 +2095,6 @@ public class YGFlexDirectionTest { @Test public void test_flex_direction_column_reverse_pos_bottom() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -2209,7 +2179,6 @@ public class YGFlexDirectionTest { @Test public void test_flex_direction_row_reverse_inner_pos_left() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -2296,7 +2265,6 @@ public class YGFlexDirectionTest { @Test public void test_flex_direction_row_reverse_inner_pos_right() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -2383,7 +2351,6 @@ public class YGFlexDirectionTest { @Test public void test_flex_direction_col_reverse_inner_pos_top() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -2470,7 +2437,6 @@ public class YGFlexDirectionTest { @Test public void test_flex_direction_col_reverse_inner_pos_bottom() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -2558,7 +2524,6 @@ public class YGFlexDirectionTest { @Ignore public void test_flex_direction_row_reverse_inner_pos_start() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -2646,7 +2611,6 @@ public class YGFlexDirectionTest { @Ignore public void test_flex_direction_row_reverse_inner_pos_end() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -2733,7 +2697,6 @@ public class YGFlexDirectionTest { @Test public void test_flex_direction_row_reverse_inner_margin_left() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -2820,7 +2783,6 @@ public class YGFlexDirectionTest { @Test public void test_flex_direction_row_reverse_inner_margin_right() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -2907,7 +2869,6 @@ public class YGFlexDirectionTest { @Test public void test_flex_direction_col_reverse_inner_margin_top() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -2994,7 +2955,6 @@ public class YGFlexDirectionTest { @Test public void test_flex_direction_col_reverse_inner_margin_bottom() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -3081,7 +3041,6 @@ public class YGFlexDirectionTest { @Test public void test_flex_direction_row_reverse_inner_marign_start() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -3168,7 +3127,6 @@ public class YGFlexDirectionTest { @Test public void test_flex_direction_row_reverse_inner_margin_end() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -3255,7 +3213,6 @@ public class YGFlexDirectionTest { @Test public void test_flex_direction_row_reverse_inner_border_left() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -3342,7 +3299,6 @@ public class YGFlexDirectionTest { @Test public void test_flex_direction_row_reverse_inner_border_right() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -3429,7 +3385,6 @@ public class YGFlexDirectionTest { @Test public void test_flex_direction_col_reverse_inner_border_top() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -3516,7 +3471,6 @@ public class YGFlexDirectionTest { @Test public void test_flex_direction_col_reverse_inner_border_bottom() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -3603,7 +3557,6 @@ public class YGFlexDirectionTest { @Test public void test_flex_direction_row_reverse_inner_border_start() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -3690,7 +3643,6 @@ public class YGFlexDirectionTest { @Test public void test_flex_direction_row_reverse_inner_border_end() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -3777,7 +3729,6 @@ public class YGFlexDirectionTest { @Test public void test_flex_direction_row_reverse_inner_padding_left() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -3864,7 +3815,6 @@ public class YGFlexDirectionTest { @Test public void test_flex_direction_row_reverse_inner_padding_right() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -3951,7 +3901,6 @@ public class YGFlexDirectionTest { @Test public void test_flex_direction_col_reverse_inner_padding_top() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -4038,7 +3987,6 @@ public class YGFlexDirectionTest { @Test public void test_flex_direction_col_reverse_inner_padding_bottom() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -4125,7 +4073,6 @@ public class YGFlexDirectionTest { @Test public void test_flex_direction_row_reverse_inner_padding_start() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -4212,7 +4159,6 @@ public class YGFlexDirectionTest { @Test public void test_flex_direction_row_reverse_inner_padding_end() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); diff --git a/java/tests/com/facebook/yoga/YGFlexTest.java b/java/tests/com/facebook/yoga/YGFlexTest.java index 8afe8007..45d518be 100644 --- a/java/tests/com/facebook/yoga/YGFlexTest.java +++ b/java/tests/com/facebook/yoga/YGFlexTest.java @@ -4,7 +4,7 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @generated SignedSource<> + * @generated SignedSource<<744d504e2ab572337ace7a2589bc3570>> * generated by gentest/gentest-driver.ts from gentest/fixtures/YGFlexTest.html */ @@ -29,7 +29,6 @@ public class YGFlexTest { @Test public void test_flex_basis_flex_grow_column() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -84,7 +83,6 @@ public class YGFlexTest { @Test public void test_flex_shrink_flex_grow_row() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -143,7 +141,6 @@ public class YGFlexTest { @Test public void test_flex_shrink_flex_grow_child_flex_shrink_other_child() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -203,7 +200,6 @@ public class YGFlexTest { @Test public void test_flex_basis_flex_grow_row() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -259,7 +255,6 @@ public class YGFlexTest { @Test public void test_flex_basis_flex_shrink_column() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -314,7 +309,6 @@ public class YGFlexTest { @Test public void test_flex_basis_flex_shrink_row() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -370,7 +364,6 @@ public class YGFlexTest { @Test public void test_flex_shrink_to_zero() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -441,7 +434,6 @@ public class YGFlexTest { @Test public void test_flex_basis_overrides_main_size() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -513,7 +505,6 @@ public class YGFlexTest { @Test public void test_flex_grow_shrink_at_most() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -567,7 +558,6 @@ public class YGFlexTest { @Test public void test_flex_grow_less_than_factor_one() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); diff --git a/java/tests/com/facebook/yoga/YGFlexWrapTest.java b/java/tests/com/facebook/yoga/YGFlexWrapTest.java index dda5c2ec..6b786650 100644 --- a/java/tests/com/facebook/yoga/YGFlexWrapTest.java +++ b/java/tests/com/facebook/yoga/YGFlexWrapTest.java @@ -4,7 +4,7 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @generated SignedSource<<93ab380c6f5ff231f719234272a2d11f>> + * @generated SignedSource<> * generated by gentest/gentest-driver.ts from gentest/fixtures/YGFlexWrapTest.html */ @@ -29,7 +29,6 @@ public class YGFlexWrapTest { @Test public void test_wrap_column() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -115,7 +114,6 @@ public class YGFlexWrapTest { @Test public void test_wrap_row() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -202,7 +200,6 @@ public class YGFlexWrapTest { @Test public void test_wrap_row_align_items_flex_end() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -290,7 +287,6 @@ public class YGFlexWrapTest { @Test public void test_wrap_row_align_items_center() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -378,7 +374,6 @@ public class YGFlexWrapTest { @Test public void test_flex_wrap_children_with_min_main_overriding_flex_basis() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -437,7 +432,6 @@ public class YGFlexWrapTest { @Test public void test_flex_wrap_wrap_to_child_height() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -521,7 +515,6 @@ public class YGFlexWrapTest { @Test public void test_flex_wrap_align_stretch_fits_one_row() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -577,7 +570,6 @@ public class YGFlexWrapTest { @Test public void test_wrap_reverse_row_align_content_flex_start() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -679,7 +671,6 @@ public class YGFlexWrapTest { @Test public void test_wrap_reverse_row_align_content_center() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -782,7 +773,6 @@ public class YGFlexWrapTest { @Test public void test_wrap_reverse_row_single_line_different_size() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -884,7 +874,6 @@ public class YGFlexWrapTest { @Test public void test_wrap_reverse_row_align_content_stretch() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -987,7 +976,6 @@ public class YGFlexWrapTest { @Test public void test_wrap_reverse_row_align_content_space_around() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -1090,7 +1078,6 @@ public class YGFlexWrapTest { @Test public void test_wrap_reverse_column_fixed_size() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setAlignItems(YogaAlign.CENTER); @@ -1193,7 +1180,6 @@ public class YGFlexWrapTest { @Test public void test_wrapped_row_within_align_items_center() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setAlignItems(YogaAlign.CENTER); @@ -1265,7 +1251,6 @@ public class YGFlexWrapTest { @Test public void test_wrapped_row_within_align_items_flex_start() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setAlignItems(YogaAlign.FLEX_START); @@ -1337,7 +1322,6 @@ public class YGFlexWrapTest { @Test public void test_wrapped_row_within_align_items_flex_end() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setAlignItems(YogaAlign.FLEX_END); @@ -1409,7 +1393,6 @@ public class YGFlexWrapTest { @Test public void test_wrapped_column_max_height() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setJustifyContent(YogaJustify.CENTER); @@ -1489,7 +1472,6 @@ public class YGFlexWrapTest { @Test public void test_wrapped_column_max_height_flex() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setJustifyContent(YogaJustify.CENTER); @@ -1575,7 +1557,6 @@ public class YGFlexWrapTest { @Test public void test_wrap_nodes_with_content_sizing_overflowing_margin() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -1674,7 +1655,6 @@ public class YGFlexWrapTest { @Test public void test_wrap_nodes_with_content_sizing_margin_cross() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -1773,7 +1753,6 @@ public class YGFlexWrapTest { @Test public void test_wrap_with_min_cross_axis() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -1831,7 +1810,6 @@ public class YGFlexWrapTest { @Test public void test_wrap_with_max_cross_axis() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -1889,7 +1867,6 @@ public class YGFlexWrapTest { @Test public void test_nowrap_expands_flexline_box_to_min_cross() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -1931,7 +1908,6 @@ public class YGFlexWrapTest { @Test public void test_wrap_does_not_impose_min_cross_onto_single_flexline() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); diff --git a/java/tests/com/facebook/yoga/YGGapTest.java b/java/tests/com/facebook/yoga/YGGapTest.java index 6ea4f6c7..17e7ae07 100644 --- a/java/tests/com/facebook/yoga/YGGapTest.java +++ b/java/tests/com/facebook/yoga/YGGapTest.java @@ -4,7 +4,7 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @generated SignedSource<> + * @generated SignedSource<> * generated by gentest/gentest-driver.ts from gentest/fixtures/YGGapTest.html */ @@ -29,7 +29,6 @@ public class YGGapTest { @Test public void test_column_gap_flexible() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -106,7 +105,6 @@ public class YGGapTest { @Test public void test_column_gap_inflexible() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -176,7 +174,6 @@ public class YGGapTest { @Test public void test_column_gap_mixed_flexible() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -248,7 +245,6 @@ public class YGGapTest { @Test public void test_column_gap_child_margins() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -330,7 +326,6 @@ public class YGGapTest { @Test public void test_column_row_gap_wrapping() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -494,7 +489,6 @@ public class YGGapTest { @Test public void test_column_gap_start_index() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -584,7 +578,6 @@ public class YGGapTest { @Test public void test_column_gap_justify_flex_start() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -654,7 +647,6 @@ public class YGGapTest { @Test public void test_column_gap_justify_center() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -725,7 +717,6 @@ public class YGGapTest { @Test public void test_column_gap_justify_flex_end() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -796,7 +787,6 @@ public class YGGapTest { @Test public void test_column_gap_justify_space_between() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -867,7 +857,6 @@ public class YGGapTest { @Test public void test_column_gap_justify_space_around() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -938,7 +927,6 @@ public class YGGapTest { @Test public void test_column_gap_justify_space_evenly() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -1009,7 +997,6 @@ public class YGGapTest { @Test public void test_column_gap_wrap_align_flex_start() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -1129,7 +1116,6 @@ public class YGGapTest { @Test public void test_column_gap_wrap_align_center() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -1250,7 +1236,6 @@ public class YGGapTest { @Test public void test_column_gap_wrap_align_flex_end() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -1371,7 +1356,6 @@ public class YGGapTest { @Test public void test_column_gap_wrap_align_space_between() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -1492,7 +1476,6 @@ public class YGGapTest { @Test public void test_column_gap_wrap_align_space_around() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -1613,7 +1596,6 @@ public class YGGapTest { @Test public void test_column_gap_wrap_align_stretch() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -1718,7 +1700,6 @@ public class YGGapTest { @Test public void test_column_gap_determines_parent_width() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -1787,7 +1768,6 @@ public class YGGapTest { @Test public void test_row_gap_align_items_stretch() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -1902,7 +1882,6 @@ public class YGGapTest { @Test public void test_row_gap_align_items_end() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -2017,7 +1996,6 @@ public class YGGapTest { @Test public void test_row_gap_column_child_margins() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -2098,7 +2076,6 @@ public class YGGapTest { @Test public void test_row_gap_row_wrap_child_margins() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -2175,7 +2152,6 @@ public class YGGapTest { @Test public void test_row_gap_determines_parent_height() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); diff --git a/java/tests/com/facebook/yoga/YGJustifyContentTest.java b/java/tests/com/facebook/yoga/YGJustifyContentTest.java index f6318615..a970a950 100644 --- a/java/tests/com/facebook/yoga/YGJustifyContentTest.java +++ b/java/tests/com/facebook/yoga/YGJustifyContentTest.java @@ -4,7 +4,7 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @generated SignedSource<<5c40ef43b2f25942c5d7ae2267336370>> + * @generated SignedSource<> * generated by gentest/gentest-driver.ts from gentest/fixtures/YGJustifyContentTest.html */ @@ -29,7 +29,6 @@ public class YGJustifyContentTest { @Test public void test_justify_content_row_flex_start() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -98,7 +97,6 @@ public class YGJustifyContentTest { @Test public void test_justify_content_row_flex_end() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -168,7 +166,6 @@ public class YGJustifyContentTest { @Test public void test_justify_content_row_center() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -238,7 +235,6 @@ public class YGJustifyContentTest { @Test public void test_justify_content_row_space_between() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -308,7 +304,6 @@ public class YGJustifyContentTest { @Test public void test_justify_content_row_space_around() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -378,7 +373,6 @@ public class YGJustifyContentTest { @Test public void test_justify_content_column_flex_start() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -446,7 +440,6 @@ public class YGJustifyContentTest { @Test public void test_justify_content_column_flex_end() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setJustifyContent(YogaJustify.FLEX_END); @@ -515,7 +508,6 @@ public class YGJustifyContentTest { @Test public void test_justify_content_column_center() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setJustifyContent(YogaJustify.CENTER); @@ -584,7 +576,6 @@ public class YGJustifyContentTest { @Test public void test_justify_content_column_space_between() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setJustifyContent(YogaJustify.SPACE_BETWEEN); @@ -653,7 +644,6 @@ public class YGJustifyContentTest { @Test public void test_justify_content_column_space_around() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setJustifyContent(YogaJustify.SPACE_AROUND); @@ -722,7 +712,6 @@ public class YGJustifyContentTest { @Test public void test_justify_content_row_min_width_and_margin() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -765,7 +754,6 @@ public class YGJustifyContentTest { @Test public void test_justify_content_row_max_width_and_margin() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -809,7 +797,6 @@ public class YGJustifyContentTest { @Test public void test_justify_content_column_min_height_and_margin() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setJustifyContent(YogaJustify.CENTER); @@ -851,7 +838,6 @@ public class YGJustifyContentTest { @Test public void test_justify_content_colunn_max_height_and_margin() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setJustifyContent(YogaJustify.CENTER); @@ -894,7 +880,6 @@ public class YGJustifyContentTest { @Test public void test_justify_content_column_space_evenly() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setJustifyContent(YogaJustify.SPACE_EVENLY); @@ -963,7 +948,6 @@ public class YGJustifyContentTest { @Test public void test_justify_content_row_space_evenly() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -1033,7 +1017,6 @@ public class YGJustifyContentTest { @Test public void test_justify_content_min_width_with_padding_child_width_greater_than_parent() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setAlignContent(YogaAlign.STRETCH); @@ -1111,7 +1094,6 @@ public class YGJustifyContentTest { @Test public void test_justify_content_min_width_with_padding_child_width_lower_than_parent() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setAlignContent(YogaAlign.STRETCH); @@ -1189,7 +1171,6 @@ public class YGJustifyContentTest { @Test public void test_justify_content_space_between_indefinite_container_dim_with_free_space() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setAlignItems(YogaAlign.CENTER); diff --git a/java/tests/com/facebook/yoga/YGMarginTest.java b/java/tests/com/facebook/yoga/YGMarginTest.java index 0ab1858d..fc07ee41 100644 --- a/java/tests/com/facebook/yoga/YGMarginTest.java +++ b/java/tests/com/facebook/yoga/YGMarginTest.java @@ -4,7 +4,7 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @generated SignedSource<<15fbd1dd62513904ba5079cfb5c6b5dc>> + * @generated SignedSource<<5dd3ad63c5d4b6fcbb3016005e08b162>> * generated by gentest/gentest-driver.ts from gentest/fixtures/YGMarginTest.html */ @@ -29,7 +29,6 @@ public class YGMarginTest { @Test public void test_margin_start() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -71,7 +70,6 @@ public class YGMarginTest { @Test public void test_margin_top() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -112,7 +110,6 @@ public class YGMarginTest { @Test public void test_margin_end() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -155,7 +152,6 @@ public class YGMarginTest { @Test public void test_margin_bottom() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setJustifyContent(YogaJustify.FLEX_END); @@ -197,7 +193,6 @@ public class YGMarginTest { @Test public void test_margin_and_flex_row() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -240,7 +235,6 @@ public class YGMarginTest { @Test public void test_margin_and_flex_column() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -282,7 +276,6 @@ public class YGMarginTest { @Test public void test_margin_and_stretch_row() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -325,7 +318,6 @@ public class YGMarginTest { @Test public void test_margin_and_stretch_column() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -367,7 +359,6 @@ public class YGMarginTest { @Test public void test_margin_with_sibling_row() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -423,7 +414,6 @@ public class YGMarginTest { @Test public void test_margin_with_sibling_column() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -478,7 +468,6 @@ public class YGMarginTest { @Test public void test_margin_auto_bottom() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setAlignItems(YogaAlign.CENTER); @@ -536,7 +525,6 @@ public class YGMarginTest { @Test public void test_margin_auto_top() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setAlignItems(YogaAlign.CENTER); @@ -594,7 +582,6 @@ public class YGMarginTest { @Test public void test_margin_auto_bottom_and_top() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setAlignItems(YogaAlign.CENTER); @@ -653,7 +640,6 @@ public class YGMarginTest { @Test public void test_margin_auto_bottom_and_top_justify_center() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setJustifyContent(YogaJustify.CENTER); @@ -712,7 +698,6 @@ public class YGMarginTest { @Test public void test_margin_auto_mutiple_children_column() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setAlignItems(YogaAlign.CENTER); @@ -786,7 +771,6 @@ public class YGMarginTest { @Test public void test_margin_auto_mutiple_children_row() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -861,7 +845,6 @@ public class YGMarginTest { @Test public void test_margin_auto_left_and_right_column() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -921,7 +904,6 @@ public class YGMarginTest { @Test public void test_margin_auto_left_and_right() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -979,7 +961,6 @@ public class YGMarginTest { @Test public void test_margin_auto_start_and_end_column() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -1039,7 +1020,6 @@ public class YGMarginTest { @Test public void test_margin_auto_start_and_end() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -1097,7 +1077,6 @@ public class YGMarginTest { @Test public void test_margin_auto_left_and_right_column_and_center() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setAlignItems(YogaAlign.CENTER); @@ -1156,7 +1135,6 @@ public class YGMarginTest { @Test public void test_margin_auto_left() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setAlignItems(YogaAlign.CENTER); @@ -1214,7 +1192,6 @@ public class YGMarginTest { @Test public void test_margin_auto_right() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setAlignItems(YogaAlign.CENTER); @@ -1272,7 +1249,6 @@ public class YGMarginTest { @Test public void test_margin_auto_left_and_right_stretch() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -1331,7 +1307,6 @@ public class YGMarginTest { @Test public void test_margin_auto_top_and_bottom_stretch() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -1389,7 +1364,6 @@ public class YGMarginTest { @Test public void test_margin_should_not_be_part_of_max_height() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -1432,7 +1406,6 @@ public class YGMarginTest { @Test public void test_margin_should_not_be_part_of_max_width() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -1475,7 +1448,6 @@ public class YGMarginTest { @Test public void test_margin_auto_left_right_child_bigger_than_parent() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setJustifyContent(YogaJustify.CENTER); @@ -1519,7 +1491,6 @@ public class YGMarginTest { @Test public void test_margin_auto_left_child_bigger_than_parent() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setJustifyContent(YogaJustify.CENTER); @@ -1562,7 +1533,6 @@ public class YGMarginTest { @Test public void test_margin_fix_left_auto_right_child_bigger_than_parent() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setJustifyContent(YogaJustify.CENTER); @@ -1606,7 +1576,6 @@ public class YGMarginTest { @Test public void test_margin_auto_left_fix_right_child_bigger_than_parent() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setJustifyContent(YogaJustify.CENTER); @@ -1650,7 +1619,6 @@ public class YGMarginTest { @Test public void test_margin_auto_top_stretching_child() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setAlignItems(YogaAlign.CENTER); @@ -1709,7 +1677,6 @@ public class YGMarginTest { @Test public void test_margin_auto_left_stretching_child() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setAlignItems(YogaAlign.CENTER); diff --git a/java/tests/com/facebook/yoga/YGMinMaxDimensionTest.java b/java/tests/com/facebook/yoga/YGMinMaxDimensionTest.java index b7777a1a..7bf9a6c8 100644 --- a/java/tests/com/facebook/yoga/YGMinMaxDimensionTest.java +++ b/java/tests/com/facebook/yoga/YGMinMaxDimensionTest.java @@ -4,7 +4,7 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @generated SignedSource<> + * @generated SignedSource<<857e5626695bb6b524eb6b609a6c7b55>> * generated by gentest/gentest-driver.ts from gentest/fixtures/YGMinMaxDimensionTest.html */ @@ -29,7 +29,6 @@ public class YGMinMaxDimensionTest { @Test public void test_max_width() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -70,7 +69,6 @@ public class YGMinMaxDimensionTest { @Test public void test_max_height() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -113,7 +111,6 @@ public class YGMinMaxDimensionTest { @Ignore public void test_min_height() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -169,7 +166,6 @@ public class YGMinMaxDimensionTest { @Ignore public void test_min_width() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -225,7 +221,6 @@ public class YGMinMaxDimensionTest { @Test public void test_justify_content_min_max() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setJustifyContent(YogaJustify.CENTER); @@ -268,7 +263,6 @@ public class YGMinMaxDimensionTest { @Test public void test_align_items_min_max() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setAlignItems(YogaAlign.CENTER); @@ -311,7 +305,6 @@ public class YGMinMaxDimensionTest { @Test public void test_justify_content_overflow_min_max() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setJustifyContent(YogaJustify.CENTER); @@ -383,7 +376,6 @@ public class YGMinMaxDimensionTest { @Test public void test_flex_grow_to_min() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -439,7 +431,6 @@ public class YGMinMaxDimensionTest { @Test public void test_flex_grow_in_at_most_container() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -496,7 +487,6 @@ public class YGMinMaxDimensionTest { @Test public void test_flex_grow_child() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -537,7 +527,6 @@ public class YGMinMaxDimensionTest { @Test public void test_flex_grow_within_constrained_min_max_column() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -591,7 +580,6 @@ public class YGMinMaxDimensionTest { @Test public void test_flex_grow_within_max_width() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -647,7 +635,6 @@ public class YGMinMaxDimensionTest { @Test public void test_flex_grow_within_constrained_max_width() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -703,7 +690,6 @@ public class YGMinMaxDimensionTest { @Test public void test_flex_root_ignored() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -760,7 +746,6 @@ public class YGMinMaxDimensionTest { @Test public void test_flex_grow_root_minimized() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -832,7 +817,6 @@ public class YGMinMaxDimensionTest { @Test public void test_flex_grow_height_maximized() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -903,7 +887,6 @@ public class YGMinMaxDimensionTest { @Test public void test_flex_grow_within_constrained_min_row() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -958,7 +941,6 @@ public class YGMinMaxDimensionTest { @Test public void test_flex_grow_within_constrained_min_column() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -1011,7 +993,6 @@ public class YGMinMaxDimensionTest { @Test public void test_flex_grow_within_constrained_max_row() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -1081,7 +1062,6 @@ public class YGMinMaxDimensionTest { @Test public void test_flex_grow_within_constrained_max_column() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -1136,7 +1116,6 @@ public class YGMinMaxDimensionTest { @Test public void test_child_min_max_width_flexing() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -1195,7 +1174,6 @@ public class YGMinMaxDimensionTest { @Test public void test_min_width_overrides_width() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -1221,7 +1199,6 @@ public class YGMinMaxDimensionTest { @Test public void test_max_width_overrides_width() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -1247,7 +1224,6 @@ public class YGMinMaxDimensionTest { @Test public void test_min_height_overrides_height() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -1273,7 +1249,6 @@ public class YGMinMaxDimensionTest { @Test public void test_max_height_overrides_height() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -1299,7 +1274,6 @@ public class YGMinMaxDimensionTest { @Test public void test_min_max_percent_no_width_height() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setAlignItems(YogaAlign.FLEX_START); diff --git a/java/tests/com/facebook/yoga/YGPaddingTest.java b/java/tests/com/facebook/yoga/YGPaddingTest.java index 5a93cddf..4b989989 100644 --- a/java/tests/com/facebook/yoga/YGPaddingTest.java +++ b/java/tests/com/facebook/yoga/YGPaddingTest.java @@ -4,7 +4,7 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @generated SignedSource<<6267abb3ce29704a141d88197f2e8550>> + * @generated SignedSource<<176b6a98b0b08ef3f3fd20289e8fd089>> * generated by gentest/gentest-driver.ts from gentest/fixtures/YGPaddingTest.html */ @@ -29,7 +29,6 @@ public class YGPaddingTest { @Test public void test_padding_no_size() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -57,7 +56,6 @@ public class YGPaddingTest { @Test public void test_padding_container_match_child() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -100,7 +98,6 @@ public class YGPaddingTest { @Test public void test_padding_flex_child() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -145,7 +142,6 @@ public class YGPaddingTest { @Test public void test_padding_stretch_child() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -189,7 +185,6 @@ public class YGPaddingTest { @Test public void test_padding_center_child() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setJustifyContent(YogaJustify.CENTER); @@ -235,7 +230,6 @@ public class YGPaddingTest { @Test public void test_child_with_padding_align_end() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setJustifyContent(YogaJustify.FLEX_END); diff --git a/java/tests/com/facebook/yoga/YGPercentageTest.java b/java/tests/com/facebook/yoga/YGPercentageTest.java index d566436f..ddcd5c80 100644 --- a/java/tests/com/facebook/yoga/YGPercentageTest.java +++ b/java/tests/com/facebook/yoga/YGPercentageTest.java @@ -4,7 +4,7 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @generated SignedSource<<5732db99011860ede54f3fd33ba863c9>> + * @generated SignedSource<> * generated by gentest/gentest-driver.ts from gentest/fixtures/YGPercentageTest.html */ @@ -29,7 +29,6 @@ public class YGPercentageTest { @Test public void test_percentage_width_height() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -71,7 +70,6 @@ public class YGPercentageTest { @Test public void test_percentage_position_left_top() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -115,7 +113,6 @@ public class YGPercentageTest { @Test public void test_percentage_position_bottom_right() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -159,7 +156,6 @@ public class YGPercentageTest { @Test public void test_percentage_flex_basis() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -216,7 +212,6 @@ public class YGPercentageTest { @Test public void test_percentage_flex_basis_cross() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -273,7 +268,6 @@ public class YGPercentageTest { @Ignore public void test_percentage_flex_basis_cross_min_height() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -329,7 +323,6 @@ public class YGPercentageTest { @Test public void test_percentage_flex_basis_main_max_height() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -388,7 +381,6 @@ public class YGPercentageTest { @Test public void test_percentage_flex_basis_cross_max_height() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -446,7 +438,6 @@ public class YGPercentageTest { @Test public void test_percentage_flex_basis_main_max_width() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -505,7 +496,6 @@ public class YGPercentageTest { @Test public void test_percentage_flex_basis_cross_max_width() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -563,7 +553,6 @@ public class YGPercentageTest { @Test public void test_percentage_flex_basis_main_min_width() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -622,7 +611,6 @@ public class YGPercentageTest { @Test public void test_percentage_flex_basis_cross_min_width() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -680,7 +668,6 @@ public class YGPercentageTest { @Test public void test_percentage_multiple_nested_with_padding_margin_and_percentage_values() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -790,7 +777,6 @@ public class YGPercentageTest { @Test public void test_percentage_margin_should_calculate_based_only_on_width() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -849,7 +835,6 @@ public class YGPercentageTest { @Test public void test_percentage_padding_should_calculate_based_only_on_width() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -908,7 +893,6 @@ public class YGPercentageTest { @Test public void test_percentage_absolute_position() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -952,7 +936,6 @@ public class YGPercentageTest { @Test public void test_percentage_width_height_undefined_parent_size() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -991,7 +974,6 @@ public class YGPercentageTest { @Test public void test_percent_within_flex_grow() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -1074,7 +1056,6 @@ public class YGPercentageTest { @Test public void test_percentage_container_in_wrapping_container() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setJustifyContent(YogaJustify.CENTER); @@ -1161,7 +1142,6 @@ public class YGPercentageTest { @Test public void test_percent_absolute_position() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -1233,7 +1213,6 @@ public class YGPercentageTest { @Test public void test_percent_of_minmax_main() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -1277,7 +1256,6 @@ public class YGPercentageTest { @Ignore public void test_percent_of_min_main() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -1320,7 +1298,6 @@ public class YGPercentageTest { @Ignore public void test_percent_of_min_main_multiple() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -1393,7 +1370,6 @@ public class YGPercentageTest { @Ignore public void test_percent_of_max_main() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -1435,7 +1411,6 @@ public class YGPercentageTest { @Test public void test_percent_of_minmax_cross_stretched() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -1477,7 +1452,6 @@ public class YGPercentageTest { @Test public void test_percent_absolute_of_minmax_cross_stretched() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -1520,7 +1494,6 @@ public class YGPercentageTest { @Test public void test_percent_of_minmax_cross_unstretched() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setAlignItems(YogaAlign.FLEX_START); @@ -1564,7 +1537,6 @@ public class YGPercentageTest { @Ignore public void test_percent_of_min_cross_unstretched() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setAlignItems(YogaAlign.FLEX_START); @@ -1606,7 +1578,6 @@ public class YGPercentageTest { @Test public void test_percent_of_max_cross_unstretched() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setAlignItems(YogaAlign.FLEX_START); diff --git a/java/tests/com/facebook/yoga/YGRoundingTest.java b/java/tests/com/facebook/yoga/YGRoundingTest.java index 415d513d..0f329eda 100644 --- a/java/tests/com/facebook/yoga/YGRoundingTest.java +++ b/java/tests/com/facebook/yoga/YGRoundingTest.java @@ -4,7 +4,7 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @generated SignedSource<<699bd9f8b7f716b9a3bbd127a7705998>> + * @generated SignedSource<<40959004b04825e4f8f58e8a6d796047>> * generated by gentest/gentest-driver.ts from gentest/fixtures/YGRoundingTest.html */ @@ -29,7 +29,6 @@ public class YGRoundingTest { @Test public void test_rounding_flex_basis_flex_grow_row_width_of_100() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -98,7 +97,6 @@ public class YGRoundingTest { @Test public void test_rounding_flex_basis_flex_grow_row_prime_number_width() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -195,7 +193,6 @@ public class YGRoundingTest { @Test public void test_rounding_flex_basis_flex_shrink_row() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -265,7 +262,6 @@ public class YGRoundingTest { @Test public void test_rounding_flex_basis_overrides_main_size() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -337,7 +333,6 @@ public class YGRoundingTest { @Test public void test_rounding_total_fractial() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -409,7 +404,6 @@ public class YGRoundingTest { @Test public void test_rounding_total_fractial_nested() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -515,7 +509,6 @@ public class YGRoundingTest { @Test public void test_rounding_fractial_input_1() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -587,7 +580,6 @@ public class YGRoundingTest { @Test public void test_rounding_fractial_input_2() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -659,7 +651,6 @@ public class YGRoundingTest { @Test public void test_rounding_fractial_input_3() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -732,7 +723,6 @@ public class YGRoundingTest { @Test public void test_rounding_fractial_input_4() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -805,7 +795,6 @@ public class YGRoundingTest { @Test public void test_rounding_inner_node_controversy_horizontal() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); @@ -891,7 +880,6 @@ public class YGRoundingTest { @Test public void test_rounding_inner_node_controversy_vertical() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -976,7 +964,6 @@ public class YGRoundingTest { @Test public void test_rounding_inner_node_controversy_combined() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setFlexDirection(YogaFlexDirection.ROW); diff --git a/java/tests/com/facebook/yoga/YGSizeOverflowTest.java b/java/tests/com/facebook/yoga/YGSizeOverflowTest.java index e25cb40a..81e0d711 100644 --- a/java/tests/com/facebook/yoga/YGSizeOverflowTest.java +++ b/java/tests/com/facebook/yoga/YGSizeOverflowTest.java @@ -4,7 +4,7 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @generated SignedSource<> + * @generated SignedSource<> * generated by gentest/gentest-driver.ts from gentest/fixtures/YGSizeOverflowTest.html */ @@ -29,7 +29,6 @@ public class YGSizeOverflowTest { @Test public void test_nested_overflowing_child() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -83,7 +82,6 @@ public class YGSizeOverflowTest { @Test public void test_nested_overflowing_child_in_constraint_parent() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -139,7 +137,6 @@ public class YGSizeOverflowTest { @Test public void test_parent_wrap_child_size_overflowing_parent() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); diff --git a/java/tests/com/facebook/yoga/YGStaticPositionTest.java b/java/tests/com/facebook/yoga/YGStaticPositionTest.java index a95a0651..a566a0e7 100644 --- a/java/tests/com/facebook/yoga/YGStaticPositionTest.java +++ b/java/tests/com/facebook/yoga/YGStaticPositionTest.java @@ -4,7 +4,7 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @generated SignedSource<<27e39bd82599d68a9db49349adbaaf10>> + * @generated SignedSource<<2f9a2f834e333c2a9ecb0fa936a10f2b>> * generated by gentest/gentest-driver.ts from gentest/fixtures/YGStaticPositionTest.html */ @@ -29,7 +29,6 @@ public class YGStaticPositionTest { @Test public void test_static_position_insets_have_no_effect_left_top() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -71,7 +70,6 @@ public class YGStaticPositionTest { @Test public void test_static_position_insets_have_no_effect_right_bottom() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -113,7 +111,6 @@ public class YGStaticPositionTest { @Test public void test_static_position_absolute_child_insets_relative_to_positioned_ancestor() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -187,7 +184,6 @@ public class YGStaticPositionTest { @Test public void test_static_position_absolute_child_insets_relative_to_positioned_ancestor_deep() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -312,7 +308,6 @@ public class YGStaticPositionTest { @Test public void test_static_position_absolute_child_width_percentage() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -383,7 +378,6 @@ public class YGStaticPositionTest { @Test public void test_static_position_relative_child_width_percentage() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -453,7 +447,6 @@ public class YGStaticPositionTest { @Test public void test_static_position_static_child_width_percentage() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -524,7 +517,6 @@ public class YGStaticPositionTest { @Test public void test_static_position_absolute_child_height_percentage() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -595,7 +587,6 @@ public class YGStaticPositionTest { @Test public void test_static_position_relative_child_height_percentage() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -665,7 +656,6 @@ public class YGStaticPositionTest { @Test public void test_static_position_static_child_height_percentage() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -736,7 +726,6 @@ public class YGStaticPositionTest { @Test public void test_static_position_absolute_child_left_percentage() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -808,7 +797,6 @@ public class YGStaticPositionTest { @Test public void test_static_position_relative_child_left_percentage() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -879,7 +867,6 @@ public class YGStaticPositionTest { @Test public void test_static_position_static_child_left_percentage() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -951,7 +938,6 @@ public class YGStaticPositionTest { @Test public void test_static_position_absolute_child_right_percentage() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -1023,7 +1009,6 @@ public class YGStaticPositionTest { @Test public void test_static_position_relative_child_right_percentage() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -1094,7 +1079,6 @@ public class YGStaticPositionTest { @Test public void test_static_position_static_child_right_percentage() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -1166,7 +1150,6 @@ public class YGStaticPositionTest { @Test public void test_static_position_absolute_child_top_percentage() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -1238,7 +1221,6 @@ public class YGStaticPositionTest { @Test public void test_static_position_relative_child_top_percentage() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -1309,7 +1291,6 @@ public class YGStaticPositionTest { @Test public void test_static_position_static_child_top_percentage() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -1381,7 +1362,6 @@ public class YGStaticPositionTest { @Test public void test_static_position_absolute_child_bottom_percentage() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -1453,7 +1433,6 @@ public class YGStaticPositionTest { @Test public void test_static_position_relative_child_bottom_percentage() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -1524,7 +1503,6 @@ public class YGStaticPositionTest { @Test public void test_static_position_static_child_bottom_percentage() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -1596,7 +1574,6 @@ public class YGStaticPositionTest { @Test public void test_static_position_absolute_child_margin_percentage() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -1671,7 +1648,6 @@ public class YGStaticPositionTest { @Test public void test_static_position_relative_child_margin_percentage() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -1745,7 +1721,6 @@ public class YGStaticPositionTest { @Test public void test_static_position_static_child_margin_percentage() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -1820,7 +1795,6 @@ public class YGStaticPositionTest { @Test public void test_static_position_absolute_child_padding_percentage() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -1895,7 +1869,6 @@ public class YGStaticPositionTest { @Test public void test_static_position_relative_child_padding_percentage() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -1969,7 +1942,6 @@ public class YGStaticPositionTest { @Test public void test_static_position_static_child_padding_percentage() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -2044,7 +2016,6 @@ public class YGStaticPositionTest { @Test public void test_static_position_absolute_child_border_percentage() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -2115,7 +2086,6 @@ public class YGStaticPositionTest { @Test public void test_static_position_relative_child_border_percentage() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -2185,7 +2155,6 @@ public class YGStaticPositionTest { @Test public void test_static_position_static_child_border_percentage() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -2256,7 +2225,6 @@ public class YGStaticPositionTest { @Test public void test_static_position_absolute_child_containing_block_padding_box() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -2331,7 +2299,6 @@ public class YGStaticPositionTest { @Test public void test_static_position_relative_child_containing_block_padding_box() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -2405,7 +2372,6 @@ public class YGStaticPositionTest { @Test public void test_static_position_static_child_containing_block_padding_box() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -2480,7 +2446,6 @@ public class YGStaticPositionTest { @Test public void test_static_position_absolute_child_containing_block_content_box() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -2539,7 +2504,6 @@ public class YGStaticPositionTest { @Test public void test_static_position_relative_child_containing_block_content_box() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -2597,7 +2561,6 @@ public class YGStaticPositionTest { @Test public void test_static_position_static_child_containing_block_content_box() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -2656,7 +2619,6 @@ public class YGStaticPositionTest { @Test public void test_static_position_containing_block_padding_and_border() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -2735,7 +2697,6 @@ public class YGStaticPositionTest { @Test public void test_static_position_amalgamation() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -2844,7 +2805,6 @@ public class YGStaticPositionTest { @Test public void test_static_position_no_position_amalgamation() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -2951,7 +2911,6 @@ public class YGStaticPositionTest { @Test public void test_static_position_zero_for_inset_amalgamation() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -3059,7 +3018,6 @@ public class YGStaticPositionTest { @Test public void test_static_position_start_inset_amalgamation() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -3167,7 +3125,6 @@ public class YGStaticPositionTest { @Test public void test_static_position_end_inset_amalgamation() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -3275,7 +3232,6 @@ public class YGStaticPositionTest { @Test public void test_static_position_row_reverse_amalgamation() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -3405,7 +3361,6 @@ public class YGStaticPositionTest { @Test public void test_static_position_column_reverse_amalgamation() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -3535,7 +3490,6 @@ public class YGStaticPositionTest { @Test public void test_static_position_justify_flex_start_amalgamation() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -3770,7 +3724,6 @@ public class YGStaticPositionTest { @Test public void test_static_position_justify_flex_start_position_set_amalgamation() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -4006,7 +3959,6 @@ public class YGStaticPositionTest { @Test public void test_static_position_no_definite_size_amalgamation() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -4135,7 +4087,6 @@ public class YGStaticPositionTest { @Test public void test_static_position_both_insets_set_amalgamation() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -4265,7 +4216,6 @@ public class YGStaticPositionTest { @Test public void test_static_position_justify_center_amalgamation() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -4501,7 +4451,6 @@ public class YGStaticPositionTest { @Test public void test_static_position_justify_flex_end_amalgamation() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -4737,7 +4686,6 @@ public class YGStaticPositionTest { @Test public void test_static_position_align_flex_start_amalgamation() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -4973,7 +4921,6 @@ public class YGStaticPositionTest { @Test public void test_static_position_align_center_amalgamation() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -5209,7 +5156,6 @@ public class YGStaticPositionTest { @Test public void test_static_position_align_flex_end_amalgamation() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.ABSOLUTE); @@ -5445,7 +5391,6 @@ public class YGStaticPositionTest { @Test public void test_static_position_static_root() { YogaConfig config = YogaConfigFactory.create(); - config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); final YogaNode root = createNode(config); root.setPositionType(YogaPositionType.STATIC); diff --git a/javascript/src/generated/YGEnums.ts b/javascript/src/generated/YGEnums.ts index e5e7173d..44b0a8d9 100644 --- a/javascript/src/generated/YGEnums.ts +++ b/javascript/src/generated/YGEnums.ts @@ -58,7 +58,6 @@ export enum Errata { export enum ExperimentalFeature { WebFlexBasis = 0, - AbsolutePercentageAgainstPaddingEdge = 1, } export enum FlexDirection { @@ -167,7 +166,6 @@ const constants = { ERRATA_ALL: Errata.All, ERRATA_CLASSIC: Errata.Classic, EXPERIMENTAL_FEATURE_WEB_FLEX_BASIS: ExperimentalFeature.WebFlexBasis, - EXPERIMENTAL_FEATURE_ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE: ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, FLEX_DIRECTION_COLUMN: FlexDirection.Column, FLEX_DIRECTION_COLUMN_REVERSE: FlexDirection.ColumnReverse, FLEX_DIRECTION_ROW: FlexDirection.Row, diff --git a/javascript/tests/generated/YGAbsolutePositionTest.test.ts b/javascript/tests/generated/YGAbsolutePositionTest.test.ts index ccc1b072..837129c5 100644 --- a/javascript/tests/generated/YGAbsolutePositionTest.test.ts +++ b/javascript/tests/generated/YGAbsolutePositionTest.test.ts @@ -4,7 +4,7 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @generated SignedSource<> + * @generated SignedSource<<5be04807f890bcc32e9b3fc094d21cd1>> * generated by gentest/gentest-driver.ts from gentest/fixtures/YGAbsolutePositionTest.html */ @@ -30,8 +30,6 @@ test('absolute_layout_width_height_start_top', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -80,8 +78,6 @@ test('absolute_layout_width_height_end_bottom', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -130,8 +126,6 @@ test('absolute_layout_start_top_end_bottom', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -180,8 +174,6 @@ test('absolute_layout_width_height_start_top_end_bottom', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -232,8 +224,6 @@ test('do_not_clamp_height_of_absolute_node_to_height_of_its_overflow_hidden_pare const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -297,8 +287,6 @@ test('absolute_layout_within_border', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -421,8 +409,6 @@ test('absolute_layout_align_items_and_justify_content_center', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setJustifyContent(Justify.Center); @@ -472,8 +458,6 @@ test('absolute_layout_align_items_and_justify_content_flex_end', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setJustifyContent(Justify.FlexEnd); @@ -523,8 +507,6 @@ test('absolute_layout_justify_content_center', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setJustifyContent(Justify.Center); @@ -573,8 +555,6 @@ test('absolute_layout_align_items_center', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setAlignItems(Align.Center); @@ -623,8 +603,6 @@ test('absolute_layout_align_items_center_on_child_only', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -673,8 +651,6 @@ test('absolute_layout_align_items_and_justify_content_center_and_top_position', const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setJustifyContent(Justify.Center); @@ -725,8 +701,6 @@ test('absolute_layout_align_items_and_justify_content_center_and_bottom_position const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setJustifyContent(Justify.Center); @@ -777,8 +751,6 @@ test('absolute_layout_align_items_and_justify_content_center_and_left_position', const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setJustifyContent(Justify.Center); @@ -829,8 +801,6 @@ test('absolute_layout_align_items_and_justify_content_center_and_right_position' const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setJustifyContent(Justify.Center); @@ -881,8 +851,6 @@ test('position_root_with_rtl_should_position_withoutdirection', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -914,8 +882,6 @@ test('absolute_layout_percentage_bottom_based_on_parent_height', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -997,8 +963,6 @@ test('absolute_layout_in_wrap_reverse_column_container', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -1046,8 +1010,6 @@ test('absolute_layout_in_wrap_reverse_row_container', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -1096,8 +1058,6 @@ test('absolute_layout_in_wrap_reverse_column_container_flex_end', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -1146,8 +1106,6 @@ test('absolute_layout_in_wrap_reverse_row_container_flex_end', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -1197,8 +1155,6 @@ test('percent_absolute_position_infinite_height', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -1260,8 +1216,6 @@ test('absolute_layout_percentage_height_based_on_padded_parent', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -1310,8 +1264,6 @@ test('absolute_layout_percentage_height_based_on_padded_parent_and_align_items_c const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setJustifyContent(Justify.Center); @@ -1361,8 +1313,6 @@ test('absolute_layout_padding_left', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -1410,8 +1360,6 @@ test('absolute_layout_padding_right', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -1459,8 +1407,6 @@ test('absolute_layout_padding_top', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -1508,8 +1454,6 @@ test('absolute_layout_padding_bottom', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); diff --git a/javascript/tests/generated/YGAlignContentTest.test.ts b/javascript/tests/generated/YGAlignContentTest.test.ts index 8ab60ca1..00d80981 100644 --- a/javascript/tests/generated/YGAlignContentTest.test.ts +++ b/javascript/tests/generated/YGAlignContentTest.test.ts @@ -4,7 +4,7 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @generated SignedSource<> + * @generated SignedSource<> * generated by gentest/gentest-driver.ts from gentest/fixtures/YGAlignContentTest.html */ @@ -30,8 +30,6 @@ test('align_content_flex_start_nowrap', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -93,8 +91,6 @@ test('align_content_flex_start_wrap', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -202,8 +198,6 @@ test('align_content_flex_start_wrap_singleline', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -266,8 +260,6 @@ test('align_content_flex_start_wrapped_negative_space', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -364,8 +356,6 @@ test('align_content_flex_start_wrapped_negative_space_gap', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -464,8 +454,6 @@ test('align_content_flex_start_without_height_on_children', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -569,8 +557,6 @@ test('align_content_flex_start_with_flex', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -680,8 +666,6 @@ test('align_content_flex_end_nowrap', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -744,8 +728,6 @@ test('align_content_flex_end_wrap', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -854,8 +836,6 @@ test('align_content_flex_end_wrap_singleline', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -919,8 +899,6 @@ test('align_content_flex_end_wrapped_negative_space', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -1018,8 +996,6 @@ test('align_content_flex_end_wrapped_negative_space_gap', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -1119,8 +1095,6 @@ test('align_content_center_nowrap', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -1183,8 +1157,6 @@ test('align_content_center_wrap', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -1293,8 +1265,6 @@ test('align_content_center_wrap_singleline', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -1358,8 +1328,6 @@ test('align_content_center_wrapped_negative_space', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -1457,8 +1425,6 @@ test('align_content_center_wrapped_negative_space_gap', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -1558,8 +1524,6 @@ test('align_content_space_between_nowrap', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -1622,8 +1586,6 @@ test('align_content_space_between_wrap', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -1732,8 +1694,6 @@ test('align_content_space_between_wrap_singleline', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -1797,8 +1757,6 @@ test('align_content_space_between_wrapped_negative_space', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -1896,8 +1854,6 @@ test('align_content_space_between_wrapped_negative_space_gap', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -1997,8 +1953,6 @@ test('align_content_space_around_nowrap', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -2061,8 +2015,6 @@ test('align_content_space_around_wrap', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -2171,8 +2123,6 @@ test('align_content_space_around_wrap_singleline', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -2236,8 +2186,6 @@ test('align_content_space_around_wrapped_negative_space', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -2335,8 +2283,6 @@ test('align_content_space_around_wrapped_negative_space_gap', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -2436,8 +2382,6 @@ test('align_content_space_evenly_nowrap', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -2500,8 +2444,6 @@ test('align_content_space_evenly_wrap', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -2610,8 +2552,6 @@ test('align_content_space_evenly_wrap_singleline', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -2675,8 +2615,6 @@ test('align_content_space_evenly_wrapped_negative_space', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -2774,8 +2712,6 @@ test('align_content_space_evenly_wrapped_negative_space_gap', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -2875,8 +2811,6 @@ test('align_content_stretch', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setAlignContent(Align.Stretch); @@ -2979,8 +2913,6 @@ test('align_content_stretch_row', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -3084,8 +3016,6 @@ test('align_content_stretch_row_with_children', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -3205,8 +3135,6 @@ test('align_content_stretch_row_with_flex', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -3316,8 +3244,6 @@ test('align_content_stretch_row_with_flex_no_shrink', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -3426,8 +3352,6 @@ test('align_content_stretch_row_with_margin', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -3539,8 +3463,6 @@ test('align_content_stretch_row_with_padding', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -3652,8 +3574,6 @@ test('align_content_stretch_row_with_single_row', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -3715,8 +3635,6 @@ test('align_content_stretch_row_with_fixed_height', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -3821,8 +3739,6 @@ test('align_content_stretch_row_with_max_height', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -3927,8 +3843,6 @@ test('align_content_stretch_row_with_min_height', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -4033,8 +3947,6 @@ test('align_content_stretch_column', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setAlignContent(Align.Stretch); @@ -4156,8 +4068,6 @@ test('align_content_stretch_is_not_overriding_align_items', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setAlignContent(Align.Stretch); @@ -4221,8 +4131,6 @@ test('align_content_stretch_with_min_cross_axis', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -4286,8 +4194,6 @@ test('align_content_stretch_with_max_cross_axis', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -4351,8 +4257,6 @@ test('align_content_stretch_with_max_cross_axis_and_border_padding', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -4424,8 +4328,6 @@ test('align_content_space_evenly_with_min_cross_axis', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -4489,8 +4391,6 @@ test('align_content_space_evenly_with_max_cross_axis', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -4554,8 +4454,6 @@ test('align_content_space_evenly_with_max_cross_axis_violated', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -4619,8 +4517,6 @@ test('align_content_space_evenly_with_max_cross_axis_violated_padding_and_border const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -4692,8 +4588,6 @@ test('align_content_space_around_and_align_items_flex_end_with_flex_wrap', () => const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -4773,8 +4667,6 @@ test('align_content_space_around_and_align_items_center_with_flex_wrap', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -4854,8 +4746,6 @@ test('align_content_space_around_and_align_items_flex_start_with_flex_wrap', () const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -4935,8 +4825,6 @@ test('align_content_flex_start_stretch_doesnt_influence_line_box_dim', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -5100,8 +4988,6 @@ test('align_content_stretch_stretch_does_influence_line_box_dim', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -5266,8 +5152,6 @@ test('align_content_space_evenly_stretch_does_influence_line_box_dim', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); diff --git a/javascript/tests/generated/YGAlignItemsTest.test.ts b/javascript/tests/generated/YGAlignItemsTest.test.ts index 08166dae..cb586ede 100644 --- a/javascript/tests/generated/YGAlignItemsTest.test.ts +++ b/javascript/tests/generated/YGAlignItemsTest.test.ts @@ -4,7 +4,7 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @generated SignedSource<<385359983a1893255ac670b476003ea1>> + * @generated SignedSource<<6898e1d5236b8b7d6421e2c321d4adef>> * generated by gentest/gentest-driver.ts from gentest/fixtures/YGAlignItemsTest.html */ @@ -30,8 +30,6 @@ test('align_items_stretch', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -76,8 +74,6 @@ test('align_items_center', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setAlignItems(Align.Center); @@ -124,8 +120,6 @@ test('align_items_flex_start', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setAlignItems(Align.FlexStart); @@ -172,8 +166,6 @@ test('align_items_flex_end', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setAlignItems(Align.FlexEnd); @@ -220,8 +212,6 @@ test('align_baseline', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -284,8 +274,6 @@ test('align_baseline_child', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -363,8 +351,6 @@ test('align_baseline_child_multiline', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -489,8 +475,6 @@ test('align_baseline_child_multiline_override', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -617,8 +601,6 @@ test('align_baseline_child_multiline_no_override_on_secondline', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -744,8 +726,6 @@ test('align_baseline_child_top', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -824,8 +804,6 @@ test('align_baseline_child_top2', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -904,8 +882,6 @@ test('align_baseline_double_nested_child', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -998,8 +974,6 @@ test('align_baseline_column', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setAlignItems(Align.Baseline); @@ -1061,8 +1035,6 @@ test('align_baseline_child_margin', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -1148,8 +1120,6 @@ test('align_baseline_child_padding', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -1235,8 +1205,6 @@ test('align_baseline_multiline', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -1360,8 +1328,6 @@ test.skip('align_baseline_multiline_column', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setAlignItems(Align.Baseline); @@ -1484,8 +1450,6 @@ test.skip('align_baseline_multiline_column2', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setAlignItems(Align.Baseline); @@ -1608,8 +1572,6 @@ test('align_baseline_multiline_row_and_column', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -1733,8 +1695,6 @@ test('align_items_center_child_with_margin_bigger_than_parent', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setJustifyContent(Justify.Center); @@ -1798,8 +1758,6 @@ test('align_items_flex_end_child_with_margin_bigger_than_parent', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setJustifyContent(Justify.Center); @@ -1863,8 +1821,6 @@ test('align_items_center_child_without_margin_bigger_than_parent', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setJustifyContent(Justify.Center); @@ -1926,8 +1882,6 @@ test('align_items_flex_end_child_without_margin_bigger_than_parent', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setJustifyContent(Justify.Center); @@ -1989,8 +1943,6 @@ test('align_center_should_size_based_on_content', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setAlignItems(Align.Center); @@ -2068,8 +2020,6 @@ test('align_stretch_should_size_based_on_parent', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -2146,8 +2096,6 @@ test('align_flex_start_with_shrinking_children', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -2222,8 +2170,6 @@ test('align_flex_start_with_stretching_children', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -2297,8 +2243,6 @@ test('align_flex_start_with_shrinking_children_with_stretch', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); diff --git a/javascript/tests/generated/YGAlignSelfTest.test.ts b/javascript/tests/generated/YGAlignSelfTest.test.ts index c3f8d1db..0cfa1a50 100644 --- a/javascript/tests/generated/YGAlignSelfTest.test.ts +++ b/javascript/tests/generated/YGAlignSelfTest.test.ts @@ -4,7 +4,7 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @generated SignedSource<> + * @generated SignedSource<<353dcfc198766f52fa7a84b1f47fab23>> * generated by gentest/gentest-driver.ts from gentest/fixtures/YGAlignSelfTest.html */ @@ -30,8 +30,6 @@ test('align_self_center', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -78,8 +76,6 @@ test('align_self_flex_end', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -126,8 +122,6 @@ test('align_self_flex_start', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -174,8 +168,6 @@ test('align_self_flex_end_override_flex_start', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setAlignItems(Align.FlexStart); @@ -223,8 +215,6 @@ test('align_self_baseline', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); diff --git a/javascript/tests/generated/YGAndroidNewsFeed.test.ts b/javascript/tests/generated/YGAndroidNewsFeed.test.ts index 02901bec..47d71af5 100644 --- a/javascript/tests/generated/YGAndroidNewsFeed.test.ts +++ b/javascript/tests/generated/YGAndroidNewsFeed.test.ts @@ -4,7 +4,7 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @generated SignedSource<<6e99817d4a64ac55d5e204efd8d19aeb>> + * @generated SignedSource<> * generated by gentest/gentest-driver.ts from gentest/fixtures/YGAndroidNewsFeed.html */ @@ -30,8 +30,6 @@ test('android_news_feed', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setAlignContent(Align.Stretch); diff --git a/javascript/tests/generated/YGAspectRatioTest.test.ts b/javascript/tests/generated/YGAspectRatioTest.test.ts index 383ed1a5..3a70fe7f 100644 --- a/javascript/tests/generated/YGAspectRatioTest.test.ts +++ b/javascript/tests/generated/YGAspectRatioTest.test.ts @@ -4,7 +4,7 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @generated SignedSource<<3ac25c19e4407880aca2a6c1273927b6>> + * @generated SignedSource<> * generated by gentest/gentest-driver.ts from gentest/fixtures/YGAspectRatioTest.html */ @@ -30,8 +30,6 @@ test.skip('aspect_ratio_does_not_stretch_cross_axis_dim', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); diff --git a/javascript/tests/generated/YGBorderTest.test.ts b/javascript/tests/generated/YGBorderTest.test.ts index 9e703e22..ff37e163 100644 --- a/javascript/tests/generated/YGBorderTest.test.ts +++ b/javascript/tests/generated/YGBorderTest.test.ts @@ -4,7 +4,7 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @generated SignedSource<<2e9d73d454aa734212a0ad3a58988ca7>> + * @generated SignedSource<<27363e405aac02603d06d5f06fa107ba>> * generated by gentest/gentest-driver.ts from gentest/fixtures/YGBorderTest.html */ @@ -30,8 +30,6 @@ test('border_no_size', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -64,8 +62,6 @@ test('border_container_match_child', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -113,8 +109,6 @@ test('border_flex_child', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -164,8 +158,6 @@ test('border_stretch_child', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -214,8 +206,6 @@ test('border_center_child', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setJustifyContent(Justify.Center); diff --git a/javascript/tests/generated/YGDimensionTest.test.ts b/javascript/tests/generated/YGDimensionTest.test.ts index d4247e98..c34c464f 100644 --- a/javascript/tests/generated/YGDimensionTest.test.ts +++ b/javascript/tests/generated/YGDimensionTest.test.ts @@ -4,7 +4,7 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @generated SignedSource<<9e7ecc566aba4120d45204870745a9b5>> + * @generated SignedSource<<557b8f6c7b3abd35d4f10cc83c650caf>> * generated by gentest/gentest-driver.ts from gentest/fixtures/YGDimensionTest.html */ @@ -30,8 +30,6 @@ test('wrap_child', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -75,8 +73,6 @@ test('wrap_grandchild', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); diff --git a/javascript/tests/generated/YGDisplayTest.test.ts b/javascript/tests/generated/YGDisplayTest.test.ts index db0fc687..33c58b1d 100644 --- a/javascript/tests/generated/YGDisplayTest.test.ts +++ b/javascript/tests/generated/YGDisplayTest.test.ts @@ -4,7 +4,7 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @generated SignedSource<<83236c61730001945983b4f11d3b8573>> + * @generated SignedSource<> * generated by gentest/gentest-driver.ts from gentest/fixtures/YGDisplayTest.html */ @@ -30,8 +30,6 @@ test('display_none', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -92,8 +90,6 @@ test('display_none_fixed_size', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -155,8 +151,6 @@ test('display_none_with_margin', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -222,8 +216,6 @@ test('display_none_with_child', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -321,8 +313,6 @@ test('display_none_with_position', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -384,8 +374,6 @@ test('display_none_with_position_absolute', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); diff --git a/javascript/tests/generated/YGFlexDirectionTest.test.ts b/javascript/tests/generated/YGFlexDirectionTest.test.ts index de21fbb5..05955433 100644 --- a/javascript/tests/generated/YGFlexDirectionTest.test.ts +++ b/javascript/tests/generated/YGFlexDirectionTest.test.ts @@ -4,7 +4,7 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @generated SignedSource<> + * @generated SignedSource<<61e2e5c148d45c0bbb6bc886991bf3b9>> * generated by gentest/gentest-driver.ts from gentest/fixtures/YGFlexDirectionTest.html */ @@ -30,8 +30,6 @@ test('flex_direction_column_no_height', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -103,8 +101,6 @@ test('flex_direction_row_no_width', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -177,8 +173,6 @@ test('flex_direction_column', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -251,8 +245,6 @@ test('flex_direction_row', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -326,8 +318,6 @@ test('flex_direction_column_reverse', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.ColumnReverse); @@ -401,8 +391,6 @@ test('flex_direction_row_reverse', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.RowReverse); @@ -476,8 +464,6 @@ test('flex_direction_row_reverse_margin_left', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.RowReverse); @@ -552,8 +538,6 @@ test('flex_direction_row_reverse_margin_start', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.RowReverse); @@ -628,8 +612,6 @@ test('flex_direction_row_reverse_margin_right', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.RowReverse); @@ -704,8 +686,6 @@ test('flex_direction_row_reverse_margin_end', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.RowReverse); @@ -780,8 +760,6 @@ test('flex_direction_column_reverse_margin_top', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.ColumnReverse); @@ -856,8 +834,6 @@ test('flex_direction_column_reverse_margin_bottom', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.ColumnReverse); @@ -932,8 +908,6 @@ test('flex_direction_row_reverse_padding_left', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.RowReverse); @@ -1008,8 +982,6 @@ test('flex_direction_row_reverse_padding_start', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.RowReverse); @@ -1084,8 +1056,6 @@ test('flex_direction_row_reverse_padding_right', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.RowReverse); @@ -1160,8 +1130,6 @@ test('flex_direction_row_reverse_padding_end', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.RowReverse); @@ -1236,8 +1204,6 @@ test('flex_direction_column_reverse_padding_top', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.ColumnReverse); @@ -1312,8 +1278,6 @@ test('flex_direction_column_reverse_padding_bottom', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.ColumnReverse); @@ -1388,8 +1352,6 @@ test('flex_direction_row_reverse_border_left', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.RowReverse); @@ -1464,8 +1426,6 @@ test('flex_direction_row_reverse_border_start', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.RowReverse); @@ -1540,8 +1500,6 @@ test('flex_direction_row_reverse_border_right', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.RowReverse); @@ -1616,8 +1574,6 @@ test('flex_direction_row_reverse_border_end', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.RowReverse); @@ -1692,8 +1648,6 @@ test('flex_direction_column_reverse_border_top', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.ColumnReverse); @@ -1768,8 +1722,6 @@ test('flex_direction_column_reverse_border_bottom', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.ColumnReverse); @@ -1844,8 +1796,6 @@ test('flex_direction_row_reverse_pos_left', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -1935,8 +1885,6 @@ test('flex_direction_row_reverse_pos_start', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -2026,8 +1974,6 @@ test('flex_direction_row_reverse_pos_right', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -2117,8 +2063,6 @@ test('flex_direction_row_reverse_pos_end', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -2208,8 +2152,6 @@ test('flex_direction_column_reverse_pos_top', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -2299,8 +2241,6 @@ test('flex_direction_column_reverse_pos_bottom', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -2390,8 +2330,6 @@ test('flex_direction_row_reverse_inner_pos_left', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -2483,8 +2421,6 @@ test('flex_direction_row_reverse_inner_pos_right', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -2576,8 +2512,6 @@ test('flex_direction_col_reverse_inner_pos_top', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -2669,8 +2603,6 @@ test('flex_direction_col_reverse_inner_pos_bottom', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -2762,8 +2694,6 @@ test.skip('flex_direction_row_reverse_inner_pos_start', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -2855,8 +2785,6 @@ test.skip('flex_direction_row_reverse_inner_pos_end', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -2948,8 +2876,6 @@ test('flex_direction_row_reverse_inner_margin_left', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -3041,8 +2967,6 @@ test('flex_direction_row_reverse_inner_margin_right', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -3134,8 +3058,6 @@ test('flex_direction_col_reverse_inner_margin_top', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -3227,8 +3149,6 @@ test('flex_direction_col_reverse_inner_margin_bottom', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -3320,8 +3240,6 @@ test('flex_direction_row_reverse_inner_marign_start', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -3413,8 +3331,6 @@ test('flex_direction_row_reverse_inner_margin_end', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -3506,8 +3422,6 @@ test('flex_direction_row_reverse_inner_border_left', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -3599,8 +3513,6 @@ test('flex_direction_row_reverse_inner_border_right', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -3692,8 +3604,6 @@ test('flex_direction_col_reverse_inner_border_top', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -3785,8 +3695,6 @@ test('flex_direction_col_reverse_inner_border_bottom', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -3878,8 +3786,6 @@ test('flex_direction_row_reverse_inner_border_start', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -3971,8 +3877,6 @@ test('flex_direction_row_reverse_inner_border_end', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -4064,8 +3968,6 @@ test('flex_direction_row_reverse_inner_padding_left', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -4157,8 +4059,6 @@ test('flex_direction_row_reverse_inner_padding_right', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -4250,8 +4150,6 @@ test('flex_direction_col_reverse_inner_padding_top', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -4343,8 +4241,6 @@ test('flex_direction_col_reverse_inner_padding_bottom', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -4436,8 +4332,6 @@ test('flex_direction_row_reverse_inner_padding_start', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -4529,8 +4423,6 @@ test('flex_direction_row_reverse_inner_padding_end', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); diff --git a/javascript/tests/generated/YGFlexTest.test.ts b/javascript/tests/generated/YGFlexTest.test.ts index 3320a4b4..0b36ac74 100644 --- a/javascript/tests/generated/YGFlexTest.test.ts +++ b/javascript/tests/generated/YGFlexTest.test.ts @@ -4,7 +4,7 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @generated SignedSource<> + * @generated SignedSource<> * generated by gentest/gentest-driver.ts from gentest/fixtures/YGFlexTest.html */ @@ -30,8 +30,6 @@ test('flex_basis_flex_grow_column', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -91,8 +89,6 @@ test('flex_shrink_flex_grow_row', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -156,8 +152,6 @@ test('flex_shrink_flex_grow_child_flex_shrink_other_child', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -222,8 +216,6 @@ test('flex_basis_flex_grow_row', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -284,8 +276,6 @@ test('flex_basis_flex_shrink_column', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -345,8 +335,6 @@ test('flex_basis_flex_shrink_row', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -407,8 +395,6 @@ test('flex_shrink_to_zero', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -484,8 +470,6 @@ test('flex_basis_overrides_main_size', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -562,8 +546,6 @@ test('flex_grow_shrink_at_most', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -622,8 +604,6 @@ test('flex_grow_less_than_factor_one', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); diff --git a/javascript/tests/generated/YGFlexWrapTest.test.ts b/javascript/tests/generated/YGFlexWrapTest.test.ts index d50942ec..99e90bb3 100644 --- a/javascript/tests/generated/YGFlexWrapTest.test.ts +++ b/javascript/tests/generated/YGFlexWrapTest.test.ts @@ -4,7 +4,7 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @generated SignedSource<<6ec020ec4e84b8a877a84ce11981f7b3>> + * @generated SignedSource<> * generated by gentest/gentest-driver.ts from gentest/fixtures/YGFlexWrapTest.html */ @@ -30,8 +30,6 @@ test('wrap_column', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -122,8 +120,6 @@ test('wrap_row', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -215,8 +211,6 @@ test('wrap_row_align_items_flex_end', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -309,8 +303,6 @@ test('wrap_row_align_items_center', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -403,8 +395,6 @@ test('flex_wrap_children_with_min_main_overriding_flex_basis', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -468,8 +458,6 @@ test('flex_wrap_wrap_to_child_height', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -558,8 +546,6 @@ test('flex_wrap_align_stretch_fits_one_row', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -620,8 +606,6 @@ test('wrap_reverse_row_align_content_flex_start', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -728,8 +712,6 @@ test('wrap_reverse_row_align_content_center', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -837,8 +819,6 @@ test('wrap_reverse_row_single_line_different_size', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -945,8 +925,6 @@ test('wrap_reverse_row_align_content_stretch', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -1054,8 +1032,6 @@ test('wrap_reverse_row_align_content_space_around', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -1163,8 +1139,6 @@ test('wrap_reverse_column_fixed_size', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setAlignItems(Align.Center); @@ -1272,8 +1246,6 @@ test('wrapped_row_within_align_items_center', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setAlignItems(Align.Center); @@ -1350,8 +1322,6 @@ test('wrapped_row_within_align_items_flex_start', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setAlignItems(Align.FlexStart); @@ -1428,8 +1398,6 @@ test('wrapped_row_within_align_items_flex_end', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setAlignItems(Align.FlexEnd); @@ -1506,8 +1474,6 @@ test('wrapped_column_max_height', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setJustifyContent(Justify.Center); @@ -1592,8 +1558,6 @@ test('wrapped_column_max_height_flex', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setJustifyContent(Justify.Center); @@ -1684,8 +1648,6 @@ test('wrap_nodes_with_content_sizing_overflowing_margin', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -1789,8 +1751,6 @@ test('wrap_nodes_with_content_sizing_margin_cross', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -1894,8 +1854,6 @@ test('wrap_with_min_cross_axis', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -1958,8 +1916,6 @@ test('wrap_with_max_cross_axis', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -2022,8 +1978,6 @@ test('nowrap_expands_flexline_box_to_min_cross', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -2070,8 +2024,6 @@ test('wrap_does_not_impose_min_cross_onto_single_flexline', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); diff --git a/javascript/tests/generated/YGGapTest.test.ts b/javascript/tests/generated/YGGapTest.test.ts index 9ebdc24c..d40fe15f 100644 --- a/javascript/tests/generated/YGGapTest.test.ts +++ b/javascript/tests/generated/YGGapTest.test.ts @@ -4,7 +4,7 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @generated SignedSource<<6c74741b8c1f065f50e209df81508dfa>> + * @generated SignedSource<> * generated by gentest/gentest-driver.ts from gentest/fixtures/YGGapTest.html */ @@ -30,8 +30,6 @@ test('column_gap_flexible', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -113,8 +111,6 @@ test('column_gap_inflexible', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -189,8 +185,6 @@ test('column_gap_mixed_flexible', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -267,8 +261,6 @@ test('column_gap_child_margins', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -355,8 +347,6 @@ test('column_row_gap_wrapping', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -525,8 +515,6 @@ test('column_gap_start_index', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -621,8 +609,6 @@ test('column_gap_justify_flex_start', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -697,8 +683,6 @@ test('column_gap_justify_center', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -774,8 +758,6 @@ test('column_gap_justify_flex_end', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -851,8 +833,6 @@ test('column_gap_justify_space_between', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -928,8 +908,6 @@ test('column_gap_justify_space_around', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -1005,8 +983,6 @@ test('column_gap_justify_space_evenly', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -1082,8 +1058,6 @@ test('column_gap_wrap_align_flex_start', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -1208,8 +1182,6 @@ test('column_gap_wrap_align_center', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -1335,8 +1307,6 @@ test('column_gap_wrap_align_flex_end', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -1462,8 +1432,6 @@ test('column_gap_wrap_align_space_between', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -1589,8 +1557,6 @@ test('column_gap_wrap_align_space_around', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -1716,8 +1682,6 @@ test('column_gap_wrap_align_stretch', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -1827,8 +1791,6 @@ test('column_gap_determines_parent_width', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -1902,8 +1864,6 @@ test('row_gap_align_items_stretch', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -2023,8 +1983,6 @@ test('row_gap_align_items_end', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -2144,8 +2102,6 @@ test('row_gap_column_child_margins', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -2231,8 +2187,6 @@ test('row_gap_row_wrap_child_margins', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -2314,8 +2268,6 @@ test('row_gap_determines_parent_height', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); diff --git a/javascript/tests/generated/YGJustifyContentTest.test.ts b/javascript/tests/generated/YGJustifyContentTest.test.ts index b2b1746f..1c16c942 100644 --- a/javascript/tests/generated/YGJustifyContentTest.test.ts +++ b/javascript/tests/generated/YGJustifyContentTest.test.ts @@ -4,7 +4,7 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @generated SignedSource<<1fdeca7eb4d706ca8ed52add50aa7c70>> + * @generated SignedSource<<1bf27853929efafcaddd97d42631623a>> * generated by gentest/gentest-driver.ts from gentest/fixtures/YGJustifyContentTest.html */ @@ -30,8 +30,6 @@ test('justify_content_row_flex_start', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -105,8 +103,6 @@ test('justify_content_row_flex_end', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -181,8 +177,6 @@ test('justify_content_row_center', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -257,8 +251,6 @@ test('justify_content_row_space_between', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -333,8 +325,6 @@ test('justify_content_row_space_around', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -409,8 +399,6 @@ test('justify_content_column_flex_start', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -483,8 +471,6 @@ test('justify_content_column_flex_end', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setJustifyContent(Justify.FlexEnd); @@ -558,8 +544,6 @@ test('justify_content_column_center', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setJustifyContent(Justify.Center); @@ -633,8 +617,6 @@ test('justify_content_column_space_between', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setJustifyContent(Justify.SpaceBetween); @@ -708,8 +690,6 @@ test('justify_content_column_space_around', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setJustifyContent(Justify.SpaceAround); @@ -783,8 +763,6 @@ test('justify_content_row_min_width_and_margin', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -832,8 +810,6 @@ test('justify_content_row_max_width_and_margin', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -882,8 +858,6 @@ test('justify_content_column_min_height_and_margin', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setJustifyContent(Justify.Center); @@ -930,8 +904,6 @@ test('justify_content_colunn_max_height_and_margin', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setJustifyContent(Justify.Center); @@ -979,8 +951,6 @@ test('justify_content_column_space_evenly', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setJustifyContent(Justify.SpaceEvenly); @@ -1054,8 +1024,6 @@ test('justify_content_row_space_evenly', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -1130,8 +1098,6 @@ test('justify_content_min_width_with_padding_child_width_greater_than_parent', ( const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setAlignContent(Align.Stretch); @@ -1214,8 +1180,6 @@ test('justify_content_min_width_with_padding_child_width_lower_than_parent', () const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setAlignContent(Align.Stretch); @@ -1298,8 +1262,6 @@ test('justify_content_space_between_indefinite_container_dim_with_free_space', ( const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setAlignItems(Align.Center); diff --git a/javascript/tests/generated/YGMarginTest.test.ts b/javascript/tests/generated/YGMarginTest.test.ts index aac34835..10029189 100644 --- a/javascript/tests/generated/YGMarginTest.test.ts +++ b/javascript/tests/generated/YGMarginTest.test.ts @@ -4,7 +4,7 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @generated SignedSource<<93d5e518e445549782e4f3670df5429a>> + * @generated SignedSource<<79831907abb00f351a96c184e6586986>> * generated by gentest/gentest-driver.ts from gentest/fixtures/YGMarginTest.html */ @@ -30,8 +30,6 @@ test('margin_start', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -78,8 +76,6 @@ test('margin_top', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -125,8 +121,6 @@ test('margin_end', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -174,8 +168,6 @@ test('margin_bottom', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setJustifyContent(Justify.FlexEnd); @@ -222,8 +214,6 @@ test('margin_and_flex_row', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -271,8 +261,6 @@ test('margin_and_flex_column', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -319,8 +307,6 @@ test('margin_and_stretch_row', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -368,8 +354,6 @@ test('margin_and_stretch_column', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -416,8 +400,6 @@ test('margin_with_sibling_row', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -478,8 +460,6 @@ test('margin_with_sibling_column', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -539,8 +519,6 @@ test('margin_auto_bottom', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setAlignItems(Align.Center); @@ -603,8 +581,6 @@ test('margin_auto_top', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setAlignItems(Align.Center); @@ -667,8 +643,6 @@ test('margin_auto_bottom_and_top', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setAlignItems(Align.Center); @@ -732,8 +706,6 @@ test('margin_auto_bottom_and_top_justify_center', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setJustifyContent(Justify.Center); @@ -797,8 +769,6 @@ test('margin_auto_mutiple_children_column', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setAlignItems(Align.Center); @@ -877,8 +847,6 @@ test('margin_auto_mutiple_children_row', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -958,8 +926,6 @@ test('margin_auto_left_and_right_column', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -1024,8 +990,6 @@ test('margin_auto_left_and_right', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -1088,8 +1052,6 @@ test('margin_auto_start_and_end_column', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -1154,8 +1116,6 @@ test('margin_auto_start_and_end', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -1218,8 +1178,6 @@ test('margin_auto_left_and_right_column_and_center', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setAlignItems(Align.Center); @@ -1283,8 +1241,6 @@ test('margin_auto_left', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setAlignItems(Align.Center); @@ -1347,8 +1303,6 @@ test('margin_auto_right', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setAlignItems(Align.Center); @@ -1411,8 +1365,6 @@ test('margin_auto_left_and_right_stretch', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -1476,8 +1428,6 @@ test('margin_auto_top_and_bottom_stretch', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -1540,8 +1490,6 @@ test('margin_should_not_be_part_of_max_height', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -1589,8 +1537,6 @@ test('margin_should_not_be_part_of_max_width', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -1638,8 +1584,6 @@ test('margin_auto_left_right_child_bigger_than_parent', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setJustifyContent(Justify.Center); @@ -1688,8 +1632,6 @@ test('margin_auto_left_child_bigger_than_parent', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setJustifyContent(Justify.Center); @@ -1737,8 +1679,6 @@ test('margin_fix_left_auto_right_child_bigger_than_parent', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setJustifyContent(Justify.Center); @@ -1787,8 +1727,6 @@ test('margin_auto_left_fix_right_child_bigger_than_parent', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setJustifyContent(Justify.Center); @@ -1837,8 +1775,6 @@ test('margin_auto_top_stretching_child', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setAlignItems(Align.Center); @@ -1902,8 +1838,6 @@ test('margin_auto_left_stretching_child', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setAlignItems(Align.Center); diff --git a/javascript/tests/generated/YGMinMaxDimensionTest.test.ts b/javascript/tests/generated/YGMinMaxDimensionTest.test.ts index e077da62..646874fd 100644 --- a/javascript/tests/generated/YGMinMaxDimensionTest.test.ts +++ b/javascript/tests/generated/YGMinMaxDimensionTest.test.ts @@ -4,7 +4,7 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @generated SignedSource<<52ab821d350bb0f9160b94658952f64e>> + * @generated SignedSource<> * generated by gentest/gentest-driver.ts from gentest/fixtures/YGMinMaxDimensionTest.html */ @@ -30,8 +30,6 @@ test('max_width', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -77,8 +75,6 @@ test('max_height', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -125,8 +121,6 @@ test.skip('min_height', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -186,8 +180,6 @@ test.skip('min_width', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -248,8 +240,6 @@ test('justify_content_min_max', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setJustifyContent(Justify.Center); @@ -297,8 +287,6 @@ test('align_items_min_max', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setAlignItems(Align.Center); @@ -346,8 +334,6 @@ test('justify_content_overflow_min_max', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setJustifyContent(Justify.Center); @@ -424,8 +410,6 @@ test('flex_grow_to_min', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -486,8 +470,6 @@ test('flex_grow_in_at_most_container', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -549,8 +531,6 @@ test('flex_grow_child', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -596,8 +576,6 @@ test('flex_grow_within_constrained_min_max_column', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -656,8 +634,6 @@ test('flex_grow_within_max_width', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -718,8 +694,6 @@ test('flex_grow_within_constrained_max_width', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -780,8 +754,6 @@ test('flex_root_ignored', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -843,8 +815,6 @@ test('flex_grow_root_minimized', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -921,8 +891,6 @@ test('flex_grow_height_maximized', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -998,8 +966,6 @@ test('flex_grow_within_constrained_min_row', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -1059,8 +1025,6 @@ test('flex_grow_within_constrained_min_column', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -1118,8 +1082,6 @@ test('flex_grow_within_constrained_max_row', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -1194,8 +1156,6 @@ test('flex_grow_within_constrained_max_column', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -1255,8 +1215,6 @@ test('child_min_max_width_flexing', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -1320,8 +1278,6 @@ test('min_width_overrides_width', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -1352,8 +1308,6 @@ test('max_width_overrides_width', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -1384,8 +1338,6 @@ test('min_height_overrides_height', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -1416,8 +1368,6 @@ test('max_height_overrides_height', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -1448,8 +1398,6 @@ test('min_max_percent_no_width_height', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setAlignItems(Align.FlexStart); diff --git a/javascript/tests/generated/YGPaddingTest.test.ts b/javascript/tests/generated/YGPaddingTest.test.ts index 6ada68aa..d208adff 100644 --- a/javascript/tests/generated/YGPaddingTest.test.ts +++ b/javascript/tests/generated/YGPaddingTest.test.ts @@ -4,7 +4,7 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @generated SignedSource<<0ede4a9387a257dee981b0be5b9bddbd>> + * @generated SignedSource<> * generated by gentest/gentest-driver.ts from gentest/fixtures/YGPaddingTest.html */ @@ -30,8 +30,6 @@ test('padding_no_size', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -64,8 +62,6 @@ test('padding_container_match_child', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -113,8 +109,6 @@ test('padding_flex_child', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -164,8 +158,6 @@ test('padding_stretch_child', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -214,8 +206,6 @@ test('padding_center_child', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setJustifyContent(Justify.Center); @@ -266,8 +256,6 @@ test('child_with_padding_align_end', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setJustifyContent(Justify.FlexEnd); diff --git a/javascript/tests/generated/YGPercentageTest.test.ts b/javascript/tests/generated/YGPercentageTest.test.ts index fd38d949..36cc0abb 100644 --- a/javascript/tests/generated/YGPercentageTest.test.ts +++ b/javascript/tests/generated/YGPercentageTest.test.ts @@ -4,7 +4,7 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @generated SignedSource<<3ec0d105e6fe56cb6eb30f8f9217cacd>> + * @generated SignedSource<<830099a8328eae16955128bfb531ccb2>> * generated by gentest/gentest-driver.ts from gentest/fixtures/YGPercentageTest.html */ @@ -30,8 +30,6 @@ test('percentage_width_height', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -78,8 +76,6 @@ test('percentage_position_left_top', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -128,8 +124,6 @@ test('percentage_position_bottom_right', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -178,8 +172,6 @@ test('percentage_flex_basis', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -241,8 +233,6 @@ test('percentage_flex_basis_cross', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -303,8 +293,6 @@ test.skip('percentage_flex_basis_cross_min_height', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -365,8 +353,6 @@ test('percentage_flex_basis_main_max_height', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -430,8 +416,6 @@ test('percentage_flex_basis_cross_max_height', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -494,8 +478,6 @@ test('percentage_flex_basis_main_max_width', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -559,8 +541,6 @@ test('percentage_flex_basis_cross_max_width', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -623,8 +603,6 @@ test('percentage_flex_basis_main_min_width', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -688,8 +666,6 @@ test('percentage_flex_basis_cross_min_width', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -752,8 +728,6 @@ test('percentage_multiple_nested_with_padding_margin_and_percentage_values', () const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -868,8 +842,6 @@ test('percentage_margin_should_calculate_based_only_on_width', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -933,8 +905,6 @@ test('percentage_padding_should_calculate_based_only_on_width', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -998,8 +968,6 @@ test('percentage_absolute_position', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -1048,8 +1016,6 @@ test('percentage_width_height_undefined_parent_size', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -1093,8 +1059,6 @@ test('percent_within_flex_grow', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -1182,8 +1146,6 @@ test('percentage_container_in_wrapping_container', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setJustifyContent(Justify.Center); @@ -1275,8 +1237,6 @@ test('percent_absolute_position', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -1353,8 +1313,6 @@ test('percent_of_minmax_main', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -1402,8 +1360,6 @@ test.skip('percent_of_min_main', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -1450,8 +1406,6 @@ test.skip('percent_of_min_main_multiple', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -1528,8 +1482,6 @@ test.skip('percent_of_max_main', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -1576,8 +1528,6 @@ test('percent_of_minmax_cross_stretched', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -1624,8 +1574,6 @@ test('percent_absolute_of_minmax_cross_stretched', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -1673,8 +1621,6 @@ test('percent_of_minmax_cross_unstretched', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setAlignItems(Align.FlexStart); @@ -1722,8 +1668,6 @@ test.skip('percent_of_min_cross_unstretched', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setAlignItems(Align.FlexStart); @@ -1770,8 +1714,6 @@ test('percent_of_max_cross_unstretched', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setAlignItems(Align.FlexStart); diff --git a/javascript/tests/generated/YGRoundingTest.test.ts b/javascript/tests/generated/YGRoundingTest.test.ts index cb52facf..64e3f911 100644 --- a/javascript/tests/generated/YGRoundingTest.test.ts +++ b/javascript/tests/generated/YGRoundingTest.test.ts @@ -4,7 +4,7 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @generated SignedSource<<1132efa685e8c02062c77e559ae2a6ec>> + * @generated SignedSource<<2814c9e579a5d6a4367bf35d92bd1cc9>> * generated by gentest/gentest-driver.ts from gentest/fixtures/YGRoundingTest.html */ @@ -30,8 +30,6 @@ test('rounding_flex_basis_flex_grow_row_width_of_100', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -105,8 +103,6 @@ test('rounding_flex_basis_flex_grow_row_prime_number_width', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -208,8 +204,6 @@ test('rounding_flex_basis_flex_shrink_row', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -284,8 +278,6 @@ test('rounding_flex_basis_overrides_main_size', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -362,8 +354,6 @@ test('rounding_total_fractial', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -440,8 +430,6 @@ test('rounding_total_fractial_nested', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -552,8 +540,6 @@ test('rounding_fractial_input_1', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -630,8 +616,6 @@ test('rounding_fractial_input_2', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -708,8 +692,6 @@ test('rounding_fractial_input_3', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -787,8 +769,6 @@ test('rounding_fractial_input_4', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -866,8 +846,6 @@ test('rounding_inner_node_controversy_horizontal', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); @@ -958,8 +936,6 @@ test('rounding_inner_node_controversy_vertical', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -1049,8 +1025,6 @@ test('rounding_inner_node_controversy_combined', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setFlexDirection(FlexDirection.Row); diff --git a/javascript/tests/generated/YGSizeOverflowTest.test.ts b/javascript/tests/generated/YGSizeOverflowTest.test.ts index cbcac496..cb9ebb0c 100644 --- a/javascript/tests/generated/YGSizeOverflowTest.test.ts +++ b/javascript/tests/generated/YGSizeOverflowTest.test.ts @@ -4,7 +4,7 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @generated SignedSource<<76a548184c3b6c1be615c613c3615f47>> + * @generated SignedSource<<01de372ba12d9bd521148401d69bca0f>> * generated by gentest/gentest-driver.ts from gentest/fixtures/YGSizeOverflowTest.html */ @@ -30,8 +30,6 @@ test('nested_overflowing_child', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -90,8 +88,6 @@ test('nested_overflowing_child_in_constraint_parent', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -152,8 +148,6 @@ test('parent_wrap_child_size_overflowing_parent', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); diff --git a/javascript/tests/generated/YGStaticPositionTest.test.ts b/javascript/tests/generated/YGStaticPositionTest.test.ts index 724eda3e..19a8a151 100644 --- a/javascript/tests/generated/YGStaticPositionTest.test.ts +++ b/javascript/tests/generated/YGStaticPositionTest.test.ts @@ -4,7 +4,7 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @generated SignedSource<<2b8898040d6bc7b34efc9316f4126229>> + * @generated SignedSource<<6040773dbe8767011fe186f20ead2b56>> * generated by gentest/gentest-driver.ts from gentest/fixtures/YGStaticPositionTest.html */ @@ -30,8 +30,6 @@ test('static_position_insets_have_no_effect_left_top', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -78,8 +76,6 @@ test('static_position_insets_have_no_effect_right_bottom', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -126,8 +122,6 @@ test('static_position_absolute_child_insets_relative_to_positioned_ancestor', () const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -206,8 +200,6 @@ test('static_position_absolute_child_insets_relative_to_positioned_ancestor_deep const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -337,8 +329,6 @@ test('static_position_absolute_child_width_percentage', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -414,8 +404,6 @@ test('static_position_relative_child_width_percentage', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -490,8 +478,6 @@ test('static_position_static_child_width_percentage', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -567,8 +553,6 @@ test('static_position_absolute_child_height_percentage', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -644,8 +628,6 @@ test('static_position_relative_child_height_percentage', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -720,8 +702,6 @@ test('static_position_static_child_height_percentage', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -797,8 +777,6 @@ test('static_position_absolute_child_left_percentage', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -875,8 +853,6 @@ test('static_position_relative_child_left_percentage', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -952,8 +928,6 @@ test('static_position_static_child_left_percentage', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -1030,8 +1004,6 @@ test('static_position_absolute_child_right_percentage', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -1108,8 +1080,6 @@ test('static_position_relative_child_right_percentage', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -1185,8 +1155,6 @@ test('static_position_static_child_right_percentage', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -1263,8 +1231,6 @@ test('static_position_absolute_child_top_percentage', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -1341,8 +1307,6 @@ test('static_position_relative_child_top_percentage', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -1418,8 +1382,6 @@ test('static_position_static_child_top_percentage', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -1496,8 +1458,6 @@ test('static_position_absolute_child_bottom_percentage', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -1574,8 +1534,6 @@ test('static_position_relative_child_bottom_percentage', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -1651,8 +1609,6 @@ test('static_position_static_child_bottom_percentage', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -1729,8 +1685,6 @@ test('static_position_absolute_child_margin_percentage', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -1810,8 +1764,6 @@ test('static_position_relative_child_margin_percentage', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -1890,8 +1842,6 @@ test('static_position_static_child_margin_percentage', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -1971,8 +1921,6 @@ test('static_position_absolute_child_padding_percentage', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -2052,8 +2000,6 @@ test('static_position_relative_child_padding_percentage', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -2132,8 +2078,6 @@ test('static_position_static_child_padding_percentage', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -2213,8 +2157,6 @@ test('static_position_absolute_child_border_percentage', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -2290,8 +2232,6 @@ test('static_position_relative_child_border_percentage', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -2366,8 +2306,6 @@ test('static_position_static_child_border_percentage', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -2443,8 +2381,6 @@ test('static_position_absolute_child_containing_block_padding_box', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -2524,8 +2460,6 @@ test('static_position_relative_child_containing_block_padding_box', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -2604,8 +2538,6 @@ test('static_position_static_child_containing_block_padding_box', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -2685,8 +2617,6 @@ test('static_position_absolute_child_containing_block_content_box', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -2750,8 +2680,6 @@ test('static_position_relative_child_containing_block_content_box', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -2814,8 +2742,6 @@ test('static_position_static_child_containing_block_content_box', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -2879,8 +2805,6 @@ test('static_position_containing_block_padding_and_border', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -2964,8 +2888,6 @@ test('static_position_amalgamation', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -3079,8 +3001,6 @@ test('static_position_no_position_amalgamation', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -3192,8 +3112,6 @@ test('static_position_zero_for_inset_amalgamation', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -3306,8 +3224,6 @@ test('static_position_start_inset_amalgamation', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -3420,8 +3336,6 @@ test('static_position_end_inset_amalgamation', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -3534,8 +3448,6 @@ test('static_position_row_reverse_amalgamation', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -3670,8 +3582,6 @@ test('static_position_column_reverse_amalgamation', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -3806,8 +3716,6 @@ test('static_position_justify_flex_start_amalgamation', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -4047,8 +3955,6 @@ test('static_position_justify_flex_start_position_set_amalgamation', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -4289,8 +4195,6 @@ test('static_position_no_definite_size_amalgamation', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -4424,8 +4328,6 @@ test('static_position_both_insets_set_amalgamation', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -4560,8 +4462,6 @@ test('static_position_justify_center_amalgamation', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -4802,8 +4702,6 @@ test('static_position_justify_flex_end_amalgamation', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -5044,8 +4942,6 @@ test('static_position_align_flex_start_amalgamation', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -5286,8 +5182,6 @@ test('static_position_align_center_amalgamation', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -5528,8 +5422,6 @@ test('static_position_align_flex_end_amalgamation', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Absolute); @@ -5770,8 +5662,6 @@ test('static_position_static_root', () => { const config = Yoga.Config.create(); let root; - config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true); - try { root = Yoga.Node.create(config); root.setPositionType(PositionType.Static); diff --git a/tests/YGRelayoutTest.cpp b/tests/YGRelayoutTest.cpp index b7faf6b4..cb60a3d2 100644 --- a/tests/YGRelayoutTest.cpp +++ b/tests/YGRelayoutTest.cpp @@ -52,8 +52,6 @@ TEST(YogaTest, recalculate_resolvedDimonsion_onchange) { TEST(YogaTest, relayout_containing_block_size_changes) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled( - config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); diff --git a/tests/generated/YGAbsolutePositionTest.cpp b/tests/generated/YGAbsolutePositionTest.cpp index 553f3fe4..6f4cd550 100644 --- a/tests/generated/YGAbsolutePositionTest.cpp +++ b/tests/generated/YGAbsolutePositionTest.cpp @@ -5,7 +5,7 @@ * LICENSE file in the root directory of this source tree. * * clang-format off - * @generated SignedSource<<38d0679f99374f3026798269898a0e8b>> + * @generated SignedSource<<7ec551af37eeaa71fcdc36b1018a1710>> * generated by gentest/gentest-driver.ts from gentest/fixtures/YGAbsolutePositionTest.html */ @@ -14,7 +14,6 @@ TEST(YogaTest, absolute_layout_width_height_start_top) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -59,7 +58,6 @@ TEST(YogaTest, absolute_layout_width_height_start_top) { TEST(YogaTest, absolute_layout_width_height_end_bottom) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -104,7 +102,6 @@ TEST(YogaTest, absolute_layout_width_height_end_bottom) { TEST(YogaTest, absolute_layout_start_top_end_bottom) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -149,7 +146,6 @@ TEST(YogaTest, absolute_layout_start_top_end_bottom) { TEST(YogaTest, absolute_layout_width_height_start_top_end_bottom) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -196,7 +192,6 @@ TEST(YogaTest, absolute_layout_width_height_start_top_end_bottom) { TEST(YogaTest, do_not_clamp_height_of_absolute_node_to_height_of_its_overflow_hidden_parent) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow); @@ -256,7 +251,6 @@ TEST(YogaTest, do_not_clamp_height_of_absolute_node_to_height_of_its_overflow_hi TEST(YogaTest, absolute_layout_within_border) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -375,7 +369,6 @@ TEST(YogaTest, absolute_layout_within_border) { TEST(YogaTest, absolute_layout_align_items_and_justify_content_center) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetJustifyContent(root, YGJustifyCenter); @@ -421,7 +414,6 @@ TEST(YogaTest, absolute_layout_align_items_and_justify_content_center) { TEST(YogaTest, absolute_layout_align_items_and_justify_content_flex_end) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetJustifyContent(root, YGJustifyFlexEnd); @@ -467,7 +459,6 @@ TEST(YogaTest, absolute_layout_align_items_and_justify_content_flex_end) { TEST(YogaTest, absolute_layout_justify_content_center) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetJustifyContent(root, YGJustifyCenter); @@ -512,7 +503,6 @@ TEST(YogaTest, absolute_layout_justify_content_center) { TEST(YogaTest, absolute_layout_align_items_center) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetAlignItems(root, YGAlignCenter); @@ -557,7 +547,6 @@ TEST(YogaTest, absolute_layout_align_items_center) { TEST(YogaTest, absolute_layout_align_items_center_on_child_only) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -602,7 +591,6 @@ TEST(YogaTest, absolute_layout_align_items_center_on_child_only) { TEST(YogaTest, absolute_layout_align_items_and_justify_content_center_and_top_position) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetJustifyContent(root, YGJustifyCenter); @@ -649,7 +637,6 @@ TEST(YogaTest, absolute_layout_align_items_and_justify_content_center_and_top_po TEST(YogaTest, absolute_layout_align_items_and_justify_content_center_and_bottom_position) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetJustifyContent(root, YGJustifyCenter); @@ -696,7 +683,6 @@ TEST(YogaTest, absolute_layout_align_items_and_justify_content_center_and_bottom TEST(YogaTest, absolute_layout_align_items_and_justify_content_center_and_left_position) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetJustifyContent(root, YGJustifyCenter); @@ -743,7 +729,6 @@ TEST(YogaTest, absolute_layout_align_items_and_justify_content_center_and_left_p TEST(YogaTest, absolute_layout_align_items_and_justify_content_center_and_right_position) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetJustifyContent(root, YGJustifyCenter); @@ -790,7 +775,6 @@ TEST(YogaTest, absolute_layout_align_items_and_justify_content_center_and_right_ TEST(YogaTest, position_root_with_rtl_should_position_withoutdirection) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -818,7 +802,6 @@ TEST(YogaTest, position_root_with_rtl_should_position_withoutdirection) { TEST(YogaTest, absolute_layout_percentage_bottom_based_on_parent_height) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -896,7 +879,6 @@ TEST(YogaTest, absolute_layout_percentage_bottom_based_on_parent_height) { TEST(YogaTest, absolute_layout_in_wrap_reverse_column_container) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -940,7 +922,6 @@ TEST(YogaTest, absolute_layout_in_wrap_reverse_column_container) { TEST(YogaTest, absolute_layout_in_wrap_reverse_row_container) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow); @@ -985,7 +966,6 @@ TEST(YogaTest, absolute_layout_in_wrap_reverse_row_container) { TEST(YogaTest, absolute_layout_in_wrap_reverse_column_container_flex_end) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -1030,7 +1010,6 @@ TEST(YogaTest, absolute_layout_in_wrap_reverse_column_container_flex_end) { TEST(YogaTest, absolute_layout_in_wrap_reverse_row_container_flex_end) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow); @@ -1076,7 +1055,6 @@ TEST(YogaTest, absolute_layout_in_wrap_reverse_row_container_flex_end) { TEST(YogaTest, percent_absolute_position_infinite_height) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -1134,7 +1112,6 @@ TEST(YogaTest, percent_absolute_position_infinite_height) { TEST(YogaTest, absolute_layout_percentage_height_based_on_padded_parent) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -1179,7 +1156,6 @@ TEST(YogaTest, absolute_layout_percentage_height_based_on_padded_parent) { TEST(YogaTest, absolute_layout_percentage_height_based_on_padded_parent_and_align_items_center) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetJustifyContent(root, YGJustifyCenter); @@ -1225,7 +1201,6 @@ TEST(YogaTest, absolute_layout_percentage_height_based_on_padded_parent_and_alig TEST(YogaTest, absolute_layout_padding_left) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -1269,7 +1244,6 @@ TEST(YogaTest, absolute_layout_padding_left) { TEST(YogaTest, absolute_layout_padding_right) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -1313,7 +1287,6 @@ TEST(YogaTest, absolute_layout_padding_right) { TEST(YogaTest, absolute_layout_padding_top) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -1357,7 +1330,6 @@ TEST(YogaTest, absolute_layout_padding_top) { TEST(YogaTest, absolute_layout_padding_bottom) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); diff --git a/tests/generated/YGAlignContentTest.cpp b/tests/generated/YGAlignContentTest.cpp index b491f8f9..01277502 100644 --- a/tests/generated/YGAlignContentTest.cpp +++ b/tests/generated/YGAlignContentTest.cpp @@ -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); diff --git a/tests/generated/YGAlignItemsTest.cpp b/tests/generated/YGAlignItemsTest.cpp index b2f9d3ff..82daf882 100644 --- a/tests/generated/YGAlignItemsTest.cpp +++ b/tests/generated/YGAlignItemsTest.cpp @@ -5,7 +5,7 @@ * LICENSE file in the root directory of this source tree. * * clang-format off - * @generated SignedSource<<377d2650a60fde365756c3a09f149340>> + * @generated SignedSource<> * generated by gentest/gentest-driver.ts from gentest/fixtures/YGAlignItemsTest.html */ @@ -14,7 +14,6 @@ TEST(YogaTest, align_items_stretch) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -55,7 +54,6 @@ TEST(YogaTest, align_items_stretch) { TEST(YogaTest, align_items_center) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetAlignItems(root, YGAlignCenter); @@ -98,7 +96,6 @@ TEST(YogaTest, align_items_center) { TEST(YogaTest, align_items_flex_start) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetAlignItems(root, YGAlignFlexStart); @@ -141,7 +138,6 @@ TEST(YogaTest, align_items_flex_start) { TEST(YogaTest, align_items_flex_end) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetAlignItems(root, YGAlignFlexEnd); @@ -184,7 +180,6 @@ TEST(YogaTest, align_items_flex_end) { TEST(YogaTest, align_baseline) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow); @@ -243,7 +238,6 @@ TEST(YogaTest, align_baseline) { TEST(YogaTest, align_baseline_child) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow); @@ -317,7 +311,6 @@ TEST(YogaTest, align_baseline_child) { TEST(YogaTest, align_baseline_child_multiline) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow); @@ -438,7 +431,6 @@ TEST(YogaTest, align_baseline_child_multiline) { TEST(YogaTest, align_baseline_child_multiline_override) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow); @@ -561,7 +553,6 @@ TEST(YogaTest, align_baseline_child_multiline_override) { TEST(YogaTest, align_baseline_child_multiline_no_override_on_secondline) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow); @@ -683,7 +674,6 @@ TEST(YogaTest, align_baseline_child_multiline_no_override_on_secondline) { TEST(YogaTest, align_baseline_child_top) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow); @@ -758,7 +748,6 @@ TEST(YogaTest, align_baseline_child_top) { TEST(YogaTest, align_baseline_child_top2) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow); @@ -833,7 +822,6 @@ TEST(YogaTest, align_baseline_child_top2) { TEST(YogaTest, align_baseline_double_nested_child) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow); @@ -922,7 +910,6 @@ TEST(YogaTest, align_baseline_double_nested_child) { TEST(YogaTest, align_baseline_column) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetAlignItems(root, YGAlignBaseline); @@ -980,7 +967,6 @@ TEST(YogaTest, align_baseline_column) { TEST(YogaTest, align_baseline_child_margin) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow); @@ -1062,7 +1048,6 @@ TEST(YogaTest, align_baseline_child_margin) { TEST(YogaTest, align_baseline_child_padding) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow); @@ -1144,7 +1129,6 @@ TEST(YogaTest, align_baseline_child_padding) { TEST(YogaTest, align_baseline_multiline) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow); @@ -1266,7 +1250,6 @@ TEST(YogaTest, align_baseline_multiline_column) { GTEST_SKIP(); const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetAlignItems(root, YGAlignBaseline); @@ -1387,7 +1370,6 @@ TEST(YogaTest, align_baseline_multiline_column2) { GTEST_SKIP(); const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetAlignItems(root, YGAlignBaseline); @@ -1506,7 +1488,6 @@ TEST(YogaTest, align_baseline_multiline_column2) { TEST(YogaTest, align_baseline_multiline_row_and_column) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow); @@ -1626,7 +1607,6 @@ TEST(YogaTest, align_baseline_multiline_row_and_column) { TEST(YogaTest, align_items_center_child_with_margin_bigger_than_parent) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetJustifyContent(root, YGJustifyCenter); @@ -1686,7 +1666,6 @@ TEST(YogaTest, align_items_center_child_with_margin_bigger_than_parent) { TEST(YogaTest, align_items_flex_end_child_with_margin_bigger_than_parent) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetJustifyContent(root, YGJustifyCenter); @@ -1746,7 +1725,6 @@ TEST(YogaTest, align_items_flex_end_child_with_margin_bigger_than_parent) { TEST(YogaTest, align_items_center_child_without_margin_bigger_than_parent) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetJustifyContent(root, YGJustifyCenter); @@ -1804,7 +1782,6 @@ TEST(YogaTest, align_items_center_child_without_margin_bigger_than_parent) { TEST(YogaTest, align_items_flex_end_child_without_margin_bigger_than_parent) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetJustifyContent(root, YGJustifyCenter); @@ -1862,7 +1839,6 @@ TEST(YogaTest, align_items_flex_end_child_without_margin_bigger_than_parent) { TEST(YogaTest, align_center_should_size_based_on_content) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetAlignItems(root, YGAlignCenter); @@ -1936,7 +1912,6 @@ TEST(YogaTest, align_center_should_size_based_on_content) { TEST(YogaTest, align_stretch_should_size_based_on_parent) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -2009,7 +1984,6 @@ TEST(YogaTest, align_stretch_should_size_based_on_parent) { TEST(YogaTest, align_flex_start_with_shrinking_children) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -2080,7 +2054,6 @@ TEST(YogaTest, align_flex_start_with_shrinking_children) { TEST(YogaTest, align_flex_start_with_stretching_children) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -2150,7 +2123,6 @@ TEST(YogaTest, align_flex_start_with_stretching_children) { TEST(YogaTest, align_flex_start_with_shrinking_children_with_stretch) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); diff --git a/tests/generated/YGAlignSelfTest.cpp b/tests/generated/YGAlignSelfTest.cpp index 154b57d6..4287a370 100644 --- a/tests/generated/YGAlignSelfTest.cpp +++ b/tests/generated/YGAlignSelfTest.cpp @@ -5,7 +5,7 @@ * LICENSE file in the root directory of this source tree. * * clang-format off - * @generated SignedSource<> + * @generated SignedSource<> * generated by gentest/gentest-driver.ts from gentest/fixtures/YGAlignSelfTest.html */ @@ -14,7 +14,6 @@ TEST(YogaTest, align_self_center) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -57,7 +56,6 @@ TEST(YogaTest, align_self_center) { TEST(YogaTest, align_self_flex_end) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -100,7 +98,6 @@ TEST(YogaTest, align_self_flex_end) { TEST(YogaTest, align_self_flex_start) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -143,7 +140,6 @@ TEST(YogaTest, align_self_flex_start) { TEST(YogaTest, align_self_flex_end_override_flex_start) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetAlignItems(root, YGAlignFlexStart); @@ -187,7 +183,6 @@ TEST(YogaTest, align_self_flex_end_override_flex_start) { TEST(YogaTest, align_self_baseline) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow); diff --git a/tests/generated/YGAndroidNewsFeed.cpp b/tests/generated/YGAndroidNewsFeed.cpp index d6843e06..060b7734 100644 --- a/tests/generated/YGAndroidNewsFeed.cpp +++ b/tests/generated/YGAndroidNewsFeed.cpp @@ -5,7 +5,7 @@ * LICENSE file in the root directory of this source tree. * * clang-format off - * @generated SignedSource<<2a6167560fbbab679e4124b429d7d43c>> + * @generated SignedSource<<8cfd20a845597bba085375ad4308cdc0>> * generated by gentest/gentest-driver.ts from gentest/fixtures/YGAndroidNewsFeed.html */ @@ -14,7 +14,6 @@ TEST(YogaTest, android_news_feed) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetAlignContent(root, YGAlignStretch); diff --git a/tests/generated/YGAspectRatioTest.cpp b/tests/generated/YGAspectRatioTest.cpp index 9cd77e03..48a98986 100644 --- a/tests/generated/YGAspectRatioTest.cpp +++ b/tests/generated/YGAspectRatioTest.cpp @@ -5,7 +5,7 @@ * LICENSE file in the root directory of this source tree. * * clang-format off - * @generated SignedSource<> + * @generated SignedSource<> * generated by gentest/gentest-driver.ts from gentest/fixtures/YGAspectRatioTest.html */ @@ -16,7 +16,6 @@ TEST(YogaTest, aspect_ratio_does_not_stretch_cross_axis_dim) { GTEST_SKIP(); const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); diff --git a/tests/generated/YGBorderTest.cpp b/tests/generated/YGBorderTest.cpp index cb8542e6..f2b72eb2 100644 --- a/tests/generated/YGBorderTest.cpp +++ b/tests/generated/YGBorderTest.cpp @@ -5,7 +5,7 @@ * LICENSE file in the root directory of this source tree. * * clang-format off - * @generated SignedSource<> + * @generated SignedSource<> * generated by gentest/gentest-driver.ts from gentest/fixtures/YGBorderTest.html */ @@ -14,7 +14,6 @@ TEST(YogaTest, border_no_size) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -43,7 +42,6 @@ TEST(YogaTest, border_no_size) { TEST(YogaTest, border_container_match_child) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -87,7 +85,6 @@ TEST(YogaTest, border_container_match_child) { TEST(YogaTest, border_flex_child) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -133,7 +130,6 @@ TEST(YogaTest, border_flex_child) { TEST(YogaTest, border_stretch_child) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -178,7 +174,6 @@ TEST(YogaTest, border_stretch_child) { TEST(YogaTest, border_center_child) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetJustifyContent(root, YGJustifyCenter); diff --git a/tests/generated/YGDimensionTest.cpp b/tests/generated/YGDimensionTest.cpp index d0cf9906..6388fd7c 100644 --- a/tests/generated/YGDimensionTest.cpp +++ b/tests/generated/YGDimensionTest.cpp @@ -5,7 +5,7 @@ * LICENSE file in the root directory of this source tree. * * clang-format off - * @generated SignedSource<<8d0fd51bf03b7a0b86321ac27a2f8f54>> + * @generated SignedSource<> * generated by gentest/gentest-driver.ts from gentest/fixtures/YGDimensionTest.html */ @@ -14,7 +14,6 @@ TEST(YogaTest, wrap_child) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -54,7 +53,6 @@ TEST(YogaTest, wrap_child) { TEST(YogaTest, wrap_grandchild) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); diff --git a/tests/generated/YGDisplayTest.cpp b/tests/generated/YGDisplayTest.cpp index cf446b93..3d9ef618 100644 --- a/tests/generated/YGDisplayTest.cpp +++ b/tests/generated/YGDisplayTest.cpp @@ -5,7 +5,7 @@ * LICENSE file in the root directory of this source tree. * * clang-format off - * @generated SignedSource<> + * @generated SignedSource<> * generated by gentest/gentest-driver.ts from gentest/fixtures/YGDisplayTest.html */ @@ -14,7 +14,6 @@ TEST(YogaTest, display_none) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow); @@ -71,7 +70,6 @@ TEST(YogaTest, display_none) { TEST(YogaTest, display_none_fixed_size) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow); @@ -129,7 +127,6 @@ TEST(YogaTest, display_none_fixed_size) { TEST(YogaTest, display_none_with_margin) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow); @@ -191,7 +188,6 @@ TEST(YogaTest, display_none_with_margin) { TEST(YogaTest, display_none_with_child) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow); @@ -285,7 +281,6 @@ TEST(YogaTest, display_none_with_child) { TEST(YogaTest, display_none_with_position) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow); @@ -343,7 +338,6 @@ TEST(YogaTest, display_none_with_position) { TEST(YogaTest, display_none_with_position_absolute) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); diff --git a/tests/generated/YGFlexDirectionTest.cpp b/tests/generated/YGFlexDirectionTest.cpp index 108528bb..e64ef909 100644 --- a/tests/generated/YGFlexDirectionTest.cpp +++ b/tests/generated/YGFlexDirectionTest.cpp @@ -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); diff --git a/tests/generated/YGFlexTest.cpp b/tests/generated/YGFlexTest.cpp index b5ab0409..8d850e71 100644 --- a/tests/generated/YGFlexTest.cpp +++ b/tests/generated/YGFlexTest.cpp @@ -5,7 +5,7 @@ * LICENSE file in the root directory of this source tree. * * clang-format off - * @generated SignedSource<> + * @generated SignedSource<<7404cb93674d4d8047468f8a8fd33d35>> * generated by gentest/gentest-driver.ts from gentest/fixtures/YGFlexTest.html */ @@ -14,7 +14,6 @@ TEST(YogaTest, flex_basis_flex_grow_column) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -70,7 +69,6 @@ TEST(YogaTest, flex_basis_flex_grow_column) { TEST(YogaTest, flex_shrink_flex_grow_row) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow); @@ -130,7 +128,6 @@ TEST(YogaTest, flex_shrink_flex_grow_row) { TEST(YogaTest, flex_shrink_flex_grow_child_flex_shrink_other_child) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow); @@ -191,7 +188,6 @@ TEST(YogaTest, flex_shrink_flex_grow_child_flex_shrink_other_child) { TEST(YogaTest, flex_basis_flex_grow_row) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow); @@ -248,7 +244,6 @@ TEST(YogaTest, flex_basis_flex_grow_row) { TEST(YogaTest, flex_basis_flex_shrink_column) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -304,7 +299,6 @@ TEST(YogaTest, flex_basis_flex_shrink_column) { TEST(YogaTest, flex_basis_flex_shrink_row) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow); @@ -361,7 +355,6 @@ TEST(YogaTest, flex_basis_flex_shrink_row) { TEST(YogaTest, flex_shrink_to_zero) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -433,7 +426,6 @@ TEST(YogaTest, flex_shrink_to_zero) { TEST(YogaTest, flex_basis_overrides_main_size) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -506,7 +498,6 @@ TEST(YogaTest, flex_basis_overrides_main_size) { TEST(YogaTest, flex_grow_shrink_at_most) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -561,7 +552,6 @@ TEST(YogaTest, flex_grow_shrink_at_most) { TEST(YogaTest, flex_grow_less_than_factor_one) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); diff --git a/tests/generated/YGFlexWrapTest.cpp b/tests/generated/YGFlexWrapTest.cpp index 1c315736..9fedc2ca 100644 --- a/tests/generated/YGFlexWrapTest.cpp +++ b/tests/generated/YGFlexWrapTest.cpp @@ -5,7 +5,7 @@ * LICENSE file in the root directory of this source tree. * * clang-format off - * @generated SignedSource<> + * @generated SignedSource<> * generated by gentest/gentest-driver.ts from gentest/fixtures/YGFlexWrapTest.html */ @@ -14,7 +14,6 @@ TEST(YogaTest, wrap_column) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -101,7 +100,6 @@ TEST(YogaTest, wrap_column) { TEST(YogaTest, wrap_row) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow); @@ -189,7 +187,6 @@ TEST(YogaTest, wrap_row) { TEST(YogaTest, wrap_row_align_items_flex_end) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow); @@ -278,7 +275,6 @@ TEST(YogaTest, wrap_row_align_items_flex_end) { TEST(YogaTest, wrap_row_align_items_center) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow); @@ -367,7 +363,6 @@ TEST(YogaTest, wrap_row_align_items_center) { TEST(YogaTest, flex_wrap_children_with_min_main_overriding_flex_basis) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow); @@ -427,7 +422,6 @@ TEST(YogaTest, flex_wrap_children_with_min_main_overriding_flex_basis) { TEST(YogaTest, flex_wrap_wrap_to_child_height) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -512,7 +506,6 @@ TEST(YogaTest, flex_wrap_wrap_to_child_height) { TEST(YogaTest, flex_wrap_align_stretch_fits_one_row) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow); @@ -569,7 +562,6 @@ TEST(YogaTest, flex_wrap_align_stretch_fits_one_row) { TEST(YogaTest, wrap_reverse_row_align_content_flex_start) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow); @@ -672,7 +664,6 @@ TEST(YogaTest, wrap_reverse_row_align_content_flex_start) { TEST(YogaTest, wrap_reverse_row_align_content_center) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow); @@ -776,7 +767,6 @@ TEST(YogaTest, wrap_reverse_row_align_content_center) { TEST(YogaTest, wrap_reverse_row_single_line_different_size) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow); @@ -879,7 +869,6 @@ TEST(YogaTest, wrap_reverse_row_single_line_different_size) { TEST(YogaTest, wrap_reverse_row_align_content_stretch) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow); @@ -983,7 +972,6 @@ TEST(YogaTest, wrap_reverse_row_align_content_stretch) { TEST(YogaTest, wrap_reverse_row_align_content_space_around) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow); @@ -1087,7 +1075,6 @@ TEST(YogaTest, wrap_reverse_row_align_content_space_around) { TEST(YogaTest, wrap_reverse_column_fixed_size) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetAlignItems(root, YGAlignCenter); @@ -1191,7 +1178,6 @@ TEST(YogaTest, wrap_reverse_column_fixed_size) { TEST(YogaTest, wrapped_row_within_align_items_center) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetAlignItems(root, YGAlignCenter); @@ -1264,7 +1250,6 @@ TEST(YogaTest, wrapped_row_within_align_items_center) { TEST(YogaTest, wrapped_row_within_align_items_flex_start) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetAlignItems(root, YGAlignFlexStart); @@ -1337,7 +1322,6 @@ TEST(YogaTest, wrapped_row_within_align_items_flex_start) { TEST(YogaTest, wrapped_row_within_align_items_flex_end) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetAlignItems(root, YGAlignFlexEnd); @@ -1410,7 +1394,6 @@ TEST(YogaTest, wrapped_row_within_align_items_flex_end) { TEST(YogaTest, wrapped_column_max_height) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetJustifyContent(root, YGJustifyCenter); @@ -1491,7 +1474,6 @@ TEST(YogaTest, wrapped_column_max_height) { TEST(YogaTest, wrapped_column_max_height_flex) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetJustifyContent(root, YGJustifyCenter); @@ -1578,7 +1560,6 @@ TEST(YogaTest, wrapped_column_max_height_flex) { TEST(YogaTest, wrap_nodes_with_content_sizing_overflowing_margin) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -1678,7 +1659,6 @@ TEST(YogaTest, wrap_nodes_with_content_sizing_overflowing_margin) { TEST(YogaTest, wrap_nodes_with_content_sizing_margin_cross) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -1778,7 +1758,6 @@ TEST(YogaTest, wrap_nodes_with_content_sizing_margin_cross) { TEST(YogaTest, wrap_with_min_cross_axis) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow); @@ -1837,7 +1816,6 @@ TEST(YogaTest, wrap_with_min_cross_axis) { TEST(YogaTest, wrap_with_max_cross_axis) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow); @@ -1896,7 +1874,6 @@ TEST(YogaTest, wrap_with_max_cross_axis) { TEST(YogaTest, nowrap_expands_flexline_box_to_min_cross) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow); @@ -1939,7 +1916,6 @@ TEST(YogaTest, nowrap_expands_flexline_box_to_min_cross) { TEST(YogaTest, wrap_does_not_impose_min_cross_onto_single_flexline) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow); diff --git a/tests/generated/YGGapTest.cpp b/tests/generated/YGGapTest.cpp index 8a8b8f43..06cb8ae4 100644 --- a/tests/generated/YGGapTest.cpp +++ b/tests/generated/YGGapTest.cpp @@ -5,7 +5,7 @@ * LICENSE file in the root directory of this source tree. * * clang-format off - * @generated SignedSource<<2e1975d1f84adf036ab09851f0740454>> + * @generated SignedSource<<708ff5088d96b0a989669c1d86006e37>> * generated by gentest/gentest-driver.ts from gentest/fixtures/YGGapTest.html */ @@ -14,7 +14,6 @@ TEST(YogaTest, column_gap_flexible) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow); @@ -92,7 +91,6 @@ TEST(YogaTest, column_gap_flexible) { TEST(YogaTest, column_gap_inflexible) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow); @@ -163,7 +161,6 @@ TEST(YogaTest, column_gap_inflexible) { TEST(YogaTest, column_gap_mixed_flexible) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow); @@ -236,7 +233,6 @@ TEST(YogaTest, column_gap_mixed_flexible) { TEST(YogaTest, column_gap_child_margins) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow); @@ -319,7 +315,6 @@ TEST(YogaTest, column_gap_child_margins) { TEST(YogaTest, column_row_gap_wrapping) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow); @@ -484,7 +479,6 @@ TEST(YogaTest, column_row_gap_wrapping) { TEST(YogaTest, column_gap_start_index) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow); @@ -575,7 +569,6 @@ TEST(YogaTest, column_gap_start_index) { TEST(YogaTest, column_gap_justify_flex_start) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow); @@ -646,7 +639,6 @@ TEST(YogaTest, column_gap_justify_flex_start) { TEST(YogaTest, column_gap_justify_center) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow); @@ -718,7 +710,6 @@ TEST(YogaTest, column_gap_justify_center) { TEST(YogaTest, column_gap_justify_flex_end) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow); @@ -790,7 +781,6 @@ TEST(YogaTest, column_gap_justify_flex_end) { TEST(YogaTest, column_gap_justify_space_between) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow); @@ -862,7 +852,6 @@ TEST(YogaTest, column_gap_justify_space_between) { TEST(YogaTest, column_gap_justify_space_around) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow); @@ -934,7 +923,6 @@ TEST(YogaTest, column_gap_justify_space_around) { TEST(YogaTest, column_gap_justify_space_evenly) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow); @@ -1006,7 +994,6 @@ TEST(YogaTest, column_gap_justify_space_evenly) { TEST(YogaTest, column_gap_wrap_align_flex_start) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow); @@ -1127,7 +1114,6 @@ TEST(YogaTest, column_gap_wrap_align_flex_start) { TEST(YogaTest, column_gap_wrap_align_center) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow); @@ -1249,7 +1235,6 @@ TEST(YogaTest, column_gap_wrap_align_center) { TEST(YogaTest, column_gap_wrap_align_flex_end) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow); @@ -1371,7 +1356,6 @@ TEST(YogaTest, column_gap_wrap_align_flex_end) { TEST(YogaTest, column_gap_wrap_align_space_between) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow); @@ -1493,7 +1477,6 @@ TEST(YogaTest, column_gap_wrap_align_space_between) { TEST(YogaTest, column_gap_wrap_align_space_around) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow); @@ -1615,7 +1598,6 @@ TEST(YogaTest, column_gap_wrap_align_space_around) { TEST(YogaTest, column_gap_wrap_align_stretch) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow); @@ -1721,7 +1703,6 @@ TEST(YogaTest, column_gap_wrap_align_stretch) { TEST(YogaTest, column_gap_determines_parent_width) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow); @@ -1791,7 +1772,6 @@ TEST(YogaTest, column_gap_determines_parent_width) { TEST(YogaTest, row_gap_align_items_stretch) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow); @@ -1907,7 +1887,6 @@ TEST(YogaTest, row_gap_align_items_stretch) { TEST(YogaTest, row_gap_align_items_end) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow); @@ -2023,7 +2002,6 @@ TEST(YogaTest, row_gap_align_items_end) { TEST(YogaTest, row_gap_column_child_margins) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -2105,7 +2083,6 @@ TEST(YogaTest, row_gap_column_child_margins) { TEST(YogaTest, row_gap_row_wrap_child_margins) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow); @@ -2183,7 +2160,6 @@ TEST(YogaTest, row_gap_row_wrap_child_margins) { TEST(YogaTest, row_gap_determines_parent_height) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); diff --git a/tests/generated/YGJustifyContentTest.cpp b/tests/generated/YGJustifyContentTest.cpp index e61a009d..b87922ad 100644 --- a/tests/generated/YGJustifyContentTest.cpp +++ b/tests/generated/YGJustifyContentTest.cpp @@ -5,7 +5,7 @@ * LICENSE file in the root directory of this source tree. * * clang-format off - * @generated SignedSource<<3eebacfcf95f59a6d7000c33f56c5e10>> + * @generated SignedSource<<4bae6826c170cd85147ccbf5f4740837>> * generated by gentest/gentest-driver.ts from gentest/fixtures/YGJustifyContentTest.html */ @@ -14,7 +14,6 @@ TEST(YogaTest, justify_content_row_flex_start) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow); @@ -84,7 +83,6 @@ TEST(YogaTest, justify_content_row_flex_start) { TEST(YogaTest, justify_content_row_flex_end) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow); @@ -155,7 +153,6 @@ TEST(YogaTest, justify_content_row_flex_end) { TEST(YogaTest, justify_content_row_center) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow); @@ -226,7 +223,6 @@ TEST(YogaTest, justify_content_row_center) { TEST(YogaTest, justify_content_row_space_between) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow); @@ -297,7 +293,6 @@ TEST(YogaTest, justify_content_row_space_between) { TEST(YogaTest, justify_content_row_space_around) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow); @@ -368,7 +363,6 @@ TEST(YogaTest, justify_content_row_space_around) { TEST(YogaTest, justify_content_column_flex_start) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -437,7 +431,6 @@ TEST(YogaTest, justify_content_column_flex_start) { TEST(YogaTest, justify_content_column_flex_end) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetJustifyContent(root, YGJustifyFlexEnd); @@ -507,7 +500,6 @@ TEST(YogaTest, justify_content_column_flex_end) { TEST(YogaTest, justify_content_column_center) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetJustifyContent(root, YGJustifyCenter); @@ -577,7 +569,6 @@ TEST(YogaTest, justify_content_column_center) { TEST(YogaTest, justify_content_column_space_between) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetJustifyContent(root, YGJustifySpaceBetween); @@ -647,7 +638,6 @@ TEST(YogaTest, justify_content_column_space_between) { TEST(YogaTest, justify_content_column_space_around) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetJustifyContent(root, YGJustifySpaceAround); @@ -717,7 +707,6 @@ TEST(YogaTest, justify_content_column_space_around) { TEST(YogaTest, justify_content_row_min_width_and_margin) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow); @@ -761,7 +750,6 @@ TEST(YogaTest, justify_content_row_min_width_and_margin) { TEST(YogaTest, justify_content_row_max_width_and_margin) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow); @@ -806,7 +794,6 @@ TEST(YogaTest, justify_content_row_max_width_and_margin) { TEST(YogaTest, justify_content_column_min_height_and_margin) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetJustifyContent(root, YGJustifyCenter); @@ -849,7 +836,6 @@ TEST(YogaTest, justify_content_column_min_height_and_margin) { TEST(YogaTest, justify_content_colunn_max_height_and_margin) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetJustifyContent(root, YGJustifyCenter); @@ -893,7 +879,6 @@ TEST(YogaTest, justify_content_colunn_max_height_and_margin) { TEST(YogaTest, justify_content_column_space_evenly) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetJustifyContent(root, YGJustifySpaceEvenly); @@ -963,7 +948,6 @@ TEST(YogaTest, justify_content_column_space_evenly) { TEST(YogaTest, justify_content_row_space_evenly) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow); @@ -1034,7 +1018,6 @@ TEST(YogaTest, justify_content_row_space_evenly) { TEST(YogaTest, justify_content_min_width_with_padding_child_width_greater_than_parent) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetAlignContent(root, YGAlignStretch); @@ -1113,7 +1096,6 @@ TEST(YogaTest, justify_content_min_width_with_padding_child_width_greater_than_p TEST(YogaTest, justify_content_min_width_with_padding_child_width_lower_than_parent) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetAlignContent(root, YGAlignStretch); @@ -1192,7 +1174,6 @@ TEST(YogaTest, justify_content_min_width_with_padding_child_width_lower_than_par TEST(YogaTest, justify_content_space_between_indefinite_container_dim_with_free_space) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetAlignItems(root, YGAlignCenter); diff --git a/tests/generated/YGMarginTest.cpp b/tests/generated/YGMarginTest.cpp index 8c0ce196..9db5662d 100644 --- a/tests/generated/YGMarginTest.cpp +++ b/tests/generated/YGMarginTest.cpp @@ -5,7 +5,7 @@ * LICENSE file in the root directory of this source tree. * * clang-format off - * @generated SignedSource<> + * @generated SignedSource<> * generated by gentest/gentest-driver.ts from gentest/fixtures/YGMarginTest.html */ @@ -14,7 +14,6 @@ TEST(YogaTest, margin_start) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow); @@ -57,7 +56,6 @@ TEST(YogaTest, margin_start) { TEST(YogaTest, margin_top) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -99,7 +97,6 @@ TEST(YogaTest, margin_top) { TEST(YogaTest, margin_end) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow); @@ -143,7 +140,6 @@ TEST(YogaTest, margin_end) { TEST(YogaTest, margin_bottom) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetJustifyContent(root, YGJustifyFlexEnd); @@ -186,7 +182,6 @@ TEST(YogaTest, margin_bottom) { TEST(YogaTest, margin_and_flex_row) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow); @@ -230,7 +225,6 @@ TEST(YogaTest, margin_and_flex_row) { TEST(YogaTest, margin_and_flex_column) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -273,7 +267,6 @@ TEST(YogaTest, margin_and_flex_column) { TEST(YogaTest, margin_and_stretch_row) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow); @@ -317,7 +310,6 @@ TEST(YogaTest, margin_and_stretch_row) { TEST(YogaTest, margin_and_stretch_column) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -360,7 +352,6 @@ TEST(YogaTest, margin_and_stretch_column) { TEST(YogaTest, margin_with_sibling_row) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow); @@ -417,7 +408,6 @@ TEST(YogaTest, margin_with_sibling_row) { TEST(YogaTest, margin_with_sibling_column) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -473,7 +463,6 @@ TEST(YogaTest, margin_with_sibling_column) { TEST(YogaTest, margin_auto_bottom) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetAlignItems(root, YGAlignCenter); @@ -532,7 +521,6 @@ TEST(YogaTest, margin_auto_bottom) { TEST(YogaTest, margin_auto_top) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetAlignItems(root, YGAlignCenter); @@ -591,7 +579,6 @@ TEST(YogaTest, margin_auto_top) { TEST(YogaTest, margin_auto_bottom_and_top) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetAlignItems(root, YGAlignCenter); @@ -651,7 +638,6 @@ TEST(YogaTest, margin_auto_bottom_and_top) { TEST(YogaTest, margin_auto_bottom_and_top_justify_center) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetJustifyContent(root, YGJustifyCenter); @@ -711,7 +697,6 @@ TEST(YogaTest, margin_auto_bottom_and_top_justify_center) { TEST(YogaTest, margin_auto_mutiple_children_column) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetAlignItems(root, YGAlignCenter); @@ -786,7 +771,6 @@ TEST(YogaTest, margin_auto_mutiple_children_column) { TEST(YogaTest, margin_auto_mutiple_children_row) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow); @@ -862,7 +846,6 @@ TEST(YogaTest, margin_auto_mutiple_children_row) { TEST(YogaTest, margin_auto_left_and_right_column) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow); @@ -923,7 +906,6 @@ TEST(YogaTest, margin_auto_left_and_right_column) { TEST(YogaTest, margin_auto_left_and_right) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -982,7 +964,6 @@ TEST(YogaTest, margin_auto_left_and_right) { TEST(YogaTest, margin_auto_start_and_end_column) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow); @@ -1043,7 +1024,6 @@ TEST(YogaTest, margin_auto_start_and_end_column) { TEST(YogaTest, margin_auto_start_and_end) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -1102,7 +1082,6 @@ TEST(YogaTest, margin_auto_start_and_end) { TEST(YogaTest, margin_auto_left_and_right_column_and_center) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetAlignItems(root, YGAlignCenter); @@ -1162,7 +1141,6 @@ TEST(YogaTest, margin_auto_left_and_right_column_and_center) { TEST(YogaTest, margin_auto_left) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetAlignItems(root, YGAlignCenter); @@ -1221,7 +1199,6 @@ TEST(YogaTest, margin_auto_left) { TEST(YogaTest, margin_auto_right) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetAlignItems(root, YGAlignCenter); @@ -1280,7 +1257,6 @@ TEST(YogaTest, margin_auto_right) { TEST(YogaTest, margin_auto_left_and_right_stretch) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow); @@ -1340,7 +1316,6 @@ TEST(YogaTest, margin_auto_left_and_right_stretch) { TEST(YogaTest, margin_auto_top_and_bottom_stretch) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -1399,7 +1374,6 @@ TEST(YogaTest, margin_auto_top_and_bottom_stretch) { TEST(YogaTest, margin_should_not_be_part_of_max_height) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -1443,7 +1417,6 @@ TEST(YogaTest, margin_should_not_be_part_of_max_height) { TEST(YogaTest, margin_should_not_be_part_of_max_width) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -1487,7 +1460,6 @@ TEST(YogaTest, margin_should_not_be_part_of_max_width) { TEST(YogaTest, margin_auto_left_right_child_bigger_than_parent) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetJustifyContent(root, YGJustifyCenter); @@ -1532,7 +1504,6 @@ TEST(YogaTest, margin_auto_left_right_child_bigger_than_parent) { TEST(YogaTest, margin_auto_left_child_bigger_than_parent) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetJustifyContent(root, YGJustifyCenter); @@ -1576,7 +1547,6 @@ TEST(YogaTest, margin_auto_left_child_bigger_than_parent) { TEST(YogaTest, margin_fix_left_auto_right_child_bigger_than_parent) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetJustifyContent(root, YGJustifyCenter); @@ -1621,7 +1591,6 @@ TEST(YogaTest, margin_fix_left_auto_right_child_bigger_than_parent) { TEST(YogaTest, margin_auto_left_fix_right_child_bigger_than_parent) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetJustifyContent(root, YGJustifyCenter); @@ -1666,7 +1635,6 @@ TEST(YogaTest, margin_auto_left_fix_right_child_bigger_than_parent) { TEST(YogaTest, margin_auto_top_stretching_child) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetAlignItems(root, YGAlignCenter); @@ -1726,7 +1694,6 @@ TEST(YogaTest, margin_auto_top_stretching_child) { TEST(YogaTest, margin_auto_left_stretching_child) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetAlignItems(root, YGAlignCenter); diff --git a/tests/generated/YGMinMaxDimensionTest.cpp b/tests/generated/YGMinMaxDimensionTest.cpp index 6d46daf7..16f48ee6 100644 --- a/tests/generated/YGMinMaxDimensionTest.cpp +++ b/tests/generated/YGMinMaxDimensionTest.cpp @@ -5,7 +5,7 @@ * LICENSE file in the root directory of this source tree. * * clang-format off - * @generated SignedSource<> + * @generated SignedSource<<998364a400f51a125600fadd87ada1e0>> * generated by gentest/gentest-driver.ts from gentest/fixtures/YGMinMaxDimensionTest.html */ @@ -14,7 +14,6 @@ TEST(YogaTest, max_width) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -56,7 +55,6 @@ TEST(YogaTest, max_width) { TEST(YogaTest, max_height) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow); @@ -101,7 +99,6 @@ TEST(YogaTest, min_height) { GTEST_SKIP(); const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -159,7 +156,6 @@ TEST(YogaTest, min_width) { GTEST_SKIP(); const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow); @@ -216,7 +212,6 @@ TEST(YogaTest, min_width) { TEST(YogaTest, justify_content_min_max) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetJustifyContent(root, YGJustifyCenter); @@ -260,7 +255,6 @@ TEST(YogaTest, justify_content_min_max) { TEST(YogaTest, align_items_min_max) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetAlignItems(root, YGAlignCenter); @@ -304,7 +298,6 @@ TEST(YogaTest, align_items_min_max) { TEST(YogaTest, justify_content_overflow_min_max) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetJustifyContent(root, YGJustifyCenter); @@ -377,7 +370,6 @@ TEST(YogaTest, justify_content_overflow_min_max) { TEST(YogaTest, flex_grow_to_min) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -434,7 +426,6 @@ TEST(YogaTest, flex_grow_to_min) { TEST(YogaTest, flex_grow_in_at_most_container) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow); @@ -492,7 +483,6 @@ TEST(YogaTest, flex_grow_in_at_most_container) { TEST(YogaTest, flex_grow_child) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow); @@ -534,7 +524,6 @@ TEST(YogaTest, flex_grow_child) { TEST(YogaTest, flex_grow_within_constrained_min_max_column) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -589,7 +578,6 @@ TEST(YogaTest, flex_grow_within_constrained_min_max_column) { TEST(YogaTest, flex_grow_within_max_width) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -646,7 +634,6 @@ TEST(YogaTest, flex_grow_within_max_width) { TEST(YogaTest, flex_grow_within_constrained_max_width) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -703,7 +690,6 @@ TEST(YogaTest, flex_grow_within_constrained_max_width) { TEST(YogaTest, flex_root_ignored) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -761,7 +747,6 @@ TEST(YogaTest, flex_root_ignored) { TEST(YogaTest, flex_grow_root_minimized) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -834,7 +819,6 @@ TEST(YogaTest, flex_grow_root_minimized) { TEST(YogaTest, flex_grow_height_maximized) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -906,7 +890,6 @@ TEST(YogaTest, flex_grow_height_maximized) { TEST(YogaTest, flex_grow_within_constrained_min_row) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow); @@ -962,7 +945,6 @@ TEST(YogaTest, flex_grow_within_constrained_min_row) { TEST(YogaTest, flex_grow_within_constrained_min_column) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -1016,7 +998,6 @@ TEST(YogaTest, flex_grow_within_constrained_min_column) { TEST(YogaTest, flex_grow_within_constrained_max_row) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -1087,7 +1068,6 @@ TEST(YogaTest, flex_grow_within_constrained_max_row) { TEST(YogaTest, flex_grow_within_constrained_max_column) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -1143,7 +1123,6 @@ TEST(YogaTest, flex_grow_within_constrained_max_column) { TEST(YogaTest, child_min_max_width_flexing) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow); @@ -1203,7 +1182,6 @@ TEST(YogaTest, child_min_max_width_flexing) { TEST(YogaTest, min_width_overrides_width) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -1230,7 +1208,6 @@ TEST(YogaTest, min_width_overrides_width) { TEST(YogaTest, max_width_overrides_width) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -1257,7 +1234,6 @@ TEST(YogaTest, max_width_overrides_width) { TEST(YogaTest, min_height_overrides_height) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -1284,7 +1260,6 @@ TEST(YogaTest, min_height_overrides_height) { TEST(YogaTest, max_height_overrides_height) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -1311,7 +1286,6 @@ TEST(YogaTest, max_height_overrides_height) { TEST(YogaTest, min_max_percent_no_width_height) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetAlignItems(root, YGAlignFlexStart); diff --git a/tests/generated/YGPaddingTest.cpp b/tests/generated/YGPaddingTest.cpp index 54085be2..10b10e2e 100644 --- a/tests/generated/YGPaddingTest.cpp +++ b/tests/generated/YGPaddingTest.cpp @@ -5,7 +5,7 @@ * LICENSE file in the root directory of this source tree. * * clang-format off - * @generated SignedSource<> + * @generated SignedSource<<32fe835176961bebfe905dfd47874f5c>> * generated by gentest/gentest-driver.ts from gentest/fixtures/YGPaddingTest.html */ @@ -14,7 +14,6 @@ TEST(YogaTest, padding_no_size) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -43,7 +42,6 @@ TEST(YogaTest, padding_no_size) { TEST(YogaTest, padding_container_match_child) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -87,7 +85,6 @@ TEST(YogaTest, padding_container_match_child) { TEST(YogaTest, padding_flex_child) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -133,7 +130,6 @@ TEST(YogaTest, padding_flex_child) { TEST(YogaTest, padding_stretch_child) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -178,7 +174,6 @@ TEST(YogaTest, padding_stretch_child) { TEST(YogaTest, padding_center_child) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetJustifyContent(root, YGJustifyCenter); @@ -225,7 +220,6 @@ TEST(YogaTest, padding_center_child) { TEST(YogaTest, child_with_padding_align_end) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetJustifyContent(root, YGJustifyFlexEnd); diff --git a/tests/generated/YGPercentageTest.cpp b/tests/generated/YGPercentageTest.cpp index 72115f1c..495f3bd6 100644 --- a/tests/generated/YGPercentageTest.cpp +++ b/tests/generated/YGPercentageTest.cpp @@ -5,7 +5,7 @@ * LICENSE file in the root directory of this source tree. * * clang-format off - * @generated SignedSource<<4a44e1ad05f18f3473a74f06cd835e4e>> + * @generated SignedSource<<91a0bc08c0b7dd04b272bfd47744d6fe>> * generated by gentest/gentest-driver.ts from gentest/fixtures/YGPercentageTest.html */ @@ -14,7 +14,6 @@ TEST(YogaTest, percentage_width_height) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow); @@ -57,7 +56,6 @@ TEST(YogaTest, percentage_width_height) { TEST(YogaTest, percentage_position_left_top) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow); @@ -102,7 +100,6 @@ TEST(YogaTest, percentage_position_left_top) { TEST(YogaTest, percentage_position_bottom_right) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow); @@ -147,7 +144,6 @@ TEST(YogaTest, percentage_position_bottom_right) { TEST(YogaTest, percentage_flex_basis) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow); @@ -205,7 +201,6 @@ TEST(YogaTest, percentage_flex_basis) { TEST(YogaTest, percentage_flex_basis_cross) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -264,7 +259,6 @@ TEST(YogaTest, percentage_flex_basis_cross_min_height) { GTEST_SKIP(); const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -321,7 +315,6 @@ TEST(YogaTest, percentage_flex_basis_cross_min_height) { TEST(YogaTest, percentage_flex_basis_main_max_height) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow); @@ -381,7 +374,6 @@ TEST(YogaTest, percentage_flex_basis_main_max_height) { TEST(YogaTest, percentage_flex_basis_cross_max_height) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -440,7 +432,6 @@ TEST(YogaTest, percentage_flex_basis_cross_max_height) { TEST(YogaTest, percentage_flex_basis_main_max_width) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow); @@ -500,7 +491,6 @@ TEST(YogaTest, percentage_flex_basis_main_max_width) { TEST(YogaTest, percentage_flex_basis_cross_max_width) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -559,7 +549,6 @@ TEST(YogaTest, percentage_flex_basis_cross_max_width) { TEST(YogaTest, percentage_flex_basis_main_min_width) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow); @@ -619,7 +608,6 @@ TEST(YogaTest, percentage_flex_basis_main_min_width) { TEST(YogaTest, percentage_flex_basis_cross_min_width) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -678,7 +666,6 @@ TEST(YogaTest, percentage_flex_basis_cross_min_width) { TEST(YogaTest, percentage_multiple_nested_with_padding_margin_and_percentage_values) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -789,7 +776,6 @@ TEST(YogaTest, percentage_multiple_nested_with_padding_margin_and_percentage_val TEST(YogaTest, percentage_margin_should_calculate_based_only_on_width) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -849,7 +835,6 @@ TEST(YogaTest, percentage_margin_should_calculate_based_only_on_width) { TEST(YogaTest, percentage_padding_should_calculate_based_only_on_width) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -909,7 +894,6 @@ TEST(YogaTest, percentage_padding_should_calculate_based_only_on_width) { TEST(YogaTest, percentage_absolute_position) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -954,7 +938,6 @@ TEST(YogaTest, percentage_absolute_position) { TEST(YogaTest, percentage_width_height_undefined_parent_size) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -994,7 +977,6 @@ TEST(YogaTest, percentage_width_height_undefined_parent_size) { TEST(YogaTest, percent_within_flex_grow) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow); @@ -1078,7 +1060,6 @@ TEST(YogaTest, percent_within_flex_grow) { TEST(YogaTest, percentage_container_in_wrapping_container) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetJustifyContent(root, YGJustifyCenter); @@ -1166,7 +1147,6 @@ TEST(YogaTest, percentage_container_in_wrapping_container) { TEST(YogaTest, percent_absolute_position) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -1239,7 +1219,6 @@ TEST(YogaTest, percent_absolute_position) { TEST(YogaTest, percent_of_minmax_main) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow); @@ -1285,7 +1264,6 @@ TEST(YogaTest, percent_of_min_main) { GTEST_SKIP(); const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow); @@ -1330,7 +1308,6 @@ TEST(YogaTest, percent_of_min_main_multiple) { GTEST_SKIP(); const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow); @@ -1405,7 +1382,6 @@ TEST(YogaTest, percent_of_max_main) { GTEST_SKIP(); const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow); @@ -1448,7 +1424,6 @@ TEST(YogaTest, percent_of_max_main) { TEST(YogaTest, percent_of_minmax_cross_stretched) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -1491,7 +1466,6 @@ TEST(YogaTest, percent_of_minmax_cross_stretched) { TEST(YogaTest, percent_absolute_of_minmax_cross_stretched) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -1535,7 +1509,6 @@ TEST(YogaTest, percent_absolute_of_minmax_cross_stretched) { TEST(YogaTest, percent_of_minmax_cross_unstretched) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetAlignItems(root, YGAlignFlexStart); @@ -1581,7 +1554,6 @@ TEST(YogaTest, percent_of_min_cross_unstretched) { GTEST_SKIP(); const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetAlignItems(root, YGAlignFlexStart); @@ -1624,7 +1596,6 @@ TEST(YogaTest, percent_of_min_cross_unstretched) { TEST(YogaTest, percent_of_max_cross_unstretched) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetAlignItems(root, YGAlignFlexStart); diff --git a/tests/generated/YGRoundingTest.cpp b/tests/generated/YGRoundingTest.cpp index e34497b6..55a918c0 100644 --- a/tests/generated/YGRoundingTest.cpp +++ b/tests/generated/YGRoundingTest.cpp @@ -5,7 +5,7 @@ * LICENSE file in the root directory of this source tree. * * clang-format off - * @generated SignedSource<<87b3ffe3aadd64ec52fef96f7b9c170b>> + * @generated SignedSource<> * generated by gentest/gentest-driver.ts from gentest/fixtures/YGRoundingTest.html */ @@ -14,7 +14,6 @@ TEST(YogaTest, rounding_flex_basis_flex_grow_row_width_of_100) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow); @@ -84,7 +83,6 @@ TEST(YogaTest, rounding_flex_basis_flex_grow_row_width_of_100) { TEST(YogaTest, rounding_flex_basis_flex_grow_row_prime_number_width) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow); @@ -182,7 +180,6 @@ TEST(YogaTest, rounding_flex_basis_flex_grow_row_prime_number_width) { TEST(YogaTest, rounding_flex_basis_flex_shrink_row) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow); @@ -253,7 +250,6 @@ TEST(YogaTest, rounding_flex_basis_flex_shrink_row) { TEST(YogaTest, rounding_flex_basis_overrides_main_size) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -326,7 +322,6 @@ TEST(YogaTest, rounding_flex_basis_overrides_main_size) { TEST(YogaTest, rounding_total_fractial) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -399,7 +394,6 @@ TEST(YogaTest, rounding_total_fractial) { TEST(YogaTest, rounding_total_fractial_nested) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -506,7 +500,6 @@ TEST(YogaTest, rounding_total_fractial_nested) { TEST(YogaTest, rounding_fractial_input_1) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -579,7 +572,6 @@ TEST(YogaTest, rounding_fractial_input_1) { TEST(YogaTest, rounding_fractial_input_2) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -652,7 +644,6 @@ TEST(YogaTest, rounding_fractial_input_2) { TEST(YogaTest, rounding_fractial_input_3) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -726,7 +717,6 @@ TEST(YogaTest, rounding_fractial_input_3) { TEST(YogaTest, rounding_fractial_input_4) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -800,7 +790,6 @@ TEST(YogaTest, rounding_fractial_input_4) { TEST(YogaTest, rounding_inner_node_controversy_horizontal) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow); @@ -887,7 +876,6 @@ TEST(YogaTest, rounding_inner_node_controversy_horizontal) { TEST(YogaTest, rounding_inner_node_controversy_vertical) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -973,7 +961,6 @@ TEST(YogaTest, rounding_inner_node_controversy_vertical) { TEST(YogaTest, rounding_inner_node_controversy_combined) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetFlexDirection(root, YGFlexDirectionRow); diff --git a/tests/generated/YGSizeOverflowTest.cpp b/tests/generated/YGSizeOverflowTest.cpp index 7bb58cde..2e300c4c 100644 --- a/tests/generated/YGSizeOverflowTest.cpp +++ b/tests/generated/YGSizeOverflowTest.cpp @@ -5,7 +5,7 @@ * LICENSE file in the root directory of this source tree. * * clang-format off - * @generated SignedSource<<0a3f49811566b6aa64d65c575443cccd>> + * @generated SignedSource<> * generated by gentest/gentest-driver.ts from gentest/fixtures/YGSizeOverflowTest.html */ @@ -14,7 +14,6 @@ TEST(YogaTest, nested_overflowing_child) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -69,7 +68,6 @@ TEST(YogaTest, nested_overflowing_child) { TEST(YogaTest, nested_overflowing_child_in_constraint_parent) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -126,7 +124,6 @@ TEST(YogaTest, nested_overflowing_child_in_constraint_parent) { TEST(YogaTest, parent_wrap_child_size_overflowing_parent) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); diff --git a/tests/generated/YGStaticPositionTest.cpp b/tests/generated/YGStaticPositionTest.cpp index 017b778b..0f96ffab 100644 --- a/tests/generated/YGStaticPositionTest.cpp +++ b/tests/generated/YGStaticPositionTest.cpp @@ -5,7 +5,7 @@ * LICENSE file in the root directory of this source tree. * * clang-format off - * @generated SignedSource<<58d9fcab6e5025cf29ca80d71aa68773>> + * @generated SignedSource<<226206f3d75249490b25108c85ae51c0>> * generated by gentest/gentest-driver.ts from gentest/fixtures/YGStaticPositionTest.html */ @@ -14,7 +14,6 @@ TEST(YogaTest, static_position_insets_have_no_effect_left_top) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -57,7 +56,6 @@ TEST(YogaTest, static_position_insets_have_no_effect_left_top) { TEST(YogaTest, static_position_insets_have_no_effect_right_bottom) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -100,7 +98,6 @@ TEST(YogaTest, static_position_insets_have_no_effect_right_bottom) { TEST(YogaTest, static_position_absolute_child_insets_relative_to_positioned_ancestor) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -175,7 +172,6 @@ TEST(YogaTest, static_position_absolute_child_insets_relative_to_positioned_ance TEST(YogaTest, static_position_absolute_child_insets_relative_to_positioned_ancestor_deep) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -301,7 +297,6 @@ TEST(YogaTest, static_position_absolute_child_insets_relative_to_positioned_ance TEST(YogaTest, static_position_absolute_child_width_percentage) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -373,7 +368,6 @@ TEST(YogaTest, static_position_absolute_child_width_percentage) { TEST(YogaTest, static_position_relative_child_width_percentage) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -444,7 +438,6 @@ TEST(YogaTest, static_position_relative_child_width_percentage) { TEST(YogaTest, static_position_static_child_width_percentage) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -516,7 +509,6 @@ TEST(YogaTest, static_position_static_child_width_percentage) { TEST(YogaTest, static_position_absolute_child_height_percentage) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -588,7 +580,6 @@ TEST(YogaTest, static_position_absolute_child_height_percentage) { TEST(YogaTest, static_position_relative_child_height_percentage) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -659,7 +650,6 @@ TEST(YogaTest, static_position_relative_child_height_percentage) { TEST(YogaTest, static_position_static_child_height_percentage) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -731,7 +721,6 @@ TEST(YogaTest, static_position_static_child_height_percentage) { TEST(YogaTest, static_position_absolute_child_left_percentage) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -804,7 +793,6 @@ TEST(YogaTest, static_position_absolute_child_left_percentage) { TEST(YogaTest, static_position_relative_child_left_percentage) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -876,7 +864,6 @@ TEST(YogaTest, static_position_relative_child_left_percentage) { TEST(YogaTest, static_position_static_child_left_percentage) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -949,7 +936,6 @@ TEST(YogaTest, static_position_static_child_left_percentage) { TEST(YogaTest, static_position_absolute_child_right_percentage) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -1022,7 +1008,6 @@ TEST(YogaTest, static_position_absolute_child_right_percentage) { TEST(YogaTest, static_position_relative_child_right_percentage) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -1094,7 +1079,6 @@ TEST(YogaTest, static_position_relative_child_right_percentage) { TEST(YogaTest, static_position_static_child_right_percentage) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -1167,7 +1151,6 @@ TEST(YogaTest, static_position_static_child_right_percentage) { TEST(YogaTest, static_position_absolute_child_top_percentage) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -1240,7 +1223,6 @@ TEST(YogaTest, static_position_absolute_child_top_percentage) { TEST(YogaTest, static_position_relative_child_top_percentage) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -1312,7 +1294,6 @@ TEST(YogaTest, static_position_relative_child_top_percentage) { TEST(YogaTest, static_position_static_child_top_percentage) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -1385,7 +1366,6 @@ TEST(YogaTest, static_position_static_child_top_percentage) { TEST(YogaTest, static_position_absolute_child_bottom_percentage) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -1458,7 +1438,6 @@ TEST(YogaTest, static_position_absolute_child_bottom_percentage) { TEST(YogaTest, static_position_relative_child_bottom_percentage) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -1530,7 +1509,6 @@ TEST(YogaTest, static_position_relative_child_bottom_percentage) { TEST(YogaTest, static_position_static_child_bottom_percentage) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -1603,7 +1581,6 @@ TEST(YogaTest, static_position_static_child_bottom_percentage) { TEST(YogaTest, static_position_absolute_child_margin_percentage) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -1679,7 +1656,6 @@ TEST(YogaTest, static_position_absolute_child_margin_percentage) { TEST(YogaTest, static_position_relative_child_margin_percentage) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -1754,7 +1730,6 @@ TEST(YogaTest, static_position_relative_child_margin_percentage) { TEST(YogaTest, static_position_static_child_margin_percentage) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -1830,7 +1805,6 @@ TEST(YogaTest, static_position_static_child_margin_percentage) { TEST(YogaTest, static_position_absolute_child_padding_percentage) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -1906,7 +1880,6 @@ TEST(YogaTest, static_position_absolute_child_padding_percentage) { TEST(YogaTest, static_position_relative_child_padding_percentage) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -1981,7 +1954,6 @@ TEST(YogaTest, static_position_relative_child_padding_percentage) { TEST(YogaTest, static_position_static_child_padding_percentage) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -2057,7 +2029,6 @@ TEST(YogaTest, static_position_static_child_padding_percentage) { TEST(YogaTest, static_position_absolute_child_border_percentage) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -2129,7 +2100,6 @@ TEST(YogaTest, static_position_absolute_child_border_percentage) { TEST(YogaTest, static_position_relative_child_border_percentage) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -2200,7 +2170,6 @@ TEST(YogaTest, static_position_relative_child_border_percentage) { TEST(YogaTest, static_position_static_child_border_percentage) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -2272,7 +2241,6 @@ TEST(YogaTest, static_position_static_child_border_percentage) { TEST(YogaTest, static_position_absolute_child_containing_block_padding_box) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -2348,7 +2316,6 @@ TEST(YogaTest, static_position_absolute_child_containing_block_padding_box) { TEST(YogaTest, static_position_relative_child_containing_block_padding_box) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -2423,7 +2390,6 @@ TEST(YogaTest, static_position_relative_child_containing_block_padding_box) { TEST(YogaTest, static_position_static_child_containing_block_padding_box) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -2499,7 +2465,6 @@ TEST(YogaTest, static_position_static_child_containing_block_padding_box) { TEST(YogaTest, static_position_absolute_child_containing_block_content_box) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -2559,7 +2524,6 @@ TEST(YogaTest, static_position_absolute_child_containing_block_content_box) { TEST(YogaTest, static_position_relative_child_containing_block_content_box) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -2618,7 +2582,6 @@ TEST(YogaTest, static_position_relative_child_containing_block_content_box) { TEST(YogaTest, static_position_static_child_containing_block_content_box) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -2678,7 +2641,6 @@ TEST(YogaTest, static_position_static_child_containing_block_content_box) { TEST(YogaTest, static_position_containing_block_padding_and_border) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -2758,7 +2720,6 @@ TEST(YogaTest, static_position_containing_block_padding_and_border) { TEST(YogaTest, static_position_amalgamation) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -2868,7 +2829,6 @@ TEST(YogaTest, static_position_amalgamation) { TEST(YogaTest, static_position_no_position_amalgamation) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -2976,7 +2936,6 @@ TEST(YogaTest, static_position_no_position_amalgamation) { TEST(YogaTest, static_position_zero_for_inset_amalgamation) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -3085,7 +3044,6 @@ TEST(YogaTest, static_position_zero_for_inset_amalgamation) { TEST(YogaTest, static_position_start_inset_amalgamation) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -3194,7 +3152,6 @@ TEST(YogaTest, static_position_start_inset_amalgamation) { TEST(YogaTest, static_position_end_inset_amalgamation) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -3303,7 +3260,6 @@ TEST(YogaTest, static_position_end_inset_amalgamation) { TEST(YogaTest, static_position_row_reverse_amalgamation) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -3434,7 +3390,6 @@ TEST(YogaTest, static_position_row_reverse_amalgamation) { TEST(YogaTest, static_position_column_reverse_amalgamation) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -3565,7 +3520,6 @@ TEST(YogaTest, static_position_column_reverse_amalgamation) { TEST(YogaTest, static_position_justify_flex_start_amalgamation) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -3801,7 +3755,6 @@ TEST(YogaTest, static_position_justify_flex_start_amalgamation) { TEST(YogaTest, static_position_justify_flex_start_position_set_amalgamation) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -4038,7 +3991,6 @@ TEST(YogaTest, static_position_justify_flex_start_position_set_amalgamation) { TEST(YogaTest, static_position_no_definite_size_amalgamation) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -4168,7 +4120,6 @@ TEST(YogaTest, static_position_no_definite_size_amalgamation) { TEST(YogaTest, static_position_both_insets_set_amalgamation) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -4299,7 +4250,6 @@ TEST(YogaTest, static_position_both_insets_set_amalgamation) { TEST(YogaTest, static_position_justify_center_amalgamation) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -4536,7 +4486,6 @@ TEST(YogaTest, static_position_justify_center_amalgamation) { TEST(YogaTest, static_position_justify_flex_end_amalgamation) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -4773,7 +4722,6 @@ TEST(YogaTest, static_position_justify_flex_end_amalgamation) { TEST(YogaTest, static_position_align_flex_start_amalgamation) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -5010,7 +4958,6 @@ TEST(YogaTest, static_position_align_flex_start_amalgamation) { TEST(YogaTest, static_position_align_center_amalgamation) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -5247,7 +5194,6 @@ TEST(YogaTest, static_position_align_center_amalgamation) { TEST(YogaTest, static_position_align_flex_end_amalgamation) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute); @@ -5484,7 +5430,6 @@ TEST(YogaTest, static_position_align_flex_end_amalgamation) { TEST(YogaTest, static_position_static_root) { const YGConfigRef config = YGConfigNew(); - YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); const YGNodeRef root = YGNodeNewWithConfig(config); YGNodeStyleSetPositionType(root, YGPositionTypeStatic); diff --git a/yoga/YGEnums.cpp b/yoga/YGEnums.cpp index fcc4e9af..7884be1a 100644 --- a/yoga/YGEnums.cpp +++ b/yoga/YGEnums.cpp @@ -111,8 +111,6 @@ const char* YGExperimentalFeatureToString(const YGExperimentalFeature value) { switch (value) { case YGExperimentalFeatureWebFlexBasis: return "web-flex-basis"; - case YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge: - return "absolute-percentage-against-padding-edge"; } return "unknown"; } diff --git a/yoga/YGEnums.h b/yoga/YGEnums.h index 658744aa..835b7b69 100644 --- a/yoga/YGEnums.h +++ b/yoga/YGEnums.h @@ -64,8 +64,7 @@ YG_DEFINE_ENUM_FLAG_OPERATORS(YGErrata) YG_ENUM_DECL( YGExperimentalFeature, - YGExperimentalFeatureWebFlexBasis, - YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge) + YGExperimentalFeatureWebFlexBasis) YG_ENUM_DECL( YGFlexDirection, diff --git a/yoga/algorithm/AbsoluteLayout.cpp b/yoga/algorithm/AbsoluteLayout.cpp index 230dfb5d..8055c862 100644 --- a/yoga/algorithm/AbsoluteLayout.cpp +++ b/yoga/algorithm/AbsoluteLayout.cpp @@ -178,21 +178,6 @@ static void positionAbsoluteChildLegacy( (parent->getLayout().measuredDimension(dimension(axis)) - child->getLayout().measuredDimension(dimension(axis))), flexStartEdge(axis)); - } else if ( - parent->getConfig()->isExperimentalFeatureEnabled( - ExperimentalFeature::AbsolutePercentageAgainstPaddingEdge) && - child->isFlexStartPositionDefined(axis, direction)) { - child->setLayoutPosition( - child->getFlexStartPosition( - axis, - direction, - containingNode->getLayout().measuredDimension(dimension(axis))) + - containingNode->getFlexStartBorder(axis, direction) + - child->getFlexStartMargin( - axis, - direction, - isAxisRow ? containingBlockWidth : containingBlockHeight), - flexStartEdge(axis)); } } diff --git a/yoga/algorithm/CalculateLayout.cpp b/yoga/algorithm/CalculateLayout.cpp index a3564f33..54e78166 100644 --- a/yoga/algorithm/CalculateLayout.cpp +++ b/yoga/algorithm/CalculateLayout.cpp @@ -2048,20 +2048,13 @@ static void calculateLayoutImpl( child->getStyle().positionType() != PositionType::Absolute) { continue; } - const bool absolutePercentageAgainstPaddingEdge = - node->getConfig()->isExperimentalFeatureEnabled( - ExperimentalFeature::AbsolutePercentageAgainstPaddingEdge); layoutAbsoluteChild( node, node, child, - absolutePercentageAgainstPaddingEdge - ? node->getLayout().measuredDimension(Dimension::Width) - : availableInnerWidth, - absolutePercentageAgainstPaddingEdge - ? node->getLayout().measuredDimension(Dimension::Height) - : availableInnerHeight, + availableInnerWidth, + availableInnerHeight, isMainAxisRow ? sizingModeMainDim : sizingModeCrossDim, direction, layoutMarkerData, diff --git a/yoga/enums/ExperimentalFeature.h b/yoga/enums/ExperimentalFeature.h index 4c366fb4..bbbf9cda 100644 --- a/yoga/enums/ExperimentalFeature.h +++ b/yoga/enums/ExperimentalFeature.h @@ -17,12 +17,11 @@ namespace facebook::yoga { enum class ExperimentalFeature : uint8_t { WebFlexBasis = YGExperimentalFeatureWebFlexBasis, - AbsolutePercentageAgainstPaddingEdge = YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, }; template <> constexpr int32_t ordinalCount() { - return 2; + return 1; } constexpr ExperimentalFeature scopedEnum(YGExperimentalFeature unscoped) {