To reproduce: 1. Go to http://diveintohtml5.org/canvas.html 2. Select some text on the second line of the chapter title The selection is drawn too low. It's nearly halfway down the line. Disabling the line-height property in the Inspector makes the bug go away.
<rdar://problem/7157052>
This is essentially bug 8729.
If it is duplicate of bug 8729, appreciate if you mark it as Duplicate but I am able to reproduce the bug by using Wayback Archive in Safari 15.6 on macOS 12.5. Link - https://web.archive.org/web/20090821145238/http://diveintohtml5.org/canvas.html
*** This bug has been marked as a duplicate of bug 8729 ***