angular-cn/packages/compiler/test/ml_parser
Pete Bacon Darwin 1d8c5d88cd refactor(compiler): `element.sourceSpan` should span the `outerHTML` (#38581)
Previously, the `sourceSpan` and `startSourceSpan` were the same
object, which meant that you had the following situation:

```
element = <div>some content</div>
sourceSpan = <div>
startSourceSpan = <div>
endSourceSpan = </div>
```

This made `sourceSpan` redundant and meant that if you
wanted a span for the whole element including its content
and closing tag, it had to be computed.

Now `sourceSpan` is separated from `startSourceSpan`
resulting in:

```
element = <div>some content</div>
sourceSpan = <div>some content</div>
startSourceSpan = <div>
endSourceSpan = </div>
```

PR Close #38581
2020-09-02 14:47:31 -07:00
..
util build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
BUILD.bazel build: derive ts_library dep from jasmine_node_test boostrap label if it ends in `_es5` (#34736) 2020-01-15 14:58:07 -05:00
ast_serializer_spec.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
ast_spec_utils.ts refactor(compiler): element.startSourceSpan is required (#38581) 2020-09-02 14:47:28 -07:00
html_parser_spec.ts refactor(compiler): `element.sourceSpan` should span the `outerHTML` (#38581) 2020-09-02 14:47:31 -07:00
html_whitespaces_spec.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
icu_ast_expander_spec.ts refactor(compiler): element.startSourceSpan is required (#38581) 2020-09-02 14:47:28 -07:00
lexer_spec.ts refactor(compiler): move the line-ending handling decision (#38581) 2020-09-02 14:47:25 -07:00