Phenomenon
When applying bold formatting to selected text and then continuing to type, the bold formatting is not maintained for the newly typed characters in Chrome on Windows.
Reproduction example
- Create a contenteditable div.
- Type some text.
- Select the text and apply bold formatting (Ctrl+B or through execCommand).
- Place the caret at the end of the bold text.
- Continue typing.
Observed behavior
- In Chrome on Windows, newly typed characters after the bold text are not bold.
- The formatting state appears to be lost when the caret moves.
Expected behavior
- Newly typed characters should inherit the formatting of the preceding text when the caret is within or immediately after formatted text.