Bug 220192 - When both a contentEditable <span> and another <span> is selected, rightclicking would cause the page to crash.
Summary: When both a contentEditable <span> and another <span> is selected, rightclick...
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: HTML Editing (show other bugs)
Version: WebKit Nightly Build
Hardware: PC Windows 10
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-12-29 02:33 PST by 201311802b
Modified: 2020-12-31 09:58 PST (History)
2 users (show)

See Also:


Attachments
HTML demo (104 bytes, text/html)
2020-12-29 02:33 PST, 201311802b
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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!