github web-platform-tests/wpt merge_pr_48007

latest releases: merge_pr_49470, epochs/three_hourly/2024-12-03_06H, epochs/six_hourly/2024-12-03_06H...
12 months ago

[Editing] Reset |input_type| to |kNone| before character input

There is an edge case where |last_typing_command| that is reused for
inserting a character does not reset its |input_type| to none. The
actual |input_type| will be determined later in |GetInputType()| based
on the |command_type|.

The changed helpers are:
|TypingCommand::InsertParagraphSeparator|
|TypingCommand::InsertParagraphSeparatorInQuotedContent|
|TypingCommand::InsertLineBreak|
|TypingCommand::DeleteKeyPressed|
|TypingCommand::DeleteSelection|

Bug: 41478041
Change-Id: I7ba178968e95cdba9c6c3c6e2dc5123996cedd1c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5796102
Commit-Queue: Shweta Bindal shwetabindal@microsoft.com
Reviewed-by: Siye Liu siliu@microsoft.com
Reviewed-by: Koji Ishii kojii@chromium.org
Reviewed-by: Kent Tamura tkent@chromium.org
Cr-Commit-Position: refs/heads/main@{#1351871}

Don't miss a new wpt release

NewReleases is sending notifications on new releases.