

# Test of changeAnchorWithBlockChild

#### An anchor with block and non-block children:

[![a > div > img](https://via.placeholder.com/120)](https://www.nytimes.com/index.html)

## [Here's a > h2](https://www.nytimes.com/index.html)

[Here’s a > p](https://www.nytimes.com/index.html)

[![a > img](https://via.placeholder.com/160)](https://www.nytimes.com/index.html) [This is bare text (text node?)](https://www.nytimes.com/index.html)

#### Anchor with no block child:

[a span **and a strong**  
And an image ![](https://picsum.photos/60/30)](about:blank#something) 

#### Anchor with single h2 child:

## [Senate bargainers announce outline of gun violence agreement](https://apnews.com/article/gun-laws-senate-bipartisan-agreement-59d553f3d1e35fdbe4930e4341e74efb)