angular-cn/packages/core/test/acceptance
Kara Erickson f53d0fd2d0 fix(ivy): classes should not mess up matching for bound dir attributes (#30002)
Previously, we had a bug where directive matching could fail if the directive
attribute was bound and followed a certain number of classes. This is because
in the matching logic, we were treating classes like normal attributes. We
should instead be skipping classes in the attribute matching logic. Otherwise
classes will match for directives with attribute selectors, and as we are
iterating through them in twos (when they are stored as name-only, not in
name-value pairs), it may throw off directive matching for any bound attributes
that come after. This commit changes the directive matching logic to skip
classes altogether.

PR Close #30002
2019-04-22 08:48:08 -07: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 perf(ivy): avoid storing raw selectors in projectionDef (#29578) 2019-04-11 08:09:09 -07:00
di_spec.ts fix(ivy): ChangeDetectorRef should be injectable on ng-container (#29424) 2019-03-20 15:14:21 -04:00
directive_spec.ts fix(ivy): classes should not mess up matching for bound dir attributes (#30002) 2019-04-22 08:48:08 -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
host_binding_spec.ts test: put host binding acceptances tests in their own file (#29946) 2019-04-19 16:07:52 -07: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): host attributes and @COmponentChild should be supported on the same component (#29565) 2019-03-29 10:49:35 -07:00
lifecycle_spec.ts fix(ivy): support property values changed in ngOnChanges (forward rref case) (#29054) 2019-03-05 14:27:08 -08:00
listener_spec.ts fix(ivy): properly coalesce event handler in presence of queries (#29957) 2019-04-17 12:20:00 -07: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): directiveInject should fall back to inject (#29948) 2019-04-16 19:31:46 -07:00
query_spec.ts fix(ivy): generate empty QueryList for root component content queries (#29514) 2019-03-26 12:45:21 -07:00
styling_spec.ts test: put host binding acceptances tests in their own file (#29946) 2019-04-19 16:07:52 -07: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): error when calling remove() or detach() on an empty view container (#29986) 2019-04-19 14:18:48 -07:00
view_ref_spec.ts test(ivy): fix failing view ref test (#29178) 2019-03-07 18:56:22 -08:00