angular-cn/packages
Kara Erickson 058aafcc0c fix(ivy): fix styling context resolution for host bindings on containers (#28221)
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
2019-01-22 09:45:16 -08:00
..
animations build: set a default module_name for ts_library rules (#28051) 2019-01-18 10:16:39 -08:00
bazel build(bazel): Use local rollup & build-optimizer for ng_rollup_bundle (#28215) 2019-01-18 09:07:52 -08:00
benchpress build: set a default module_name for ts_library rules (#28051) 2019-01-18 10:16:39 -08:00
common build: set a default module_name for ts_library rules (#28051) 2019-01-18 10:16:39 -08:00
compiler build: set a default module_name for ts_library rules (#28051) 2019-01-18 10:16:39 -08:00
compiler-cli refactor(ivy): expose resolving URLs in the `ResourceLoader` (#28199) 2019-01-18 11:03:53 -08:00
core fix(ivy): fix styling context resolution for host bindings on containers (#28221) 2019-01-22 09:45:16 -08:00
docs refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
elements build: set a default module_name for ts_library rules (#28051) 2019-01-18 10:16:39 -08:00
examples docs: ngComponentOutlet doc updated with new Injector creation (#27291) 2019-01-14 10:36:02 -08:00
forms build: set a default module_name for ts_library rules (#28051) 2019-01-18 10:16:39 -08:00
http build: set a default module_name for ts_library rules (#28051) 2019-01-18 10:16:39 -08:00
language-service build: set a default module_name for ts_library rules (#28051) 2019-01-18 10:16:39 -08:00
platform-browser build: set a default module_name for ts_library rules (#28051) 2019-01-18 10:16:39 -08:00
platform-browser-dynamic build: set a default module_name for ts_library rules (#28051) 2019-01-18 10:16:39 -08:00
platform-server refactor: remove unused case in switch statement (#28253) 2019-01-22 09:44:35 -08:00
platform-webworker build: set a default module_name for ts_library rules (#28051) 2019-01-18 10:16:39 -08:00
platform-webworker-dynamic build: set a default module_name for ts_library rules (#28051) 2019-01-18 10:16:39 -08:00
private/testing ci: onlyInIvy tests should not be triggered for FIND_PASSING_TESTS mode (#28036) 2019-01-10 10:55:58 -08:00
router build: set a default module_name for ts_library rules (#28051) 2019-01-18 10:16:39 -08:00
service-worker build: set a default module_name for ts_library rules (#28051) 2019-01-18 10:16:39 -08:00
upgrade build: set a default module_name for ts_library rules (#28051) 2019-01-18 10:16:39 -08:00
BUILD.bazel build(bazel): use fine-grained npm deps (#26111) (#26488) 2018-10-19 20:59:29 -07:00
README.md Revert "docs: Remove unneeded file (#18106)" 2017-07-20 16:46:47 -05:00
empty.ts refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
es6-subset.d.ts build: fix our copy of Array#find typing (#27742) 2018-12-19 15:11:52 -05:00
goog.d.ts test(ivy): add bundling test `todo_i18n` (#27420) 2018-12-04 19:59:12 -08:00
license-banner.txt build: bump year (#27880) 2019-01-11 11:15:59 -08:00
rollup.config.js refactor: make all rollup config ES5 compatible (#20028) 2017-10-30 23:09:17 -04:00
system.d.ts refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
tsconfig-build.json build(bazel): Turning on strictPropertyInitialization for Angular. (#24572) 2018-06-25 07:57:13 -07:00
tsconfig-test.json build: refactor ambient node & jasmine types so they are only included where needed (#25491) 2018-08-16 13:46:43 -07:00
tsconfig.json fix(compiler): Fix look up of entryComponents in AOT Summaries (#24892) 2018-09-11 16:23:17 -07:00
types.d.ts build: refactor ambient node & jasmine types so they are only included where needed (#25491) 2018-08-16 13:46:43 -07:00

README.md

Angular

The sources for this package are in the main Angular repo. Please file issues and pull requests against that repo.

License: MIT