angular-cn/packages/compiler/test/render3
ayazhafiz fd4fed14d8 fix(compiler): absolute source span for template attribute expressions (#33189)
Prior to this commit, the absolute spans (relative to template source
file rather than the start of an expression) of expressions in a
template attribute like `*ngIf` were generated incorrectly, equating to
the relative spans.
This fixes the bug by passing an `absoluteOffset` parameter when parsing
template bindings.

Through some levels of indirection, this is required for the Language
Service to support text replacement in
https://github.com/angular/angular/pull/33091.

PR Close #33189
2019-10-17 18:48:59 -04:00
..
util fix(compiler): absolute source span for template attribute expressions (#33189) 2019-10-17 18:48:59 -04:00
view refactor(compiler): move test helper to test file (#32937) 2019-10-03 12:12:55 -07:00
BUILD.bazel test(ivy): mark failing test targets with fixme-ivy-jit and fixme-ivy-local tags (#26471) 2018-10-23 08:57:42 -07:00
README.md
r3_ast_absolute_span_spec.ts fix(compiler): absolute source span for template attribute expressions (#33189) 2019-10-17 18:48:59 -04:00
r3_ast_spans_spec.ts feat(ivy): include value spans for attributes, variables and references (#30181) 2019-07-25 16:36:32 -07:00
r3_template_transform_spec.ts fix(compiler): fix Elements not making a new ParseSourceSpan (#31190) 2019-06-21 12:03:01 -07:00
style_parser_spec.ts fix(ivy): merge static style rendering across elements, directives and components (#27661) 2018-12-21 18:14:44 -05:00

README.md

Tests in this directory are excluded from running in the browser and only run in node.