058aafcc0c
Previous to this change, the isStylingContext() function was improperly returning true for LContainers because it used the presence of an array at index 2 to determine whether it was a styling context. Unfortunately, LContainers also contain arrays at index 2, so this would return a false positive. This led to other errors down the line because we would treat nodes with containers as if they already had styling contexts (even if they did not), so the proper initialization logic for styling contexts was not run. This commit fixes the isStylingContext() function to use LCONTAINER_LENGTH as a marker rather than the presence of an array, which in turn fixes host bindings to styles on nodes with containers. PR Close #28221 |
||
---|---|---|
.. | ||
src | ||
test | ||
testing | ||
BUILD.bazel | ||
PACKAGE.md | ||
index.ts | ||
package.json | ||
public_api.ts | ||
rollup.config.js | ||
tsconfig-build.json |