angular-docs-cn/packages/common/test/directives
Matias Niemelä abd4628587 fix(common): ensure diffing in ngStyle/ngClass correctly emits value changes (#34307)
Prior to this change, in Ivy mode ngStyle/ngClass would accidentally emit value changes for static
(string-based) values even if the value itself had not changed. This patch ensures that
the style/class diffing code is more strict and when it signals ngClass/ngStyle that there has been
a value change.

Fixes #34336, #34444

PR Close #34307
2020-01-17 14:07:27 -05:00
..
ng_class_spec.ts fix(common): ensure diffing in ngStyle/ngClass correctly emits value changes (#34307) 2020-01-17 14:07:27 -05:00
ng_component_outlet_spec.ts refactor(core): Migrate TestBed.get to TestBed.inject (#32382) 2019-09-09 19:10:54 -04:00
ng_for_spec.ts fix(common): properly update collection reference in NgForOf (#24684) 2018-06-29 06:43:44 -07:00
ng_if_spec.ts refactor(core): move server-only DomAdapter methods into ServerRenderer (#32408) 2019-09-03 11:59:39 -07:00
ng_plural_spec.ts build: remove `main()` from specs (#21053) 2017-12-22 13:10:51 -08:00
ng_style_spec.ts fix(common): ensure diffing in ngStyle/ngClass correctly emits value changes (#34307) 2020-01-17 14:07:27 -05:00
ng_switch_spec.ts test(common): update common tests to use static flag (#30626) 2019-05-23 10:31:32 -07:00
ng_template_outlet_spec.ts fix(ivy): ngTemplateOutlet error when switching between null and template value (#32160) 2019-08-19 10:13:10 -07:00
non_bindable_spec.ts refactor(core): move server-only DomAdapter methods into ServerRenderer (#32408) 2019-09-03 11:59:39 -07:00
styling_differ_spec.ts fix(common): ensure diffing in ngStyle/ngClass correctly emits value changes (#34307) 2020-01-17 14:07:27 -05:00