Repro: https://w3c.github.io/editing/repros/504.html Also see https://github.com/michael/web-editing/issues/16 for context.