Change record status: 
Project: 
Introduced in branch: 
8.7.x
Introduced in version: 
8.7.0
Description: 

Drupal assigns identifiers to comments displayed on a page, in order to allow deep-linking to specific comments. (e.g. "node/41#comment-42").

Previously these links used an empty HTML anchor inserted for this purpose before each comment.

<a id="comment-42"></a>
<div class="comment">
  <div>comment contents</div>
</div>

Now the id is placed on the actual element that contains the comment:

<div id="comment-42" class="comment">
  <div>comment contents</div>
</div>

This change can cause disruption for code, such as automated tests, that expects particular HTML markup to be present.

Impacts: 
Themers