Hardcode AbsolutePercentageAgainstPaddingEdge experimental feature to false (#1549)
Summary: Pull Request resolved: https://github.com/facebook/yoga/pull/1549 X-link: https://github.com/facebook/react-native/pull/42253 This experimental feature is always false, and with the next diff I will be deleting the branch that actually calls into this. Separating this diff out to simplify the review process. Reviewed By: NickGerleman Differential Revision: D52705765 fbshipit-source-id: 705f4aa297eae730af9b44753eb01c9dec385dcf
This commit is contained in:
committed by
Facebook GitHub Bot
parent
0bbfe4503d
commit
f69a1a43e5
@@ -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',
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user