Bug 220192

Summary: When both a contentEditable <span> and another <span> is selected, rightclicking would cause the page to crash.
Product: WebKit Reporter: 201311802b
Component: HTML EditingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Normal CC: ap, wenson_hsieh
Priority: P2    
Version: WebKit Nightly Build   
Hardware: PC   
OS: Windows 10   
Attachments:
Description Flags
HTML demo none

Description 201311802b 2020-12-29 02:33:16 PST
Created attachment 416838 [details]
HTML demo

See attachment.

_________

Steps to reproduce crash:
1. From right to left, select the whole line
2. Right click

_________

Attachment:
<html>
<body>
	<span>
		<span contenteditable>a</span>
		<span >b</span>
	</span>
</body>
</html>
Comment 1 Alexey Proskuryakov 2020-12-30 12:33:13 PST
I cannot reproduce this in Mac Safari. Which browser are you using on Windows?
Comment 2 201311802b 2020-12-30 19:27:43 PST
The bug happens in Chrome, Edge, and Opera.
But it does not happen in Firefox.
Comment 3 201311802b 2020-12-30 19:36:41 PST
It seems that this is a Chromium bug.
Reported in https://bugs.chromium.org/p/chromium/issues/detail?id=1157684&q=contenteditable&can=2.
Comment 4 Alexey Proskuryakov 2020-12-31 09:58:41 PST
Right, none of these browsers use WebKit. Thank you for the follow-up!