angular-docs-cn/packages/core/test/acceptance
Matias Niemelä 1877e6c3f8 fix(ivy): ensure template styles/classes are applied before directives are instantiated (#29269)
Angular Ivy interprets inline static style/class attribute values as instructions that
are processed whilst an element gets created. Because these inline style values are
referenced by style/class bindings, their inline style values are applied at a later
stage. Despite them being eventually applied, their values should be applied earlier
before any directives are instantiated so that directive code can rely on any inline
style/class changes.

This patch ensures that all static style/class attribute values are applied (rendered)
on the element before directives are instantiated.

Jira Issue: FW-1133

PR Close #29269
2019-03-14 18:22:50 -04:00
..
BUILD.bazel build: rules_nodejs 0.26.0 & use @npm instead of @ngdeps now that downstream angular build uses angular bundles (#28871) 2019-02-28 12:06:36 -08:00
change_detection_spec.ts fix(ivy): should mark OnPush ancestor of dynamically created views as dirty (#28687) 2019-02-13 12:12:45 -08:00
component_spec.ts fix(ivy): component destroy hook called twice when configured as provider (#28470) 2019-02-21 09:34:26 -08:00
content_spec.ts test(ivy): add tests for projection on inline-templates (#29041) 2019-03-07 11:27:36 -08:00
di_spec.ts fix(ivy): do not inject attributes with namespace (#29257) 2019-03-14 03:07:48 -04:00
directive_spec.ts fix(ivy): properly match directives on ng-template with * syntax (#29251) 2019-03-12 14:09:19 -07:00
exports_spec.ts fix(ivy): avoid innerHTML usage in exports test (to make it work in IE11) (#29127) 2019-03-05 21:08:08 -08:00
inherit_definition_feature_spec.ts fix(ivy): ngOnChanges hooks should be inherited from grand-superclasses (#28888) 2019-02-22 12:00:15 -08:00
integration_spec.ts fix(ivy): ensure static styling is properly inherited into child components (#29015) 2019-03-04 13:36:19 -08:00
lifecycle_spec.ts fix(ivy): support property values changed in ngOnChanges (forward rref case) (#29054) 2019-03-05 14:27:08 -08:00
pipe_spec.ts fix(ivy): compile pipe in context of ternary operator (#28635) 2019-02-11 14:52:13 -08:00
properties_spec.ts fixup! fix(ivy): incorrectly remapping certain properties that refer to inputs (#28765) 2019-02-21 17:59:50 -08:00
providers_spec.ts fix(ivy): component destroy hook called twice when configured as provider (#28470) 2019-02-21 09:34:26 -08:00
query_spec.ts fix(core): don't wrap `<tr>` and `<col>` elements into a required parent (#29219) 2019-03-14 03:07:01 -04:00
styling_spec.ts fix(ivy): ensure template styles/classes are applied before directives are instantiated (#29269) 2019-03-14 18:22:50 -04:00
template_ref_spec.ts fix(ivy): ViewRef.rootNodes not including projected nodes (#28951) 2019-02-26 10:49:01 -08:00
view_container_ref_spec.ts fix(ivy): move views that are already attached in insert() (#29047) 2019-03-01 15:17:24 -08:00
view_ref_spec.ts test(ivy): fix failing view ref test (#29178) 2019-03-07 18:56:22 -08:00