mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
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 |
||
|---|---|---|
| .. | ||
| util | ||
| binding_parser_spec.ts | ||
| template_parser_absolute_span_spec.ts | ||
| template_parser_spec.ts | ||
| template_preparser_spec.ts | ||