angular/packages/core/test/hydration
Jan Martin b461e06ecb fix(core): catch hydration marker with implicit body tag (#60429)
When the browser parses a valid html5 response like this:

```html
<!-- ... -->
<title>My page</title>
</head>
<!--nghm-->
<app-root></app-root>
<!-- ... -->
```

The resulting DOM will only start adding nodes to the body when it
runs into the first non-header tag. E.g.:

```yml
- head
  - title "My page"
- comment "nghm"
- body
  - app-root
```

This isn't a sign that comments are modified, so it seems worth to
handle it gracefully.

PR Close #60429
2025-03-19 15:51:36 +01:00
..
compression_spec.ts refactor(core): change node navigation step to plain const (#59469) 2025-01-13 11:12:47 -05:00
marker_spec.ts fix(core): catch hydration marker with implicit body tag (#60429) 2025-03-19 15:51:36 +01:00