Remove YGExperimentalFeatureFixAbsoluteTrailingColumnMargin (#1317)
Summary: Pull Request resolved: https://github.com/facebook/yoga/pull/1317 X-link: https://github.com/facebook/react-native/pull/37374 This is edge-casey enough, and I actually broke this in D42282358 without us noticing (I changed height to width of the bottom usage, instead, copy/pasting the value of the top one). Reviewed By: yungsters Differential Revision: D45766764 fbshipit-source-id: b600b79b8436534fe48ef2acbfde8ba64068e593
This commit is contained in:
committed by
Facebook GitHub Bot
parent
506027925d
commit
0aec0a1ac4
@@ -30,7 +30,6 @@ test('align_content_flex_start', () => {
|
||||
let root;
|
||||
|
||||
config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true);
|
||||
config.setExperimentalFeatureEnabled(ExperimentalFeature.FixAbsoluteTrailingColumnMargin, true);
|
||||
|
||||
try {
|
||||
root = Yoga.Node.create(config);
|
||||
@@ -139,7 +138,6 @@ test('align_content_flex_start_without_height_on_children', () => {
|
||||
let root;
|
||||
|
||||
config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true);
|
||||
config.setExperimentalFeatureEnabled(ExperimentalFeature.FixAbsoluteTrailingColumnMargin, true);
|
||||
|
||||
try {
|
||||
root = Yoga.Node.create(config);
|
||||
@@ -244,7 +242,6 @@ test('align_content_flex_start_with_flex', () => {
|
||||
let root;
|
||||
|
||||
config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true);
|
||||
config.setExperimentalFeatureEnabled(ExperimentalFeature.FixAbsoluteTrailingColumnMargin, true);
|
||||
|
||||
try {
|
||||
root = Yoga.Node.create(config);
|
||||
@@ -355,7 +352,6 @@ test('align_content_flex_end', () => {
|
||||
let root;
|
||||
|
||||
config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true);
|
||||
config.setExperimentalFeatureEnabled(ExperimentalFeature.FixAbsoluteTrailingColumnMargin, true);
|
||||
|
||||
try {
|
||||
root = Yoga.Node.create(config);
|
||||
@@ -464,7 +460,6 @@ test('align_content_stretch', () => {
|
||||
let root;
|
||||
|
||||
config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true);
|
||||
config.setExperimentalFeatureEnabled(ExperimentalFeature.FixAbsoluteTrailingColumnMargin, true);
|
||||
|
||||
try {
|
||||
root = Yoga.Node.create(config);
|
||||
@@ -568,7 +563,6 @@ test('align_content_spacebetween', () => {
|
||||
let root;
|
||||
|
||||
config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true);
|
||||
config.setExperimentalFeatureEnabled(ExperimentalFeature.FixAbsoluteTrailingColumnMargin, true);
|
||||
|
||||
try {
|
||||
root = Yoga.Node.create(config);
|
||||
@@ -678,7 +672,6 @@ test('align_content_spacearound', () => {
|
||||
let root;
|
||||
|
||||
config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true);
|
||||
config.setExperimentalFeatureEnabled(ExperimentalFeature.FixAbsoluteTrailingColumnMargin, true);
|
||||
|
||||
try {
|
||||
root = Yoga.Node.create(config);
|
||||
@@ -788,7 +781,6 @@ test('align_content_stretch_row', () => {
|
||||
let root;
|
||||
|
||||
config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true);
|
||||
config.setExperimentalFeatureEnabled(ExperimentalFeature.FixAbsoluteTrailingColumnMargin, true);
|
||||
|
||||
try {
|
||||
root = Yoga.Node.create(config);
|
||||
@@ -893,7 +885,6 @@ test('align_content_stretch_row_with_children', () => {
|
||||
let root;
|
||||
|
||||
config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true);
|
||||
config.setExperimentalFeatureEnabled(ExperimentalFeature.FixAbsoluteTrailingColumnMargin, true);
|
||||
|
||||
try {
|
||||
root = Yoga.Node.create(config);
|
||||
@@ -1014,7 +1005,6 @@ test('align_content_stretch_row_with_flex', () => {
|
||||
let root;
|
||||
|
||||
config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true);
|
||||
config.setExperimentalFeatureEnabled(ExperimentalFeature.FixAbsoluteTrailingColumnMargin, true);
|
||||
|
||||
try {
|
||||
root = Yoga.Node.create(config);
|
||||
@@ -1125,7 +1115,6 @@ test('align_content_stretch_row_with_flex_no_shrink', () => {
|
||||
let root;
|
||||
|
||||
config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true);
|
||||
config.setExperimentalFeatureEnabled(ExperimentalFeature.FixAbsoluteTrailingColumnMargin, true);
|
||||
|
||||
try {
|
||||
root = Yoga.Node.create(config);
|
||||
@@ -1235,7 +1224,6 @@ test('align_content_stretch_row_with_margin', () => {
|
||||
let root;
|
||||
|
||||
config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true);
|
||||
config.setExperimentalFeatureEnabled(ExperimentalFeature.FixAbsoluteTrailingColumnMargin, true);
|
||||
|
||||
try {
|
||||
root = Yoga.Node.create(config);
|
||||
@@ -1348,7 +1336,6 @@ test('align_content_stretch_row_with_padding', () => {
|
||||
let root;
|
||||
|
||||
config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true);
|
||||
config.setExperimentalFeatureEnabled(ExperimentalFeature.FixAbsoluteTrailingColumnMargin, true);
|
||||
|
||||
try {
|
||||
root = Yoga.Node.create(config);
|
||||
@@ -1461,7 +1448,6 @@ test('align_content_stretch_row_with_single_row', () => {
|
||||
let root;
|
||||
|
||||
config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true);
|
||||
config.setExperimentalFeatureEnabled(ExperimentalFeature.FixAbsoluteTrailingColumnMargin, true);
|
||||
|
||||
try {
|
||||
root = Yoga.Node.create(config);
|
||||
@@ -1524,7 +1510,6 @@ test('align_content_stretch_row_with_fixed_height', () => {
|
||||
let root;
|
||||
|
||||
config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true);
|
||||
config.setExperimentalFeatureEnabled(ExperimentalFeature.FixAbsoluteTrailingColumnMargin, true);
|
||||
|
||||
try {
|
||||
root = Yoga.Node.create(config);
|
||||
@@ -1630,7 +1615,6 @@ test('align_content_stretch_row_with_max_height', () => {
|
||||
let root;
|
||||
|
||||
config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true);
|
||||
config.setExperimentalFeatureEnabled(ExperimentalFeature.FixAbsoluteTrailingColumnMargin, true);
|
||||
|
||||
try {
|
||||
root = Yoga.Node.create(config);
|
||||
@@ -1736,7 +1720,6 @@ test('align_content_stretch_row_with_min_height', () => {
|
||||
let root;
|
||||
|
||||
config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true);
|
||||
config.setExperimentalFeatureEnabled(ExperimentalFeature.FixAbsoluteTrailingColumnMargin, true);
|
||||
|
||||
try {
|
||||
root = Yoga.Node.create(config);
|
||||
@@ -1842,7 +1825,6 @@ test('align_content_stretch_column', () => {
|
||||
let root;
|
||||
|
||||
config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true);
|
||||
config.setExperimentalFeatureEnabled(ExperimentalFeature.FixAbsoluteTrailingColumnMargin, true);
|
||||
|
||||
try {
|
||||
root = Yoga.Node.create(config);
|
||||
@@ -1965,7 +1947,6 @@ test('align_content_stretch_is_not_overriding_align_items', () => {
|
||||
let root;
|
||||
|
||||
config.setExperimentalFeatureEnabled(ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge, true);
|
||||
config.setExperimentalFeatureEnabled(ExperimentalFeature.FixAbsoluteTrailingColumnMargin, true);
|
||||
|
||||
try {
|
||||
root = Yoga.Node.create(config);
|
||||
|
Reference in New Issue
Block a user